Philips Semiconductors
SC16C754
Quad UART with 64-byte FIFO
8. Programmer鈥檚 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:
Command
Set baud rate to VALUE1, VALUE2
Register programming guide
Actions
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 铿俹w 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 铿俹w 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 11618
漏 Koninklijke Philips Electronics N.V. 2003. All rights reserved.
Product data
Rev. 04 鈥?19 June 2003
32 of 49