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

no-image

SB16C1058-TQFP128

Manufacturer Part Number
SB16C1058-TQFP128
Description
Octal-uart Controller With 256-byte Fifo
Manufacturer
IK Semicon Co., Ltd
Datasheet
9. Programmer’s Guide
The base set of registers that is used during high-speed data transfer has 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 31:
Command
Set Baud Rate to VALUE1, VALUE2
Set Xon1, Xoff1 to VALUE1, VALUE2
Set Xon2, Xoff2 to VALUE1, VALUE2
Set Software Flow Control Mode to VALUE
Set flow control threshold for 64-byte FIFO
Mode
Set flow control threshold for 256-byte
FIFO Mode
Register Programming Guide
OCTAL UART WITH 256-BYTE FIFO
Action
Read LCR, then save in temp
Set LCR to 80h
Set DLL to VALUE1
Set DLM to VALUE2
Set LCR to temp
Read LCR, then save in temp
Set LCR to BFh
Set Xon1 to VALUE1
Set Xoff1 to VALUE2
Set LCR to temp
Read LCR, then save in temp
Set LCR to BFh
Set Xon2 to VALUE1
Set Xoff2 to VALUE2
Set LCR to temp
Read LCR, then save in temp
Set LCR to BFh
Set EFR to VALUE
Set LCR to temp
1) Set FCR to ‘0000_xxx1’
2) Set FCR to ‘0101_xxx1’
3) Set FCR to ‘1010_xxx1’
4) Set FCR to ‘1111_xxx1’
Set FCR to ‘xxxx_xxx1’
Read LCR, then save in temp
Set LCR to BFh
Set PSR to A5h
Set AFR to 01h
Set FUR to 8, set FLR to 0
Set FUR to 16, set FLR to 8
Set FUR to 56, set FLR to 16
Set FUR to 60, set FLR to 56
IN16C1058
JUNE 2009
REV 1.0
55

Related parts for SB16C1058-TQFP128