EasyManuals Logo

ST STM32L4x6 User Manual

ST STM32L4x6
1693 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1158 background imageLoading...
Page #1158 background image
Inter-integrated circuit (I2C) interface RM0351
1158/1693 DocID024597 Rev 3
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 Section 35.3: I2C implementation): the PEC transfer is
managed with the NBYTES counter. Refer to SMBus Slave receiver on page 1149 and
SMBus Master receiver on page 1153.
Note: If DMA is used for reception, the RXIE bit does not need to be enabled.
35.4.17 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_SMBUS_TIMEOUT
configuration bits in the DBG module.
35.5 I2C low-power modes
35.6 I2C interrupts
The table below gives the list of I2C interrupt requests.
Table 188. Effect of low-power modes on the I2C
Mode Description
Sleep No effect. I2C interrupts cause the device to exit the Sleep mode.
Low-power run No effect.
Low-power sleep No effect. I2C interrupts cause the device to exit the Low-power sleep mode.
Stop 0 / Stop 1
The I2C registers content is kept. If WUPEN = 1 and I2C is clocked by HSI16: the
address recognition is functional. The I2C address match condition causes the
device to exit the Stop 0 and Stop 1 modes. If WUPEN=0: the I2C must be
disabled before entering Stop mode.
Stop 2
The I2C registers content is kept. The I2C1 and I2C2 must be disabled before
entering Stop 2. If WUPEN=1 and I2C3 is clocked by HSI16: the I2C3 address
recognition is functional. The I2C3 address match condition causes the device to
exit the Stop mode 2. If WUPEN=0: the I2C3 must be disabled before entering
Stop 2 mode.
Standby
The I2C peripheral is powered down and must be reinitialized after exiting
Standby or Shutdown mode.
Shutdown

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32L4x6 Specifications

General IconGeneral
BrandST
ModelSTM32L4x6
CategoryMicrocontrollers
LanguageEnglish

Related product manuals