Inter-integrated circuit (I
Figure 216. Transfer sequence flowchart for I2C master receiver for N<=255 bytes
496/742
2
C) interface
AUTOEND = 0 for RESTART; 1 for STOP
Configure slave address
Set I2Cx_CR2.START
Doc ID 018940 Rev 1
Master reception
Master initialization
NBYTES = N
No
I2Cx_ISR.RXNE
=1?
Yes
Read I2Cx_RXDR
No
NBYTES
received?
Yes
Yes
I2Cx_ISR.TC
= 1?
Set I2Cx_CR2.START
No
End
with slave addess
NBYTES ...
RM0091
MS19863V1
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers