Figure 402. Bus Transfer Diagrams For Smbus Slave Receiver (Sbc=1) - ST STM32L4 5 Series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Inter-integrated circuit (I2C) interface
This section is relevant only when SMBus feature is supported. Please refer to
I2C
implementation.
In addition to I2C master transfer management (refer to
some additional software flowcharts are provided to support SMBus.
SMBus Master transmitter
When the SMBus master wants to transmit the PEC, the PECBYTE bit must be set and the
number of bytes must be programmed in the NBYTES[7:0] field, before setting the START
bit. In this case the total number of TXIS interrupts will be NBYTES-1. So if the PECBYTE
bit is set when NBYTES=0x1, the content of the I2C_PECR register is automatically
transmitted.
If the SMBus master wants to send a STOP condition after the PEC, automatic end mode
should be selected (AUTOEND=1). In this case, the STOP condition automatically follows
the PEC transmission.
1276/1830

Figure 402. Bus transfer diagrams for SMBus slave receiver (SBC=1)

DocID024597 Rev 5
Section 39.4.8: I2C master
RM0351
Section 39.3:
mode)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4 5 Series and is the answer not in the manual?

Table of Contents

Save PDF