DATA SHEET
µ
PD784044(A), 784046(A)
16-BIT SINGLE-CHIP MICROCONTROLLER
MOS INTEGRATED CIRCUIT
DESCRIPTION
The
µ
PD784046(A) is a model in the
µ
PD784046 subseries within the 78K/IV series. A stricter quality assurance
program applies
µ
PD784046(A) compared to the
µ
PD784046 (standard model). (In terms of NEC’s quality grading,
this is a ”special” grade product.)
The
µ
PD784046(A) is provided with many peripheral hardware functions such as ROM, RAM, I/O port, 10-bit
resolution A/D converter, timer, serial interface, and interrupt functions, in addition to a high-speed, high-performance
CPU.
The
µ
PD784046(A) is under development.
Moreover, a flash memory model,
µ
PD78F4046
Note
, that can operate on the same supply voltage as the mask ROM
model, and many development tools are under development.
Note
Use for functional evaluation only.
The functions are described in detail in the following User’s Manuals. Be sure to read these manuals when
designing your system.
µ
PD784046 Subseries User’s Manual - Hardware : U11515E
78K/IV Series User’s Manual - Instruction
: U10905E
FEATURES
• Higher reliability compared to the
µ
PD784044 and 784046
• Minimum instruction execution time : 160 ns (with 12.5-MHz internal clock) ···
µ
PD784044(A), 784046(A)
200 ns (with 10-MHz internal clock) ···
µ
PD784044(A1), (A2),
784046(A1), (A2)
• I/O port
: 65 lines
• Timer
: 16-bit timer/counter
×
2 units
16-bit timer
×
3 units
• A/D converter
: 10-bit resolution
×
16 channels
• Serial interface
UART/IOE (3-wire serial I/O)
: 2 channels
• Watchdog timer
: 1 channel
• Standby function
HALT/STOP/IDLE mode
• Supply voltage
: V
DD
= 4.5 to 5.5 V
APPLICATION FIELDS
Automotive appliances, etc.
In this document, in addition to the
µ
PD784044(A) and
µ
PD784046(A), the
µ
PD784044(A1), 784044(A2)
784046(A1), and 784046(A2) are also explained. However, unless otherwise specified, the
µ
PD784046(A) is
treated as the representative model throughout this document.
The information in this document is subject to change without notice.
Document No. U13121EJ1V0DS00 (1st edition)
Date Published January 1998 N CP(K)
Printed in Japan
©
1998
µ
PD784044(A), 784046(A)
ORDERING INFORMATION
Part Number
Package
plastic
plastic
plastic
plastic
plastic
plastic
QFP
QFP
QFP
QFP
QFP
QFP
(14
(14
(14
(14
(14
(14
×
×
×
×
×
×
14
14
14
14
14
14
mm)
mm)
mm)
mm)
mm)
mm)
Internal ROM (bytes) Internal RAM (bytes)
32
32
32
64
64
64
K
K
K
K
K
K
1024
1024
1024
2048
2048
2048
µ
PD784044GC(A)-×××-3B9
80-pin
µ
PD784044GC(A1)-×××-3B9
80-pin
µ
PD784044GC(A2)-×××-3B9
80-pin
µ
PD784046GC(A)-×××-3B9
Note
80-pin
µ
PD784046GC(A1)-×××-3B9
Note
80-pin
µ
PD784046GC(A2)-×××-3B9
Note
80-pin
Note
Under development
Remark
×××
indicates ROM code suffix.
QUALITY GRADE
Special
Please refer to "Quality Grades on NEC Semiconductor Devices" (Document No. C11531E) published by
NEC Corporation to know the specification of quality grade on the devices and its recommended applications.
Differences between
µ
PD784046 and
µ
PD784046(A)
Part Number
Item
Quality grade
Operating ambient temperature (T
A
)
Operating frequency
Minimum instruction execution time
DC characteristics
AC characteristics
A/D converter characteristics
µ
PD784044, 784046, 78F4046
Standard
–10 to +70 ˚C
8 to 32 MHz
125 ns (with 16-MHz internal clock)
V
DD
supply current differs.
Bus timing and serial operation differ.
Conversion time and sampling time differ.
µ
PD784044(A), 784046(A)
Special
–40 to +85 ˚C
8 to 25 MHz
160 ns (with 12.5-MHz internal clock)
Differences between
µ
PD784046(A), 784046(A1) and 784046(A2)
Part Number
Item
Operating ambient temperature (T
A
)
Operating frequency
Minimum instruction execution time
DC characteristics
AC characteristics
A/D converter characteristics
µ
PD784046(A)
–40 to +85 ˚C
8 to 25 MHz
160 ns (with 12.5-MHz
internal clock)
µ
PD784046(A1)
–40 to +110 ˚C
8 to 20 MHz
200 ns
(with 10-MHz internal clock)
µ
PD784046(A2)
–40 to +125 ˚C
Analog pin input leakage current, V
DD
supply current and data
retention current differ.
Bus timing and serial operation differ.
AV
REF
current and A/D converter data retention current differ.
Remark
The differences between
µ
PD784044(A), 784044(A1) and 784044(A2) is the same as above table.
2
µ
PD784044(A), 784046(A)
Product Development of 78K/IV Series
: Under mass production
: Under development
Standard models
For I
2
C bus
For multimaster I
2
C bus
µ
PD784038Y
µ
PD784038
Improved internal memory capacity,
pin compatible with
µ
PD784026
For multimaster I
2
C bus
µ
PD784225Y
µ
PD784225
80 pins, ROM correction added
For multimaster I
2
C bus
µ
PD784026
A/D, 16-bit timer, improved
power management
µ
PD784216Y
µ
PD784216
100 pins, I/O, improved
internal memory capacity
µ
PD784218Y
µ
PD784218
Improved internal memory
capacity, ROM correction added
µ
PD784054
µ
PD784046
Internal 10-bit A/D
ASSP models
µ
PD784955
For DC converter control
µ
PD784908
Internal IEBus
TM
controller
For multimaster I
2
C bus
µ
PD78F4943
For CD-ROM
Flash memory: 56 KB
µ
PD784928Y
µ
PD784928
Improved functions of
µ
PD784915
µ
PD784915
Software servo control,
internal analog circuit
for VCR, improved timer
3
µ
PD784044(A), 784046(A)
FUNCTION LIST
Item
Product
113
8 bits
×
16 registers
×
8 banks, or 16 bits
×
8 registers
×
8 banks (memory mapping)
• 160 ns (with internal 12.5-MHz clock):
µ
PD784044(A), 784046(A)
• 200 ns (with internal 10-MHz clock) :
µ
PD784044(A1), (A2), 784046(A1), (A2)
32K bytes
1024 bytes
1M bytes with program/data combined
Total
Input
I/O
65 pins
17 pins
48 pins
64 K bytes
2048 bytes
µ
PD784044(A)
µ
PD784046(A)
Number of basic
instructions (mnemonics)
General-purpose register
Minimum instruction
execution time
Internal
memory
Memory space
I/O port
ROM
RAM
Pins with
Pins with 29 pins
ancillary
pull-up
Note
resistors
functions
Real-time output port
Timer/counter
4 bits
×
1
Timer 0
(16 bits)
Timer 1
(16 bits)
Timer/counter 2
(16 bits)
Timer/counter 3
(16 bits)
Timer 4
(16 bits)
A/D converter
Serial interface
Watchdog timer
Interrupt Hardware source
Software source
Non-maskable
Maskable
: Timer register
×
1,
capture/compare register
×
4
: Timer register
×
1,
compare register
×
2
: Timer register
×
1,
compare register
×
2
: Timer register
×
1,
compare register
×
2
: Timer register
×
1,
compare register
×
2
Pulse output possible
• Toggle output
• Set/reset output
Pulse output possible
• Toggle output
• Set/reset output
Pulse output possible
• Toggle output
• PWM/PPG output
Pulse output possible
• Toggle output
• PWM/PPG output
Pulse output possible
• Read-time output (4 bits
×
1)
10-bit resolution
×
16 channels
UART/IOE (3-wire serial I/O): 2 channels (with baud rate generator)
1 channel
27 (internal: 23, external: 8 (internal/external: 4))
BRK instruction, BRKCS instruction, operand error
Internal: 1, external: 1
Internal: 22, external: 7 (internal/external: 4)
• 4 levels of programmable priorities
• 3 processing formats: vectored interrupt/macro service/context switching
Bus sizing
Standby
Supply voltage
Package
8-bit/16-bit external data bus width selectable
HALT/STOP/IDLE mode
V
DD
= 4.5 to 5.5 V
80-pin plastic QFP (14
×
14 mm)
Note
The pins with ancillary functions are included in the I/O pins.
4
µ
PD784044(A), 784046(A)
CONTENTS
1. DIFFERENCES BETWEEN
µ
PD784044(A) AND 784046(A) ............................................................ 7
2. PIN CONFIGURATION (Top View) ..................................................................................................... 8
3. SYSTEM CONFIGURATION EXAMPLE ...........................................................................................10
4. BLOCK DIAGRAM ............................................................................................................................. 11
5. PIN FUNCTIONS ................................................................................................................................12
5.1
5.2
5.3
Port Pins .................................................................................................................................................... 12
Pins Other Than Port Pins ...................................................................................................................... 14
I/O Circuits of Pins and Processing of Unused Pins .......................................................................... 16
6. CPU ARCHITECTURE .......................................................................................................................18
6.1
6.2
Memory Space .......................................................................................................................................... 18
CPU Registers ........................................................................................................................................... 21
6.2.1
6.2.2
6.2.3
General-purpose registers ............................................................................................................. 21
Control registers ............................................................................................................................. 22
Special function registers (SFRs) .................................................................................................. 23
7. PERIPHERAL HARDWARE FUNCTIONS ........................................................................................29
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
Ports ........................................................................................................................................................... 29
Clock Generation Circuit ......................................................................................................................... 30
Real-Time Output Port ............................................................................................................................. 32
Timer/Counter ........................................................................................................................................... 32
A/D Converter ........................................................................................................................................... 35
Serial Interface .......................................................................................................................................... 36
7.6.1
Asynchronous serial interface/3-wire serial I/O (UART/IOE) ....................................................... 37
Edge Detection Circuit ............................................................................................................................ 39
Watchdog Timer ........................................................................................................................................ 39
8. INTERRUPT FUNCTION....................................................................................................................40
8.1
8.2
8.3
8.4
Interrupt Source ....................................................................................................................................... 40
Vectored Interrupt .................................................................................................................................... 42
Context Switching .................................................................................................................................... 43
Macro Service ........................................................................................................................................... 44
9. LOCAL BUS INTERFACE .................................................................................................................47
9.1
9.2
9.3
9.4
Memory Expansion .................................................................................................................................. 48
Memory Space .......................................................................................................................................... 49
Programmable Wait .................................................................................................................................. 49
Bus Sizing Function ................................................................................................................................. 49
5