Forum Discussion
AnandRaj_S_Intel
Regular Contributor
6 years agoHi Roman,
Okay,
For debugging can you try to read slave device address using alt_avalon_i2c_master_target_get.
Refer below link for API example.
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf
Regards
Anand
Inematov
New Contributor
6 years agoHi Anand
With the code in the attachment i get the following output:
Hello from Nios II!
targetadress 0x0
Error
Read chip ID: Read chip ID: Read chip ID: Read chip ID: Read chip ID: Data
Data
Data
Data
so it seems he even do not set the target address 0x76.
When i use the oscilloscope, there is no communication on the pins.
Thank you!
Regards
Roman