EasyManuals Logo
Home>ST>Microcontrollers>STM32G474

ST STM32G474 User Manual

ST STM32G474
2126 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 #1902 background imageLoading...
Page #1902 background image
Inter-integrated circuit (I2C) interface RM0440
1902/2126 RM0440 Rev 4
Figure 655. Transfer sequence flowchart for SMBus slave receiver N Bytes + PEC
MS19868V2
Slave initialization
SMBus slave
reception
Read I2C_RXDR.RXDATA
I2C_ISR.RXNE =1?
I2C_ISR.TCR = 1?
No
Yes
I2C_ISR.ADDR =
1?
Yes
No
Read ADDCODE and DIR in I2C_ISR
I2C_CR2.NBYTES = 1, RELOAD =1
PECBYTE=1
Set I2C_ICR.ADDRCF
SCL
stretched
Read I2C_RXDR.RXDATA
Program I2C_CR2.NACK = 0
I2C_CR2.NBYTES = 1
N = N - 1
N = 1?
Read I2C_RXDR.RXDATA
Program RELOAD = 0
NACK = 0 and NBYTES = 1
I2C_ISR.RXNE =1?
No
End
No
Yes
Yes

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32G474 Specifications

General IconGeneral
BrandST
ModelSTM32G474
CategoryMicrocontrollers
LanguageEnglish

Related product manuals