RDC
®
RISC DSP Controller
R8830LV
R8830LV
16-Bit RISC Microcontroller User’s Manual
RDC
RISC DSP Controller
RDC Semiconductor Co., Ltd
http:\\www.rdc.com.tw
Tel. 886-3-583-2666
Fax 886-3-583-2688
RDC Semiconductor Co.
Subject to change without notice
1
Rev:1.0
RDC
Contents
®
RISC DSP Controller
R8830LV
page
1. Features
------------------------------------------------------------------------- 4
2. Block Diagram
---------------------------------------------------------------- 4
3. Pin Configuration
------------------------------------------------------------- 5
4. Pin Description
---------------------------------------------------------------- 8
5. Basic Application System Block--------------------------------------------
14
6. Oscillator Characteristics
-------------------------------------------------- 15
7. Read/Write timing Diagram ------------------------------------------------
16
8. Execution Unit
------------------------------------------------------------- 18
8.1
General Register
--------------------------------------------------------- 18
8.2
Segment Register
--------------------------------------------------------- 18
8.3
Instruction Pointer and Status Flags Register-----------------------------
19
8.4
Address Generation
------------------------------------------------------ 20
9. Peripheral Control Block Register ----------------------------------------
21
--------------------------------------------------------------------------------
10. System Clock Block
-------------------------------------------------------- 23
11. Reset
-------------------------------------------------------------------------- 24
12. Bus Interface Unit-----------------------------------------------------------
26
12.1
Memory and I/O Interface ---------------------------------------------------
26
12.2
Data Bus
----------------------------------------------------------------- 26
12.3
Wait States -----------------------------------------------------------------------
27
12.4
Bus Hold--------------------------------------------------------------------------
28
13. Chip Select Unit
------------------------------------------------------------ 30
13.1
UCS ------------------------------------------------------------------------------
30
13.2
LCS ------------------------------------------------------------------------------
31
13.3
MCSx ---------------------------------------------------------------------------
33
13.4
PCSx ----------------------------------------------------------------------------
34
14. Interrupt Controller Unit -------------------------------------------------
37
14.1
Master Mode and Slave Mode
----------------------------------------- 37
14.2
Interrupt Vector, Type --------------------------------------------------------
38
14.3
Interrupt Request
------------------------------------------------------ 39
14.4
Interrupt Acknowledge
------------------------------------------------ 39
14.5
Programming Register -------------------------------------------------------
40
RDC Semiconductor Co.
Subject to change without notice
2
Rev:1.0
RDC
®
RISC DSP Controller
R8830LV
15. DMA Unit
-------------------------------------------------------------------- 53
15.1
DMA Operation ----------------------------------------------------------------
53
15.2
External Request ---------------------------------------------------------------
58
15.3 Serial Port DMA/Transfer-------------------------------------------
59
16. Timer Control Unit --------------------------------------------------------
61
16.1
Timer/Counter Unit Output Mode
---------------------------------- 65
17. Watchdog Timer ------------------------------------------------------------
66
18. Asynchronous Serial Port
------------------------------------------------- 69
18.1 Serial Port Flow Control
------------------------------------------- 69
18.1.1 DCE/DTE Protocol -----------------------------------------
69
18.1.2 CTS/RTR Protocol ------------------------------------------
70
18.2 DMA Transfer to/form a serial port function ------------------
70
18.3 The Asynchronous Modes description --------------------------
71
19. PIO Unit
--------------------------------------------------------------------- 76
19.1
PIO Multi-Function Pin list Table
----------------------------------- 76
20. PSRAM Control Unit
------------------------------------------------------ 79
21. Instruction Set Opcodes and Clock Cycle
------------------------------ 80
21.1
R8830LV Execution Timings
----------------------------------------- 84
22. DC Characteristics ---------------------------------------------------------
85
23. AC Characteristics ---------------------------------------------------------
86
24. Package Information
------------------------------------------------------ 95
RDC Semiconductor Co.
Subject to change without notice
3
Rev:1.0
RDC
1. Features
l
l
l
®
RISC DSP Controller
R8830LV
16-Bit Microcontroller with 8-bit external data bus
RISC architecture
Static Design & Synthesizable design
Bus interface
- Multiplexed address and Data bus which
compatible with 80C188 microprocessor
- Supports nonmultiplexed address bus [A19 : A0]
- 1M byte memory address space
- 64K byte I/O space
l
l
l
l
Supports 32 PIO pins
PSRAM (Pseudo static RAM) interface with
auto-refresh control
Three independent 16-bit timers and one
independent watchdog timer
The Interrupt controller with seven maskable
external interrupts and one nonmaskable
external interrupt
l
l
l
Software compatible with the 80C186
Support two Asynchronous serial channel with
hardware handshaking signals.
Support serial port with DMA transfers
l
l
l
Two independent DMA channels
Programmable chip-select logic for Memory
or I/O bus cycle decoder
Programmable wait-state generator
2. Block Diagram
INT2/INTA0
INT1/SELECT
CLKOUTA
INT3/INTA1/IRQ
INT0 NMI
CLKOUTB INT6-INT4
TMROUT0 TMROUT1
TMRIN0
TMRIN1
DRQ0
DRQ1
X1
VCC
GND
X2
Clock and
Power
Management
Interrupt
Control Unit
Timer Control
Unit
DMA
Unit
RST
LCS/ONCE0
MCS3/RFSH
MCS2-MCS0
UCS/ONCE1
PCS3-PCS0
PCS5/A1
PCS6/A2
Chip
Select
Unit
PSRAM
Control
Unit
Instruction
Queue (64bits)
Instruction
Decoder
Control Signal
Micro
ROM
PIO
Unit
ARDY
SRDY
S2~S0
DT/R
DEN
Refresh
Control
Unit
Register
File
General,
Segment,
Eflag Register
EA / LA
Address
Asynchro-
nous Serial
Port0
RTS0/RTR0
CTS0/ENRX0
TXD0
RXD0
RTS1/RTR1
HOLD
HLDA
S6/CLKDIV2
UZI
Bus
Interface
Unit
ALU
(Special,
Logic,
Adder,
BSF)
Execution
Unit
Asynchro-
nous Serial
Port1
CTS1/ENRX1
TXD1
RXD1
A19~A0
ALE
AD7~AD0
AO15~AO8
RD
WB
WR
RFSH2/ADEN
RDC Semiconductor Co.
Subject to change without notice
4
Rev:1.0
RDC
(PQFP)
®
RISC DSP Controller
R8830LV
3. Pin Configuration
CTS0/ENRX0/PIO21
S6/CLKDIV2/PIO29
RXD1/PIO28
TXD1/PIO27
UZI/PIO26
AO15
AO14
AO13
AO12
A011
AD7
VCC
AD6
GND
AD5
AD4
AD3
AO10
83
AD2
82
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
RXD0/PIO23
TXD0/PIO22
RTS0/RTR0/PIO20
RFSH2/ADEN
WR
RD
ALE
ARDY
S2
S1
S0
GND
X1
X2
VCC
CLKOUTA
CLKOUTB
GND
A19/PIO9
A18/PIO8
VCC
A17/PIO7
A16
A15
A14
A13
A12
A11
A10
A9
81
AO9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
80
79
78
77
76
75
74
73
72
71
70
69
68
AD1
AO8
AD0
DRQ0/INT6/PIO12
DRQ1/INT5/PIO13
TMRIN0/PIO11
TMROUT0/PIO10
TMROUT1/PIO1
TMRIN1/PIO0
RST
GND
MCS3/RFSH/PIO25
MCS2/PIO24
VCC
PCS0/PIO16
PCS1/PIO17
GND
PCS2/CTS1/ENRX1/PIO18
PCS3/RTS1/RTR1/PIO19
VCC
PCS5/A1/PIO3
PCS6/A2/PIO2
LCS/ONCE0
UCS/ONCE1
INT0
INT1/SELECT
INT2/INTA0/PIO31
INT3/INTA1/IRQ
INT4/PIO30
MCS1/PIO15
R8830LV
Microcontroller
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
SRDY/PIO6
DT/R/PIO4
DEN/PIO5
MCS0/PIO14
A8
A7
A6
A5
A4
A3
A2
VCC
A1
A0
GND
GND
WB
HLDA
HOLD
NMI
50
RDC Semiconductor Co.
Subject to change without notice
5
Rev:1.0