SC16IS741A All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 1 — 18 March 2013 34 of 55
NXP Semiconductors
SC16IS741A
Single UART with I
2
C-bus/SPI interface, 64-byte FIFOs, IrDA SIR
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.
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 it 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)
SC16IS741A All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 1 — 18 March 2013 35 of 55
NXP Semiconductors
SC16IS741A
Single 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 29
shows how the SC16IS741A’s address
can be selected by using A1 and A0 pins. For example, if these two pins are connected to
V
DD
, then the SC16IS741A’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.
[2] Consult Figure 23
and Figure 24 if A1 or A0 is connected to SCL or SDA.
10.3.1 SC16IS741A address decoder
In the SC16IS741, the I
2
C address decoder is reset by the on-board POR (Power-On
Reset) or by the RESET
pin. After reset, the address decoder is kept in reset until there is
a valid START condition on the I
2
C-bus. When the START condition ends, the address
decoder comes out of reset and continuously decodes the states of SCL, SDA, A1 and A0
pins. The decoding continues until there is a matching I
2
C slave address (configured by
A1 and A0 pins) on the I
2
C-bus. The SC16IS741 locks into that address permanently until
the device is reset by the RESET
pin or by the on-board POR. If there are any glitches on
the SDA line during the SCL LOW time, the SC16IS741 might not acknowledge (ACK) its
configured I
2
C address or might ACK the wrong I
2
C address.
In the SC16IS741A, the I
2
C address decoder is reset by the on-board POR or by the
RESET
pin. After reset, the address decoder is kept in reset until there is a valid START
condition on the I
2
C-bus. When the START condition ends, the address decoder comes
out of reset and continuously decodes the states of SCL, SDA, A1 and A0 pins. The
decoding would continue until the rising edge of SCL to create a STOP condition. This
Table 29. SC16IS741A address map
A1 A0 SC16IS741A I
2
C addresses (hexadecimal)
[1][2]
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)
SC16IS741A All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 1 — 18 March 2013 36 of 55
NXP Semiconductors
SC16IS741A
Single UART with I
2
C-bus/SPI interface, 64-byte FIFOs, IrDA SIR
rising edge of SCL will reset the I
2
C address decoder. As a result, the SC16IS741A locks
into the I
2
C matching slave address (configured by A1 and A0) for only one I
2
C access
cycle.
In the SC16IS741A, the I
2
C address decoder gets reset on every STOP condition and
restarts after every START condition. Any glitches occurring on the SDA line during SCL
LOW time between the START clock and the R/W clock are not allowed. These glitches
might cause the SC16IS741A not to acknowledge its own I
2
C-bus address or to ACK the
wrong I
2
C-bus address.
10.4 Use of subaddresses
When a master communicates with the SC16IS741A 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.
Table 30
shows the breakdown of the subaddress (register address) byte. Bit 0 is not
used, bits [2:1] are both set to zeroes, bits [6:3] are used to select one of the device’s
internal registers, and bit 7 is not used.
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 30
and Table 31 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.
The register read cycle (see Figure 19) commences in a similar manner, with the master
sending a slave address with the direction bit set to ‘write’ with a following subaddress.
Then, in order to reverse the direction of the transfer, the master issues a repeated
START followed again by the device address, but this time with the direction bit set to
‘read’. The data bytes starting at the internal subaddress will be clocked out of the device,
each followed by a master-generated acknowledge. The last byte of the read cycle will be
followed by a negative acknowledge, signaling the end of transfer. The cycle is terminated
by a STOP signal.
White block: host to SC16IS741A
Gray block: SC16IS741A to host
(1) See Table 30
for additional information.
Fig 18. Master writes to slave
S SLAVE ADDRESS
002aab047
W A REGISTER ADDRESS
(1)
A nDATA A P

SC16IS741AIPWJ

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
UART Interface IC SC16IS741AIPW/TSSOP16///REEL 13 Q1 NDP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet