DATA SHEET
MOS INTEGRATED CIRCUIT
µ
PD75048
4-BIT SINGLE-CHIP MICROCOMPUTER
DESCRIPTION
The
µ
PD75408 is a 4-bit single-chip microcomputer whose data processing capability is comparative to that
of an 8-bit microcomputer.
The
µ
PD75048 employs a CPU whose minimum instruction execution time is 0.95
µ
s, and contains the
EEPROM, A/D converter, multi-function timer, and high performance hardware to provide high cost to
performance ratio.
Detailed functions are described in the following user's manual. Read this manual when designing your
system.
µ
PD75048 User's Manual: IEU-704
FEATURES
•
Built-in EEPROM: 1024 x 4 bits (data memory area)
•
Built-in 8-bit resolution A/D converter (successive
approximation): 8 channels
• Capable of operating at low voltage: V
DD
= 2.7 to
6.0 V
• Reference voltage can be arbitrarily specified
between AV
REF+
and AV
REF-
.
•
Built-in multi-function timer which can provide the
following functions:
• 8-bit timer
• PWM output
• 16-bit free running timer
• 16-bit integration type A/D converter counter
•
I/O ports: 48 pins
• Middle voltage N-ch open drain input/output
ports: 12 pins
• 43 I/O lines can be provided with internal pull-
down resistors
•
PROM version is available:
µ
PD75P048
(One-time PROM)
APPLICATIONS
•
Consumer electronics products, telephones, cameras, automobile audio equipment, electronics measurement
equipment, etc.
ORDERING INFORMATION
Part Number
Package
64-pin plastic shrink DIP (750 mil)
64-pin plastic QFP (
14mm)
Quality grade
Standard
Standard
µ
PD75048CW-xxx
µ
PD75048GC-xxx-AB8
Remarks:
xxx is ROM code number.
Please refer to “Quality Grade on NEC Semiconductor Devices” (Document Number IEI-1209) published by
NEC Corporation to know the specification of quality grade on the devices and its recommended applications.
The information in this document is subject to change without notice.
Document No. IC - 2518C
(O. D. No. IC - 7931C)
Date Published February 1994 P
Printed in Japan
The mark
5
shows major revised points.
©
NEC Corporation 1990
µ
PD75048
FUNCTIONAL OUTLINE
Item
Instructions
Instruction Exe-
cution Time
Internal Memory
41
Function
• With main system clock: 0.95, 1.91, 15.3
µ
s (at 4.19 MHz)
• With subsystem clock: 122
µ
s (at 32.768 kHz)
Program memory (ROM) : 8064 x 8 bits
Data memory (RAM)
: 512 x 4 bits
Data memory (EEPROM) : 1024 x 4 bits
•
•
•
•
Retains data in case of power failure
Number of writes: 100,000 times
Write time: 10 ms
Write end, overwrite interrupt functions
EEPROM
General-Purpose
Register
Accumulator
• 4-bit manipulation: 8 (X, A, B, C, D, E, H, L)
• 8-bit manipulation: 4 (XA, BC, DE, HL)
• Bit accumulator (CY)
• 4-bit accumulator (A)
• 8-bit accumulator (XA)
•
•
•
•
Abundant bit manipulation instructions
Efficient 4-bit data manipulation instructions
8-bit data manipulation instructions
GETI instruction executing 2-/3-byte instruction with a single byte
12
Input pin
CMOS I/O pin (direct LED drive: 4)
Medium-voltage N-ch
open-drain I/O (direct LED drive)
Via software,
w/pull-up resistor: 27
w/pull-down resistor: 4
By mask option,
w/pull-up resistor: 12
Instruction Set
I/O Line
48
24
12
• 8-bit timer/event counter
• Clock source: 4 steps
• Can count events
• 8-bit basic interval timer
• Reference time generation: 1.95, 7.82, 31.3, 250 ms (at 4.19 MHz)
• Can be used as watchdog timer
Timer
4 chs
• Clock timer
• Generates 0.5-second time intervals
• Count clock source: main system clock or subsystem clock (selectable)
• Clock fast forward mode (generates 3.9-ms time intervals)
• Buzzer output (2, 4, 32 kHz)
• Multi-function timer
Can be used as:
• 8-bit timer
• PWM output
• 16-bit free-running timer
• Counter for 16-bit integral A/D converter
8-bit Serial
Interface
Bit Sequential
Buffer
Clock Output
Function
• Three modes:
• 3-line serial I/O mode ... MSB/LSB first (selectable)
• 2-line serial I/O mode
• SBI mode
Special bit manipulation memory: 16 bits
• Ideal for remote controller
Timer/event counter output (PTO0): output of square wave at specified frequency
Clock output (PCL):
Φ/,
f
x
/2
3
, f
x
/2
4
, f
x
/2
6
Buzzer output (BUZ): 2, 4, 32 kHz (with main system clock or subsystem clock)
2
µ
PD75048
(cont'd)
Item
A/D Converter
Function
8-bit resolution A/D converter (successive approximation type): 8 channels
• Low-voltage operation: V
DD
= 2.7 – 6.0 V
• Reference voltage setting range: AV
REF+
– AV
REF–
2.5 V
≤
(AV
REF+
) – (AV
REF–
)
≤
6.0 V
External: 3, Internal: 6
External: 1, Internal: 1
• Ceramic/crystal oscillator circuit for main system clock oscillation
• Crystal oscillator circuit for subsystem clock oscillation
• STOP mode: main system clock oscillation stops
• HALT mode: system clock oscillation continues (clock supply to CPU stops)
• 64-pin plastic shrink DIP (750 mil)
• 64-pin plastic QFP (
14 mm)
Vector Interrupt
Test Input
System Clock
Oscillator Circuit
Standby Function
Package
3
µ
PD75048
CONTENTS
1.
2.
3.
PIN CONFIGURATION (TOP VIEW) ........................................................................................ 5
BLOCK DIAGRAM ......................................................................................................................8
PIN FUNCTIONS ........................................................................................................................9
3.1
3.2
3.3
3.4
3.5
PORT PINS ........................................................................................................................................9
NON PORT PINS ............................................................................................................................ 11
PIN INPUT/OUTPUT CIRCUIT ...................................................................................................... 13
SELECTION OF MASK OPTIONS ................................................................................................. 16
PROCESSING OF UNUSED PINS ................................................................................................ 17
4.
5.
6.
MEMORY CONFIGURATION ................................................................................................. 18
EEPROM ....................................................................................................................................21
PERIPHERAL HARDWARE FUNCTIONS ............................................................................... 22
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
PORT ............................................................................................................................................... 22
CLOCK GENERATOR CIRCUIT ..................................................................................................... 23
CLOCK OUTPUT CIRCUIT ............................................................................................................. 24
BASIC INTERVAL TIMER .............................................................................................................. 25
WATCH TIMER ............................................................................................................................... 26
TIMER/EVENT COUNTER ............................................................................................................. 27
SERIAL INTERFACE ....................................................................................................................... 29
A/D CONVERTER .......................................................................................................................... 31
MULTI-FUNCTION TIMER (MFT) ................................................................................................. 32
6.10 BIT SEQUENTIAL BUFFER ........................................................................................................... 34
7.
8.
9.
INTERRUPT FUNCTIONS ....................................................................................................... 34
STANDBY FUNCTIONS .......................................................................................................... 36
RESET FUNCTION .................................................................................................................. 37
10. INSTRUCTION SET ................................................................................................................. 39
11. ELECTRICAL SPECIFICATIONS ............................................................................................. 45
12. PERFORMANCE CURVE ......................................................................................................... 59
13. PACKAGE DRAWINGS ........................................................................................................... 61
14. RECOMMENDED SOLDERING CONDITIONS ...................................................................... 63
APPENDIX A. COMPARISON BETWEEN
µ
PD75048 AND 75028/75008 FUNCTIONS .......... 64
APPENDIX B. DEVELOPMENT TOOLS ....................................................................................... 65
4
µ
PD75048
1. PIN CONFIGURATION (TOP VIEW)
• 64-PIN PLASTIC SHRINK DIP (750 mil)
SB1/SI/P03
SB0/SO/P02
SCK/P01
INT4/P00
BUZ/P23
PCL/P22
PCO/P21
PTO0/P20
MAT/P103
MAZ/P102
MAI/P101
MAR/P100
RESET
X1
X2
IC
XT1
XT2
V
DD
AV
DD
AV
REF
+
AV
REF
–
AN7
AN6
AN5
AN4
AN3/P113
AN2/P112
AN1/P111
AN0/P110
AV
SS
TI0/P13
1
2
3
4
5
6
7
8
9
10
11
12
13
64
63
62
61
60
59
58
57
56
55
54
53
52
V
SS
P30
P31
P32
P33
P40
P41
P42
P43
P50
P51
P52
P53
P60/KR0
P61/KR1
P62/KR2
P63/KR3
P70/KR4
P71/KR5
P72/KR6
P73/KR7
P80
P81
P82
P83
P90
P91
P92
P93
P10/INT0
P11/INT1
P12/INT2
µPD75048CW–
·
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
IC : Internally Connected (Connect directly to V
DD
)
XXX
··
5