Nxp semiconductors – NXP Semiconductors P89LPC9321 UM10310 User Manual

Page 83

Advertising
background image

UM10310

All information provided in this document is subject to legal disclaimers.

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

User manual

Rev. 2 — 1 November 2010

83 of 139

NXP Semiconductors

UM10310

P89LPC9321 User manual

A0H

A STOP condition
or repeated
START condition
has been received
while still
addressed as
SLA/REC or
SLA/TRX

No I2DAT action

0

0

0

0

Switched to not addressed SLA
mode; no recognition of own SLA or
General call address

no I2DAT action

0

0

0

1

Switched to not addressed SLA
mode; Own slave address will be
recognized; General call address
will be recognized if I2ADR.0 = 1.

no I2DAT action

1

0

0

0

Switched to not addressed SLA
mode; no recognition of own SLA or
General call address. A START
condition will be transmitted when
the bus becomes free.

no I2DAT action

1

0

0

1

Switched to not addressed SLA
mode; Own slave address will be
recognized; General call address
will be recognized if I2ADR.0 = 1. A
START condition will be transmitted
when the bus becomes free.

Table 75.

Slave Receiver mode

…continued

Status code
(I2STAT)

Status of the I

2

C

hardware

Application software response

Next action taken by I

2

C

hardware

to/from I2DAT

to I2CON

STA

STO

SI

AA

Table 76.

Slave Transmitter mode

Status code
(I2STAT)

Status of the I

2

C

hardware

Application software response

Next action taken by I

2

C

hardware

to/from I2DAT

to I2CON

STA

STO

SI

AA

A8h

Own SLA+R has
been received;
ACK has been
returned

Load data byte or

x

0

0

0

Last data byte will be transmitted
and ACK bit will be received

load data byte

x

0

0

1

Data byte will be transmitted; ACK
will be received

B0h

Arbitration lost in
SLA+R/W as
master; Own
SLA+R has been
received, ACK
has been returned

Load data byte or

x

0

0

0

Last data byte will be transmitted
and ACK bit will be received

load data byte

x

0

0

1

Data byte will be transmitted; ACK
bit will be received

B8H

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

Load data byte or

x

0

0

0

Last data byte will be transmitted
and ACK bit will be received

load data byte

x

0

0

1

Data byte will be transmitted; ACK
will be received

Advertising