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 #1123 background imageLoading...
Page #1123 background image
DocID024597 Rev 3 1123/1693
RM0351 Inter-integrated circuit (I2C) interface
1177
the number of TXIS events during the transfer corresponds to the value programmed in
NBYTES.
Caution: When NOSTRETCH=1, the SCL clock is not stretched while the ADDR flag is set, so the
user cannot flush the I2C_TXDR register content in the ADDR subroutine, in order to
program the first data byte. The first data byte to be sent must be previously programmed in
the I2C_TXDR register:
This data can be the data written in the last TXIS event of the previous transmission
message.
If this data byte is not the one to be sent, the I2C_TXDR register can be flushed by
setting the TXE bit in order to program a new data byte. The STOPF bit must be
cleared only after these actions, in order to guarantee that they are executed before the
first data transmission starts, following the address acknowledge.
If STOPF is still set when the first data transmission starts, an underrun error will be
generated (the OVR flag is set).
If a TXIS event is needed, (Transmit Interrupt or Transmit DMA request), the user must
set the TXIS bit in addition to the TXE bit, in order to generate a TXIS event.
Figure 359. Transfer sequence flowchart for I2C slave transmitter, NOSTRETCH=0
D^ϭϵϴϱϭsϮ
6ODYHLQLWLDOL]DWLRQ
6ODYH
WUDQVPLVVLRQ
5HDG$''&2'(DQG',5LQ,&B,65
2SWLRQDO6HW,&B,657;( 
6HW,&B,&5$''5&)
:ULWH,&B7;'57;'$7$
,&B,65$''5
"
1R
<HV
,&B,657;,6
"
<HV
1R
6&/
VWUHWFKHG

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