Figure 311. Bus Transfer Diagrams For Smbus Slave Receiver (Sbc=1) - STMicroelectronics RM0365 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.
809/1080

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

DocID025202 Rev 7
Section 28.4.8: I2C master
RM0365
Section 28.3:
mode)

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents