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 683/1163
RM0402 Fast-mode Plus Inter-integrated circuit (FMPI2C) interface
722
Figure 226. Transfer sequence flowchart for FMPI2C master transmitter for N>255
bytes
MSv35970V1
Master initialization
Master
transmission
Write FMPI2C_TXDR
FMPI2C_ISR.TXIS
=1?
No
Yes
FMPI2C_ISR.NACKF
= 1?
Yes
No
NBYTES = 0xFF; N=N-255
RELOAD = 1
Configure slave address
Set FMPI2C_CR2.START
End
NBYTES
transmitted ?
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

Table of Contents

Related product manuals