SC16C852_1 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 01 — 31 August 2009 10 of 60
NXP Semiconductors
SC16C852
Dual UART with 128-byte FIFOs and IrDA encoder/decoder
6. Functional description
The SC16C852 provides serial asynchronous receive data synchronization,
parallel-to-serial and serial-to-parallel data conversions for both the transmitter and
receiver sections. These functions are necessary for converting the serial data stream into
parallel data that is required with digital data systems. Synchronization for the serial data
stream is accomplished by adding start and stop bits to the transmit data to form a data
character (character orientated protocol). Data integrity is ensured by attaching a parity bit
to the data character. The parity bit is checked by the receiver for any transmission bit
errors. The electronic circuitry to provide all these functions is fairly complex, especially
when manufactured on a single integrated silicon chip. The SC16C852 represents such
an integration with greatly enhanced features. The SC16C852 is fabricated with an
advanced CMOS process.
The SC16C852 is an upward solution to the SC16C652B that provides a dual UART
capability with 128 bytes of transmit and receive FIFO memory, instead of 32 bytes for the
SC16C652 and 16 bytes in the SC16C2550. The SC16C852 is designed to work with high
speed modems and shared network environments that require fast data processing time.
Increased performance is realized in the SC16C852 by the transmit and receive FIFOs.
This allows the external processor to handle more networking tasks within a given time. In
addition, the four selectable receive and transmit FIFO trigger interrupt levels are provided
in SC16C652 mode, or 128 programmable levels are provided in the extended mode for
maximum data throughput performance especially when operating in a multi-channel
environment (see Section 6.2 “Extended mode (128-byte FIFO)”). The FIFO memory
greatly reduces the bandwidth requirement of the external controlling CPU and increases
performance. A low power pin (LOWPWR) is provided to further reduce power
consumption by isolating the host bus interface.
The SC16C852 is capable of operation up to 5 Mbit/s with an external 80 MHz clock. With
a crystal, the SC16C852 is capable of operation up to 1.5 Mbit/s.
The rich feature set of the SC16C852 is available through internal registers. These
features are: selectable and programmable receive and transmit FIFO trigger levels,
selectable TX and RX baud rates, and modem interface controls, and are all standard
features. Following a power-on reset, an external reset, or a software reset, the
SC16C852 is software compatible with the previous generation, SC16C2550,
SC16C652B, and ST16C2450.
SC16C852_1 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 01 — 31 August 2009 11 of 60
NXP Semiconductors
SC16C852
Dual UART with 128-byte FIFOs and IrDA encoder/decoder
6.1 UART A-B functions
The UART provides the user with the capability to bidirectionally transfer information
between an external CPU, the SC16C852 package, and an external serial device. A
logic 0 (LOW) on chip select pins CSA and/or CSB allows the user to configure, send
data, and/or receive data via UART channels A, B. Individual channel select functions are
shown in Table 3 and Table 4.
6.2 Extended mode (128-byte FIFO)
The device is in the extended mode when any of these four registers contains any value
other than 0: FLWCNTH, FLWCNTL, TXINTLVL, RXINTLVL.
Table 3. Serial port selection (Intel interface)
H = HIGH; L = LOW.
Chip Select Function
CSA = H, CSB = H none
CSA = L UART channel A
CSB = L UART channel B
Table 4. Serial port selection (Motorola interface)
H = HIGH; L = LOW.
Chip Select Function
CS = H none
CS = L, A3 = L UART channel A
CS = L, A3 = H UART channel B
SC16C852_1 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 01 — 31 August 2009 12 of 60
NXP Semiconductors
SC16C852
Dual UART with 128-byte FIFOs and IrDA encoder/decoder
6.3 Internal registers
The SC16C852 provides two sets of internal registers (A and B) consisting of 25 registers
each for monitoring and controlling the functions of each channel of the UART. These
registers are shown in Table 5.
[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] Second special registers are accessible only when EFCR[0] = 1.
[4] Enhanced feature registers are only accessible when LCR = 0xBF.
[5] First extra feature registers are only accessible when EFCR[2:1] = 01b.
[6] Second extra feature registers are only accessible when EFCR[2:1] = 10b.
Table 5. Internal registers decoding
A2 A1 A0 Read mode Write mode
General register set (THR/RHR, IER/ISR, MCR/MSR, FCR, LCR/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 Extra Feature Control Register (EFCR)
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
Second special register set (TXLVLCNT/RXLVLCNT)
[3]
0 1 1 Transmit FIFO Level Count n/a
1 0 0 Receive FIFO Level Count n/a
Enhanced feature register set (EFR, Xon1/Xon2, Xoff1/Xoff2)
[4]
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
First extra feature register set (TXINTLVL/RXINTLVL, FLWCNTH/FLWCNTL)
[5]
0 1 0 Transmit FIFO Interrupt Level Transmit FIFO Interrupt Level
1 0 0 Receive FIFO Interrupt Level Receive FIFO Interrupt Level
1 1 0 Flow Control Count High Flow Control Count High
1 1 1 Flow Control Count Low Flow Control Count Low
Second extra feature register set (CLKPRES, RS485TIME, AFCR2, AFCR1)
[6]
0 1 0 Clock Prescaler Clock Prescaler
1 0 0 RS-485 turn-around Timer RS-485 turn-around Timer
1 1 0 Additional Feature Control Register 2 Additional Feature Control Register 2
1 1 1 Additional Feature Control Register 1 Additional Feature Control Register 1

SC16C852IBS,157

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

Products related to this Datasheet