Download Print this page

Smbus Slave Mode - ST STM32F413 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

Fast-mode Plus Inter-integrated circuit (FMPI2C) interface
26.4.13

SMBus slave mode

This section is relevant only when SMBus feature is supported. Please refer to
FMPI2C
In addition to FMPI2C slave transfer management (refer to
mode) some additional software flowcharts are provided to support SMBus.
SMBus Slave transmitter
When the IP is used in SMBus, SBC must be programmed to '1' in order to allow the PEC
transmission at the end of the programmed number of data bytes. When the PECBYTE bit
is set, the number of bytes programmed in NBYTES[7:0] includes the PEC transmission. In
that case the total number of TXIS interrupts will be NBYTES-1 and the content of the
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 266. Transfer sequence flowchart for SMBus slave transmitter N bytes + PEC
792/1284
implementation.
DocID029473 Rev 3
Section 26.3:
Section 26.4.7: FMPI2C slave
RM0430

Advertisement

loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f423