
Inter-integrated circuit (I2C) interface
RM0453
1080/1454
RM0453 Rev 2
Figure 295. Transfer sequence flowchart for I2C master receiver for N
≤
255 bytes
MS19863V2
Master initialization
Master reception
Read I2C_RXDR
I2C_ISR.RXNE
=1?
No
Yes
NBYTES = N
AUTOEND = 0 for RESTART; 1 for STOP
Configure slave address
Set I2C_CR2.START
NBYTES
received?
I2C_ISR.TC =
1?
Yes
End
No
Yes
No
Set I2C_CR2.START with
slave addess NBYTES ...