Table 28, Pca9665 – NXP Semiconductors PCA9665 User Manual

Page 24

Advertising
background image

PCA9665_2

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

Product data sheet

Rev. 02 — 7 December 2006

24 of 91

NXP Semiconductors

PCA9665

Fm+ parallel bus to I

2

C-bus controller

Table 28.

Master Receiver Byte mode (MODE = 0)

Status
code
(I2CSTA)

Status of the
I

2

C-bus and the

PCA9665

Application software response

Next action taken by the PCA9665

To/from I2CDAT

To I2CCON

STA STO SI

AA

MODE

08h

A START condition
has been
transmitted

Load SLA+R

X

X

0

X

0

SLA+R will be transmitted;

ACK/NACK bit will be received

10h

A repeated START
condition has been
transmitted

Load SLA+R or

X

X

0

X

0

SLA+R will be transmitted;

ACK/NACK bit will be received

Load SLA+W

X

X

0

X

0

SLA+W will be transmitted;

PCA9665 will be switched to
Master Transmitter Byte mode

38h

Arbitration lost in
NACK bit

No I2CDAT action
or

0

0

0

X

0

I

2

C-bus will be released;

PCA9665 will enter a slave mode

no I2CDAT action

1

0

0

X

0

A START condition will be
transmitted when the bus becomes
free

40h

SLA+R has been
transmitted; ACK
has been received

No I2CDAT action
or

0

0

0

0

0

Data byte will be received;

NACK bit will be returned

no I2CDAT action

0

0

0

1

0

Data byte will be received;

ACK bit will be returned

48h

SLA+R has been
transmitted; NACK
has been received

No I2CDAT action
or

1

0

0

X

0

Repeated START condition will be
transmitted

no I2CDAT action
or

0

1

0

X

0

STOP condition will be transmitted;

STO flag will be reset

no I2CDAT action

1

1

0

X

0

STOP condition followed by a START
condition will be transmitted;

STO flag will be reset

50h

Data byte has been
received; ACK has
been returned

Read data byte or

0

0

0

0

0

Data byte will be received;

NACK bit will be returned

read data byte

0

0

0

1

0

Data byte will be received;

ACK bit will be returned

58h

Data byte has been
received; NACK has
been returned

Read data byte or

1

0

0

X

0

Repeated START condition will be
transmitted

read data byte or

0

1

0

X

0

STOP condition will be transmitted;

STO flag will be reset

read data byte

1

1

0

X

0

STOP condition followed by a START
condition will be transmitted;

STO flag will be reset

Advertising