Pca9665 – NXP Semiconductors PCA9665 User Manual

Page 35

Advertising
background image

xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx
xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx

PCA9665_2

© NXP B

.V

. 2006. All r

ights reser

v

ed.

Pr
oduct data sheet

Re
v

. 02 — 7 December 2006

35 of 91

NXP Semiconductor

s

PCA9665

Fm+ parallel b

us to I

2

C-b

us contr

oller

28h

BC[6:0] bytes in
I2CDAT have been
transmitted; ACK
has been received
for all of them

Load the data
bytes or

X

Total number of data
bytes to be
transmitted

0

0

0

X

1

Up to BC[6:0] data bytes will be transmitted (until
all of them have been sent and an ACK has
been received for each of them or until a NACK
bit is received).

no I2CDAT action
or

X

X

1

0

0

X

1

Repeated START will be transmitted.

no I2CDAT action
or

X

X

0

1

0

X

1

STOP condition will be transmitted.

STO flag will be reset.

no I2CDAT action X

X

1

1

0

X

1

TOP condition followed by a START condition
will be transmitted.

STO flag will be reset.

30h

Up to BC[6:0] bytes
in I2CDAT have
been transmitted;

NACK has been
received for the last
byte

Load the data
bytes or

X

Total number of data
bytes to be
transmitted

0

0

0

X

1

Up to BC[6:0] data bytes will be transmitted (until
all of them have been sent and an ACK has
been received for each of them or until a NACK
bit is received).

no I2CDAT action
or

X

X

1

0

0

X

1

Repeated START will be transmitted.

no I2CDAT action
or

X

X

0

1

0

X

1

STOP condition will be transmitted.

STO flag will be reset.

no I2CDAT action X

X

1

1

0

X

1

STOP condition followed by a START condition
will be transmitted.

STO flag will be reset.

38h

Arbitration lost in
SLA+W or
Data bytes

No I2CDAT
action or

X

X

0

0

0

0

1

I

2

C-bus will be released; PCA9665 will enter the

not addressed slave mode.

No I2CDAT
action or

X

X

0

0

0

1

1

I

2

C-bus will be released; PCA9665 will enter the

slave mode.

No I2CDAT
action

X

X

1

0

0

X

1

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

Table 35.

Master Transmitter Buffered mode (MODE = 1)

…continued

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 I2CCOUNT

To I2CCON

LB

BC[6:0]

STA STO SI

AA

MODE

Advertising