Forum Discussion
Need the test code for I2C_RSU
Hi,
IT is possible to use the Adruino I2C to send the data and update image. We do not have the example example I2C command. I would recommend you to follow the guideline on how to send the data and received data through I2C as below.
I2C Avalon 32 bit write - 10100110 follow by 4 byte Avalon address and 4 byte data.
I2C Avalon 32 bit read - 10101110 follow by 4 byte Avalon address.
Hi,
Thanks for the quick reply. Basically from the test code I wanted to understand the below things
1. what will the slave address of FPGA with I2C_RSU code
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
3. And what speed the i2c should be configured?
Regards,
Ravi Kanth V