English
Language : 

SC16C752 Datasheet, PDF (30/47 Pages) NXP Semiconductors – Dual UART with 64-byte FIFO
Philips Semiconductors
SC16C752
Dual UART with 64-byte FIFO
8. Programmer’s guide
The base set of registers that is used during high-speed data transfer have a
straightforward access method. The extended function registers require special
access bits to be decoded along with the address lines. The following guide will help
with programming these registers. Note that the descriptions below are for individual
register access. Some streamlining through interleaving can be obtained when
programming all the registers.
Table 23: Register programming guide
Command
Actions
Set baud rate to VALUE1, VALUE2
Read LCR (03), save in temp
Set LCR (03) to 80
Set DLL (00) to VALUE1
SET DLM (01) to VALUE2
Set LCR (03) to temp
Set Xoff-1, Xon-1 to VALUE1, VALUE2 Read LCR (03), save in temp
Set LCR (03) to BF
Set Xoff-1 (06) to VALUE1
SET Xon-1 (04) to VALUE2
Set LCR (03) to temp
Set Xoff-2, Xon-2 to VALUE1, VALUE2 Read LCR (03), save in temp
Set LCR (03) to BF
Set Xoff-2 (07) to VALUE1
SET Xon-2 (05) to VALUE2
Set LCR (03) to temp
Set software flow control mode to
VALUE
Read LCR (03), save in temp
Set LCR (03) to BF
Set EFR (02) to VALUE
Set LCR (03) to temp
Set flow control threshold to VALUE
Read LCR (03), save in temp1
Set LCR (03) to BF
Read EFR (02), save in temp2
Set EFR (02) to 10 + temp2
Set LCR (03) to 00
Read MCR (04), save in temp3
Set MCR (04) to 40 + temp3
Set TCR (06) to VALUE
Set MCR (04) to temp3
Set LCR (03) to BF
Set EFR (02) to temp2
Set LCR (03) to temp1
9397 750 11635
Product data
Rev. 04 — 20 June 2003
© Koninklijke Philips Electronics N.V. 2003. All rights reserved.
30 of 47