EasyManuals Logo

ST STM32WL5 Series User Manual

ST STM32WL5 Series
1461 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
Page #1098 background imageLoading...
Page #1098 background image
Inter-integrated circuit (I2C) interface RM0453
1098/1461 RM0453 Rev 1
Caution: The PECBYTE bit has no effect when the RELOAD bit is set.
Figure 299. Transfer sequence flowchart for SMBus slave transmitter N bytes + PEC
Figure 300. Transfer bus diagrams for SMBus slave transmitter (SBC=1)
MS19867V2
Slave initialization
SMBus slave
transmission
Write I2C_TXDR.TXDATA
I2C_ISR.TXIS
=1?
No
Yes
I2C_ISR.ADDR =
1?
Yes
No
Read ADDCODE and DIR in I2C_ISR
I2C_CR2.NBYTES = N + 1
PECBYTE=1
Set I2C_ICR.ADDRCF
SCL
stretched
MS19869V2
Example SMBus slave transmitter 2 bytes + PEC,
EV1: ADDR ISR: check ADDCODE, program NBYTES=3, set PECBYTE, set ADDRCF
EV2: TXIS ISR: wr data1
EV3: TXIS ISR: wr data2
ADDR
legend:
transmission
reception
SCL stretch
EV1 EV2
TXIS
TXIS
EV3
NBYTES 3
S Address A Adata1
data2
PEC
A
NA
P

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32WL5 Series Specifications

General IconGeneral
BrandST
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals