SC68C652B_2 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 02 — 2 November 2009 7 of 43
NXP Semiconductors
SC68C652B
Dual UART with 32-byte FIFOs and IrDA encoder/decoder
V
CC
19, 42 I Power supply input.
XTAL1 13 I Crystal or external clock input. Functions as a crystal input or as
an external clock input. A crystal can be connected between this
pin and XTAL2 to form an internal oscillator circuit (see
Figure 3).
This configuration requires an external 1 M resistor between the
XTAL1 and XTAL2 pins. Alternatively, an external clock can be
connected to this pin to provide custom data rates. See
Section 6.8
“Programmable baud rate generator”.
XTAL2 14 O Output of the crystal oscillator or buffered clock. (See also
XTAL1.) XTAL2 is used as a crystal oscillator output or a buffered
clock output. Should be left open if an external clock is connected
to XTAL1. For extended frequency operation, this pin should be tied
to V
CC
via a 2 k resistor.
Table 2. Pin description
…continued
Symbol Pin Type Description
SC68C652B_2 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 02 — 2 November 2009 8 of 43
NXP Semiconductors
SC68C652B
Dual UART with 32-byte FIFOs and IrDA encoder/decoder
6. Functional description
The SC68C652B UART is pin-compatible with the SC68C2550B UART. It provides more
enhanced features. All additional features are provided through a special enhanced
feature register.
The UART will perform serial-to-parallel conversion on data characters received from
peripheral devices or modems, and parallel-to-parallel conversion on data characters
transmitted by the processor. The complete status of each channel of the SC68C652B
UART can be read at any time during functional operation by the processor.
The SC68C652B can be placed in an alternate mode (FIFO mode) relieving the processor
of excessive software overhead by buffering received/transmitted characters. Both the
receiver and transmitter FIFOs can store up to 64 bytes (including three additional bits of
error status per byte for the receiver FIFO) and have selectable or programmable trigger
levels. Primary outputs RXRDYn and TXRDYn allow signalling of DMA transfers.
The SC68C652B has selectable hardware flow control and software flow control.
Hardware flow control significantly reduces software overhead and increases system
efficiency by automatically controlling serial data flow using the RTSn output and CTSn
input signals. Software flow control automatically controls data flow by using
programmable Xon/Xoff characters.
The UART includes a programmable baud rate generator that can divide the timing
reference clock input by a divisor between 1 and (2
16
1).
6.1 UART A-B functions
The UART provides the user with the capability to bidirectionally transfer information
between an external CPU, the SC68C652B package, and an external serial device. A
logic 0 on chip select pin CS and A3 (LOW or HIGH) allows the user to configure, send
data, and/or receive data via UART channels A and B. Individual channel select functions
are shown in Table 3.
Table 3. Channel selection using CS pin
CS A3 UART channel
1 - none
0 0 channel A
0 1 channel B
SC68C652B_2 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 02 — 2 November 2009 9 of 43
NXP Semiconductors
SC68C652B
Dual UART with 32-byte FIFOs and IrDA encoder/decoder
6.2 Internal registers
The SC68C652B provides two sets of internal registers (A and B) consisting of
17 registers each for monitoring and controlling the functions of each channel of the
UART. These registers are shown in Table 4. The UART registers function as data holding
registers (THR/RHR), interrupt status and control registers (IER/ISR), a FIFO control
register (FCR), line status and control registers (LCR/LSR), modem status and control
registers (MCR/MSR), programmable data rate (clock) control registers (DLL/DLM), and a
user accessible scratchpad register (SPR), along with advanced feature registers EFR
and Xon1, Xon2, Xoff1 and Xoff2.
[1] These registers are accessible only when LCR[7] is a logic 0.
[2] These registers are accessible only when LCR[7] is a logic 1.
[3] Enhanced Feature Register, Xon1, Xon2, and Xoff1, Xoff2 are accessible only when the LCR is set to ‘BFh’.
6.3 FIFO operation
The 32-byte transmit and receive data FIFOs are enabled by the FIFO Control Register
bit 0 (FCR[0]). With SC68C2550B devices, the user can set the receive trigger level, but
not the transmit trigger level. The SC68C652B provides independent trigger levels for both
receiver and transmitter. To remain compatible with SC68C2550B, the transmit interrupt
trigger level is set to 16 following a reset. It should be noted that the user can set the
transmit trigger levels by writing to the FCR register, but activation will not take place until
EFR[4] is set to a logic 1. The receiver FIFO section includes a time-out function to ensure
data is delivered to the external CPU. An interrupt is generated whenever the Receive
Holding Register (RHR) has not been read following the loading of a character or the
receive trigger level has not been reached.
Table 4. Internal registers decoding
A2 A1 A0 Read mode Write mode
General register set (THR/RHR, IER/ISR, MCR/MSR, FCR, LSR, SPR)
[1]
0 0 0 Receive Holding Register Transmit Holding Register
0 0 1 Interrupt Enable Register Interrupt Enable Register
0 1 0 Interrupt Status Register FIFO Control Register
0 1 1 Line Control Register Line Control Register
1 0 0 Modem Control Register Modem Control Register
1 0 1 Line Status Register n/a
1 1 0 Modem Status Register n/a
1 1 1 Scratchpad Register Scratchpad Register
Baud rate register set (DLL/DLM)
[2]
0 0 0 LSB of Divisor Latch LSB of Divisor Latch
0 0 1 MSB of Divisor Latch MSB of Divisor Latch
Enhanced register set (EFR, Xon1, Xon2, Xoff1, Xoff2)
[3]
0 1 0 Enhanced Feature Register Enhanced Feature Register
1 0 0 Xon1 word Xon1 word
1 0 1 Xon2 word Xon2 word
1 1 0 Xoff1 word Xoff1 word
1 1 1 Xoff2 word Xoff2 word

SC68C652BIB48,128

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC UART DUAL 48LQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet