Table 27, Pca9665 – NXP Semiconductors PCA9665 User Manual

Page 20

Advertising
background image

PCA9665_2

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

Product data sheet

Rev. 02 — 7 December 2006

20 of 91

NXP Semiconductors

PCA9665

Fm+ parallel bus to I

2

C-bus controller

Table 27.

Master Transmitter 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+W

X

X

0

X

0

SLA+W will be transmitted;

ACK/NACK will be received

10h

A repeated START
condition has been
transmitted

Load SLA+W or

X

X

0

X

0

SLA+W will be transmitted;

ACK/NACK will be received

Load SLA+R

X

X

0

X

0

SLA+R will be transmitted;

PCA9665 will be switched to Master
Receiver Byte mode

18h

SLA+W has been
transmitted; ACK has
been received

Load data byte or 0

0

0

X

0

Data byte will be transmitted;

ACK/NACK will be received

no I2CDAT action
or

1

0

0

X

0

Repeated START 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

20h

SLA+W has been
transmitted; NACK
has been received

Load data byte or 0

0

0

X

0

Data byte will be transmitted;

ACK/NACK will be received

no I2CDAT action
or

1

0

0

X

0

Repeated START 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

28h

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

Load data byte or 0

0

0

X

0

Data byte will be transmitted;

ACK/NACK will be received

no I2CDAT action
or

1

0

0

X

0

Repeated START 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

Advertising