www.digiembedded.com
557
I2C Master/Slave Interface
Notes:
1 Writing M_ADDR_REQ is not required if the device address is not changed.
2 Read on a non-existing slave.
3 Do not wait for the slave to perform a NO_ACK.
4 STATUS_REG and RX_DATA_REG are read simultaneously.
Slave module (normal mode, 16-bit)
Note:
1 STATUS_REG and RX_DATA_REG are read simultaneously.
wait irq
read
rx/status
S_RX_DATA_1ST
irq
S_TX_DATA_1ST
irq
wait irq
read
rx/status
1
S_RX_ABORT
irq
S_RX_DATA
irq
S_NO_ACK
irq
S_TX_DATA
irq
wait irq
read status
write cmd
S_NOP
write
TX_DATA_REG
write cmd
S_NOP
write cmd
S_STOP