NS16C2552TVA NSC [National Semiconductor], NS16C2552TVA Datasheet

no-image

NS16C2552TVA

Manufacturer Part Number
NS16C2552TVA
Description
Dual UART with 16-byte/64-byte FIFOs and up to 5 Mbit/s Data Rate
Manufacturer
NSC [National Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NS16C2552TVA/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
NS16C2552TVAX/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
© 2006 National Semiconductor Corporation
NS16C2552/NS16C2752
Dual UART with 16-byte/64-byte FIFO’s and up to
5 Mbit/s Data Rate
1.0 General Description
The NS16C2552 and NS16C2752 are dual channel Univer-
sal Asynchronous Receiver/Transmitter (DUART). The foot-
print and the functions are compatible to the PC16552D,
while new features are added to the UART device. These
features include low voltage support, 5V tolerant inputs,
enhanced features, enhanced register set, and higher data
rate.
The two serial channels are completely independent of each
other, except for a common CPU interface and crystal input.
On power-up both channels are functionally identical to the
PC16552D. Each channel can operate with on-chip transmit-
ter and receiver FIFO’s (in FIFO mode).
In the FIFO mode each channel is capable of buffering 16
bytes (for NS16C2552) or 64 bytes (for NS16C2752) of data
in both the transmitter and receiver. The receiver FIFO also
has additional 3 bits of error data per location. All FIFO
control logic is on-chip to minimize system software over-
head and maximize system efficiency.
To improve the CPU processing bandwidth, the data trans-
fers between the DUART and the CPU can be done using
DMA controller. Signaling for DMA transfers is done through
two pins per channel (TXRDY and RXRDY). The RXRDY
function is multiplexed on one pin with the OUT2 and BAUD-
OUT functions. The configuration is through Alternate Func-
tion Register.
The fundamental function of the UART is converting be-
tween parallel and serial data. Serial-to-parallel conversion
is done on the UART receiver and parallel-to-serial conver-
sion is done on the transmitter. The CPU can read the
complete status of each channel at any time. Status infor-
mation reported includes the type and condition of the trans-
fer operations being performed by the DUART, as well as
any error conditions (parity, overrun, framing, or break inter-
rupt).
The NS16C2552 and NS16C2752 include one program-
mable baud rate generator for each channel. Each baud rate
generator is capable of dividing the clock input by divisors of
1 to (2
internal transmitter logic and for receiver sampling circuitry.
The NS16C2552 and NS16C2752 have complete MODEM-
control capability, and a processor-interrupt system. The
interrupts can be programmed by the user to minimize the
processing required to handle the communications link.
16
- 1), and producing a 16X clock for driving the
DS202048
2.0 Features
n Dual independent UART
n Up to 5 Mbits/s data transfer rate
n 2.97 V to 5.50 V operational Vcc
n 5 V tolerant I/Os in the entire supply voltage range
n Industrial Temperature: -40˚C to 85˚C
n Default registers are identical to the PC16552D
n NS16C2552/NS16C2752 is pin-to-pin compatible to
n NS16C2752 is compatible to EXAR XR16L2752, and
n Auto Hardware Flow Control (Auto-CTS, Auto-RTS)
n Auto Software Flow Control (Xon, Xoff, and Xon-any)
n Fully programmable character length (5, 6, 7, or 8) with
n Adds or deletes standard asynchronous communication
n Independently controlled and prioritized transmit and
n Complete line status reporting capabilities
n Line break generation and detection
n Internal diagnostic capabilities
n Programmable baud generators divide any input clock
n IrDA v1.0 wireless Infrared encoder/decoder
n DMA operation (TXRDY/RXRDY)
n Concurrent write to DUART internal register channels 1
n Multi-function output allows more package functions with
n 44-PLCC or 48-TQFP package
NSC PC16552D, EXAR ST16C2552, XR16C2552, XR
16L2552, and Phillips SC16C2552B
register compatible to Phillips SC16C752
even, odd, or no parity, stop bit
bits (start, stop, and parity) to or from the serial data
receive interrupts
by 1 to (2
and 2
fewer I/O pins
isolation
— Loopback controls for communications link fault
— Break, parity, overrun, framing error detection
16
- 1) and generate the 16 X clock
PRELIMINARY
www.national.com
August 2006

Related parts for NS16C2552TVA

NS16C2552TVA Summary of contents

Page 1

NS16C2552/NS16C2752 Dual UART with 16-byte/64-byte FIFO’s and Mbit/s Data Rate 1.0 General Description The NS16C2552 and NS16C2752 are dual channel Univer- sal Asynchronous Receiver/Transmitter (DUART). The foot- print and the functions are compatible to the PC16552D, while ...

Page 2

General Description ..................................................................................................................................... 1 2.0 Features ....................................................................................................................................................... 1 3.0 System Block Diagram ................................................................................................................................. 4 4.0 Connection Diagrams ................................................................................................................................... 4 5.0 Pin Descriptions ........................................................................................................................................... 5 5.1 PARALLEL BUS INTERFACE ................................................................................................................... 5 5.2 SERIAL IO INTERFACE ............................................................................................................................ 6 5.3 CLOCK AND ...

Page 3

AC SPECIFICATIONS ........................................................................................................................... 37 11.0 Timing Diagrams ...................................................................................................................................... 39 12.0 Physical Dimensions ................................................................................................................................ 42 Table of Contents (Continued) 3 www.national.com ...

Page 4

... System Block Diagram 4.0 Connection Diagrams 44–PLCC Order Number NS16C2552TVA, NS16C2752TVA; See NS Package Number V44A www.national.com 20204802 48–TQFP Order Number NS16C2552TVS, NS16C2752TVS; See NS Package Number VBC48A 4 20204801 20204830 ...

Page 5

Pin Descriptions The NS16C2552/NS16C2752 pins are classified into the following interface categories. • Bus Interface • Serial I/O Interface • Clock and Reset • Power supply and Ground pins Serial channel number ( designated by a ...

Page 6

Pin Descriptions Signal PLCC TQFP Name Type Pin # Pin # TXRDY1 O 1 TXRDY2 32 INTR1 O 34 INTR2 17 5.2 SERIAL IO INTERFACE Signal PLCC TQFP Name Type Pin # Pin # SOUT1 SOUT2 ...

Page 7

Pin Descriptions (Continued) Signal PLCC TQFP Name Type Pin # Pin # DSR1 DSR2 29 25 DCD1 DCD2 30 26 RI1 RI2 31 27 MF1 MF2 19 ...

Page 8

Pin Descriptions 5.3 CLOCK AND RESET Signal PLCC Name Type Pin # XIN I 11 XOUT 5.4 POWER AND GROUND Signal PLCC Name Type Pin # VCC GND ...

Page 9

Register Set There are two identical register sets, one for each channel, in the DUART. All register descriptions in this section apply to the register sets in both channels. To clarify the descriptions of transmission and receiving op- erations, ...

Page 10

Register Set (Continued) Reg Addr RD/ A2-A0 WR BIT 7 BIT 6 UART 16C550 Compatible Registers (Default Values Upon Reset) RBR R/W Data7 Data6 THR 0x0 Default X X IER R/W CTS Int RTS 0x1 Ena Int Ena Default ...

Page 11

Register Set (Continued) TABLE 2. NS16C2552 Register Summary (Continued) Reg Addr RD/ A2-A0 WR BIT 7 BIT 6 BIT 5 DLL R/W DLL DLL 0x0 Bit 7 Bit 6 Default X X DLM R/W DLM DLM 0x1 Bit 7 ...

Page 12

Register Set (Continued) Bit Bit Name 7:0 RBR Data 6.2 TRANSMIT HOLDING REGISTER (THR) This register holds the byte-wide transmit data (THR). This is a write-only register. Bit Bit Name 7:0 THR Data 6.3 INTERRUPT ENABLE REGISTER (IER) This ...

Page 13

Register Set (Continued) R/W Bit Bit Name Def 0 Rx_DV Int R/W Rx Data Available Interrupt Enable Ena Enable the Received Data Available and FIFO mode time-out interrupt Disable the Received Data Available interrupt ...

Page 14

Register Set (Continued) TABLE 8. Interrupt Sources and Clearing (Continued) Interrupt Interrupt Sources Generation Rx Trigger Rx FIFO reached trigger level. RXRDY Time-out in 4-word time plus 12-bit delay time. Timer TXRDY THR empty. MSR Any state change in ...

Page 15

Register Set (Continued) Bit R/W Bit Name Def 5:4 Tx FIFO W Transmit FIFO Trigger Level Selection Trig 00 The transmit FIFO trigger threshold selection is only available in NS16C2752. When Level Sel enabled, a transmit interrupt is generated ...

Page 16

Register Set (Continued) 6.6 LINE CONTROL REGISTER (LCR) The system programmer specifies the format of the asyn- chronous data communications exchange and sets the Divi- Bit Name R/W Bit Default Def 7 Divisor Latch R/W Ena ...

Page 17

Register Set (Continued) Bit Name R/W Bit Default Def 2 Tx/Rx R/W Stop-bit 0 Length Sel 1:0 Tx/Rx Word R/W Length Sel 0 TABLE 10. LCR (0x3) (Continued) Description Tx and Rx Stop-bit Length Select This bit specifies the ...

Page 18

Register Set (Continued) 6.7 MODEM CONTROL REGISTER (MCR) This register controls the interface with the MODEM or data set (or a peripheral device emulating a MODEM). There is a R/W Bit Bit Name Def 7 Clk Divider R/W Sel ...

Page 19

Register Set (Continued) R/W Bit Bit Name Def 4 Internal R/W Internal Loopback Enable Loopback 0 This bit provides a local loopback feature for diagnostic testing of the associated serial Ena channel. (Refer to Section 7.8 INTERNAL LOOPBACK MODE ...

Page 20

Register Set (Continued) 6.8 LINE STATUS REGISTER (LSR) This register provides status information to the CPU con- cerning the data transfer. R/W Bit Bit Name Def 7 Rx FIFO Err THR & TSR R Empty 1 ...

Page 21

Register Set (Continued) R/W Bit Bit Name Def 3 Rx Frame R Error Parity R Error Overrun R Error Data R Ready 0 TABLE 12. LSR (0x5) (Continued) Description Framing ...

Page 22

Register Set (Continued) 6.9 MODEM STATUS REGISTER (MSR) This register provides the current state of the control lines from the MODEM (or peripheral device) to the CPU. In R/W Bit Bit Name Def 7 DCD Input R Status DCD ...

Page 23

Register Set (Continued) 6.10 SCRATCHPAD REGISTER (SCR) This 8-bit Read/Write Register does not control the serial channel in any way intended as a Scratchpad Register to be used by the programmer to hold data temporarily. R/W Bit ...

Page 24

Register Set (Continued) 6.12 ALTERNATE FUNCTION REGISTER (AFR) This is a read/write register used to select simultaneous write to both register sets and alter MF pin functions. Bit Name R/W Bit Default Def 7:3 Reserved 2:1 MF Output Sel ...

Page 25

Register Set (Continued) 6.14 ENHANCED FEATURE REGISTER (EFR) This register enables the enhanced features of the device. Bit Name R/W Bit Default Def 7 Auto CTS R/W Automatic CTS Flow Control Enable Flow Ctl Enable automatic ...

Page 26

Register Set (Continued) Bit Name R/W Bit Default Def 3:0 Software R/W Software Flow Control Select Flow 0 Single character and dual sequential character software flow control is supported. Control Combinations of software flow control can be selected by ...

Page 27

Operation and Configuration 7.1 CLOCK INPUT The NS16C2552/2752 has an on-chip oscillator that accepts standard crystal with parallel resonant and fundamental fre- quency. The generated clock is supplied to both UART chan- nels with the capability range from DC ...

Page 28

Operation and Configuration (Continued) FIGURE 4. Rx FIFO Mode The RSR operation is described as follows the falling edge of the start bit, an internal timer starts counting at 16X clock. At 8th 16X clock, approximately the ...

Page 29

Operation and Configuration (Continued) FIGURE 6. Rx Non-FIFO Mode DMA Mode In the non-FIFO mode, the presence of a received character in RBR causes the assertion of RXRDY at which point DMA transfer can be initiated. Upon transfer completion ...

Page 30

Operation and Configuration (Continued) a TXRDY interrupt (IIR[1]=1) when the transmit empty inter- rupt is enabled (IER[1]=1). Writing to THR or reading from IIR deasserts the interrupt. There is a two-character hysteresis in interrupt generation. The host needs to ...

Page 31

Operation and Configuration (Continued) FIGURE 11. TXRDY in DMA Mode 0 7.4.3 Transmit Hardware Flow Control CTS is a flow control input used to prevent remote receiver FIFO data overflow. The CTS input is monitored to suspend/ resume the ...

Page 32

Operation and Configuration (Continued) 7.7 SLEEP MODE To reduce power consumption, NS16C2552/2752 has a per channel sleep mode when channel is not being used. The sleep mode requires following conditions to be met: • Sleep mode of the respective ...

Page 33

Operation and Configuration FIGURE 13. Internal Loopback Functional Diagram (Continued) 33 20204815 www.national.com ...

Page 34

Design Notes 8.1 DEBUGGING HINTS Although the UART device is fairly straight forward, there are cases that when device does not behave as expected. The normal trouble shooting steps should include the following. 1. Check power supply voltage and ...

Page 35

Design Notes (Continued) 4. The load capacitance of the crystal should match the load capacitance of the oscillator circuitry seen by the crystal. Under the AC conditions, the oscillator load ca- pacitance is a lump sum of parasitic capacitance ...

Page 36

Design Notes (Continued) • FCR 0x02 • LCR 0x03.7:0 = temp Features Tx and Rx FIFO sizes Supply voltage Highest baud rate Highest clock input frequency Operating temperature Enhanced Register Set Sleep mode IER[4] Xon, Xoff, and ...

Page 37

Absolute Maximum Ratings 1) If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. Operating Temperature Storage Temperature All Input or Output Voltages with respect Power Dissipation Symbol ...

Page 38

DC and AC Specifications Symbol Parameter t Data Disable Time Strobe Width WR t Write Cycle Delay DY t Data Setup Time DS t Data Hold Time DH t Delay from WR to Output MDO t ...

Page 39

Timing Diagrams FIGURE 17. External Clock Input FIGURE 18. Modem Control Timing FIGURE 19. Host Interface Read Timing 39 20204819 20204820 20204821 www.national.com ...

Page 40

Timing Diagrams www.national.com (Continued) FIGURE 20. Host Interface Write Timing FIGURE 21. Receiver Timing FIGURE 22. Receiver Timing Non-FIFO Mode FIGURE 23. Receiver Timing FIFO Mode 40 20204822 20204823 20204824 20204825 ...

Page 41

Timing Diagrams FIGURE 25. Transmitter Timing Non-FIFO Mode (Continued) FIGURE 24. Transmitter Timing FIGURE 26. Transmitter Timing FIFO Mode 41 20204826 20204827 20204828 www.national.com ...

Page 42

... Physical Dimensions www.national.com inches (millimeters) unless otherwise noted 44–PLCC Package Order Number NS16C2552TVA, NS16C2752TVA NS Package Number V44A 48–TQFP Package Order Number NS16C2552TVS, NS16C2752TVS NS Package Number VBC48A 42 ...

Page 43

National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications. For the most current product information ...

Related keywords