DATA SHEET
MOS INTEGRATED CIRCUIT
µ
PD78P4038
16/8-BIT SINGLE-CHIP MICROCONTROLLER
The
µ
PD78P4038, 78K/IV Series' product, is a one-time PROM or EPROM version of the
µ
PD784035,
µ
PD784036,
µ
PD784037, and
µ
PD784038 with internal masked ROM.
Since user programs can be written to PROM, this microcontroller is best suited for evaluation in system
development, manufacture of small quantities of multiple products, and fast start-up of applications.
For specific functions and other detailed information, consult the following user's manual.
This manual is required reading for design work.
µ
PD784038, 784038Y Subseries User's Manual, Hardware : U11316E
78K/IV Series User's Manual, Instruction
: U10905E
FEATURES
•
Compatible with the
µ
PD78P238,
µ
PD78P4026, and
µ
PD78P4038Y
•
Internal PROM: 128 Kbytes
•
µ
PD78P4038KK-T
: EPROM (best suited for system evaluation)
•
µ
PD78P4038GC-3B9 : One-time PROM (best suited for manufacture of small quantities)
µ
PD78P4038GC-8BT : One-time PROM (best suited for manufacture of small quantities)
µ
PD78P4038GK-BE9 : One-time PROM (best suited for manufacture of small quantities)
•
Internal RAM
: 4,352 bytes
•
Power supply voltage : V
DD
= 2.7 to 5.5 V
•
QTOP
TM
microcomputer (In the planning phase)
Remark
The QTOP microcomputer is a microcomputer with a built-in one-time PROM that is totally supported
by NEC. The support includes writing application programs, marking, screening, and verification.
ORDERING INFORMATION
Part number
Package
80-pin plastic QFP (14
×
14
×
2.7 mm)
80-pin plastic QFP (14
×
14
×
1.4 mm)
80-pin plastic TQFP (fine pitch) (12
×
12 mm)
80-pin ceramic WQFN (14
×
14 mm)
Internal ROM
One-time PROM
One-time PROM (QTOP microcomputer)
One-time PROM
One-time PROM
One-time PROM (QTOP microcomputer)
EPROM
µ
PD78P4038GC-3B9
µ
PD78P4038GC-8BT
µ
PD78P4038GK-BE9
µ
PD78P4038KK-T
µ
PD78P4038GC-×××-3B9 80-pin plastic QFP (14
×
14
×
2.7 mm)
µ
PD78P4038GK-×××-BE9 80-pin plastic TQFP (fine pitch) (12
×
12 mm)
In this reference, all ROM components that are common to one-time PROM and EPROM are referred to as
PROM.
The information in this document is subject to change without notice.
Document No. U10848EJ2V0DS00 (2nd edition)
Date Published July 1998 J CP(K)
Printed in Japan
The mark
shows major revised points.
©
1995
µ
PD78P4038
QUALITY GRADE
Part number
Package
80-pin plastic QFP (14
×
14
×
2.7 mm)
80-pin plastic QFP (14
×
14
×
2.7 mm)
80-pin plastic QFP (14
×
14
×
1.4 mm)
80-pin plastic TQFP (fine pitch) (12
×
12 mm)
80-pin plastic TQFP (fine pitch) (12
×
12 mm)
80-pin ceramic WQFN (14
×
14 mm)
Quality grade
Standard (for general electronic equipment)
Standard (for general electronic equipment)
Standard (for general electronic equipment)
Standard (for general electronic equipment)
Standard (for general electronic equipment)
Not applied (for function evaluation)
µ
PD78P4038GC-3B9
µ
PD78P4038GC-×××-3B9
µ
PD78P4038GC-8BT
µ
PD78P4038GK-BE9
µ
PD78P4038GK-×××-BE9
µ
PD78P4038KK-T
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.
Caution The EPROM versions of the
µ
PD78P4038 are not intended for use in mass-produced products;
they do not have reliability high enough for such purposes. Their use should be restricted to
functional evaluation in experiment or trial manufacture.
Remark
×××
indicates ROM code suffix.
2
µ
PD78P4038
78K/IV SERIES PRODUCT DEVELOPMENT DIAGRAM
: Under mass production
: Under development
I
2
C bus supported
Multimaster I
2
C bus supported
µ
PD784038Y
Standard models
µ
PD784225Y
µ
PD784225
80 pins,
added ROM correction
Multimaster I
2
C bus supported
µ
PD784038
Enhanced internal memory capacity,
pin compatible with the
µ
PD784026
Multimaster I
2
C bus supported
µ
PD784026
Enhanced A/D,
16-bit timer,
and power
management
µ
PD784216Y
µ
PD784216
100 pins,
enhanced I/O and
internal memory capacity
µ
PD784218Y
µ
PD784218
Enhanced internal memory capacity,
added ROM correction
µ
PD784054
µ
PD784046
ASSP models
Equipped with 10-bit A/D
µ
PD784955
For DC inverter control
µ
PD784937
µ
PD784908
Equipped with IEBus
TM
controller
Enhanced function of the
µ
PD784908,
enhanced internal memory capacity,
added ROM correction
Multimaster I
2
C bus supported
µ
PD784928Y
µ
PD784928
µ
PD784915
For software servo control,
equipped with analog circuit
for VCR,
enhanced timer
Enhanced function of the
µ
PD784915
3
µ
PD78P4038
FUNCTIONS
(1/2)
Item
Number of basic instructions
(mnemonics)
General-purpose register
Minimum instruction
execution time
Internal
memory
Memory space
I/O ports
Total
Input
Input/output
Additional
function
pins
Note
Pins with pull-
up resistor
LED direct
drive outputs
Transistor
direct drive
Real-time output ports
Timer/counter
PROM
RAM
113
8 bits
×
16 registers
×
8 banks, or 16 bits
×
8 registers
×
8 banks (memory mapping)
125 ns/250 ns/500 ns/1,000 ns (at 32 MHz)
Functions
128 Kbytes (Can be changed to 48 K, 64 K, or 96 Kbytes by software)
4,352 bytes (Can be changed to 2,048 or 3,584 bytes by software)
Program and data: 1 Mbyte
64
8
56
54
24
8
4 bits
×
2, or 8 bits
×
1
Timer/counter 0: Timer register
×
1
(16 bits)
Capture register
×
1
Compare register
×
2
Pulse output capability
•
Toggle output
•
PWM/PPG output
•
One-shot pulse output
Pulse output capability
•
Real-time output (4 bits
×
2)
Timer/counter 1: Timer register
×
1
(8/16 bits)
Capture register
×
1
Capture/compare register
×
1
Compare register
×
1
Timer/counter 2: Timer register
×
1
(8/16 bits)
Capture register
×
1
Capture/compare register
×
1
Compare register
×
1
Timer 3
(8/16 bits)
PWM outputs
Serial interface
: Timer register
×
1
Compare register
×
1
Pulse output capability
•
Toggle output
•
PWM/PPG output
12-bit resolution
×
2 channels
UART/IOE (3-wire serial I/O): 2 channels (incorporating baud rate generator)
CSI (3-wire serial I/O, 2-wire serial I/O): 1 channel
8-bit resolution
×
8 channels
8-bit resolution
×
2 channels
A/D converter
D/A converter
Note
Additional function pins are included in the I/O pins.
4
µ
PD78P4038
(2/2)
Item
Clock output
Watchdog timer
Standby
Interrupt
Functions
Selected from f
CLK
, f
CLK
/2, f
CLK
/4, f
CLK
/8, or f
CLK
/16 (can be used as a 1-bit output port)
1 channel
HALT/STOP/IDLE mode
Hardware source 23 (16 internal, 7 external (sampling clock variable input: 1))
Software source
Nonmaskable
Maskable
BRK instruction, BRKCS instruction, operand error
1 internal, 1 external
15 internal, 6 external
•
4-level programmable priority
•
3 operation statuses: vectored interrupt, macro service, context switching
Supply voltage
Package
V
DD
= 2.7 to 5.5 V
80-pin
80-pin
80-pin
80-pin
plastic QFP (14
×
14
×
2.7 mm)
plastic QFP (14
×
14
×
1.4 mm)
plastic TQFP (fine pitch) (12
×
12 mm)
ceramic WQFN (14
×
14 mm)
5