
R DC
RISC DSP Controller
R8820LV
RDC Semiconductor Co.
Rev:1.0
Subject to change without notice
72
17.3 The Asynchronous Modes description
There are 4 modes operation in the asynchronous serial port.
Mode1:
Mode 1 is the 8-bit asynchronous communications mode. Each frame consists of a start bit, eight data bits and a stop
bit. when parity is used, the eighth data bit becomes the parity bit.
Mode 2:
Mode 2 is used together with Mode 3 for multiprocessor communications over a common serial link. In mode 2, the
RX machine will not complete a reception unless the ninth data bit is a one. Any character received with the ninth bit equal to
zero is ignored. No flags are set, no interrupts occur and no data is transferred to Receive Data Register. In mode 3, characters
are received regardless of the state of the ninth data bit.
Mode 3:
Mode 3 is the 9-bit asynchronous communications mode. Mode 3 is the same as mode 1 except that a frame
contains nine data bits. The ninth data bit becomes the parity bit when the parity feature is enabled.
Mode 4:
Mode 4 is the 7-bit asynchronous communications mode. Each frame consists of a start bit, seven data bits and a
stop bit. Parity bit is not available in mode 4.
Bit 15-13: DMA
, DMA Control Field. These bits configure the serial port for use with DMA transfers.
DMA control bits
(Bit 15, bit 14, bit 13)b --- Receive --- Transmit
( 0, 0, 0 ) --- No DMA --- No DMA
( 0, 0, 1 ) --- DMA 0 --- DMA 1
( 0, 1, 0 ) --- DMA 1 --- DMA 0
( 0, 1, 1 ) --- N/A --- N/A
( 1, 0, 0 ) --- DMA 0 --- No DMA
( 1, 0, 1 ) --- DMA 1 --- No DMA
( 1, 1, 0 ) --- No DMA --- DMA 0
( 1, 1, 1 ) --- No DMA --- DMA 1
Bit 12: RSIE
, Receive Status Interrupt Enable. An exception occurs during data reception or error detection occur will
generate an interrupt.
Set 1: Enable the serial port 0 to generate an interrupt request.
Bit 11: BRK
, Send Break.
Set this bit to 1 , the TXD pin always drives low.
Serial Port 0 Contrl Register
Offset : 80h
Reset Value : 0000h
2
3
0
1
4
5
6
7
8
9
10
11
12
13
14
15
DMA
RISE
BRK
TB8
FC
TXIE
RXIE
T
R
EVN
PE
MODE