Forum Discussion
I2C access from System-Console. How to?
Hello,
I have an Intel Stratix 10 GX Development Kit.
I am able to access the FPGA, SPI and DDR4 registers from the system console without issues.
However, I cannot manage to find a documentation showing how to access the I2C devices. Could someone point me to the right direction?
I have tried a lot of things along the lines of:
master_read_32 {/channels/local/m/master_3} {0x00000074} 100
and other master/addresses, but only read 0 at the following offsets in the Intel Documentation.
Any help appreciated.
https://www.intel.com/content/www/us/en/docs/programmable/683674/current/i2c.html
5 Replies
- RichardT_altera
Super Contributor
I can't find much information on this as well.
Could you help to share your qsys system so I can further investigate and discuss this with the internal team?
Best Regards,
Richard Tan
- covfefe
Occasional Contributor
I'm using the basic bts_config.flash image from the Board Test System
- RichardT_altera
Super Contributor
I believe the way to access the I2C is the same way as how you usually access the other IP (with debug agents).
Claim the master service and access the memory ranges based on the IP base address.
Best Regards,
Richard Tan
- RichardT_altera
Super Contributor
May I know does my latest reply helps?
Best Regards,
Richard Tan
- RichardT_altera
Super Contributor
As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thank you.
Best Regards,
Richard Tanp/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 9/10 survey.