FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6356 Discussions

I2C access from System-Console. How to?

covfefe
New Contributor I
837 Views

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

covfefe_0-1666655648191.png

Screenshot (410).png

 

0 Kudos
5 Replies
RichardTanSY_Intel
821 Views

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


0 Kudos
covfefe
New Contributor I
815 Views
0 Kudos
RichardTanSY_Intel
784 Views

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.

capture.JPG

Best Regards,

Richard Tan

 

0 Kudos
RichardTanSY_Intel
754 Views

May I know does my latest reply helps?


Best Regards,

Richard Tan



0 Kudos
RichardTanSY_Intel
739 Views

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 Tan

p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 9/10 survey.

0 Kudos
Reply