2
Inter-integrated circuit (I
C) interface
RM0091
Figure 213. Transfer sequence flowchart for I2C master transmitter for N<=255 bytes
Master
transmission
Master initialization
NBYTES = N
AUTOEND = 0 for RESTART; 1 for STOP
Configure slave address
Set I2Cx_CR2.START
No
No
I2Cx_ISR.TXIS
I2Cx_ISR.NACKF
=1?
= 1?
Yes
Yes
Write I2Cx_TXDR
End
No
NBYTES
transmitted?
Yes
Yes
I2Cx_ISR.TC
= 1?
Set I2Cx_CR2.START
No
with slave addess
NBYTES ...
End
MS19860V1
492/742
Doc ID 018940 Rev 1
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers