NS16C2752TVSX/NOPB National Semiconductor, NS16C2752TVSX/NOPB Datasheet

IC UART DUAL 64BYTE 48-TQFP

NS16C2752TVSX/NOPB

Manufacturer Part Number
NS16C2752TVSX/NOPB
Description
IC UART DUAL 64BYTE 48-TQFP
Manufacturer
National Semiconductor
Datasheet

Specifications of NS16C2752TVSX/NOPB

Features
Programmable
Number Of Channels
2, DUART
Fifo's
64 Byte
Voltage - Supply
2.97 V ~ 5.5 V
With Auto Flow Control
Yes
With Irda Encoder/decoder
Yes
With Modem Control
Yes
Mounting Type
Surface Mount
Package / Case
48-VFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NS16C2752TVSX/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
© 2009 National Semiconductor Corporation
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 Universal
Asynchronous Receiver/Transmitter (DUART). The footprint
and the functions are compatible to the PC16552D, while new
features are added to the UART device. These features in-
clude low voltage support, 5V tolerant inputs, enhanced fea-
tures, 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 overhead and
maximize system efficiency.
To improve the CPU processing bandwidth, the data transfers
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 BAUDOUT func-
tions. The configuration is through Alternate Function Regis-
ter.
The fundamental function of the UART is converting between
parallel and serial data. Serial-to-parallel conversion is done
on the UART receiver and parallel-to-serial conversion is
done on the transmitter. The CPU can read the complete sta-
tus of each channel at any time. Status information reported
includes the type and condition of the transfer operations be-
ing performed by the DUART, as well as any error conditions
(parity, overrun, framing, or break interrupt).
The NS16C2552 and NS16C2752 include one programmable
baud rate generator for each channel. Each baud rate gen-
erator is capable of dividing the clock input by divisors of 1 to
(2
transmitter logic and for receiver sampling circuitry. The
NS16C2552 and NS16C2752 have complete MODEM-con-
trol capability, and a processor-interrupt system. The inter-
rupts 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 internal
202048
NS16C2552/NS16C2752
2.0 Features
Dual independent UART
Up to 5 Mbits/s data transfer rate
2.97 V to 5.50 V operational Vcc
5 V tolerant I/Os in the entire supply voltage range
Industrial Temperature: -40°C to 85°C
Default registers are identical to the PC16552D
NS16C2552/NS16C2752 is pin-to-pin compatible to NSC
PC16552D, EXAR ST16C2552, XR16C2552, XR
16L2552, and Phillips SC16C2552B
NS16C2752 is compatible to EXAR XR16L2752, and
register compatible to Phillips SC16C752
Auto Hardware Flow Control (Auto-CTS, Auto-RTS)
Auto Software Flow Control (Xon, Xoff, and Xon-any)
Fully programmable character length (5, 6, 7, or 8) with
even, odd, or no parity, stop bit
Adds or deletes standard asynchronous communication
bits (start, stop, and parity) to or from the serial data
Independently controlled and prioritized transmit and
receive interrupts
Complete line status reporting capabilities
Line break generation and detection
Internal diagnostic capabilities
— Loopback controls for communications link fault
isolation
— Break, parity, overrun, framing error detection
Programmable baud generators divide any input clock by
1 to (2
IrDA v1.0 wireless Infrared encoder/decoder
DMA operation (TXRDY/RXRDY)
Concurrent write to DUART internal register channels 1
and 2
Multi-function output allows more package functions with
fewer I/O pins
44-PLCC or 48-TQFP package
16
- 1) and generate the 16 X clock
www.national.com
June 3, 2009

Related parts for NS16C2752TVSX/NOPB

NS16C2752TVSX/NOPB Summary of contents

Page 1

... The NS16C2552 and NS16C2752 have complete MODEM-con- trol capability, and a processor-interrupt system. The inter- rupts can be programmed by the user to minimize the processing required to handle the communications link. © 2009 National Semiconductor Corporation NS16C2552/NS16C2752 2.0 Features ■ Dual independent UART ■ ...

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

Physical Dimensions .................................................................................................................... 43 FIGURE 1. Internal Clock Dividers ............................................................................................................... 18 FIGURE 2. Crystal Oscillator Circuitry .......................................................................................................... 26 FIGURE 3. Clock Input Circuitry .................................................................................................................. 27 FIGURE 4. Rx FIFO Mode ........................................................................................................................ 27 FIGURE 5. RXRDY in DMA Mode 1 ...

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 fol- lowing interface categories. • Bus Interface • Serial I/O Interface • Clock and Reset • Power supply and Ground pins Serial channel number ( designated by ...

Page 6

Signal PLCC TQFP Type Name Pin # Pin # TXRDY1 TXRDY2 32 28 INTR1 INTR2 17 12 5.2 SERIAL IO INTERFACE Signal PLCC TQFP Type Name Pin # Pin # SOUT1 ...

Page 7

Signal PLCC TQFP Type Name Pin # Pin # DCD1 DCD2 30 26 RI1 RI2 31 27 MF1 MF2 19 14 UART Data-carrier-detect: When low, DCD indicates that the data carrier ...

Page 8

CLOCK AND RESET Signal Type PLCC Name Pin # XIN I 11 XOUT 5.4 POWER AND GROUND Signal PLCC Type Name Pin # VCC GND N/A ...

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

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

Page 11

Reg RD/ Addr BIT 7 BIT 6 WR A2-A0 DLL R/W DLL DLL 0x0 Bit 7 Bit 6 Default X X DLM R/W DLM DLM 0x1 Bit 7 Bit 6 Default X X AFR R/W Rsrvd Rsrvd Rsrvd 0x2 Bit ...

Page 12

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 register enables eight types of interrupts for the corre- sponding ...

Page 13

R/W Bit Bit Name Def 7:6 FIFOs Ena INT Src INT Src 3:1 INT Src 3:1 R 000 0 INT Src IIR Register Status Bits Priority Level ...

Page 14

Mode 0: Mode 0 allows for single transfer in each DMA cycle. When in the 16450 Mode (FCR[ the FIFO Mode (FCR[ FCR[ and there is at least one character in the ...

Page 15

R/W Bit Bit Name Def 1 Rx FIFO W Receive FIFO Reset Reset 0 This bit is only active when FCR bit Reset RCVR FIFO pointers and all bytes in the RCVR FIFO (the Rx ...

Page 16

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 Break Ena R/W 0 ...

Page 17

Bit Name R/W Bit Default Def 1:0 Tx/Rx Word R/W Tx and Rx Word Length Select Length Sel 0 These two bits specify the word length to be transmitted or received. LCR[ Description LCR[0] Word Length ...

Page 18

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 clock divider for each channel. Each is capable of taking a R/W Bit Bit ...

Page 19

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 channel. Ena (Refer to Section 7.8 INTERNAL LOOPBACK MODE and Figure 13.) 1 ...

Page 20

LINE STATUS REGISTER (LSR) This register provides status information to the CPU concern- ing the data transfer. R/W Bit Bit Name Def 7 Rx FIFO Err R Rx FIFO Data Error 0 This bit is a global Rx FIFO ...

Page 21

R/W Bit Bit Name Def 2 Rx Parity Error R Parity Error Indicator 0 This bit is the Parity Error (PE) indicator Received data word does not have the correct even or odd parity, as selected by the ...

Page 22

MODEM STATUS REGISTER (MSR) This register provides the current state of the control lines from the MODEM (or peripheral device) to the CPU. In addi- tion to this current-state information, four bits of the MODEM R/W Bit Bit Name ...

Page 23

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 Bit Name Def 7:0 ...

Page 24

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 R Concurrent ...

Page 25

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 CTS flow control. Data ...

Page 26

SOFTWARE FLOW CONTROL REGISTERS (SFR) The following four registers are used as programmable soft- ware flow control characters. Bit Bit Name 7:0 Xon1 Data Bit Bit Name 7:0 Xon2 Data Bit Bit Name 7:0 Xoff1 Data Bit Bit Name ...

Page 27

The capacitors C1 and C2 are used to adjust the load capac- itance on these pins. The total load capacitance (C1, C2 and crystal) must be within a certain NS16C2552/2752 to function properly. The parallel resistor Rp and load resistor ...

Page 28

CPU reads the Receive FIFO. After the first character is read by the host, the next character is loaded into the RBR ...

Page 29

The auto-RTS assertion and deassertion timing is based up- on the Rx FIFO trigger level (Table 27 and Table 28). 7.3.4 Receive Flow Control Interrupt To enable auto RTS interrupt: • Enable auto RTS flow control EFR[6]=1. • Enable RTS ...

Page 30

FIGURE 9. TXRDY in DMA Mode 1 7.4.2 Transmit in non-FIFO Mode Interrupt Mode The THR empty flag LSR[5] is set when a data word is trans- ferred to the TSR. THR flag can generate a transmit empty interrupt IIR[1] ...

Page 31

UART automatically transmits Xon1 and Xon2 characters. Care should be taken when designing the software flow con- trol section of the driver. In the case where a local UART is transmitting and the remote ...

Page 32

INFRARED MODE NS16C2552/2752 also integrates an IrDA version 1.0 com- patible infrared encoder and decoder. The infrared mode is enabled by MCR[6]=1. In the infrared mode, the SOUT idles at logic 0. During data transmission, the encoder transmits a ...

Page 33

FIGURE 13. Internal Loopback Functional Diagram 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

FIGURE 16. Crystal Oscillator Circuit It should be noted that the parasitic capacitance also include printed circuit board traces. The circuit board traces connect- ing to the crystal should be kept as short as possible. 8.4 CONFIGURATION EXAMPLES 8.4.1 Set ...

Page 36

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 Xon-Any software auto flow control CTS and RTS hardware auto flow control Interrupt source ...

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 Parameter V Clock Input Low Voltage ILX ...

Page 38

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 Delay from Modem input to ...

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

FIGURE 20. Host Interface Write Timing FIGURE 21. Receiver Timing FIGURE 22. Receiver Timing Non-FIFO Mode 40 20204822 20204823 20204824 ...

Page 41

FIGURE 23. Receiver Timing FIFO Mode FIGURE 24. Transmitter Timing FIGURE 25. Transmitter Timing Non-FIFO Mode 41 20204825 20204826 20204827 www.national.com ...

Page 42

FIGURE 26. Transmitter Timing FIFO Mode 42 20204828 ...

Page 43

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

Page 44

... For more National Semiconductor product information and proven design tools, visit the following Web sites at: Products Amplifiers www.national.com/amplifiers Audio www.national.com/audio Clock and Timing www.national.com/timing Data Converters www.national.com/adc Interface www.national.com/interface LVDS www.national.com/lvds Power Management www.national.com/power Switching Regulators www.national.com/switchers LDOs www.national.com/ldo LED Lighting www ...

Related keywords