EasyManuals Logo

STMicroelectronics STM32F05 series User Manual

STMicroelectronics STM32F05 series
742 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 #509 background imageLoading...
Page #509 background image
RM0091 Inter-integrated circuit (I
2
C) interface
Doc ID 018940 Rev 1 509/742
Figure 222. Transfer sequence flowchart for SMBus slave receiver N Bytes + PEC
MS19868V1
Slave initialization
SMBus slave
reception
Read I2Cx_RXDR.RXDATA
I2Cx_ISR.RXNE =1?
I2Cx_ISR.TCR = 1?
No
Yes
I2Cx_ISR.ADDR =
1?
Yes
No
Read ADDCODE and DIR in I2Cx_ISR
I2Cx_CR2.NBYTES = 1, RELOAD =1
PECBYTE=1
Set I2Cx_ICR.ADDRCF
SCL
stretched
Read I2Cx_RXDR.RXDATA
Program I2Cx_CR2.NACK = 0
I2Cx_CR2.NBYTES = 1
N = N - 1
N = 1?
Read I2Cx_RXDR.RXDATA
Program RELOAD = 0
NACK = 0 and NBYTES = 1
I2Cx_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 STMicroelectronics STM32F05 series and is the answer not in the manual?

STMicroelectronics STM32F05 series Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32F05 series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals