beautypg.com

Pca9665 – NXP Semiconductors PCA9665 User Manual

Page 43

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

43 of 91

NXP Semiconductor

s

PCA9665

Fm+ parallel b

us to I

2

C-b

us contr

oller

80h

Previously addressed
with own slave
address;

BC[6:0] data bytes
have been received;
ACK has been
returned for all the
bytes

Read data bytes
or

0

Total number of
bytes to be
received

X

X

0

X

1

Up to BC[6:0] data bytes will be received, ACK bit
will be returned for all of them.

Read data bytes

1

Total number of
bytes to be
received

X

X

0

X

1

Up to BC[6:0] data bytes will be received, ACK bit
will be returned for all of them, except for the last
one where NACK bit will be returned (unless
master transmitter sends a STOP or Repeated
START condition before).

88h

Previously addressed
with own slave
address;

BC[6:0] data bytes
have been received;
ACK has been
returned for all the
bytes, except for the
last one where NACK
bit has been returned

Read data bytes
or

X

X

0

X

0

0

1

Switched to not addressed slave mode;
No recognition of own slave address; General
Call address will be recognized if GC = 1.

Read data bytes
or

X

X

0

X

0

1

1

Switched to not addressed slave mode;
Own slave address will be recognized;
General Call address will be recognized if GC = 1.

Read data bytes
or

X

X

1

X

0

0

1

Switched to not addressed slave mode;
No recognition of own slave address; General
Call address will be recognized if GC = 1;
A START condition will be transmitted when the
bus becomes free.

Read data bytes

X

X

1

X

0

1

1

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

E0h

Previously addressed
with General Call;
BC[6:0] data bytes
have been received;
ACK has been
returned for all the
bytes

Read data bytes
or

0

Total number of
bytes to be
received

X

X

0

X

1

BC[6:0] data bytes will be received, ACK bit will
be returned for all of them.

Read data bytes

1

Total number of
bytes to be
received

X

X

0

X

1

BC[6:0] data bytes will be received, ACK bit will
be returned for all of them, except for the last one
where NACK bit will be returned (unless master
transmitter sends a STOP or Repeated START
condition before).

Table 40.

Slave Receiver 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/from I2CCOUNT

To I2CCON

LB

BC[6:0]

STA STO SI

AA

MODE