English
Language : 

NS16C2552_17 Datasheet, PDF (18/53 Pages) Texas Instruments – Dual Independent UART
NS16C2552, NS16C2752
SNLS238D – AUGUST 2006 – REVISED APRIL 2013
www.ti.com
SCRATCHPAD REGISTER (SCR)
This 8-bit Read/Write Register does not control the serial channel in any way. It is intended as a Scratchpad
Register to be used by the programmer to hold data temporarily.
Bit
Bit Name
7:0
SCR Data
R/W
Def
R/W
0xFF
Table 14. SCR (0x7)
Description
Scratchpad Register
This 8-bit register does not control the UART in any way. It is intended as a scratchpad register
to be used by the programmer to hold temporary data.
PROGRAMMABLE BAUD GENERATOR
The NS16C2552 contains two independently programmable Baud Generators. Each is capable of taking
prescaler input and dividing it by any divisor from 1 to 216 -1 (Figure 3). The highest input clock frequency
recommended with a divisor = 1 is 80MHz. The output frequency of the Baud Generator is 16 X the baud rate,
[divisor # = (frequency input) / (baud rate X 16)]. The output of each Baud Generator drives the transmitter and
receiver sections of the associated serial channel. Two 8-bit latches per channel store the divisor in a 16-bit
binary format. These Divisor Latches must be loaded during initialization to ensure proper operation of the Baud
Generator. Upon loading either of the Divisor Latches, a 16-bit Baud Counter is loaded.
Bit Bit Name
7:0 DLL Data
R/W
Def
R/W
0xXX
Table 15. DLL (0x0, LCR[7] = 1, LCR != 0xBF)
Description
Divisor Latch LSB
This 8-bit register holds the least significant byte of the 16-bit baud rate generator divisor.
This register value does not change upon MR reset.
Bit Bit Name
7:0 DLM Data
R/W
Def
R/W
0xXX
Table 16. DLM (0x1, LCR[7] = 1, LCR != 0xBF)
Description
Divisor Latch MSB
This 8-bit register holds the most significant byte of the 16-bit baud rate generator divisor.
This register value does not change upon MR reset.
Table 17 provides decimal divisors to use with crystal frequencies of 1.8432 MHz, 3.072 MHz and 18.432 MHz.
For baud rates of 38400 and below, the error obtained is minimal. The accuracy of the desired baud rate is
dependent on the crystal frequency chosen. Using a divisor of zero is not recommended.
Output Data
Baud Rate
50
75
150
300
600
1200
2400
4800
9600
19,200
38,400
115,200
Table 17. Baud Rate Generation Using 1.8432 MHz Clock with MCR[7]=0
Output 16x Clock
Divider (dec)
2304
1536
768
384
192
96
48
24
12
6
3
1
User 16x Clock
Divisor (hex)
900
600
300
180
C0
60
30
18
0C
06
03
01
DLM Program
Value (hex)
09
06
03
01
00
00
00
00
00
00
00
00
DLL Program
Value (hex)
00
00
00
80
C0
60
30
18
0C
06
03
01
Data Rate
Error (%)
0
0
0
0
0
0
0
0
0
0
0
0
18
Submit Documentation Feedback
Copyright © 2006–2013, Texas Instruments Incorporated
Product Folder Links: NS16C2552 NS16C2752