Download Print this page

ST STM32F301 6 Series Reference Manual page 673

Advanced arm-based 32-bit mcus

Advertisement

RM0366
Inter-integrated circuit interface (I2C)
Figure 263. Transfer sequence flow for I2C controller transmitter, N ≤ 255 bytes
Controller
transmission
Controller initialization
NBYTES = N
AUTOEND = 0 for RESTART; 1 for STOP
Configure target address
Set I2C_CR2.START
No
No
I2C_ISR.TXIS
I2C_ISR.NACKF =
=1?
1?
Yes
Yes
Write I2C_TXDR
End
No
NBYTES
transmitted?
Yes
Yes
I2C_ISR.TC =
1?
Set I2C_CR2.START with
No
target address NBYTES
...
End
MSv19860V3
RM0366 Rev 5
673/874
711

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series