Figure 297. Transfer Sequence Flow For I2C Master Receiver For N > 255 Bytes - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0453
Figure 297. Transfer sequence flow for I2C master receiver for N > 255 bytes
Set I2C_CR2.START with
slave addess NBYTES ...
End
Inter-integrated circuit (I2C) interface
Master reception
Master initialization
NBYTES = 0xFF; N=N-255
RELOAD =1
Configure slave address
Set I2C_CR2.START
I2C_ISR.RXNE
=1?
Yes
Read I2C_RXDR
NBYTES
received?
Yes
Yes
I2C_ISR.TC =
1?
No
No
I2C_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
RM0453 Rev 5
No
No
MS19864V2
1079/1450
1113

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents