Figure 232. Transfer Sequence Flowchart For Smbus Slave Transmitter N Bytes + Pec - ST STM32F412 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Fast-mode Plus Inter-integrated circuit (FMPI2C) interface
FMPI2C_PECR register is automatically transmitted if the master requests an extra byte
after the NBYTES-1 data transfer.
Caution:
The PECBYTE bit has no effect when the RELOAD bit is set.

Figure 232. Transfer sequence flowchart for SMBus slave transmitter N bytes + PEC

696/1163
SMBus slave
transmission
Slave initialization
No
FMPI2C_ISR.ADDR
= 1?
Yes
Read ADDCODE and DIR in FMPI2C_ISR
FMPI2C_CR2.NBYTES = N + 1
PECBYTE=1
Set FMPI2C_ICR.ADDRCF
FMPI2C_ISR.TXIS
=1?
Yes
Write FMPI2C_TXDR.TXDATA
RM0402 Rev 6
SCL
stretched
No
RM0402
MSv35973V1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF