IN16C1054
Table 25: Register Programming Guide
Command
Action
Set Baud Rate to VALUE1, VALUE2
Read LCR, save in temp
Set LCR to 80h
Set DLL to VALUE1
Set DLM to VALUE2
Set LCR to temp
Set Xon1, Xoff1 to VALUE1, VALUE2
Set Xon2, Xoff2 to VALUE1, VALUE2
Set Software Flow Control Mode to VALUE
Read LCR, save in temp
Set LCR to BFh
Set Xon1 to VALUE1
Set Xoff1 to VALUE2
Set LCR to temp
Read LCR, save in temp
Set LCR to BFh
Set Xon2 to VALUE1
Set Xoff2 to VALUE2
Set LCR to temp
Read LCR, save in temp
Set LCR to BFh
Set EFR to VALUE
Set LCR to temp
Set flow control threshold for 64-byte FIFO
Mode
1) Set FCR to ‘0000_xxx1’
Æ Set FUR to 8, set FLR to 0
2) Set FCR to ‘0101_xxx1’
Æ Set FUR to 16, set FLR to 8
3) Set FCR to ‘1010_xxx1’
Æ Set FUR to 56, set FLR to 16
4) Set FCR to ‘1111_xxx1’
Æ Set FUR to 60, set FLR to 56
Set FCR to ‘xxxx_xxx1’
Read LCR, save in temp
Set LCR to BFh
Set flow control threshold for 256-byte
FIFO Mode
Set PSR to A5h
Set AFR to 01h
Table 25: Register Programming Guide…continued
Command
Action
Set FUR to Upper Threshold Value
Set FLR to Lower Threshold Value
Set PSR to A4h
Set LCR to temp
Set TX FIFO / RX FIFO Interrupt Trigger
Level for 64-byte FIFO Mode
1) Set FCR to ‘0000_xxx1’
Æ Set RTR to 8, set TTR to 8
2) Set FCR to ‘0101_xxx1’
Rev. 00