Inter-integrated circuit (I2C) interface
DMA must be initialized before setting the START bit. The end of transfer is managed
with the NBYTES counter.
•
In Slave mode with NOSTRETCH=0, when all data are transferred using DMA, the
DMA must be initialized before the address match event, or in the ADDR interrupt
subroutine, before clearing the ADDR flag.
•
If SMBus is supported (see
managed with the NBYTES counter. Refer to
SMBus master receiver on page
Note:
If DMA is used for reception, the RXIE bit does not need to be enabled.
34.4.18
Debug mode
When the microcontroller enters debug mode (core halted), the SMBus timeout either
continues to work normally or stops, depending on the DBG_I2Cx_ configuration bits in the
DBG module.
34.5
I2C low-power modes
Mode
Sleep
(1)
Stop
Standby
1. Refer to
instance. If wakeup from a specific Stop mode is not supported, the instance must be disabled before
entering this Stop mode.
2. In Stop 2 mode, only I2C3 register content is kept. The I2C1 and I2C2 instances are powered down and
must be reinitialized after exiting Stop 2 mode.
1108/1461
Table 236. Effect of low-power modes on the I2C
No effect. I2C interrupts cause the device to exit the Sleep mode.
The I2C registers content is kept
internal oscillator (HSI16): the address recognition is functional. The I2C address
match condition causes the device to exit the Stop mode. If WUPEN=0: the I2C
must be disabled before entering Stop mode
The I2C peripheral is powered down and must be reinitialized after exiting
Standby mode.
Section 34.3: I2C implementation
Section 34.3: I2C
implementation): the PEC transfer is
SMBus Slave receiver on page 1099
1103.
Description
(2)
. If WUPEN = 1 and I2C is clocked by an
for information about the Stop modes supported by each
RM0453 Rev 1
RM0453
and
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?
Questions and answers