Forum Discussion
Need the test code for I2C_RSU
Hi,
When you performed read, it will actually have address (1010xxx1) where the x is don't care bit.
- RVadl25 years ago
Occasional Contributor
Hi,
I am able to read the data from any particular avalon address on the on-chip flash using the attached arduino code. But am not able to write anything. May be I have to unprotect the required sector in the control-registers (csr). I believe these are the 8 csr registers shown below(from the I2C_RSU example). Which of these are status and control registers. Correct me if my understanding is wrong or if I missed anything
Regards,
Ravi
- RVadl25 years ago
Occasional Contributor
Hi,
In the I2C_RSU example, as I was mentioning earlier, I can see 8 control and status registers (0x20000 to 0x20007). Just to check I wrote into each of those registers and found that I could not write to registers(0x20000 to 0x20003) but could write to registers (0x20004 to 0x20007). This means one of registers from (0x20000 to 0x20003) is status register and one of the registers from (0x20004 to 0x20007) is control register. Can you help me identify the addresses of control and status registers.
- RVadl25 years ago
Occasional Contributor
Hi,
Can you let me know the i2c speed in I2C_RSU example code. Is it 100KHz or 400KHz?
Is there an option to change it?
Regards,
Ravi