p89v660 NXP Semiconductors, p89v660 Datasheet - Page 29

no-image

p89v660

Manufacturer Part Number
p89v660
Description
P89v660/p89v662/p89v664 8-bit 80c51 5 V Low Power 16 Kb/32 Kb/64 Kb Flash Microcontroller With 512 B/1 Kb/2 Kb Ram, Dual I2c-bus, Spi
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p89v660FA
Manufacturer:
PHI
Quantity:
5 530
Part Number:
p89v660FA
Manufacturer:
PHI
Quantity:
5 530
Part Number:
p89v660FA
Manufacturer:
NXP
Quantity:
12 388
Part Number:
p89v660FA
Manufacturer:
INT
Quantity:
5 600
Part Number:
p89v660FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89v660FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89v660FAЈ¬512
Manufacturer:
PHI
Quantity:
5 530
Part Number:
p89v660FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
P89V660_662_664_2
Product data sheet
6.4.5.2 Master receiver mode
The I
will send the START condition as soon as the bus is free. After the START condition is
transmitted, the SI bit is set, and the status code in S1STA should be 08H. This status
code must be used to vector to an interrupt service routine where the user should load the
slave address to S1DAT and data direction bit (SLA+W). The SI bit must be cleared before
the data transfer can continue.
When the slave address and R/W bit have been transmitted and an acknowledgment bit
has been received, the SI bit is set again, and the possible status codes are 18H, 20H, or
38H for the master mode or 68H, 78H, or 0B0H if the slave mode was enabled (setting
AA = Logic 1). The appropriate action to be taken for each of these status codes is shown
in
In the Master Receiver mode, data is received from a slave transmitter. The transfer
started in the same manner as in the Master Transmitter mode. When the START
condition has been transmitted, the interrupt service routine must load the slave address
and the data direction bit to I
before the data transfer can continue.
When the slave address and data direction bit have been transmitted and an acknowledge
bit has been received, the SI bit is set, and the Status Register will show the status code.
For master mode, the possible status codes are 40H, 48H, or 38H. For slave mode, the
possible status codes are 68H, 78H, or B0H. Refer to
After a repeated START condition, I
Fig 8. Format in the Master Transmitter mode
Fig 9. Format of Master Receiver mode
Table
2
C-bus will enter Master Transmitter mode by setting the STA bit. The I
22.
from master to slave
from slave to master
from master to slave
from slave to master
S
S
Rev. 02 — 29 January 2008
slave address
slave address
2
C-bus Data Register (S1DAT). The SI bit must be cleared
logic 0 = write
logic 1 = read
logic 0 = write
logic 1 = read
80C51 with 512 B/1 kB/2 kB RAM, dual I
2
R/W
C-bus may switch to the Master Transmitter mode.
R
A
A
A = acknowledge (SDA LOW)
A = not acknowledge (SDA HIGH)
S = START condition
A = acknowledge (SDA LOW)
A = not acknowledge (SDA HIGH)
S = START condition
P = STOP condition
DATA
DATA
(n Bytes + acknowledge)
(n Bytes + acknowledge)
data transferred
data transferred
A
A
P89V660/662/664
Table 24
DATA
DATA
for details.
A/A
A
002aaa929
002aaa930
P
P
© NXP B.V. 2008. All rights reserved.
2
C-bus logic
2
C-bus, SPI
29 of 89

Related parts for p89v660