sc16c852libs NXP Semiconductors, sc16c852libs Datasheet - Page 13

no-image

sc16c852libs

Manufacturer Part Number
sc16c852libs
Description
1.8 V Dual Uart, 5 Mbit/s Max. With 128-byte Fifos, Infrared Irda And 16 Mode Or 68 Mode Bus Interface
Manufacturer
NXP Semiconductors
Datasheet
NXP Semiconductors
SC16C852L_3
Product data sheet
6.3 Internal registers
The SC16C852L 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]
[2]
[3]
[4]
[5]
[6]
A2
General register set (THR/RHR, IER/ISR, MCR/MSR, FCR, LCR/LSR, SPR)
0
0
0
0
1
1
1
1
Baud rate register set (DLL/DLM)
0
0
Second special register set (TXLVLCNT/RXLVLCNT)
0
1
Enhanced feature register set (EFR, Xon1/Xon2, Xoff1/Xoff2)
0
1
1
1
1
First extra feature register set (TXINTLVL/RXINTLVL, FLWCNTH/FLWCNTL)
0
1
1
1
Second extra feature register set (CLKPRES, RS485TIME, AFCR2, AFCR1)
0
1
1
1
These registers are accessible only when LCR[7] is a logic 0.
These registers are accessible only when LCR[7] is a logic 1.
Second special registers are accessible only when EFCR[0] = 1.
Enhanced feature registers are only accessible when LCR = 0xBF.
First extra feature registers are only accessible when EFCR[2:1] = 01b.
Second extra feature registers are only accessible when EFCR[2:1] = 10b.
A1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
0
1
1
1
0
1
1
1
0
1
1
Internal registers decoding
A0
0
1
0
1
0
1
0
1
0
1
1
0
0
0
1
0
1
0
0
0
1
0
0
0
1
Read mode
Receive Holding Register
Interrupt Enable Register
Interrupt Status Register
Line Control Register
Modem Control Register
Line Status Register
Modem Status Register
Scratchpad Register
LSB of Divisor Latch
MSB of Divisor Latch
Transmit FIFO Level Count
Receive FIFO Level Count
Enhanced Feature Register
Xon1 word
Xon2 word
Xoff1 word
Xoff2 word
Transmit FIFO Interrupt Level
Receive FIFO Interrupt Level
Flow Control Count High
Flow Control Count Low
Clock Prescaler
RS-485 turn-around Timer
Additional Feature Control Register 2 Additional Feature Control Register 2
Additional Feature Control Register 1 Additional Feature Control Register 1
1.8 V dual UART with 128-byte FIFOs and IrDA encoder/decoder
Rev. 03 — 18 January 2008
[2]
Table
5.
[3]
Write mode
Transmit Holding Register
Interrupt Enable Register
FIFO Control Register
Line Control Register
Modem Control Register
Extra Feature Control Register (EFCR)
n/a
Scratchpad Register
LSB of Divisor Latch
MSB of Divisor Latch
n/a
n/a
Enhanced Feature Register
Xon1 word
Xon2 word
Xoff1 word
Xoff2 word
Transmit FIFO Interrupt Level
Receive FIFO Interrupt Level
Flow Control Count High
Flow Control Count Low
Clock Prescaler
RS-485 turn-around Timer
[4]
SC16C852L
[1]
© NXP B.V. 2008. All rights reserved.
[6]
[5]
13 of 63

Related parts for sc16c852libs