EasyManua.ls Logo

ST STM32F412

ST STM32F412
1163 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...
RM0402 Rev 6 687/1163
RM0402 Fast-mode Plus Inter-integrated circuit (FMPI2C) interface
722
Figure 229. Transfer sequence flowchart for FMPI2C master receiver for N >255 bytes
MSv35972V1
Master initialization
Master reception
Read FMPI2C_RXDR
FMPI2C_ISR.RXNE
= 1?
No
Yes
NBYTES = 0xFF; N=N-255
RELOAD =1
Configure slave address
Set FMPI2C_CR2.START
NBYTES
received?
FMPI2C_ISR.TC
= 1?
Yes
End
No
Yes
No
Set FMPI2C_CR2.START
with slave addess
NBYTES ...
FMPI2C_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