intel Cyclone 10 GX NIOS-II I2C Slave problem
Hello
I made a NIOS-II i2c slave on the Cyclone 10 GX according to the NIOS-II API doc.
The I2C Slave function is work good.
It can receive the data from the I2C master.
Automatically write received information to "slave_mem"(on chip memory).
As a I2C Slave, how do I know when the I2C Master has transport the data for me?
I need to keep refreshing "slave_mem"(on chip memory) data to know which bytes data change?
Does I2C Slave or "slave_mem"(on chip memory) have any callback function that can be used?
Thanks ^_^
Hi,
We do not have an I2C slave IP unfortunately, but with the I2C Host IP in your design, other peripherals connected to the I2C are considered as the slaves already.
Maybe you could try to determine the master and slave by determining what devices will be connected to the I2C bus, which will be the master and what is the use case.
Hope this could clear your doubts. Thank you.
Regards,
Kelly