Other Parts Discussed in Thread: CONTROLSUITE
I have interfaced PCF8563 RTC using I2C by bit banging.
I wanted to use inbuilt I2C peripheral on F28069 device by enabling interrupt.
Is there any example provided for the same?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have interfaced PCF8563 RTC using I2C by bit banging.
I wanted to use inbuilt I2C peripheral on F28069 device by enabling interrupt.
Is there any example provided for the same?
Please Sir can you put more light into this,
I'm referring to the I2C eeprom example given in controlSUITE. If I have to write the below code before the infinite loop.
Start | Write(address)+receive ACK from slave | Write(register)+receive ACK from slave | Write(data)+receive ACK from slave | Stop
how can the above be achieved if it is repeated for 6 times with different register locations with the I2C example code? the address, register location and data is of 8-bit.
If I have to write to different register locations what should be done?.
Inside the infinite loop:
Now for reading I was using:
Start | Write Address | Write register address | Stop | Start | Write Read address | Read 8-bit from SDA line & send ACK | Read 8-bit from SDA line & send ACK | Read 8-bit from SDA line & send NACK | Stop.
How can the above be achieved using I2C hardware?
Please help.