SB16C1058_Data Sheet_EN
SB16C1058
OCTAL UART WITH 256-BYTE FIFO
JULY 2013 REV 1.04
56
Table 31: 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’
Set RTR to 16, set TTR to 16
3) Set FCR to ‘1010_xxx1’
Set RTR to 56, set TTR to 32
4) Set FCR to ‘1111_xxx1’
Set RTR to 60, set TTR to 56
Set TX FIFO / RX FIFO Interrupt Trigger
Level for 256-byte FIFO Mode
Set FCR to ‘xxxx_xxx1’
Read LCR, then save in temp
Set LCR to BFh
Set PSR to A5h
Set AFR to 01h
Set TTR to TX FIFO Trigger Level Value
Set RTR to RX FIFO Trigger Level Value
Set PSR to A4h
Set LCR to temp
Read Flow Control Status
Read LCR, then save in temp1
Read MCR, then save in temp2
Set LCR to (‘0111_1111’ AND temp1)
Set MCR to (‘0100_0000’ OR temp2)
Read FSR, then save in temp3
Pass temp3 back to host
Set MCR to temp2
Set LCR to temp1
Read TX FIFO / RX FIFO Count Value
Read LCR, then save in temp1
Read MCR, then save in temp2
Set LCR to (‘0111_1111’ AND temp1)
Set MCR to (‘0100_0000’ OR temp2)
Read TCR, then save in temp3
Read RCR, then save in temp4
Pass temp3 back to host
Pass temp4 back to host
Set MCR to temp2
Set LCR to temp1