EasyManuals Logo

ST STM32G0 1 Series User Manual

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
Page #969 background imageLoading...
Page #969 background image
RM0444 Rev 5 969/1390
RM0444 Inter-integrated circuit (I2C) interface
997
Figure 308. Transfer sequence flowchart for SMBus slave transmitter N bytes + PEC
Figure 309. 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 STM32G0 1 Series and is the answer not in the manual?

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals