EasyManua.ls Logo

ST STM32G471

ST STM32G471
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Inter-integrated circuit (I2C) interface RM0440
1890/2126 RM0440 Rev 4
Figure 650. Transfer sequence flowchart for I2C master receiver for N >255 bytes
MS19864V2
Master initialization
Master reception
Read I2C_RXDR
I2C_ISR.RXNE
=1?
No
Yes
NBYTES = 0xFF; N=N-255
RELOAD =1
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 ...
I2C_ISR.TCR
= 1?
Yes
IF N< 256
NBYTES =N; N=0;RELOAD=0
AUTOEND=0 for RESTART; 1 for STOP
ELSE
NBYTES =0xFF;N=N-255
RELOAD=1
No

Table of Contents

Related product manuals