SC16IS752_SC16IS762 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 9 — 22 March 2012 37 of 60
NXP Semiconductors
SC16IS752; SC16IS762
Dual UART with I
2
C-bus/SPI interface, 64-byte FIFOs, IrDA SIR
10.2 Addressing and transfer formats
Each device on the bus has its own unique address. Before any data is transmitted on the
bus, the master transmits on the bus the address of the slave to be accessed for this
transaction. A well-behaved slave with a matching address, if it exists on the network,
should of course acknowledge the master's addressing. The addressing is done by the
first byte transmitted by the master after the START condition.
An address on the network is seven bits long, appearing as the most significant bits of the
address byte. The last bit is a direction (R/W
) bit. A zero indicates that the master is
transmitting (‘write’) and a one indicates that the master requests data (‘read’). A complete
data transfer, comprised of an address byte indicating a ‘write’ and two data bytes is
shown in Figure 16
.
When an address is sent, each device in the system compares the first seven bits after
the START with its own address. If there is a match, the device will consider itself
addressed by the master, and will send an acknowledge. The device could also determine
if in this transaction it is assigned the role of a slave receiver or slave transmitter,
depending on the R/W
bit.
Each node of the I
2
C-bus network has a unique seven-bit address. The address of a
microcontroller is of course fully programmable, while peripheral devices usually have
fixed and programmable address portions.
When the master is communicating with one device only, data transfers follow the format
of Figure 16
, where the R/W bit could indicate either direction. After completing the
transfer and issuing a STOP condition, if a master would like to address some other
device on the network, it could start another transaction by issuing a new START.
Another way for a master to communicate with several different devices would be by using
a ‘Repeated START’. After the last byte of the transaction was transferred, including its
acknowledge (or negative acknowledge), the master issues another START, followed by
address byte and data without effecting a STOP. The master may communicate with a
number of different devices, combining ‘reads’ and ‘writes’. After the last transfer takes
place, the master issues a STOP and releases the bus. Possible data formats are
demonstrated in Figure 17
. Note that the repeated START allows for both change of a
slave and a change of direction, without releasing the bus. We shall see later on that the
change of direction feature can come in handy even when dealing with a single device.
Fig 16. A complete data transfer
S P
SDA
SCL
0 to 6
78
ACK
002aab046
START
condition
STOP
condition
address R/W
0 to 6
78
data
ACK
0 to 6
78
data ACK
SC16IS752_SC16IS762 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 9 — 22 March 2012 38 of 60
NXP Semiconductors
SC16IS752; SC16IS762
Dual UART with I
2
C-bus/SPI interface, 64-byte FIFOs, IrDA SIR
In a single master system, the ‘Repeated START’ mechanism may be more efficient than
terminating each transfer with a STOP and starting again. In a multimaster environment,
the determination of which format is more efficient could be more complicated, as when a
master is using repeated STARTs occupies the bus for a long time, and thus preventing
other devices from initiating transfers.
Fig 17. I
2
C-bus data formats
002aab458
DATASLAVE ADDRESSmaster write: S W A DATAA A P
data transferred
(n bytes + acknowledge)
START condition
STOP condition
acknowledge acknowledge acknowledgewrite
DATASLAVE ADDRESSmaster read: S R A DATAA NA P
data transferred
(n bytes + acknowledge)
START condition
STOP condition
acknowledge acknowledge not
acknowledge
read
DATASLAVE ADDRESS
combined
formats:
S R/W A DATAA A P
data transferred
(n bytes + acknowledge)
START condition
STOP condition
acknowledge acknowledge acknowledgeread or
write
SLAVE ADDRESSSr R/W A
repeated
START condition
acknowledgeread or
write
direction of transfer
may change at this point
data transferred
(n bytes + acknowledge)
SC16IS752_SC16IS762 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.
Product data sheet Rev. 9 — 22 March 2012 39 of 60
NXP Semiconductors
SC16IS752; SC16IS762
Dual UART with I
2
C-bus/SPI interface, 64-byte FIFOs, IrDA SIR
10.3 Addressing
Before any data is transmitted or received, the master must send the address of the
receiver via the SDA line. The first byte after the START condition carries the address of
the slave device and the read/write bit. Table 32
shows how the SC16IS752/SC16IS762’s
address can be selected by using A1 and A0 pins. For example, if these 2 pins are
connected to V
DD
, then the SC16IS752/SC16IS762’s address is set to 0x90, and the
master communicates with it through this address.
[1] X = logic 0 for write cycle; X = logic 1 for read cycle.
10.4 Use of subaddresses
When a master communicates with the SC16IS752/SC16IS762 it must send a
subaddress in the byte following the slave address byte. This subaddress is the internal
address of the word the master wants to access for a single byte transfer, or the beginning
of a sequence of locations for a multi-byte transfer. A subaddress is an 8-bit byte. Unlike
the device address, it does not contain a direction (R/W
) bit, and like any byte transferred
on the bus it must be followed by an acknowledge.
A register write cycle is shown in Figure 18
. The START is followed by a slave address
byte with the direction bit set to ‘write’, a subaddress byte, a number of data bytes, and a
STOP signal. The subaddress indicates which register the master wants to access, and
the data bytes which follow will be written one after the other to the subaddress location.
Table 33
and Table 34 show the bits’ presentation at the subaddress byte for I
2
C-bus and
SPI interfaces. Bit 0 is not used, bits 2:1 select the channel, bits 6:3 select one of the
UART internal registers. Bit 7 is not used with the I
2
C-bus interface, but it is used by the
SPI interface to indicate a read or a write operation.
Table 32. SC16IS752/SC16IS762 address map
A1 A0 SC16IS752/SC16IS762 I
2
C address (hex)
[1]
V
DD
V
DD
0x90 (1001 000X)
V
DD
V
SS
0x92 (1001 001X)
V
DD
SCL 0x94 (1001 010X)
V
DD
SDA 0x96 (1001 011X)
V
SS
V
DD
0x98 (1001 100X)
V
SS
V
SS
0x9A (1001 101X)
V
SS
SCL 0x9C (1001 110X)
V
SS
SDA 0x9E (1001 111X)
SCL V
DD
0xA0 (1010 000X)
SCL V
SS
0xA2 (1010 001X)
SCL SCL 0xA4 (1010 010X)
SCL SDA 0xA6 (1010 011X)
SDA V
DD
0xA8 (1010 100X)
SDA V
SS
0xAA (1010 101X)
SDA SCL 0xAC (1010 110X)
SDA SDA 0xAE (1010 111X)

SC16IS752IBS,128

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
UART Interface IC I2C/SPI-UARTBRIDGE
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union