Inter-integrated circuit (I2C) interface
Figure 293. Transfer sequence flow for I2C master transmitter for N ≤ 255 bytes
No
1074/1450
AUTOEND = 0 for RESTART; 1 for STOP
Configure slave address
I2C_ISR.NACKF =
1?
Yes
End
RM0453 Rev 5
Master
transmission
Master initialization
NBYTES = N
Set I2C_CR2.START
I2C_ISR.TXIS
=1?
Yes
Write I2C_TXDR
NBYTES
transmitted?
Yes
I2C_ISR.TC =
1?
No
End
RM0453
No
No
Yes
Set I2C_CR2.START with
slave addess NBYTES ...
MS19860V2
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?