EasyManua.ls Logo

ST STM32G0 1 Series

ST STM32G0 1 Series
1390 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 RM0444
954/1390 RM0444 Rev 5
Figure 301. 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