Nxp-semiconductors PCA9665 Manual do Utilizador Página 34

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 91
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 33
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 rights reserved.
Product data sheet Rev. 02 — 7 December 2006 34 of 91
NXP Semiconductors
PCA9665
Fm+ parallel bus to I
2
C-bus controller
Table 35. Master Transmitter Buffered mode (MODE = 1)
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
08h A START condition
has been
transmitted
Load SLA+W and
the data bytes
X Total number of bytes
to be transmitted
(= SLA+W + number
of data bytes)
X X 0 X 1 SLA+W will be transmitted. If ACK bit received,
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.
10h A repeated START
condition has been
transmitted
Load SLA+W and
the data bytes or
X Total number of bytes
to be transmitted
(= SLA+W + number
of data bytes)
X X 0 X 1 SLA+W will be transmitted. If ACK bit received,
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.
Load SLA+R X Total number of bytes
to be received
X X 0 X 1 SLA+R will be transmitted.
PCA9665 will be switched to Master Receiver
Buffered mode.
18h SLA+W has been
transmitted; ACK
has been received
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.
20h SLA+W has been
transmitted; NACK
has been received
Load the data
bytes or
0 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
1 X 1 0 0 X 1 Repeated START will be transmitted.
no I2CDAT action
or
0 X 0 1 0 X 1 STOP condition will be transmitted;.
STO flag will be reset.
no I2CDAT action 1 X 1 1 0 X 1 STOP condition followed by a START condition
will be transmitted.
STO flag will be reset.
Vista de página 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 90 91

Comentários a estes Manuais

Sem comentários