Table 22–525, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual

Page 594

Advertising
background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

594 of 792

NXP Semiconductors

UM10237

Chapter 22: LPC24XX I

2

C interfaces I

2

C0/1/2

Table 525. Master Transmitter mode

Status
Code
(I2CSTAT)

Status of the I

2

C bus

and hardware

Application software response

Next action taken by I

2

C hardware

To/From I2DAT

To I2CON

STA STO SI

AA

0x08

A START condition
has been transmitted.

Load SLA+W

Clear STA

X

0

0

X

SLA+W will be transmitted; ACK bit will
be received.

0x10

A repeated START
condition has been
transmitted.

Load SLA+W or

X

0

0

X

As above.

Load SLA+R

Clear STA

X

0

0

X

SLA+W will be transmitted; the I

2

C block

will be switched to MST/REC mode.

0x18

SLA+W has been
transmitted; ACK has
been received.

Load data byte or

0

0

0

X

Data byte will be transmitted; ACK bit will
be received.

No I2DAT action
or

1

0

0

X

Repeated START will be transmitted.

No I2DAT action
or

0

1

0

X

STOP condition will be transmitted; STO
flag will be reset.

No I2DAT action

1

1

0

X

STOP condition followed by a START
condition will be transmitted; STO flag will
be reset.

0x20

SLA+W has been
transmitted; NOT ACK
has been received.

Load data byte or

0

0

0

X

Data byte will be transmitted; ACK bit will
be received.

No I2DAT action
or

1

0

0

X

Repeated START will be transmitted.

No I2DAT action
or

0

1

0

X

STOP condition will be transmitted; STO
flag will be reset.

No I2DAT action

1

1

0

X

STOP condition followed by a START
condition will be transmitted; STO flag will
be reset.

0x28

Data byte in I2DAT
has been transmitted;
ACK has been
received.

Load data byte or

0

0

0

X

Data byte will be transmitted; ACK bit will
be received.

No I2DAT action
or

1

0

0

X

Repeated START will be transmitted.

No I2DAT action
or

0

1

0

X

STOP condition will be transmitted; STO
flag will be reset.

No I2DAT action

1

1

0

X

STOP condition followed by a START
condition will be transmitted; STO flag will
be reset.

0x30

Data byte in I2DAT
has been transmitted;
NOT ACK has been
received.

Load data byte or

0

0

0

X

Data byte will be transmitted; ACK bit will
be received.

No I2DAT action
or

1

0

0

X

Repeated START will be transmitted.

No I2DAT action
or

0

1

0

X

STOP condition will be transmitted; STO
flag will be reset.

No I2DAT action

1

1

0

X

STOP condition followed by a START
condition will be transmitted; STO flag will
be reset.

0x38

Arbitration lost in
SLA+R/W or Data
bytes.

No I2DAT action
or

0

0

0

X

I

2

C bus will be released; not addressed

slave will be entered.

No I2DAT action

1

0

0

X

A START condition will be transmitted
when the bus becomes free.

Advertising