Forum Discussion
Need the test code for I2C_RSU
Hi Ravi,
1. what will the slave address of FPGA with I2C_RSU code
It will be "1010011".
2. When we write the image, into which CFM(0,1 or 2) will the image be written? Will it depend on the Avalon address that we write like in the slave if address starts with 0x10000, then image will be written to CFM1 etc.? Please correct me if I am wrong
Yes, you are correct. You need to refer back to your CFM addressing to determine the start of the specific CFM addressing.
3. And what speed the i2c should be configured?
It will depends on your I2C IP setting used.
Hi,
I tried to scan the i2c slave address(of the Max10 device after loading I2C_RSU) using Arduino code and got the below result. I did not understand why I got so many addresses, which gave i2c acknowledge.
Then I am using the attached master_reader code to read data from the avalon address 0x0010_00F0, but I am reading back the address and not the data at that location.