SB16C1058-TQFP128 IK Semicon Co., Ltd, SB16C1058-TQFP128 Datasheet - Page 58
SB16C1058-TQFP128
Manufacturer Part Number
SB16C1058-TQFP128
Description
Octal-uart Controller With 256-byte Fifo
Manufacturer
IK Semicon Co., Ltd
Datasheet
1.SB16C1058-TQFP128.pdf
(66 pages)
- Current page: 58 of 66
- Download datasheet (429Kb)
IN16C1058
OCTAL UART WITH 256-BYTE FIFO
JUNE 2009
58
REV 1.0
Table 32:
Command
Initialize Process
1. Set Baud Rate to 0001h
2. Set TTR to 20h
3. Set RTR to 80h
4. Enable 256-byte FIFO
5. Set Line Control Register to 8-data but,
6. Enable TX, RX interrupts
Serial Output Process
1. TX Interrupt is generated and Jumped to
2. Read ISR
3. Check TX Interrupt Status
4. Read TX FIFO Count
5. Read Data
6. Output TX
5. Read Data
6. Output TX
Interrupt Service Routine
no parity, 1 stop bit
IN16C1058 Programming Guide
Action
Read LCR, then save in temp
Set LCR to 80h
Set DLL to 01h
Set DLM to 00h
Set LCR to temp
Set LCR to BFh
Set PSR to A5h
Set TTR to 20h
Set RTR to 80h
Set AFR to 01h
Set PSR to A4h
Set LCR to 03h
Set IER to 03h
Read ISR, then save in temp1
If temp1 = xx00_0100b then
Else if temp1 = xx00_0010b then
Else
RX Interrupt Service Routine:
TX Interrupt Service Routine:
Read MCR, then save in temp2
Set MCR to (temp2 OR 40h)
Read TCR, then save in temp3
Set MCR to temp2
If temp1[7] = 1b then
Else if temp3 > 128 then
…..
For (Cnt = 0; Cnt <= 127; Cnt++)
For (Cnt = 0; Cnt <= 127; Cnt++)
Goto RX Interrupt Service Routine
Goto TX Interrupt Service Routine
Return from Interrupt Service Routine
Read TX_Data from TX_User_Buffer
Set THR to TX_Data
Read TX_Data from TX_User_Buffer
Set THR to TX_Data
Related parts for SB16C1058-TQFP128
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Octal 3-state Noninverting D Flip-flop
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Quad 2-input Or Gate High-performance Silicon-gate Cmos
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
8-input Nand Gate
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Quad 2-input Nand Gate
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Pwm Power Control Ic With Interference Suppression
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Telephone Speech Network With Dialler Interface
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Linear Integrated Circuit Voice Switched Speaker Phone Circuit
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Audio Frequency Power Amplifier
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Iso K Line Serial Link Interface
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
High Performance Voltage Comparators
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Low Power Low Offset Voltage Dual Comparators
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Voltage Detector
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
8-bit Serial-input/parallel-output Shift Resister
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Presettable Counters
Manufacturer:
IK Semicon Co., Ltd
Datasheet:
Part Number:
Description:
Quad 2-input Data Selectors/multiplexer
Manufacturer:
IK Semicon Co., Ltd
Datasheet: