UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
322 of 523
NXP Semiconductors
UM10462
Chapter 14: LPC11U3x/2x/1x I2C-bus controller
causes the I
2
C block to enter the “not addressed” slave mode (a defined state) and to
clear the STO flag (no other bits in CON are affected). The SDA and SCL lines are
released (a STOP condition is not transmitted).
14.10.6 Some special cases
The I
2
C hardware has facilities to handle the following special cases that may occur
during a serial transfer:
•
Simultaneous Repeated START conditions from two masters
•
Data transfer after loss of arbitration
•
Forced access to the I
2
C-bus
•
I
2
C-bus obstructed by a LOW level on SCL or SDA
•
Bus error
14.10.6.1 Simultaneous Repeated START conditions from two masters
A Repeated START condition may be generated in the master transmitter or master
receiver modes. A special case occurs if another master simultaneously generates a
Repeated START condition (see
). Until this occurs, arbitration is not lost by
either master since they were both transmitting the same data.
If the I
2
C hardware detects a Repeated START condition on the I
2
C-bus before generating
a Repeated START condition itself, it will release the bus, and no interrupt request is
generated. If another master frees the bus by generating a STOP condition, the I
2
C block
will transmit a normal START condition (state 0x08), and a retry of the total serial data
transfer can commence.
Table 293. Miscellaneous States
Status
Code
(STAT)
Status of the I
2
C-bus
and hardware
Application software response
Next action taken by I
2
C hardware
To/From DAT
To CON
STA STO SI
AA
0xF8
No relevant state
information available;
SI = 0.
No DAT action
No CON action
Wait or proceed current transfer.
0x00
Bus error during MST
or selected slave
modes, due to an
illegal START or
STOP condition. State
0x00 can also occur
when interference
causes the I
2
C block
to enter an undefined
state.
No DAT action
0
1
0
X
Only the internal hardware is affected in
the MST or addressed SLV modes. In all
cases, the bus is released and the I
2
C
block is switched to the not addressed
SLV mode. STO is reset.