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 #497 background imageLoading...
Page #497 background image
RM0091 Inter-integrated circuit (I
2
C) interface
Doc ID 018940 Rev 1 497/742
Figure 217. Transfer sequence flowchart for I2C master receiver for N>255 bytes
MS19864V1
Master initialization
Master reception
Read I2Cx_RXDR
I2Cx_ISR.RXNE
=1?
No
Yes
NBYTES = 0xFF; N=N-255
RELOAD =1
Configure slave address
Set I2Cx_CR2.START
NBYTES
received?
I2Cx_ISR.TC
= 1?
Yes
End
No
Yes
No
Set I2Cx_CR2.START
with slave addess
NBYTES ...
I2Cx_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
No

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