RM0402 Rev 6 675/1163
RM0402 Fast-mode Plus Inter-integrated circuit (FMPI2C) interface
722
Slave receiver
RXNE is set in FMPI2C_ISR when the FMPI2C_RXDR is full, and generates an interrupt if
RXIE is set in FMPI2C_CR1. RXNE is cleared when FMPI2C_RXDR is read.
When a STOP is received and STOPIE is set in FMPI2C_CR1, STOPF is set in
FMPI2C_ISR and an interrupt is generated.
Figure 218. Transfer sequence flowchart for slave receiver with NOSTRETCH=0
MSv35966V1
Slave initialization
Slave reception
Read ADDCODE and DIR in FMPI2C_ISR
Set FMPI2C_ICR.ADDRCF
Write FMPI2C_RXDR.RXDATA
FMPI2C_ISR.ADDR
=1?
No
Yes
FMPI2C_ISR.RXNE
=1?
Yes
No
SCL
stretched