![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 636](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847636.webp)
36.5.4.1.2 SCL high timeout
When the I2C module has determined that the SMBCLK and SMBDAT signals have
been high for at least T
HIGH:MAX
, it assumes that the bus is idle.
A HIGH timeout occurs after a START condition appears on the bus but before a STOP
condition appears on the bus. Any master detecting this scenario can assume the bus is
free when either of the following occurs:
• SHTF1 rises.
• The BUSY bit is high and SHTF1 is high.
When the SMBDAT signal is low and the SMBCLK signal is high for a period of time,
another kind of timeout occurs. The time period must be defined in software. SHTF2 is
used as the flag when the time limit is reached. This flag is also an interrupt resource, so
it triggers IICIF.
36.5.4.1.3 CSMBCLK TIMEOUT MEXT and CSMBCLK TIMEOUT SEXT
The following figure illustrates the definition of the timeout intervals T
LOW:SEXT
and
T
LOW:MEXT
. When in master mode, the I2C module must not cumulatively extend its
clock cycles for a period greater than T
LOW:MEXT
within a byte, where each byte is
defined as START-to-ACK, ACK-to-ACK, or ACK-to-STOP. When CSMBCLK
TIMEOUT MEXT occurs, SMBus MEXT rises and also triggers the SLTF.
Start
LOW:SEXT
T
Stop
LOW:MEXT
T
ClkAck
LOW:MEXT
T
ClkAck
LOW:MEXT
T
SCL
SDA
Figure 36-4. Timeout measurement intervals
A master is allowed to abort the transaction in progress to any slave that violates the
T
LOW:SEXT
or T
TIMEOUT,MIN
specifications. To abort the transaction, the master issues a
STOP condition at the conclusion of the byte transfer in progress. When a slave, the I2C
module must not cumulatively extend its clock cycles for a period greater than
T
LOW:SEXT
during any message from the initial START to the STOP. When CSMBCLK
TIMEOUT SEXT occurs, SEXT rises and also triggers SLTF.
Functional description
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
636
Freescale Semiconductor, Inc.