SB16C1058-TQFP128 IK Semicon Co., Ltd, SB16C1058-TQFP128 Datasheet - Page 57

no-image

SB16C1058-TQFP128

Manufacturer Part Number
SB16C1058-TQFP128
Description
Octal-uart Controller With 256-byte Fifo
Manufacturer
IK Semicon Co., Ltd
Datasheet
Table 31:
Command
Read 256-byte TX FIFO Empty Status /
RX FIFO Full Status
Enable Xoff Re-transmit
Disable Xoff Re-transmit
Set Prescaler Value to Divide-by-1 or 4
Register Programming Guide…continued
OCTAL UART WITH 256-BYTE FIFO
Action
Set FCR to ‘xxxx_xxx1’
Read LCR, then save in temp1
Set LCR to BFh
Set PSR to A5h
Set AFR to 01h
Set PSR to A4h
Set LCR to temp1
Read ISR, then save in temp2
Pass temp2 back to host
Read LCR, then save in temp1
Set LCR to not BFh
Read MCR, then save in temp2
Set MCR to (‘0100_0000’ OR temp2)
Set MCR to (‘0100_0100’ OR temp2)
Set MCR to (‘1011_1111’ AND temp2)
Set MCR to temp2
Set LCR to temp1
Read LCR, then save in temp1
Set LCR to not BFh
Read MCR, then save in temp2
Set MCR to (‘0100_0000’ OR temp2)
Set MCR to (‘1011_1011’ AND temp2)
Set MCR to temp2
Set LCR to temp1
Read LCR, then save in temp1
Set LCR to BFh
Read EFR, then save in temp2
Set EFR to (‘0001_0000’ OR temp2)
Set LCR to 00h
Read MCR, then save in temp3
if Divide-by-1 = OK then
else
Set LCR to BFh
Set EFR to temp2
Set LCR to temp1
Set MCR to (‘0111_1111’ AND temp3)
Set MCR to (‘1000_0000’ OR temp3)
IN16C1058
JUNE 2009
REV 1.0
57

Related parts for SB16C1058-TQFP128