The µPD70208H (V40HL) is a high-speed, low-power 16-/8-bit microprocessor based on the µPD70208 (V40TM) with
16-bit architecture, 8-bit data bus, and general-purpose peripheral functions.
µ
PD70216H (V50HL) is a high-speed, low-power 16-bit microprocessor based on the µPD70216 (V50TM) with 16-
The
bit architecture, 16-bit data bus, and general-purpose peripheral functions.
The V40HL and V50HL offer 20 MHz operation, and in addition to the conventional standby functions, also allows the
clock to be stopped by the use of fully static internal circuitry, thus achieving greatly reduced power consumption. It is also
capable of 3 V operation in addition to the previous 5 V operation, making it ideally suited to battery driven systems.
Details are given in the following manuals. Be sure to read when carrying out design work.
• V40HL, V50HL User’s Manual – Hardware (U11610E)
TM
• 16-bit V series
FEATURES
User’s Manual – Instruction (U11301J: Japanese version)
5/6.25/8/10 MHz (at 3 V, with 10/12.5/16/20 MHz supplied externally)
The information in this document is subject to change without notice. Before using this document, please
confirm that this is the latest version.
Not all devices/types available in every country. Please check with local NEC representative for availability
and additional information.
Document No. U13225EJ4V0DS00 (4th edition)
Date Published April 1999 N CP(K)
Printed in Japan
CPU : Central Processing UnitREFU : Reflesh Control Unit
CG: Clock GeneratorTCU: Timer/Count Unit
BIU : Bus Interface UnitSCU: Serial Control Unit
BAU : Bus Arbitration UnitICU: Interrupt Control Unit
WCU : Wait Control UnitDMAU : DMA Control Unit
2.2I/O SPACE ....................................................................................................................................................21
10. SCU (SERIAL CONTROL UNIT) ..........................................................................................................31
10.1 FEATURES ...................................................................................................................................................31
11. ICU (INTERRUPT CONTROL UNIT) ....................................................................................................32
11.1 FEATURES ...................................................................................................................................................32
12. DMAU (DMA CONTROL UNIT) ............................................................................................................33
12.1 FEATURES ...................................................................................................................................................33
16.1 AT 5 V OPERATION ....................................................................................................................................66
16.2 AT 3 V OPERATION ....................................................................................................................................75
AD0 to AD15
AD0 to AD7
A8 to A15
A16/PS0 to A19/PS3
REFRQOutputRefresh request
HLDRQInputBus hold request
HLDAKOutputBus hold acknowledge
RESETInputReset
RESOUTOutputSystem reset output
READYInputBus cycle end
NMIInputNon-maskable interrupt
MRD
MWR
IORD
IOWR
ASTBOutputAddress strobe
Note 1, 3
UBE
Note 2
High
BUSLOCK
POLLInputFloating-point operation processor polling
BUFR/W
BUFEN
X1InputCrystal/external clock
X2—
CLKOUTOutputClock output
BS0 to BS2
QS0, QS1OutputQueue status
TOUT2OutputTimer 2 output
TCTL2InputTimer 2 control
TCLKInputTimer clock
INTP1 to INTP7InputMaskable interrupts
INTAK/SRDY/TOUT1OutputInterrupt acknowledge/serial reception ready/timer 1 output
Notes 1. V50HL only
2. V40HL only
3. These pins are provided with a latch. Therefore, when they go into a high-impedance state, they hold
the status before the high-impedance state until driven by an external device. It is not necessary to pull
up or down the data bus. To invert the level of the pin that goes into a high-impedance state by an
external device, a drive current higher than the latch invert current (I
Data Sheet U13225EJ4V0DS00
ILH, IILL) is necessary.
15
µ
PD70208H, 70216H
Pin Name Input/OutputFunction
DMAAK3/TXDOutputDMA acknowledge 3/serial transmit data
DMARQ3/RXDInputDMA request 3/serial receive data
DMAAK0 to DMAAK2OutputDMA acknowledge
DMARQ0 to DMARQ2InputDMA request
END/TCI/ODMA service forcible termination/DMA service completion
VDD—Positive power supply pin
GND—Ground potential pin
IC—Internal connection pin (External connection impossible)
16
Data Sheet U13225EJ4V0DS00
µ
PD70208H, 70216H
1.2 PROCESSING OF UNUSED PINS
Table 1-1 shows the processing (recommended connection) of the unused pins. Use of a resistor with a resistance of
1 to 10 kΩ is recommended to connect these pins to VDD or GND via resistor.
Table 1-1. Processing of Unused Pins
Pin NameInput/OutputRecommended Connection
AD0 to AD15
AD0 to AD7
A8 to A15
A16/PS0 to A19/PS33-state output
REFRQOutput
HLDRQInputConnect to GND via resistor
HLDAKOutputOpen
RESOUTOutputOpen
READYInputConnect to VDD via resistor
NMIInputConnect to GND via resistor
MRD3-state outputOpen
MWR3-state output
IORD3-state output
IOWR3-state output
ASTBOutput
Note 1
UBE
Note 2
High
BUSLOCK3-state output
POLLInputConnect to GND via resistor
BUFR/W3-state outputOpen
BUFEN3-state output
CLKOUTOutputOpen
BS0 to BS23-state output
QS0, QS1Output
TOUT2Output
TCTL2InputConnect to GND via resistor
TCLKInput
INTP1 to INTP7InputOpen
INTAK/SRDY/TOUT1Output
DMAAK3/TxDOutput
DMARQ3/RxDInputConnect to GND via resistor
DMAAK0 to DMAAK2OutputOpen
DMARQ0 to DMARQ2InputConnect to GND via resistor
END/TCI/OIndividually connect to VDD via resistor
Note 1
Note 2
Note 2
3-state I/OOpen
3-state I/O
3-state output
3-state output
Output
Notes 1. V50HL only
2. V40HL only
Data Sheet U13225EJ4V0DS00
17
µ
PD70208H, 70216H
Remark The circuit configuration of the latch is as illustrated below. To invert the level of the pin with a latch, a drive
current higher than the latch invert current is necessary.
(1) Output pin
(2) I/O pin
Hi-Z
control
Hi-Z
control
Output buffer
Output buffer
Input buffer
Latch
Output pin
address bus,
control bus
Latch
I/O pin
(data bus)
18
Data Sheet U13225EJ4V0DS00
2. MEMORY AND I/O CONFIGURATION
2.1MEMORY SPACE
The V40HL and V50HL can access a 1M-byte (512K-word) memory space.
Figure 2-1. Memory Map
FFFFFH
Reserved
FFFFCH
FFFFBH
Dedicated
FFFF0H
FFFEFH
General Use
µ
PD70208H, 70216H
A0-A19
00400H
003FFH
Interrupt Vector Table
00000H
Figure 2-2. Interface with Memory (1/2)
(a) V40HL
Address Bus (20)
Memory
1M Byte
8
D0-D7
Data Bus (8)
Data Sheet U13225EJ4V0DS00
19
Figure 2-2. Interface with Memory (2/2)
(b) V50HL
µ
PD70208H, 70216H
A1-A19
A0
UBE
D0-D15
Address Bus (19)
1919
BSELBSEL
Memory
Upper Bank
512K Byte
D8-D15D0-D7
8
Data Bus (16)
Memory
Lower Bank
512K Byte
8
20
Data Sheet U13225EJ4V0DS00
µ
PD70208H, 70216H
2.2 I/O SPACE
In the V40HL and V50HL, I/Os up to 64K bytes (32K words) can be accessed in an area independent of the memory.
The various on-chip peripheral LSIs are set by accessing the system I/O area.
Extended functions added to those of the V40 and V50 are mapped onto unused V40 and V50 registers and the reserved
area.
The I/O map is shown in Figure 2-3.
Figure 2-3. I/O Map
FFFFH
Area used for setting of I/O boundary,
System I/O Area
FFE0H
FFDFH
Reserved Area
WCU, REFU, baud rate generator, etc.,
and DMAU, ICU, TCU and SCU allocation.
FF00H
FEFFH
256 Bytes
DMAU
ICU
The DMAU, ICU, TCU and SCU
are allocated within any 256 bytes.
TCU
SCU
Internal I/O Area
0000H
Data Sheet U13225EJ4V0DS00
External I/O Area
21
µ
PD70208H, 70216H
3. CPU
The CPU has the same functions as the V20HLTM and V30HLTM. In hardware terms, there are some changes regarding
the use of the bus with on-chip peripherals, but in software terms the CPU is fully compatible.
The internal block diagram of the CPU is shown in Figure 3-1.
Figure 3-1. Internal Block Diagram of CPU (1/2)
(a) V40HL
Internal Address/Data Bus (20)
To BIU
ADM
TC
TA
TB
Q0
Q2
PS
SS
DS0
DS1
PFP
DP
TEMP
LC
PC
AW
BW
CW
DW
IX
IY
BP
SP
SHIFTER
Q1
Q3
T-STATE
CONTROL
CYCLE
DECISION
QUEUE
CONTROL
EFFECTIVE ADDRESS
GENERATOR
ADDRESS
REGISTER
µ
Queue Data Bus (8)
INSTRUCTION DECODER
INTERRUPT
CONTROL
STANDBY
CONTROL
INSTRUCTION
µ
ROM
SEQUENCE
µ
CONTROL
BCU
EXU
29
Micro Data Bus
NMI
INT
(From ICU)
CLOCK
(From CG)
22
Sub Data Bus
(16)
ALU
PSW
Main Data Bus
(16)
Data Sheet U13225EJ4V0DS00
Figure 3-1. Internal Block Diagram of CPU (2/2)
(b) V50HL
Internal Address/Data Bus (20)
To BIU
ADM
µ
PD70208H, 70216H
PS
SS
DS0
DS1
PFP
DP
TEMP
Q0
Q2
Q4Q5
LC
PC
AW
BW
CW
DW
IX
IY
BP
SP
TC
TA
SHIFTER
TB
Q1
Q3
T-STATE
CONTROL
CYCLE
DECISION
QUEUE
CONTROL
EFFECTIVE ADDRESS
GENERATOR
ADDRESS
REGISTER
µ
Queue Data Bus (8)
INSTRUCTION DECODER
INTERRUPT
CONTROL
STANDBY
CONTROL
INSTRUCTION
µ
ROM
SEQUENCE
µ
CONTROL
BCU
EXU
29
Micro Data Bus
NMI
INT
(From ICU)
CLOCK
(From CG)
Sub Data Bus
(16)
ALU
PSW
Main Data Bus
(16)
Data Sheet U13225EJ4V0DS00
23
µ
PD70208H, 70216H
4. CG (CLOCK GENERATOR)
The CG generates a clock at a frequency of 1/2, 1/4, 1/8 or 1/16 that of the crystal and oscillator connected to the X1
and X2 pins, supplies it as the CPU operating clock and outputs it externally as the CLKOUT pin output.
The interrupt cycle time can be changed according to the oscillator scaling factor. The scaling factor can be set by a
system I/O area register.
Figure 4-1. Internal Block Diagram of CG
X1
X2
Oscillator
f
XX
Divide-by-2
Scaler
Divide-by-1-to-8
Scaler
Divide-by-2-to-16
Scaler
f
X
CPU, DMAU, REFU, SCU
CLKOUT
Baud Rate Counter (BRC)
TCU
5. BIU (BUS INTERFACE UNIT)
The BIU controls the data bus, address bus and control bus pins. These buses are used by the CPU, DMAU (DMA control
unit) and REFU (refresh control unit).
The BIU synchronizes the RESET input signal and READY input signal using the CLOCK signal generated by the clock
generator (CG). In addition to being supplied to the inside of the V40HL and V50HL, the synchronized reset signal is also
output externally from the RESOUT pin. The synchronized READY signal is supplied to the internal CPU, DMAU and REFU.
Figure 5-1. RESET and READY Signal Synchronization
24
RESET
READY
CLOCK
CK ↑
QD
Data Sheet U13225EJ4V0DS00
CK ↓
CK ↓
QD
QD
RESOUT
To Internal Units
To Internal Units
6. BAU (BUS ARBITRATION UNIT)
The BAU performs bus arbitration among bus masters.
A list of bus masters (units which can acquire the bus) is shown below.
Table 6-1. Bus Masters
Bus MasterBus Cycle
µ
PD70208H, 70216H
CPU
DMAU
REFU
External bus master
(HLDRQ pin input)
The relative priorities of the bus masters are shown below.
HighCPU (when BUSLOCK prefix is used)
REFU (highest priority: when given number of requests are reached)
DMAU
HLDRQ pin
CPU (normal CPU cycle)
LowREFU (lowest priority: cycle steal)
BAU bus arbitration is performed as follows.
A bus master such as the CPU, DMAU, REFU, etc., incorporated in the V40HL and V50HL normally release the bus at
the end of the bus cycle currently being executed, as shown in Figure 6-1. However, in the case of a bus master connected
to the HLDRQ pin, or cascaded external DMA controllers, for instance, the situation is as shown in Figure 6-2. The V40HL
and V50HL request return of the bus by inactivating the acknowledge signal (HLDAK), and on receiving this request, the
external bus master holding the bus should release the bus by dropping the bus hold request signal (HLDRQ). The V40HL
and V50HL-internal bus master with the highest priority is kept waiting until the bus hold request signal is dropped. This
is called a bus wait operation.
Program fetch, data read/write
DMA cycle
Refresh cycle
Bus cycle driven by external device
Data Sheet U13225EJ4V0DS00
25
Figure 6-1. Internal Bus Cycles
µ
PD70208H, 70216H
Bus Cycle
Internal DMA Request
Internal Refresh Request
(Highest Priority)
Bus Cycle
HLDRQ Pin
HLDAK Pin
CPUCPUDMARefreshRefreshRefresh
Figure 6-2. Bus Wait Operation
Bus Wait
Bus ReleaseRefresh
Note
Internal Refresh Request
(Highest Priority)
Note The period in which the external bus master which has been given the bus after its release by the V40HL and
V50HL can use the bus.
26
Data Sheet U13225EJ4V0DS00
µ
PD70208H, 70216H
7. WCU (WAIT CONTROL UNIT)
The WCU has the function of automatically inserting a wait state (TW) of 0 to 3 clock cycles in a CPU, DMAU or REFU
bus cycle.
7.1 FEATURES
Automatic setting of 0 to 3 waits for a CPU memory bus cycle
•
1M-byte memory space can be divided into 5
•
64K-byte I/O space can be divided into 3
•
Automatic setting of 0 to 3 waits for an external I/O cycle
•
Automatic setting of 0 to 3 waits for a DMA cycle
•
Automatic setting of 0 to 3 waits for a refresh cycle
•
Same as V40 and V50 directly after a reset (memory space divided into 3, no division of I/O space)
•
Figure 7-1. Example of Memory Space Division
Upper Sub
FFFFFH
Memory Block
Upper Memory Block
1 M-Byte
Memory Area
00000H
Remark The division specification and the size of each block are set by means of a system I/O area register.
Middle Memory Block
Lower Memory Block
Lower Sub
Memory Block
Data Sheet U13225EJ4V0DS00
27
Figure 7-2. Example of I/O Space Division
FFFFH
Upper I/O Block
µ
PD70208H, 70216H
64K-Byte I/O Area
0000H
Remark The division specification and the size of each block are set by means of a system I/O area register.
7.2RELATION BETWEEN WCU AND READY PIN
When wait cycles exceeding 3 clock cycles are necessary, the WCU and the READY signal pin can be used in
combination. The number of wait cycles specified by the WCU set value or the number of wait cycles under READY control,
whichever is larger, is inserted.
Figure 7-3. WCU and READY Control
WCU
Middle I/O Block
Lower I/O Block
V40HL/V50HL
28
READY
Bus Control
Data Sheet U13225EJ4V0DS00
µ
PD70208H, 70216H
8. REFU (REFRESH CONTROL UNIT)
The REFU generates refresh cycles required for refreshing of external DRAM. Refresh enabling/disabling and the refresh
interval can be set programmably.
REFRQ extended timing supported (REFRQ active from T1 state)
•
8.2REFRESH OPERATIONS
The REFU has two priorities. Normally, it has the lowest priority, and a refresh cycle cannot be started unless the bus
is completely idle. However, if there are 7 or more pending refresh requests, it is given the highest priority, and it requests
the bus master holding the bus to relinquish it. (See 6. BAU.)
The refresh address is output on A0 to A15. Every refresh cycle the refresh address is incremented by 1 (for the V40HL)
or by 2 (for the V50HL), and the next refresh address is generated.
In a refresh cycle, a low-level signal is output on the low address pins (A16 to A19).
This refresh address is not affected by a reset. When the device is powered on, the refresh address is undefined.
Data Sheet U13225EJ4V0DS00
29
µ
PD70208H, 70216H
9. TCU (TIMER/COUNTER UNIT)
The TCU incorporates 3 counters, and can be used as a timer, event counter, rate generator, etc. Functionally it is a
subset of the
9.1 FEATURES
3 × 16-bit counters
•
Six programmable count modes
•
Binary/BCD count
•
Multiple latch command
•
Choice of two input clocks: internal/external
•
9.2TCU INTERNAL BLOCK DIAGRAM
µ
PD71054.
IORDIOWR
Read/Write Control
Register)
Note 1
TMD
(Mode
Note 2
TCU
Selection
Signal
TCLK
(External)
TCT #0
Status
Register
(8)
Status
Latch
(8)(8)(8)
CLOCK
Prescaler
Down Counter (16)
H(8) L(8)
Count
Register
Internal Data Bus
Notes 1. A0 or A1 (Set by a system I/O area register)
2. A1 or A2 (Set by a system I/O area register)
Control Logic
(16)
H(8) L(8)
TCTL0=High
TOUT0 (To INTL0)
(16)
Count
Latch
TCTL1=High
TOUT1
(External
)
TCTL2
To INTL2/SCU
SWSWSW
TCT #1TCT #2
(External)
TOUT2
(External)
30
Data Sheet U13225EJ4V0DS00
Loading...
+ 80 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.