sc18is602 NXP Semiconductors, sc18is602 Datasheet - Page 5

no-image

sc18is602

Manufacturer Part Number
sc18is602
Description
Sc18is602/sc18is603 I?c-bus To Spi Bridge
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sc18is602BIPW
Manufacturer:
NXP
Quantity:
2 956
Part Number:
sc18is602BIPW
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
sc18is602BIPW,112
Manufacturer:
NXP
Quantity:
463
Part Number:
sc18is602BIPW,128
Manufacturer:
NXP/恩智浦
Quantity:
20 000
NXP Semiconductors
SC18IS602_603_3
Product data sheet
7.1.1 Addressing
7.1.2 Write to data buffer
7.1.3 SPI read and write - Function ID 01h to 0Fh
The first seven bits of the first byte sent after a START condition defines the slave address
of the device being accessed on the bus. The eighth bit determines the direction of the
message. A ‘0’ in the least significant position of the first byte means that the master will
write information to a selected slave. A ‘1’ in this position means that the master will read
information from the slave. When an address is sent, each device in a system compares
the first seven bits after the START condition with its address. If they match, the device
considers itself addressed by the master as a slave-receiver or slave-transmitter,
depending on the R/W bit.
A slave address of the SC18IS602/603 is comprised of a fixed and a programmable part.
The programmable part of the slave address enables the maximum possible number of
such devices to be connected to the I
programmable address bits (defined by the A2, A1, and A0 pins), it is possible to have
eight of these devices on the same bus.
The state of the A2, A1, and A0 pins are latched at reset. Changes made after reset will
not alter the address.
All communications to or from the SC18IS602/603 occur through the data buffer. The data
buffer is 200 bytes deep. A message begins with the SC18IS60x address, followed by the
Function ID. Depending upon the Function ID, zero to 200 data bytes can follow.
The SC18IS60x will place the data received into a buffer and continue loading the buffer
until a STOP condition is received. After the STOP condition is detected, further
communications will not be acknowledged until the function designated by the Function ID
has been completed.
Data in the buffer will be sent to the SPI port if the Function ID is 01h to 0Fh. The Function
ID contains the Slave Select (SS) to be used for the transmission on the SPI port. There
are four Slave Selects that can be used, with each SS being selected by one of the bits in
the Function ID. There is no restriction on the number or combination of Slave Selects that
can be enabled for an SPI message. If more than one SSn pin is enabled at one time, the
user should be aware of possible contention on the data outputs of the SPI slave devices.
Fig 5. Slave address
Fig 6. Write to data buffer
S
SLAVE ADDRESS
Rev. 03 — 13 August 2007
0
W
1
A
fixed
2
slave address
C-bus. Since the SC18IS602/603 have three
0
FUNCTION ID
1
programmable
A2
A1
A0
002aac446
A
R/W
SC18IS602/603
X
0 TO 200 BYTES
I
2
C-bus to SPI bridge
002aac447
© NXP B.V. 2007. All rights reserved.
A
P
5 of 25

Related parts for sc18is602