EasyManua.ls Logo

ST STM32G474

ST STM32G474
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...
RM0440 Rev 4 1885/2126
RM0440 Inter-integrated circuit (I2C) interface
1928
Figure 646. Transfer sequence flowchart for I2C master transmitter for N≤255 bytes
MS19860V2
Master initialization
Master
transmission
Write I2C_TXDR
I2C_ISR.TXIS
=1?
No
Yes
I2C_ISR.NACKF =
1?
Yes
No
NBYTES = N
AUTOEND = 0 for RESTART; 1 for STOP
Configure slave address
Set I2C_CR2.START
End
NBYTES
transmitted?
I2C_ISR.TC =
1?
Yes
End
No
Yes
No
Set I2C_CR2.START with
slave addess NBYTES ...

Table of Contents

Related product manuals