UPD780023AYGB(A)-XXX-8EU [NEC]
8-BIT, MROM, 8.38MHz, MICROCONTROLLER, PQFP64, 10 X 10 MM, PLASTIC, LQFP-64;型号: | UPD780023AYGB(A)-XXX-8EU |
厂家: | NEC |
描述: | 8-BIT, MROM, 8.38MHz, MICROCONTROLLER, PQFP64, 10 X 10 MM, PLASTIC, LQFP-64 时钟 外围集成电路 |
文件: | 总92页 (文件大小:689K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
DATA SHEET
MOS INTEGRATED CIRCUIT
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A),
780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
8-BIT SINGLE-CHIP MICROCONTROLLERS
DESCRIPTION
The µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A) and
780024AY(A) are products to which a quality assurance program more stringent than that used for the µPD780021A,
780022A, 780023A, 780024A, 780021AY, 780022AY, 780023AY and 780024AY (standard models) is applied (NEC
Electronics classifies these products as "special" quality grade models).
The µPD780021A(A), 780022A(A), 780023A(A), and 780024A(A) are members of the µPD780024A Subseries of
the 78K/0 Series. Only selected functions of the existing µPD78054 Subseries are provided, and the serial interface
is enhanced.
The µPD780021AY(A), 780022AY(A), 780023AY(A), and 780024AY(A) are the µPD780024A Subseries with a
multimaster supporting I2C bus interface, which makes them suitable for AV equipment.
Flash memory versions, the µPD78F0034B(A) and 78F0034BY(A), that can operate in the same power supply
voltage range as the mask ROM versions, and various development tools, are also available.
Detailed function descriptions are provided in the following user’s manuals. Be sure to read them before
designing.
µPD780024A, 780034A, 780024AY, 780034AY
Subseries User’s Manual:
U14046E
U12326E
78K/0 Series Instructions User’s Manual:
FEATURES
•
Internal ROM and RAM
Item Program Memory
(Internal ROM)
Data Memory
(Internal High-Speed RAM)
Package
Part Number
µPD780021A(A), 780021AY(A)
µPD780022A(A),780022AY(A)
8 KB
512 bytes
• 64-pin plastic SDIP (19.05 mm (750))
16 KB
• 64-pin plastic QFP (14 x 14)
• 64-pin plastic LQFP (14 x 14)
µPD780023A(A), 780023AY(A)
µPD780024A(A), 780024AY(A)
24 KB
32 KB
1024 bytes
• 64-pin plastic TQFP (12 x 12)
• 64-pin plastic LQFP (10 x 10)
•
•
External memory expansion space: 64 KB
Minimum instruction execution time
• Expanded-specification products of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A): 0.166 µs
(fX = 12 MHz, VDD= 4.5 to 5.5 V)
• µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)andconventionalproductsofµPD780021A(A),
780022A(A), 780023A(A), 780024A(A): 0.238 µs (fX = 8.38 MHz, VDD = 4.0 to 5.5 V)
I/O ports: 51 (N-ch open-drain (5 V withstanding voltage): 4)
8-bit resolution A/D converter: 8 channels (AVDD = 1.8 to 5.5 V)
Serial interface: 3 channels
•
•
•
•
•
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A): UART mode, 3-wire serial I/O mode (2 channels)
µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A): UART mode, 3-wire serial I/O mode, I2C bus mode
•
•
Timer: 5 channels
Power supply voltage: VDD = 1.8 to 5.5 V
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 products and/or types are available in every country. Please check with an NEC Electronics
sales representative for availability and additional information.
Document No. U15131EJ3V0DS00 (3rd edition)
Date Published February 2003 N CP(K)
Printed in Japan
The mark
shows major revised points.
©
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
APPLICATIONS
Telephones, household electrical appliances, pagers, AV equipment, car audios, office automation equipment, etc.
ORDERING INFORMATION (1/2)
(1) µPD780024A(A) Subseries
Part Number
Package
µPD780021ACW(A)-×××
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
µPD780021AGC(A)-×××-AB8
µPD780021AGC(A)-×××-8BS
µPD780021AGK(A)-×××-9ET
µPD780021AGB(A)-×××-8EUNote
µPD780022ACW(A)-×××
µPD780022AGC(A)-×××-AB8
µPD780022AGC(A)-×××-8BS
µPD780022AGK(A)-×××-9ET
µPD780022AGB(A)-×××-8EUNote
µPD780023ACW(A)-×××
µPD780023AGC(A)-×××-AB8
µPD780023AGC(A)-×××-8BS
µPD780023AGK(A)-×××-9ET
µPD780023AGB(A)-×××-8EUNote
µPD780024ACW(A)-×××
µPD780024AGC(A)-×××-AB8
µPD780024AGC(A)-×××-8BS
µPD780024AGK(A)-×××-9ET
µPD780024AGB(A)-×××-8EUNote
Note Under development
Remark ××× indicates ROM code suffix.
Data Sheet U15131EJ3V0DS
2
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
ORDERING INFORMATION (2/2)
(2) µPD780024AY(A) Subseries
Part Number
Package
µPD780021AYCW(A)-×××Note
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
µPD780021AYGC(A)-×××-AB8Note
µPD780021AYGC(A)-×××-8BSNote
µPD780021AYGK(A)-×××-9ETNote
µPD780021AYGB(A)-×××-8EUNote
µPD780022AYCW(A)-×××Note
µPD780022AYGC(A)-×××-AB8Note
µPD780022AYGC(A)-×××-8BSNote
µPD780022AYGK(A)-×××-9ETNote
µPD780022AYGB(A)-×××-8EUNote
µPD780023AYCW(A)-×××Note
µPD780023AYGC(A)-×××-AB8Note
µPD780023AYGC(A)-×××-8BSNote
µPD780023AYGK(A)-×××-9ETNote
µPD780023AYGB(A)-×××-8EUNote
µPD780024AYCW(A)-×××Note
µPD780024AYGC(A)-×××-AB8Note
µPD780024AYGC(A)-×××-8BSNote
µPD780024AYGK(A)-×××-9ETNote
µPD780024AYGB(A)-×××-8EUNote
Note Under development
Remark ××× indicates ROM code suffix.
Data Sheet U15131EJ3V0DS
3
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
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 µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A),
780023AY(A) AND 780024AY(A), AND µPD780021A, 780022A, 780023A, 780024A, 780021AY, 780022AY,
780023AY AND 780024AY
Product Number
µPD780021A(A), 780022A(A), 780023A(A),
780024A(A), 780021AY(A), 780022AY(A),
780023AY(A), 780024AY(A)
Special
µPD780021A, 780022A, 780023A, 780024A,
780021AY, 780022AY, 780023AY, 780024AY
Item
Quality grade
Package
Standard
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64-pin plastic SDIP (19.05 mm (750))
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
73-pin plastic FBGA (9 x 9)
Data Sheet U15131EJ3V0DS
4
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
EXPANDED-SPECIFICATION PRODUCTS AND CONVENTIONAL PRODUCTS
The expanded-specification product and conventional product refer to the following products.
Expanded-specification product: µPD780021A(A), 780022A(A), 780023A(A), 780024A(A) for which orders
were received after December 1, 2001.
(Products with a rankNote other than K, E, P, X)
Conventional product:
Products other than the above expanded specification products.
(Products with rankNote K, E, P, X)
µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Note The rank is indicated by the 5th digit from the left in the lot number marked on the package.
Lot number
Year Week
code code
NEC Electronics
control code
Rank
Expanded-specification products and conventional products differ in the power supply voltage range and
operating frequency ratings.
Power Supply Voltage (VDD)
Guaranteed Operating Speed (Operating Frequency)
Conventional Products
8.38 MHz (0.238 µs)
8.38 MHz (0.238 µs)
5 MHz (0.4 µs)
Expanded-Specification Products
4.5 to 5.5 V
4.0 to 5.5 V
3.0 to 5.5 V
2.7 to 5.5 V
1.8 to 5.5 V
12 MHz (0.166 µs)
8.38 MHz (0.238 µs)
8.38 MHz (0.238 µs)
5 MHz (0.4 µs)
5 MHz (0.4 µs)
1.25 MHz (1.6 µs)
1.25 MHz (1.6 µs)
Remark The parenthesized values indicates the minimum instruction execution time.
CORRESPONDENCE BETWEEN MASK ROM PRODUCTS AND FLASH MEMORY PRODUCTS
Mask ROM Products
Expanded-specification products of µPD780021A(A),
780022A(A), 780023A(A), 780024A(A)
Conventional products of µPD780021A(A),
780022A(A), 780023A(A), 780024A(A)
µPD780021AY(A), 780022AY(A), 780023AY(A),
780024AY(A)
Flash Memory Products
µPD78F0034B(A)
µPD78F0034BY(A)
Caution TheµPD78F0034B(A)andconventionalproductsoftheµPD780021A(A),780022A(A),780023A(A),
and 780024A(A) differ in the operating frequency ratings. When using the mask ROM versions
in place of the flash memory versions, take note of the power supply voltage and operating
frequency used.
Data Sheet U15131EJ3V0DS
5
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
78K/0 SERIES LINEUP
The products in the 78K/0 Series are listed below. The names enclosed in boxes are subseries names.
Products in mass production
Products under development
Y subseries products are compatible with I2C bus.
Control
µ
EMI-noise reduced version of the PD78078
PD78054 with timer and enhanced external interface
ROMless version of the PD78078
PD78078Y with enhanced serial I/O and limited function
PD78054 with enhanced serial I/O
PD78054
PD78018F with UART and D/A converter, and enhanced I/O
PD780024A with expanded RAM
PD78075B
µ
µ
µ
100-pin
100-pin
100-pin
100-pin
80-pin
µ
PD78078
µ
µ
PD78078Y
PD78070A
PD78070AY
µ
µ
µ
PD780018AY
µ
PD780058
µ
µ
PD78058F
PD78054
µ
PD780058Y
PD78058FY
PD78054Y
µ
EMI-noise reduced version of the
µ
µ
µ
80-pin
80-pin
µ
µ
µ
µ
µ
PD780065
µ
µ
80-pin
PD780034A with timer and enhanced serial I/O
PD780024A with enhanced A/D converter
PD78018F with enhanced serial I/O
PD780078Y
PD780034AY
PD780024AY
µ
µ
64-pin
64-pin
64-pin
52-pin
52-pin
64-pin
PD780078
PD780034A
µ
µ
µ
µ
PD780024A
PD780034AS
PD780024AS
µ
µ
52-pin version of the PD780034A
52-pin version of the PD780024A
µ
EMI-noise reduced version of the PD78018F
µ
PD78014H
PD78018F
PD78083
µ
µ
µ
PD78018FY
Basic subseries for control
µ
64-pin
On-chip UART, capable of operating at low voltage (1.8 V)
42/44-pin
Inverter control
PD780988
64-pin
On-chip inverter control circuit and UART. EMI-noise reduced.
µ
VFD drive
µ
PD78044F with enhanced I/O and VFD C/D. Display output total: 53
For panel control. On-chip VFD C/D. Display output total: 53
PD78044F with N-ch open-drain I/O. Display output total: 34
Basic subseries for driving VFD. Display output total: 34
100-pin
80-pin
80-pin
80-pin
PD780208
PD780232
PD78044H
PD78044F
µ
µ
µ
µ
µ
LCD drive
78K/0
Series
µ
PD780344 with enhanced A/D converter
µ
PD780354Y
PD780344Y
100-pin
100-pin
120-pin
120-pin
120-pin
100-pin
100-pin
100-pin
PD780354
PD780344
µ
µ
µ
µ
PD780308 with enhanced display function and timer. Segment signal output: 40 pins max.
PD780308 with enhanced display function and timer. Segment signal output: 40 pins max.
µ
PD780338
PD780328
PD780318
µ
µ
µ
µ
µ
PD780308 with enhanced display function and timer. Segment signal output: 32 pins max.
PD780308 with enhanced display function and timer. Segment signal output: 24 pins max.
PD780308Y
PD78064Y
µ
µ
PD78064 with enhanced SIO, and expanded ROM and RAM
PD780308
µ
µ
µ
µ
EMI-noise reduced version of the PD78064
PD78064B
PD78064
Basic subseries for driving LCDs, on-chip UART
µ
Bus interface supported
100-pin
80-pin
µ
µ
PD780948
PD78098B
On-chip CAN controller
µ
PD78054 with IEBusTM controller
80-pin
80-pin
80-pin
64-pin
PD780702Y
PD780703Y
PD780833Y
µ
µ
µ
On-chip IEBus controller
On-chip CAN controller
On-chip controller compliant with J1850 (Class 2)
Specialized for CAN controller function
PD780816
µ
Meter control
PD780958
100-pin
80-pin
µ
For industrial meter control
On-chip automobile meter controller/driver
For automobile meter driver. On-chip CAN controller
PD780852
µ
80-pin
PD780828B
µ
Remark VFD (Vacuum Fluorescent Display) is referred to as FIPTM (Fluorescent Indicator Panel) in some
documents, but the functions of the two are same.
Data Sheet U15131EJ3V0DS
6
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
The major functional differences among the subseries are listed below.
• Non-Y subseries
VDD
MIN.
Value
Function
Subseries Name
ROM
Timer
8-Bit 10-Bit 8-Bit
Serial Interface
I/O
External
Expansion
√
Capacity
(Bytes) 8-Bit 16-Bit Watch WDT A/D A/D D/A
Control µPD78075B 32 K to 40 K 4 ch 1 ch 1 ch 1 ch 8 ch
µPD78078 48 K to 60 K
–
2 ch 3 ch (UART: 1 ch)
88 1.8 V
µPD78070A
–
61 2.7 V
µPD780058 24 K to 60 K 2 ch
µPD78058F 48 K to 60 K
µPD78054 16 K to 60 K
µPD780065 40 K to 48 K
µPD780078 48 K to 60 K
µPD780034A 8 K to 32 K
µPD780024A
3 ch (time-division UART: 1 ch) 68 1.8 V
3 ch (UART: 1 ch)
69 2.7 V
2.0 V
–
4 ch (UART: 1 ch)
3 ch (UART: 2 ch)
3 ch (UART: 1 ch)
60 2.7 V
52 1.8 V
51
2 ch
1 ch
–
8 ch
8 ch
–
–
4 ch
–
µPD780034AS
39
53
–
µPD780024AS
4 ch
8 ch
µPD78014H
2 ch
√
µPD78018F 8 K to 60 K
µPD78083 8 K to 16 K
–
–
–
1 ch (UART: 1 ch)
3 ch (UART: 2 ch)
33
–
Inverter µPD780988 16 K to 60 K 3 ch Note
1 ch
–
8 ch
–
–
–
47 4.0 V
√
control
VFD
drive
µPD780208 32 K to 60 K 2 ch 1 ch 1 ch 1 ch 8 ch
2 ch
74 2.7 V
40 4.5 V
68 2.7 V
–
µPD780232 16 K to 24 K 3 ch
–
–
4 ch
8 ch
µPD78044H 32 K to 48 K 2 ch 1 ch 1 ch
µPD78044F 16 K to 40 K
1 ch
2 ch
LCD
drive
µPD780354 24 K to 32 K 4 ch 1 ch 1 ch 1 ch
µPD780344
–
8 ch
–
8 ch
–
–
3 ch (UART: 1 ch)
66 1.8 V
–
µPD780338 48 K to 60 K 3 ch 2 ch
µPD780328
10 ch 1 ch 2 ch (UART: 1 ch)
54
62
70
µPD780318
µPD780308 48 K to 60 K 2 ch 1 ch
µPD78064B 32 K
8 ch
–
–
–
3 ch (time-division UART: 1 ch) 57 2.0 V
2 ch (UART: 1 ch)
µPD78064 16 K to 32 K
Bus
µPD780948 60 K
2 ch 2 ch 1 ch 1 ch 8 ch
1 ch
–
3 ch (UART: 1 ch)
79 4.0 V
69 2.7 V
√
interface µPD78098B 40 K to 60 K
2 ch
–
supported
µPD780816 32 K to 60 K
2 ch
12 ch
–
–
–
2 ch (UART: 1 ch)
2 ch (UART: 1 ch)
46 4.0 V
69 2.2 V
Meter
µPD780958 48 K to 60 K 4 ch 2 ch
–
1 ch
–
–
–
–
control
Dash-
board
control
µPD780852 32 K to 40 K 3 ch 1 ch 1 ch 1 ch 5 ch
µPD780828B 32 K to 60 K
–
3 ch (UART: 1 ch)
56 4.0 V
59
Note 16-bit timer: 2 channels
10-bit timer: 1 channel
Data Sheet U15131EJ3V0DS
7
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
• Y subseries
ROM
Capacity
(Bytes)
VDD
MIN.
Value
Function
Subseries Name
Timer
8-Bit 10-Bit 8-Bit
Serial Interface
I/O
External
Expansion
√
8-Bit 16-Bit Watch WDT A/D A/D D/A
Control µPD78078Y 48 K to 60 K 4 ch 1 ch 1 ch 1 ch 8 ch
µPD78070AY
–
2 ch 3 ch (UART: 1 ch, I2C: 1 ch) 88 1.8 V
–
61 2.7 V
µPD780018AY 48 K to 60 K
µPD780058Y 24 K to 60 K 2 ch
µPD78058FY 48 K to 60 K
µPD78054Y 16 K to 60 K
µPD780078Y 48 K to 60 K
µPD780034AY 8 K to 32 K
µPD780024AY
–
3 ch (I2C: 1 ch)
88
2 ch 3 ch (time-division UART: 1 ch, I2C: 1 ch
3 ch (UART: 1 ch, I2C: 1 ch)
)
68 1.8 V
69 2.7 V
2.0 V
2 ch
1 ch
–
8 ch
–
–
–
–
4 ch (UART: 2 ch, I2C: 1 ch)
52 1.8 V
3 ch (UART: 1 ch, I2C: 1 ch) 51
8 ch
µPD78018FY 8 K to 60 K
2 ch (I2C: 1 ch)
53
–
–
LCD
drive
µPD780354Y 24 K to 32 K 4 ch 1 ch 1 ch 1 ch
µPD780344Y
–
8 ch
–
4 ch (UART: 1 ch,
I2C: 1 ch)
66 1.8 V
8 ch
µPD780308Y 48 K to 60 K 2 ch
µPD78064Y 16 K to 32 K
3 ch (time-division UART: 1 ch, I2C: 1 ch) 57 2.0 V
2 ch (UART: 1 ch, I2C: 1 ch)
Bus
µPD780701Y 60 K
µPD780703Y
3 ch 2 ch 1 ch 1 ch 16 ch
–
4 ch (UART: 1 ch, I2C: 1 ch)
67 3.5 V
interface
supported
µPD780833Y
65 4.5 V
Remark The functions of non-Y subseries and Y subseries products are the same, except for the serial interface.
Data Sheet U15131EJ3V0DS
8
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
OVERVIEW OF FUNCTIONS (1/2)
Part Number
µPD780021A(A)
µPD780021AY(A)
µPD780022A(A)
µPD780022AY(A)
µPD780023A(A)
µPD780023AY(A)
µPD780024A(A)
µPD780024AY(A)
Item
Internal
memory
ROM
High-speed RAM
8 KB
16 KB
24 KB
32 KB
512 bytes
64 KB
1024 bytes
Memory space
General-purpose registers
8 bits × 32 registers (8 bits × 8 registers × 4 banks)
Minimum instruction execution
On-chip minimum instruction execution time cycle variable function
When main system •Expanded-specificationproductsofµPD780021A(A),780022A(A),780023A(A),780024A(A):
time
clock selected
0.166 µs/0.333 µs/0.666 µs/1.33 µs/2.66 µs (@12 MHz, VDD = 4.5 to 5.5 V operation)
• µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A) and conventional products
of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A):
0.238 µs/0.48 µs/0.95 µs/1.91 µs/3.81 µs (@8.38 MHz, VDD = 4.0 to 5.5 V operation)
When subsystem
clock selected
122 µs (@ 32.768 kHz operation)
Instruction set
I/O ports
• 16-bit operation
• Multiply/divide (8 bits × 8 bits,16 bits ÷ 8 bits)
• Bit manipulation (set, reset, test, Boolean operation)
• BCD adjust, etc.
Total:
51
• CMOS input:
• CMOS I/O:
8
39
• N-ch open-drain I/O (5 V withstanding voltage): 4
A/D converter
Serial interface
• 8-bit resolution × 8 channels
• Low-voltage operation available: AVDD = 1.8 to 5.5 V
• µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
UART mode:
1 channel
3-wire serial I/O mode: 2 channels
• µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
UART mode:
1 channel
1 channel
3-wire serial I/O mode:
I2C bus mode (multimaster supporting): 1 channel
Timers
• 16-bit timer/event counter: 1 channel
• 8-bit timer/event counter: 2 channels
• Watch timer:
1 channel
1 channel
• Watchdog timer:
Timer outputs
3 (8-bit PWM output capable: 2)
Data Sheet U15131EJ3V0DS
9
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
OVERVIEW OF FUNCTIONS (2/2)
Part Number
µPD780021A(A)
µPD780021AY(A)
µPD780022A(A)
µPD780022AY(A)
µPD780023A(A)
µPD780023AY(A)
µPD780024A(A)
µPD780024AY(A)
Item
Clock output
•Expanded-specificationproductsofµPD780021A(A),780022A(A),780023A(A),780024A(A):
93.75 kHz, 187.5 kHz, 375 kHz, 750 kHz, 1.25 MHz, 3 MHz, 6 MHz, 12 MHz
(@12MHz operation with main system clock)
32.768 kHz (@ 32.768 kHz operation with subsystem clock)
• µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A) and conventional products of
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A):
65.5 kHz, 131 kHz, 262 kHz, 524 kHz, 1.05 MHz, 2.10 MHz, 4.19 MHz, 8.38 MHz
(@ 8.38 MHz operation with main system clock)
32.768 kHz (@ 32.768 kHz operation with subsystem clock)
Buzzer output
•Expanded-specificationproductsofµPD780021A(A),780022A(A),780023A(A),780024A(A):
1.46 kHz, 2.93 kHz, 5.86 kHz, 11.7 kHz (@ 12 MHz operation with main system clock)
• µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A) and conventional products
of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A):
1.02 kHz, 2.05 kHz, 4.10 kHz, 8.19 kHz (@ 8.38 MHz operation with main system clock)
Vectored
interrupt
sources
Maskable
Internal: 13, external: 5
Internal: 1
Non-maskable
Software
1
Power supply voltage
Operating ambient temperature
Package
VDD = 1.8 to 5.5 V
TA = –40 to +85°C
• 64-pin plastic SDIP (19.05 mm (750))
• 64-pin plastic QFP (14 x 14)
• 64-pin plastic LQFP (14 x 14)
• 64-pin plastic TQFP (12 x 12)
• 64-pin plastic LQFP (10 x 10)
Data Sheet U15131EJ3V0DS
10
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
CONTENTS
1. PIN CONFIGURATION (TOP VIEW) .................................................................................................12
2. BLOCK DIAGRAM .............................................................................................................................15
3. PIN FUNCTIONS ................................................................................................................................16
3.1 Port Pins .................................................................................................................................................... 16
3.2 Non-Port Pins............................................................................................................................................ 17
3.3 Pin I/O Circuits and Recommended Connection of Unused Pins..................................................... 19
4. MEMORY SPACE ...............................................................................................................................21
5. PERIPHERAL HARDWARE FUNCTION FEATURES......................................................................22
5.1 Ports ........................................................................................................................................................... 22
5.2 Clock Generator........................................................................................................................................ 23
5.3 Timer/Counter ........................................................................................................................................... 24
5.4 Clock Output/Buzzer Output Controller ................................................................................................ 28
5.5 A/D Converter ........................................................................................................................................... 29
5.6 Serial Interface.......................................................................................................................................... 30
6. INTERRUPT FUNCTIONS .................................................................................................................33
7. EXTERNAL DEVICE EXPANSION FUNCTION ...............................................................................36
8. STANDBY FUNCTION .......................................................................................................................36
9. RESET FUNCTION ............................................................................................................................36
10. MASK OPTION...................................................................................................................................36
11. INSTRUCTION SET ...........................................................................................................................37
12. ELECTRICAL SPECIFICATIONS......................................................................................................39
12.1 Expanded-Specification Products of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A) ..... 39
12.2 µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A), and Conventional Products of
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A) ..................................................................... 55
12.3 Timing Chart.............................................................................................................................................. 71
13. PACKAGE DRAWINGS .....................................................................................................................77
14. RECOMMENDED SOLDERING CONDITIONS ................................................................................82
APPENDIX A. DEVELOPMENT TOOLS................................................................................................84
APPENDIX B. RELATED DOCUMENTS ...............................................................................................88
Data Sheet U15131EJ3V0DS
11
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
1. PIN CONFIGURATION (TOP VIEW)
•
64-pin plastic SDIP (19.05 mm (750))
P40/AD0
P41/AD1
P42/AD2
P43/AD3
P44/AD4
P45/AD5
P46/AD6
P47/AD7
P50/A8
1
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
P67/ASTB
P66/WAIT
2
3
P65/WR
4
P64/RD
5
P75/BUZ
6
P74/PCL
7
P73/TI51/TO51
P72/TI50/TO50
P71/TI01
8
9
P51/A9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
P70/TI00/TO0
P03/INTP3/ADTRG
P02/INTP2
P01/INTP1
P00/INTP0
P52/A10
P53/A11
P54/A12
P55/A13
P56/A14
P57/A15
V
SS1
X1
V
SS0
X2
V
DD0
IC
P30
P31
XT1
XT2
P32/SDA0Note 1
P33/SCL0Note 1
P34/SI31Note 2
P35/SO31Note 2
P36/SCK31Note 2
P20/SI30
RESET
AVDD
AVREF
P10/ANI0
P11/ANI1
P12/ANI2
P13/ANI3
P14/ANI4
P15/ANI5
P16/ANI6
P17/ANI7
AVSS
P21/SO30
P22/SCK30
P23/RxD0
P24/TxD0
P25/ASCK0
V
DD1
Notes 1. SDA0 and SCL0 are incorporated only in the µPD780024AY Subseries.
2. SI31, SO31, and SCK31 are incorporated only in the µPD780024A Subseries.
Cautions 1. Connect the IC (Internally Connected) pin directly to VSS0 or VSS1.
2. Connect the AVSS pin to VSS0.
Remark When the µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A),
780023AY(A), and 780024AY(A) are used in applications where the noise generated inside the
microcontroller needs to be reduced, the implementation of noise reduction measures, such as supplying
voltage to VDD0 and VDD1 individually and connecting VSS0 and VSS1 to different ground lines, is
recommended.
Data Sheet U15131EJ3V0DS
12
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
•
•
•
•
64-pin plastic QFP (14 x 14)
64-pin plastic LQFP (14 x 14)
64-pin plastic TQFP (12 x 12)
64-pin plastic LQFP (10 x 10)
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
P50/A8
P51/A9
1
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
P71/TI01
2
P70/TI00/TO0
P03/INTP3/ADTRG
P02/INTP2
P52/A10
P53/A11
P54/A12
P55/A13
P56/A14
P57/A15
3
4
5
P01/INTP1
6
P00/INTP0
7
VSS1
8
X1
V
SS0
9
X2
V
DD0
10
11
12
13
14
15
16
IC
P30
P31
XT1
XT2
P32/SDA0Note 1
P33/SCL0Note 1
P34/SI31Note 2
P35/SO31Note 2
RESET
AVDD
AVREF
P10/ANI0
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Notes 1. SDA0 and SCL0 are incorporated only in the µPD780024AY Subseries.
2. SI31, SO31, and SCK31 are incorporated only in the µPD780024A Subseries.
Cautions 1. Connect the IC (Internally Connected) pin directory to VSS0 or VSS1.
2. Connect the AVSS pin to VSS0.
Remark When the µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A),
780023AY(A), and 780024AY(A) are used in applications where the noise generated inside the
microcontroller needs to be reduced, the implementation of noise reduction measures, such as supplying
voltage to VDD0 and VDD1 individually and connecting VSS0 and VSS1 to different ground lines, is
recommended.
Data Sheet U15131EJ3V0DS
13
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
A8 to A15:
AD0 to AD7:
ADTRG:
Address bus
Address/data bus
AD trigger input
Analog input
Asynchronous serial clock
Address strobe
Analog power supply
Analog reference voltage
Analog ground
Buzzer clock
Internally connected
External interrupt input
Port 0
P70 to P75:
PCL:
Port 7
Programmable clock
Read strobe
Reset
RD:
ANI0 to ANI7:
ASCK0:
RESET:
RxD0:
Receive data
ASTB:
SCK30, SCK31, SCL0: Serial clock
AVDD:
SDA0:
Serial data
Serial input
Serial output
AVREF:
SI30, SI31:
SO30, SO31:
AVSS:
BUZ:
TI00, TI01, TI50, TI51: Timer input
IC:
TO0, TO50, TO51:
TxD0:
Timer output
INTP0 to INTP3:
P00 to P03:
P10 to P17:
P20 to P25:
P30 to P36:
P40 to P47:
P50 to P57:
P64 to P67:
Transmit data
Power supply
Ground
VDD0, VDD1:
VSS0, VSS1:
WAIT:
Port 1
Port 2
Wait
Port 3
WR:
Write strobe
Port 4
X1, X2:
Crystal (main system clock)
Crystal (subsystem clock)
Port 5
XT1, XT2:
Port 6
Data Sheet U15131EJ3V0DS
14
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
2. BLOCK DIAGRAM
TI00/TO0/P70
TI01/P71
Port 0
Port 1
16-bit timer/
event counter
P00 to P03
P10 to P17
P20 to P25
P30 to P36
P40 to P47
P50 to P57
8-bit timer/
event counter 50
TI50/TO50/P72
TI51/TO51/P73
8-bit timer/
event counter 51
Port 2
Port 3
Port 4
Port 5
Port 6
Port 7
Watchdog timer
Watch timer
78K/0
CPU core
ROM
SI30/P20
SO30/P21
SCK30/P22
Serial
interface 30
P64 to P67
P70 to P75
SI31/P34
SO31/P35
SCK31/P36
Serial
interface 31Note 1
RAM
RxD0/P23
TxD0/P24
ASCK0/P25
AD0/P40 to
AD7/P47
UART0
A8/P50 to
A15/P57
SDA0/P32
SCL0/P33
External
access
I2C busNote 2
RD/P64
WR/P65
WAIT/P66
ASTB/P67
ANI0/P10 to
ANI7/P17
AVDD
AVSS
A/D converter
AVREF
RESET
X1
X2
XT1
XT2
System
control
Interrupt
control
INTP0/P00 to
INTP3/P03
BUZ/P75
PCL/P74
Buzzer output
Clock output
control
VDD0
VDD1
VSS0
VSS1 IC
Notes 1. Incorporated only in the µPD780024A Subseries.
2. Incorporated only in the µPD780024AY Subseries.
Remark The internal ROM and RAM capacities vary depending on the product.
Data Sheet U15131EJ3V0DS
15
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
3. PIN FUNCTIONS
3.1 Port Pins (1/2)
Pin Name
I/O
Function
After
Alternate
Function
Reset
P00 to P02
I/O
Port 0
Input
INTP0 to
INTP2
4-bit I/O port
Input/output can be specified in 1-bit units.
P03
INTP3/ADTRG
An on-chip pull-up resistor can be used by setting software.
P10 to P17 Input Port 1
8-bit input only port
Port 2
Input
Input
ANI0 to ANI7
P20
I/O
SI30
6-bit I/O port
P21
SO30
SCK30
RxD0
TxD0
ASCK0
—
Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
P22
P23
P24
P25
P30
I/O
Port 3
N-ch open-drain I/O port
Input
7-bit I/O port
An on-chip pull-up resistor can be
specified by the mask option.
LEDs can be driven directly.
P31
Input/output can be specified in
1-bit units.
P32
SDA0Note 1
SCL0Note 1
SI31Note 2
P33
P34
An on-chip pull-up resistor can be
used by setting software.
P35
SO31Note 2
SCK31Note 2
AD0 to AD7
P36
P40 to P47
I/O
I/O
I/O
Port 4
Input
Input
Input
8-bit I/O port
Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
The interrupt request flag (KRIF) is set to 1 by falling edge detection.
P50 to P57
Port 5
A8 to A15
8-bit I/O port
LEDs can be driven directly.
Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
P64
P65
P66
P67
Port 6
RD
4-bit I/O port
WR
Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
WAIT
ASTB
Notes 1. SDA0 and SCL0 are incorporated only in the µPD780024AY Subseries.
2. SI31, SO31, and SCK31 are incorporated only in the µPD780024A Subseries.
Data Sheet U15131EJ3V0DS
16
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
3.1 Port Pins (2/2)
Pin Name
I/O
Function
After
Alternate
Function
Reset
P70
P71
P72
P73
P74
P75
I/O
Port 7
Input
TI00/TO0
TI01
6-bit I/O port
Input/output can be specified in 1-bit units.
TI50/TO50
TI51/TO51
PCL
An on-chip pull-up resistor can be used by setting software.
BUZ
3.2 Non-Port Pins (1/2)
Pin Name
I/O
Function
After
Alternate
Function
Reset
INTP0
Input External interrupt request input for which the valid edge (rising edge,
falling edge, or both rising and falling edges) can be specified
Input
P00
INTP2
P01
INTP2
P02
INTP3
P03/ADTRG
P20
SI30
Input Serial interface serial data input
Output Serial interface serial data output
Input
Input
SI31Note 1
SO30
P34
P21
SO31Note 1
SDA0Note 2
SCK30
SCK31Note 1
SCL0Note 2
RxD0
P35
I/O
I/O
Serial Interface serial data input/output
Serial interface serial clock input/output
Input
Input
P32
P22
P36
P33
Input Serial data input for asynchronous serial interface
Output Serial data output for asynchronous serial interface
Input Serial clock input for asynchronous serial interface
Input External count clock input to 16-bit timer/event counter 0
Capture trigger input to capture register 01 (CR01) of 16-bit timer/event counter 0
Capture trigger input to capture register 00 (CR00) of 16-bit timer/event counter 0
External count clock input to 8-bit timer/event counter 50
External count clock input to 8-bit timer/event counter 51
Output 16-bit timer/event counter 0 output
Input
Input
Input
Input
P23
TxD0
P24
ASCK0
TI00
P25
P70/TO0
TI01
P71
TI50
P72/TO50
P73/TO51
P70/TI00
P72/TI50
P73/TI51
P74
TI51
TO0
Input
Input
TO50
TO51
PCL
8-bit timer/event counter 50 output (also used for 8-bit PWM output)
8-bit timer/event counter 51 output (also used for 8-bit PWM output)
Output Clock output (for trimming of main system clock and subsystem clock)
Output Buzzer output
Input
Input
Input
Input
Input
BUZ
P75
AD0 to AD7
A8 to A15
RD
I/O
Lower address/data bus for expanding memory externally
P40 to P47
P50 to P57
P64
Output Higher address bus for expanding memory externally
Output Strobe signal output for reading from external memory
Strobe signal output for writing to external memory
WR
P65
WAIT
ASTB
Input Wait insertion at external memory access
Input
Input
P66
Output Strobe output that externally latches address information output to
ports 4 and 5 to access external memory
P67
Notes 1. SI31, SO31, and SCK31 are incorporated only in the µPD780024A Subseries.
2. SDA0 and SCL0 are incorporated only in the µPD780024AY Subseries.
Data Sheet U15131EJ3V0DS
17
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
3.2 Non-Port Pins (2/2)
Pin Name
I/O
Function
After
Alternate
Function
Reset
ANI0 to ANI7 Input A/D converter analog input
Input
Input
—
P10 to P17
ADTRG
AVREF
AVDD
AVSS
RESET
X1
Input A/D converter trigger signal input
Input A/D converter reference voltage input
P03/INTP3
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
A/D converter analog power supply. Set potential to that of VDD0 or VDD1
A/D converter ground potential. Set potential to that of VSS0 or VSS1
—
—
Input System reset input
—
Input Connecting crystal resonator for main system clock oscillation
—
X2
—
—
XT1
Input Connecting crystal resonator for subsystem clock oscillation
—
—
XT2
—
VDD0
VSS0
—
—
—
—
—
Positive power supply for ports
—
Ground potential of ports
—
VDD1
VSS1
Positive power supply (except ports)
Ground potential (except ports)
—
—
IC
Internally connected. Connect directly to VSS0 or VSS1.
—
Data Sheet U15131EJ3V0DS
18
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
3.3 Pin I/O Circuits and Recommended Connection of Unused Pins
The I/O circuit type of each pin and recommended connection of unused pins are shown in Table 3-1.
For the I/O circuit configuration of each type, see Figure 3-1.
Table 3-1. Types of Pin I/O Circuits
Pin Name
I/O
I/O
I/O
Recommended Connection of Unused Pins
Circuit Type
P00/INTP0 to P02/INTP2
P03/INTP3/ADTRG
P10/ANI0 to P17/ANI7
P20/S130
8-C
Input: Independently connect to VSS0 or VSS1 via a resistor.
Output: Leave open.
25
Input
I/O
Connect directly to VDD0, VDD1, VSS0, or VSS1 via a resistor.
Input: Independently connect to VDD0, VDD1, VSS0, or VSS1 via
a resistor.
8-C
5-H
8-C
P21/SO30
P22/SCK30
Output: Leave open.
P23/RxD0
P24/TxD0
5-H
8-C
P25/ASCK0
P30, P31
13-Q
13-S
Input: Connect directly to VSS0 or VSS1.
Output: Leave open at low-level output.
P32, P33
(µPD780024A Subseries only)
P32/SDA0
13-R
(µPD780024AY Subseries only)
P33/SCL0
(µPD780024AY Subseries only)
P34/SI31Note
8-C
5-H
8-C
5-H
Input: Independently connect to VDD0, VDD1, VSS0, or VSS1 via
P35/SO31Note
a resistor.
P36/SCK31Note
P40/AD0 to P47/AD7
Output: Leave open.
Input: Independently connect to VDD0 or VDD1 via a resistor.
Output: Leave open.
P50/A8 to P57/A15
P64/RD
Input: Independently connect to VDD0, VDD1, VSS0, or VSS1 via
a resistor.
P65/WR
Output: Leave open.
P66/WAIT
P67/ASTB
P70/TI00/TO0
P71/TI01
P72/TI50/TO50
P73/TI51/TO51
P74/PCL
P75/BUZ
RESET
8-C
5-H
2
Input
—
—
Connect directly to VDD0 or VDD1.
Leave open.
XT1
16
XT2
AVDD
—
Connect to directly VDD0 or VDD1.
Connect to directly VSS0 or VSS1.
AVREF
AVSS
IC
Note SI31, SO31, and SCK31 are incorporated only in the µPD780024A Subseries.
Data Sheet U15131EJ3V0DS
19
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Figure 3-1. Pin I/O Circuits
TYPE 2
TYPE 13-R
IN/OUT
Data
Output disable
N-ch
IN
V
SS0
Schmitt-triggered input with hysteresis characteristics
TYPE 5-H
TYPE 13-S
V
DD0
V
DD0
Mask
option
IN/OUT
Pull-up
enable
P-ch
Data
Output disable
N-ch
V
DD0
Data
P-ch
V
SS0
IN/OUT
Output
disable
N-ch
VSS0
Input
enable
TYPE 8-C
TYPE 16
V
DD0
Feedback
cut-off
Pull-up
enable
P-ch
P-ch
V
DD0
Data
P-ch
IN/OUT
Output
disable
N-ch
V
SS0
XT1
XT2
TYPE 25
TYPE 13-Q
VDD0
Mask
option
P-ch
IN/OUT
Comparator
+
Data
Output disable
N-ch
–
N-ch
SS0
V
V
SS0
IN
V
REF (threshold voltage)
Input
enable
Input
enable
Data Sheet U15131EJ3V0DS
20
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
4. MEMORY SPACE
Figure 4-1 shows the memory map of the µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A),
780022AY(A), 780023AY(A), and 780024AY(A).
Figure 4-1. Memory Map
FFFFH
Special function registers (SFR)
256 × 8 bits
FF00H
FEFFH
General-purpose
registers
32 × 8 bits
FEE0H
FEDFH
Internal high-speed
RAMNote
mmmmH
mmmmH – 1
nnnnH
Data memory
space
Reserved
Program area
1000H
0FFFH
CALLF entry area
F800H
F7FFH
0800H
07FFH
Program area
CALLT table area
Vector table area
External memory
0080H
007FH
Program memory
space
nnnnH + 1
nnnnH
0040H
003FH
Internal ROMNote
0000H
0000H
Note The internal ROM and internal high-speed RAM capacities vary depending on the product (see the following
table).
Part Number
Last Address of Internal ROM
nnnnH
Start Address of Internal High-Speed RAM
mmmmH
µPD780021A(A), 780021AY(A)
µPD780022A(A), 780022AY(A)
µPD780023A(A), 780023AY(A)
µPD780024A(A), 780024AY(A)
1FFFH
3FFFH
5FFFH
7FFFH
FD00H
FB00H
Data Sheet U15131EJ3V0DS
21
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
5. PERIPHERAL HARDWARE FUNCTION FEATURES
5.1 Ports
The following 3 types of I/O ports are available.
•
•
•
CMOS input (port 1):
8
CMOS I/O (ports 0, 2, 4 to 7, P34 to P36):
N-channel open-drain I/O (P30 to P33):
39
4
Total:
51
Table 5-1. Port Functions
Name
Pin Name
Function
Port 0
P00 to P03
I/O port. Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
Port 1
Port 2
P10 to P17
P20 to P25
Input-only port.
I/O port. Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
Port 3
P30 to P33
N-channel open-drain I/O port. Input/output can be specified in 1-bit units.
A pull-up resistor can be specified by mask option.
LEDs can be driven directly.
P34 to P36
P40 to P47
I/O port. Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
Port 4
Port 5
I/O port. Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
The interrupt request flag (KRIF) is set to 1 by falling edge detection.
P50 to P57
I/O port. Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
LEDs can be driven directly.
Port 6
Port 7
P64 to P67
P70 to P75
I/O port. Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
I/O port. Input/output can be specified in 1-bit units.
An on-chip pull-up resistor can be used by setting software.
Data Sheet U15131EJ3V0DS
22
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
5.2 Clock Generator
A system clock generator is incorporated.
The minimum instruction execution time can be changed.
•
Expanded-specification products of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
0.166 µs/0.333 µs/0.666 µs/1.33 µs/2.66 µs
(@12 MHz, VDD = 4.5 to 5.5 V operation with main system clock)
122 µs (@32.768 kHz, VDD = 4.0 to 5.5 V operation with subsystem clock)
µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A), and conventional products of µPD780021A(A),
780022A(A), 780023A(A), 780024A(A)
•
0.238 µs/0.48 µs/0.95 µs/1.91 µs/3.81 µs (@8.38 MHz, VDD = 4.0 to 5.5 V operation with main system clock)
122 µs (@32.768 kHz, VDD = 4.0 to 5.5 V operation with subsystem clock)
Figure 5-1. Clock Generator Block Diagram
XT1
XT2
Subsystem
clock
oscillator
f
XT
Watch timer, clock
output function
Prescaler
1
2
X1
X2
Main system
clock
oscillator
f
XT
Clock to peripheral
hardware
Prescaler
2
f
X
f
2
X
f
X
f
X
23
f
X
24
22
Wait
controller
Standby
controller
STOP
CPU clock
Selector
(fCPU
)
HALT
Data Sheet U15131EJ3V0DS
23
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
5.3 Timer/Counter
Five timer/counter channels are incorporated.
•
•
•
•
16-bit timer/event counter: 1 channel
8-bit timer/event counter: 2 channels
Watch timer:
1 channel
1 channel
Watchdog timer:
Table 5-2. Operations of Timer/Event Counter
16-Bit Timer/
8-Bit Timer/
Watch Timer
Watchdog Timer
Event Counter 0
Event Counters 50, 51
Operation mode
Interval timer
1 channel
1 channel
2 channels
2 channels
1 channelNote 1
1 channelNote 2
External event counter
Function
Timer outputs
—
—
1 output
1 output
—
2 outputs
—
—
—
—
—
2
—
—
—
—
—
1
PPG outputs
—
2 outputs
—
PWM output
Pulse width measurement
Square wave outputs
Interrupt sources
2 inputs
1 output
2
2 outputs
2
Notes 1. The watch timer can perform both watch timer and interval timer functions at the same time.
2. The watchdog timer has watchdog timer and interval timer functions. However, use the watchdog timer
by selecting either the watchdog timer function or the interval timer function.
Data Sheet U15131EJ3V0DS
24
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Figure 5-2. Block Diagram of 16-Bit Timer/Event Counter 0
Internal bus
INTTM00
Noise
elimi-
nator
16-bit capture/compare
register 00 (CR00)
TI01/P71
Match
fX
f
f
X
/22
/26
16-bit timer counter 0
(TM0)
X
Clear
Output
TO0/TI00/P70Note
controller
Match
Noise
elimi-
nator
f
X
/23
Noise
elimi-
nator
16-bit capture/compare
register 01 (CR01)
TI00/TO0/P70Note
INTTM01
Internal bus
Note TI00 input and TO0 output cannot be used at the same time.
Data Sheet U15131EJ3V0DS
25
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Figure 5-3. Block Diagram of 8-Bit Timer/Event Counter 50
Internal bus
8-bit compare
register 50 (CR50)
Selector
INTTM50
TI50/TO50/P72
Match
f
X
Note 1
f
f
f
f
X
X
X
X
/22
/24
/26
/28
S
INV
Q
8-bit timer
OVF
TO50/TI50/P72
counter 50 (TM50)
R
f
X
/210
Clear
Note 2
S
R
Level
inversion
3
Selector
TCE50 TMC506 TMC504 LVS50 LVR50 TMC501 TOE50
TCL502 TCL501 TCL500
Timer mode control
register 50 (TMC50)
Timer clock selection
register 50 (TCL50)
Internal bus
Figure 5-4. Block Diagram of 8-Bit Timer/Event Counter 51
Internal bus
8-bit compare
register 51
(CR51)
Selector
INTTM51
TI51/TO51/P73
/2
Match
Note 1
f
X
/23
f
f
f
f
X
X
X
X
S
/25
/27
/29
Q
8-bit timer
counter 51
(TM51)
INV
OVF
TO51/TI51/P73
R
f
X
/211
Clear
Note 2
S
R
Level
inversion
3
Selector
TCE51 TMC516 TMC514 LVS51 LVR51 TMC511 TOE51
TCL512 TCL511 TCL510
Timer mode control
register 51 (TMC51)
Timer clock selection
register 51 (TCL51)
Internal bus
Notes 1. Timer output F/F
2. PWM output F/F
Data Sheet U15131EJ3V0DS
26
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Figure 5-5. Watch Timer Block Diagram
Clear
f
/27
X
5-bit counter
INTWT
INTWTI
9-bit prescaler
f
W
f
W
f
W
f
W
f
W
f
W
f
W
29
Clear
24 25 26 27 28
f
XT
WTM7 WTM6 WTM5 WTM4 WTM1 WTM0
Watch timer mode
control register (WTM)
Internal bus
Figure 5-6. Watchdog Timer Block Diagram
f
X
Divided
clock
selector
Clock
input
controller
INTWDT
f
/28
X
Divider
Output
controller
RESET
RUN
Division mode
selector
3
WDT mode signal
OSTS2 OSTS1 OSTS0
WDCS2 WDCS1 WDCS0
RUN WDTM4WDTM3
Oscillation
Watchdog timer
Watchdog timer
stabilization time
selection register
(OSTS)
clock selection
register (WDCS)
mode register
(WDTM)
Internal bus
Data Sheet U15131EJ3V0DS
27
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
5.4 Clock Output/Buzzer Output Controller
A clock output/buzzer output controller is incorporated.
Clocks with the following frequencies can be output as clock output.
• Expanded-specification products of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
• 93.75 kHz/187.5 kHz/375 kHz/750 kHz/1.25 MHz/3 MHz/6 MHz/12 MHz (@12 MHz operation with main
system clock)
• 32.768 kHz (@32.768 kHz operation with subsystem clock)
• µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A), and conventional products of
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
• 65.5 kHz/131 kHz/262 kHz/524 kHz/1.05 MHz/2.10 MHz/4.19 MHz/8.38 MHz (@8.38 MHz operation with
main system clock)
• 32.768 kHz (@32.768 kHz operation with subsystem clock)
Clocks with the following frequencies can be output as buzzer output.
• Expanded-specification products of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
1.46 kHz/2.93 kHz/5.86 kHz/11.7 kHz (@12 MHz operation with main system clock)
• µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A), and conventional products of
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
1.02 kHz/2.05 kHz/4.10 kHz/8.19 kHz (@8.38 MHz operation with subsystem clock)
Figure 5-7. Block Diagram of Clock Output/Buzzer Output Control Circuit
Prescaler
8
fX
fX/210 to fX/213
4
BUZ/P75
PCL/P74
BCS0, BCS1
BZOE
fX to fX/27
Clock
controller
fXT
CLOE
BZOE BCS1 BCS0 CLOE CCS3 CCS2 CCS1 CCS0
Clock output selection register (CKS)
Internal bus
Data Sheet U15131EJ3V0DS
28
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
5.5 A/D Converter
An A/D converter consisting of eight 8-bit resolution channels is incorporated.
The following two A/D conversion operation startup methods are available.
•
•
Hardware start
Software start
Figure 5-8. A/D Converter Block Diagram
Series resistor string
AVDD
Sample & hold circuit
Voltage comparator
ANI0/P10
ANI1/P11
ANI2/P12
ANI3/P13
ANI4/P14
ANI5/P15
ANI6/P16
ANI7/P17
AVREF
Tap
selector
Selector
Successive approximation
register (SAR)
AVSS
Edge
detector
INTAD
Controller
INTP3/ADTRG/P03
A/D conversion
result register (ADCR0)
Edge
detector
INTP3
Internal bus
Data Sheet U15131EJ3V0DS
29
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
5.6 Serial Interface
Three serial interface channels are incorporated.
•
•
µPD780024A Subseries
Serial interface UART0:
Serial interface SIO30, SIO31:
µPD780024AY Subseries
Serial interface UART0:
Serial interface SIO30:
Serial interface IIC0
1 channel
2 channels
1 channel
1 channel
1 channel
(1) Serial interface UART0
Serial interface UART0 has two modes: asynchronous serial interface (UART) mode and infrared data transfer
mode.
•
Asynchronous serial interface (UART) mode
This mode enables full-duplex operation wherein one byte of data starting from the start bit is transmitted
and received.
The on-chip UART-dedicated baud-rate generator enables communication using a wide range of selectable
baud rates. In addition, a baud rate can also be defined by dividing the clock input to the ASCK0 pin.
The UART-dedicated baud-rate generator can also be used to generate a MIDI-standard baud rate (31.25
kbps).
•
Infrared data transfer mode
This mode enables pulse output and pulse reception in data format.
This mode can be used for office equipment applications such as personal computers.
Figure 5-9. Block Diagram of Serial Interface UART0
Internal bus
Asynchronous serial
interface mode
register 0 (ASIM0)
Receive
buffer
RXB0
RX0
TXE0 RXE0 PS01 PS00 CL0 SL0 ISRM0 IRDAM0
register 0
Asynchronous serial
interface status
register 0
(ASIS0)
Transmit
shift
register 0
Receive
shift
register 0
TXS0
RxD0/P23
TxD0/P24
PE0 FE0 OVE0
Receive
controller
(parity
Transmit
controller
(parity
INTSER0
INTST0
INTSR0
check)
addition)
P25/ASCK0
/2 to f
/27
Baud rate
generator
f
X
X
Data Sheet U15131EJ3V0DS
30
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) Serial interface SIO3n
Serial interface SIO3n has one mode: 3-wire serial I/O mode.
•
3-wire serial I/O mode (fixed as MSB first)
This is an 8-bit data transfer mode using three lines: a serial clock line (SCK3n), serial output line (SO3n),
and serial input line (SI3n).
Since simultaneous transmit and receive operations are enabled in the 3-wire serial I/O mode, the
processing time for data transfer is reduced.
The first bit in 8-bit data in the serial transfer is fixed as MSB.
The 3-wire serial I/O mode is useful for connection to peripheral I/O devices, and display controllers, etc.,
that include a clocked serial interface.
Figure 5-10. Block Diagram of Serial Interface SIO3n
Internal bus
8
Serial I/O shift register
3n (SIO3n)
SI3n
SO3n
Serial clock
counter
Interrupt request
signal generator
SCK3n
INTCSI3n
f
f
f
X
X
X
/23
/24
/25
Serial clock
controller
Selector
Remark µPD780024A Subseries: n = 0, 1
µPD780024AY Subseries: n = 0
Data Sheet U15131EJ3V0DS
31
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(3) Serial interface IIC0 (µPD780024AY Subseries only)
Serial interface IIC0 has one mode: I2C (Inter IC) bus mode (supporting multimaster).
•
I2C bus mode (supporting multimaster)
This is an 8-bit data transfer mode using two lines: a serial clock line (SCL0) and a serial data bus line
(SDA0).
This mode complies with the I2C bus format, and can output a “start condition”, “data”, and a “stop condition”
during transmission via the serial data bus. This data is automatically detected by hardware during
reception.
Since SCL0 and SDA0 are open-drain outputs in IIC0, pull-up resistors for the serial clock line and the serial
data bus line are required.
Figure 5-11. Block Diagram of Serial Interface IIC0
Internal bus
IIC status register 0
(IICS0)
MSTS0 ALD0 EXC0 COI0 TRC0 ACKD0 STD0 SPD0
IIC control register 0
(IICC0)
Slave address
register 0 (SVA0)
IICE0 LREL0 WREL0 SPIE0 WTIM0 ACKE0 STT0 SPT0
SDA0/P32
Match
signal
CLEAR
SET
Noise eliminator
SO0 latch
IIC shift register 0
(IIC0)
D
CL00
Acknowledge
detector
Data hold
time corrector
N-ch open-
drain output
Wake-up controller
Acknowledge
detector
Start condition
detector
Stop condition
detector
SCL0/P33
Interrupt request
signal generator
INTIIC0
Noise eliminator
Serial clock counter
Serial clock controller
Serial clock wait
controller
N-ch open-drain
output
f
X
Prescaler
IIC transfer clock select
register 0 (IICCL0)
CLD0 DAD0 SMC0 DFC0
Internal bus
CL00
Data Sheet U15131EJ3V0DS
32
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
6. INTERRUPT FUNCTIONS
A total of 20 interrupt sources are provided, divided into the following three types.
•
•
•
Non-maskable: 1
Maskable:
Software:
18
1
Table 6-1. Interrupt Source List
Vector
Table
Basic
Interrupt Source
Trigger
Interrupt
Type
Default
PriorityNote 1
Internal/
External
Configuration
TypeNote 2
Name
Address
Non-
—
INTWDT
Watchdog timer overflow
Internal
0004H
(A)
(B)
(C)
maskable
(with watchdog timer mode 1 selected)
Maskable
0
INTWDT
Watchdog timer overflow
(with interval timer mode selected)
1
2
3
4
5
INTP0
INTP1
INTP2
INTP3
INTSER0
Pin input edge detection
External 0006H
0008H
000AH
000CH
Serial interface UART0 reception error
generation
Internal
000EH
(B)
6
7
8
9
INTSR0
End of serial interface UART0 reception
End of serial interface UART0 transmission
End of serial interface SIO30 transfer
0010H
0012H
0014H
0016H
INTST0
INTCSI30
INTCSI31
End of serial interface SIO31 transfer
[Only for µPD780024A Subseries]
10
INTIIC0
End of serial interface IIC0 transfer
0018H
[Only for µPD780024AY Subseries]
11
12
INTWTI
Reference time interval signal from watch timer
001AH
001CH
INTTM00
Match between TM0 and CR00
(when CR00 is specified as compare register)
Detection of TI01 valid edge
(when CR00 is specified as capture register)
13
INTTM01
Match between TM0 and CR01
001EH
(when CR01 is specified as compare register)
Detection of TI00 valid edge
(when CR01 is specified as capture register)
14
15
16
17
18
—
INTTM50
INTTM51
INTAD0
INTWT
INTKR
Match between TM50 and CR50
Match between TM51 and CR51
End of A/D conversion
0020H
0022H
0024H
0026H
Watch timer overflow
Port 4 falling edge detection
BRK instruction execution
External 0028H
003EH
(D)
(E)
Software
BRK
—
Notes 1. The default priority is the priority when several maskable interrupt requests are generated at the same
time. 0 is the highest, and 18 is the lowest.
2. Basic configuration types (A) to (E) correspond to (A) to (E) in Figure 6-1.
Remark The watchdog timer interrupt (INTWDT) can be selected from a non-maskable interrupt or a maskable
interrupt (internal).
Data Sheet U15131EJ3V0DS
33
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Figure 6-1. Basic Configuration of Interrupt Function (1/2)
(A) Internal non-maskable interrupt
Internal bus
Vector table
Priority
controller
Interrupt
request
address
generator
Standby release
signal
(B) Internal maskable interrupt
Internal bus
IE
PR
ISP
MK
Vector table
address
generator
Priority
controller
Interrupt
request
IF
Standby release
signal
(C) External maskable interrupt (INTP0 to INTP3)
Internal bus
External interrupt
edge enable register
(EGP, EGN)
PR
ISP
MK
IE
Vector table
address
generator
Priority
controller
Interrupt
request
Edge
detector
IF
Standby release
signal
Data Sheet U15131EJ3V0DS
34
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Figure 6-1. Basic Configuration of Interrupt Function (2/2)
(D) External maskable interrupt (INTKR)
Internal bus
PR
ISP
MK
IE
Vector table
address
generator
Priority
controller
Interrupt
request
Falling edge
detector
IF
Standby release
signal
(E) Software interrupt
Internal bus
Vector table
address
generator
Interrupt
request
IF:
IE:
Interrupt request flag
Interrupt enable flag
ISP: In-service priority flag
MK: Interrupt mask flag
PR: Priority specification flag
Data Sheet U15131EJ3V0DS
35
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
7. EXTERNAL DEVICE EXPANSION FUNCTION
The external device expansion function is for connecting external devices to areas other than the internal ROM,
RAM, and SFR areas. Ports 4 to 6 are used for external device connection.
8. STANDBY FUNCTION
The following two standby modes are available for further reduction of system power consumption.
•
•
HALT mode: In this mode, the CPU operation clock is stopped. The average power consumption can be
reduced by intermittent operation by combining this mode with the normal operation mode.
STOP mode: In this mode, oscillation of the main system clock is stopped. All the operations performed on
the main system clock are suspended, and only the subsystem clock is used, resulting in
extremely small power consumption. This can be used only when the main system clock is
operating (the subsystem clock oscillation cannot be stopped).
Figure 8-1. Standby Function
CSS = 1
Main system clock
operation
Subsystem clock
operationNote
CSS = 0
HALT
instruction
HALT
instruction
STOP
instruction
Interrupt
request
Interrupt
request
Interrupt
request
HALT mode
HALT modeNote
STOP mode
Main system clock
operation is stopped
Clock supply for CPU is stopped,
oscillation is maintained
Clock supply for CPU is stopped,
oscillation is maintained
Note The power consumption can be reduced by stopping the main system clock. When the CPU is operating
on the subsystem clock, set bit 7 (MCC) of the processor clock control register (PCC). The STOP instruction
cannot be used.
Caution When the main system clock is stopped and the device is operating on the subsystem clock, wait
until the oscillation stabilization time has been secured by the program before switching back to
the main system clock.
9. RESET FUNCTION
The following two reset methods are available.
•
•
External reset by RESET signal input
Internal reset by watchdog timer program loop time detection
10. MASK OPTION
Table 10-1 Pin Mask Option Selection
Subseries Name
Pins
Mask Option
An on-chip pull-up resistor can be specified in 1-bit units.
µPD780024A Subseries
P30 to P33
µPD780024AY Subseries
P30 and P31
The mask option can be used to specify the connection of an on-chip pull-up resistor to P30 to P33Note, in 1-bit units.
Note The µPD780024AY Subseries has P30 and P31 only.
Data Sheet U15131EJ3V0DS
36
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
11. INSTRUCTION SET
(1) 8-bit instructions
MOV, XCH, ADD, ADDC, SUB, SUBC, AND, OR, XOR, CMP, MULU, DIVUW, INC, DEC, ROR,
ROL, RORC, ROLC, ROR4, ROL4, PUSH, POP, DBNZ
2nd
Operand
[HL + byte]
[HL + B]
[HL + C]
#byte
A
rNote
sfr
saddr !addr16 PSW
[DE]
[HL]
$addr16
1
None
1st
Operand
A
ADD
MOV
MOV
XCH
MOV
XCH
ADD
MOV
XCH
ADD
MOV
MOV
XCH
MOV
XCH
ADD
MOV
XCH
ADD
ROR
ROL
ADDC
SUB
XCH
ADD
RORC
ROLC
ADDC
SUB
ADDC ADDC
ADDC ADDC
SUB SUB
SUBC SUBC
SUBC
AND
OR
SUB
SUB
SUBC
AND
OR
SUBC
AND
OR
SUBC
AND
OR
XOR
AND
OR
AND
OR
CMP
XOR
CMP
XOR
CMP
XOR
CMP
XOR
CMP
XOR
CMP
r
MOV
MOV
ADD
INC
DEC
ADDC
SUB
SUBC
AND
OR
XOR
CMP
DBNZ
DBNZ
B, C
sfr
MOV
MOV
MOV
saddr
MOV
ADD
INC
DEC
ADDC
SUB
SUBC
AND
OR
XOR
CMP
MOV
!addr16
PSW
MOV
MOV
PUSH
POP
MOV
MOV
[DE]
[HL]
ROR4
ROL4
[HL + byte]
MOV
[HL + B]
[HL + C]
X
C
MULU
DIVUW
Note Except r = A
Data Sheet U15131EJ3V0DS
37
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) 16-bit instructions
MOVW, XCHW, ADDW, SUBW, CMPW, PUSH, POP, INCW, DECW
2nd Operand
1st Operand
#word
ADDW
AX
rpNote
sfrp
saddrp
MOVW
!addr16
MOVW
SP
None
MOVW
XCHW
MOVW
MOVW
AX
SUBW
CMPW
MOVW
MOVWNote
rp
INCW, DECW
PUSH, POP
sfrp
MOVW
MOVW
MOVW
MOVW
MOVW
MOVW
saddrp
!addr16
SP
MOVW
Note Only when rp = BC, DE or HL
(3) Bit manipulation instructions
MOV1, AND1, OR1, XOR1, SET1, CLR1, NOT1, BT, BF, BTCLR
2nd Operand
1st Operand
A.bit
A.bit
sfr.bit
saddr.bit
PSW.bit
[HL].bit
CY
$addr16
None
MOV1
BT
SET1
CLR1
BF
BTCLR
SET1
CLR1
BT
MOV1
MOV1
MOV1
MOV1
sfr.bit
BF
BTCLR
BT
SET1
CLR1
saddr.bit
PSW.bit
BF
BTCLR
BT
SET1
CLR1
BF
BTCLR
BT
SET1
CLR1
[HL].bit
CY
BF
BTCLR
MOV1
MOV1
MOV1
AND1
MOV1
AND1
MOV1
AND1
SET1
CLR1
NOT1
AND1
AND1
OR1
OR1
OR1
OR1
OR1
XOR1
XOR1
XOR1
XOR1
XOR1
(4) Call instructions/branch instructions
CALL, CALLF, CALLT, BR, BC, BNC, BZ, BNZ, BT, BF, BTCLR, DBNZ
2nd Operand
AX
!addr16
!addr11
CALLF
[addr5]
CALLT
$addr16
1st Operand
Basic instruction
BR
CALL
BR
BR, BC, BNC
BZ, BNZ
BT, BF
BTCLR
DBNZ
Compound
instruction
(5) Other instructions
ADJBA, ADJBS, BRK, RET, RETI, RETB, SEL, NOP, EI, DI, HALT, STOP
Data Sheet U15131EJ3V0DS
38
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
12. ELECTRICAL SPECIFICATIONS
12.1 Expanded-Specification Products of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
Absolute Maximum Ratings (TA = 25°C)
Parameter
Symbol
Conditions
Ratings
Unit
Supply voltage
VDD
–0.3 to +6.5
V
V
V
AVDD
AVREF
–0.3 to VDD + 0.3Note
–0.3 to VDD + 0.3Note
AVSS
–0.3 to +0.3
–0.3 to VDD + 0.3Note
V
V
Input voltage
VI1
P00 to P03, P10 to P17, P20 to P25, P34 to P36, P40 to P47,
P50 to P57, P64 to P67, P70 to P75, X1, X2, XT1, XT2,
RESET
VI2
P30 to P33
N-ch open-drain Without pull-up resistor
With pull-up resistor
–0.3 to + 6.5
V
–0.3 to VDD + 0.3Note
–0.3 to VDD + 0.3Note
V
V
Output voltage
VO
Analog input voltage
VAN
P10 to P17
Per pin
Analog input pin
AVSS – 0.3 to AVREF0 + 0.3Note
and –0.3 to VDD + 0.3Note
V
Output current,
high
IOH
IOL
–10
–15
–15
mA
mA
mA
Total for P00 to P03, P40 to P47, P50 to P57, P64 to P67, P70 to P75
Total for P20 to P25, P30 to P36
Output current,
low
Per pin for P00 to P03, P20 to P25, P34 to
P36, P40 to P47, P64 to P67, P70 to P75
Per pin for P30 to P33, P50 to P57
20
mA
30
50
mA
mA
Total for P00 to P03, P40 to P47,
P64 to P67, P70 to P75
Total for P20 to P25
Total for P30 to P36
Total for P50 to P57
20
mA
mA
mA
100
100
Operating ambient TA
temperature
–40 to +85
°C
Storage
Tstg
–65 to +150
°C
temperature
Note
6.5 V or below
Caution
Remark
Product quality may suffer if the absolute maximum rating is exceeded even momentarily for any
parameter. That is, the absolute maximum ratings are rated values at which the product is on the
verge of suffering physical damage, and therefore the product must be used under conditions that
ensure that the absolute maximum ratings are not exceeded.
Unless otherwise specified, the characteristic of alternate-function pins are the same as those of port pins.
Data Sheet U15131EJ3V0DS
39
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Capacitance (TA = 25°C, VDD = VSS = 0 V)
Parameter
Input
Symbol
Conditions
MIN.
TYP.
MAX.
15
Unit
pF
CIN
f = 1 MHz
Unmeasured pins returned to 0 V.
capacitance
I/O
CIO
f = 1 MHz
P00 to P03, P20 to P25,
15
pF
capacitance
Unmeasured pins
returned to 0 V.
P34 to P36, P40 to P47,
P50 to P57, P64 to P67,
P70 to P75
P30 to P33
20
pF
Remark Unless otherwise specified, the characteristic of alternate-function pins are the same as those of port pins.
Main System Clock Oscillator Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Recommended
Resonator
Parameter
Oscillation
Conditions
MIN.
1.0
TYP.
MAX.
12.0
Unit
Circuit
Ceramic
4.5 V ≤ VDD ≤ 5.5 V
3.0 V ≤ VDD < 4.5 V
1.8 V ≤ VDD < 3.0 V
After VDD reaches
MHz
resonator
X2
X1
frequency (fX)Note 1
1.0
1.0
8.38
5.0
4
IC
Oscillation
ms
C2
C1
stabilization timeNote 2 oscillation voltage range
MIN.
1.0
12.0
Crystal
Oscillation
4.5 V ≤ VDD ≤ 5.5 V
3.0 V ≤ VDD < 4.5 V
1.8 V ≤ VDD < 3.0 V
4.0 V ≤ VDD ≤ 5.5 V
MHz
IC
X2
X1
resonator
frequency (fX)Note 1
1.0
1.0
8.38
5.0
C2
C1
Oscillation
10
ms
stabilization timeNote 2 1.8 V ≤ VDD < 4.0 V
30
External
clock
X1 input
4.5 V ≤ VDD ≤ 5.5 V
3.0 V ≤ VDD < 4.5 V
1.8 V ≤ VDD < 3.0 V
4.5 V ≤ VDD ≤ 5.5 V
3.0 V ≤ VDD < 4.5 V
1.8 V ≤ VDD < 3.0 V
1.0
1.0
1.0
38
12.0
8.38
5.0
MHz
frequency (fX)Note 1
X2
X1
X1 input
500
500
500
ns
high-/low-level width
(tXH, tXL)
50
85
Notes 1. Indicates only oscillator characteristics. Refer to AC Characteristics for instruction execution time.
2. Time required to stabilize oscillation after reset or STOP mode release.
Cautions 1. When using the main system clock oscillator, wire as follows in the area enclosed by the broken
lines in the above figures to avoid an adverse effect from wiring capacitance.
• Keep the wiring length as short as possible.
• Do not cross the wiring with the other signal lines.
• Do not route the wiring near a signal line through which a high fluctuating current flows.
• Always make the ground point of the oscillator capacitor the same potential as VSS1.
• Do not ground the capacitor to a ground pattern through which a high current flows.
• Do not fetch signals from the oscillator.
2. When the main system clock is stopped and the system is operating on the subsystem clock,
wait until the oscillation stabilization time has been secured by the program before switching
back to the main system clock.
Data Sheet U15131EJ3V0DS
40
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Subsystem Clock Oscillator Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Resonator
Recommended Circuit
Parameter
Oscillation
Conditions
MIN.
32
TYP.
MAX.
35
Unit
kHz
Crystal
32.768
IC
XT2 XT1
R
Note 1
resonator
frequency (fXT)
C4
C3
s
1.2
2
Oscillation
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
Note 2
stabilization time
10
External
clock
XT1 input
38.5
32
12
kHz
XT2
XT1
Note 1
frequency (fXT)
µs
15
XT1 input
high-/low-level width
(tXTH , tXTL)
Notes 1. Indicates only oscillator characteristics. Refer to AC Characteristics for instruction execution time.
2. Time required to stabilize oscillation after VDD reaches oscillation voltage range MIN.
Cautions 1. When using the subsystem clock oscillator, wire as follows in the area enclosed by the broken
lines in the above figures to avoid an adverse effect from wiring capacitance.
• Keep the wiring length as short as possible.
• Do not cross the wiring with the other signal lines.
• Do not route the wiring near a signal line through which a high fluctuating current flows.
• Always make the ground point of the oscillator capacitor the same potential as VSS1.
• Do not ground the capacitor to a ground pattern through which a high current flows.
• Do not fetch signals from the oscillator.
2. The subsystem clock oscillator is designed as a low-amplitude circuit for reducing power
consumption, and is more prone to malfunction due to noise than the main system clock
oscillator. Particular care is therefore required with the wiring method when the subsystem
clock is used.
Remark For the resonator selection and oscillator constant, customers are required to either evaluate the
oscillation themselves or apply to the resonator manufacturer for evaluation.
Data Sheet U15131EJ3V0DS
41
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Recommended Oscillator Constant
Main system clock: Ceramic resonator (TA = –40 to +85°C)
Manufacturer
Part Number
Frequency
(MHz)
Recommended Circuit Constant
Oscillation Voltage Range
C1 (pF)
100
C2 (pF)
100
R1 (kΩ)
MIN. (V)
1.8
MAX. (V)
5.5
Murata Mfg.
Co., Ltd.
CSBFB1M00J58
1.00
2.2
CSBLA1M00J58
CSTCC2M00G56
CSTLS2M00G56
CSTCC3M58G53
CSTLS3M58G53
CSTCR4M00G53
CSTLS4M00G53
CSTCR4M19G53
CSTLS4M19G53
CSTCR4M91G53
CSTLS4M91G53
CSTCR5M00G53
CSTLS5M00G53
CSTCE8M00G52
CSTLS8M00G53
CSTCE8M38G52
CSTLS8M38G53
CSTCE10M0G52
CSTLS10M0G53
CSTCE12M0G52
CSTLA12M0T55
CCR3.58MC3
1.00
2.00
2.00
3.58
3.58
4.00
4.00
4.19
4.19
4.91
4.91
5.00
5.00
8.00
8.00
8.38
8.38
10.00
10.00
12.00
12.00
3.58
4.19
5.00
8.00
8.38
100
100
2.2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
3.0
3.0
3.0
3.0
4.5
4.5
4.5
4.5
1.8
1.8
1.8
2.0
2.0
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
TDK
CCR4.19MC3
CCR5.0MC3
CCR8.0MC5
CCR8.38MC5
Caution The oscillator constant is a reference value based on evaluation in specific environments by the
resonator manufacturer. If the oscillator characteristics need to be optimized in the actual
application, request the resonator manufacturer for evaluation on the implementation circuit.
Note that the oscillation voltage and oscillation frequency merely indicate the characteristics of
the oscillator. Use the internal operation conditions of the µPD780024A Subseries within the
specifications of the DC and AC characteristics.
Data Sheet U15131EJ3V0DS
42
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
DC Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Symbol
Conditions
MIN.
TYP.
MAX.
Unit
Output current,
high
IOH
Per pin
All pins
–1
–15
10
mA
mA
mA
Output current,
low
IOL
Per pin for P00 to P03, P20 to P25, P34 to P36,
P40 to P47, P64 to P67, P70 to P75
Per pin for P30 to P33, P50 to P57
Total for P00 to P03, P40 to P47, P64 to P67, P70 to P75
Total for P20 to P25
15
20
mA
mA
mA
mA
mA
V
10
Total for P30 to P36
70
Total for P50 to P57
70
Input voltage,
high
VIH1
P10 to P17, P21, P24, P35,
P40 to P47, P50 to P57,
P64 to P67, P74, P75
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
0.7VDD
0.8VDD
VDD
VDD
V
VIH2
VIH3
VIH4
VIH5
VIL1
P00 to P03, P20, P22, P23, P25, 2.7 V ≤ VDD ≤ 5.5 V
0.8VDD
0.85VDD
0.7VDD
0.8VDD
VDD – 0.5
VDD – 0.2
0.8VDD
0.9VDD
0
VDD
VDD
5.5
5.5
V
V
V
V
V
V
V
V
V
P34, P36, P70 to P73, RESET
1.8 V ≤ VDD < 2.7 V
P30 to P33
(N-ch open-drain)
X1, X2
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
2.7 V ≤ VDD ≤ 5.5 V
VDD
VDD
VDD
XT1, XT2
VDD
Input voltage,
low
P10 to P17, P21, P24, P35,
P40 to P47, P50 to P57,
P64 to P67, P74, P75
0.3VDD
1.8 V ≤ VDD < 2.7 V
0
0.2VDD
V
VIL2
VIL3
P00 to P03, P20, P22, P23, P25, 2.7 V ≤ VDD ≤ 5.5 V
0
0.2VDD
0.15VDD
0.3VDD
0.2VDD
0.1VDD
0.4
V
V
V
V
V
V
V
V
V
V
V
V
V
V
P34, P36, P70 to P73, RESET
P30 to P33
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
0
0
0
0
VIL4
X1, X2
0
0
0.2
VIL5
XT1, XT2
0
0.2VDD
0.1VDD
VDD
0
Output voltage,
high
VOH1
VOL1
4.0 V ≤ VDD ≤ 5.5 V, IOH = –1 mA
1.8 V ≤ VDD < 4.0 V, IOH = –100 µA
P30 to P33
VDD – 1.0
VDD – 0.5
VDD
Output voltage,
low
4.0 V ≤ VDD ≤ 5.5 V,
2.0
P50 to P57
IOL = 15 mA
0.4
2.0
P00 to P03, P20 to P25, P34 to P36, 4.0 V ≤ VDD ≤ 5.5 V,
P40 to P47, P64 to P67, P70 to P75 IOL = 1.6 mA
IOL = 400 µA
0.4
VOL2
0.5
V
Remark Unless otherwise specified, the characteristics of alternate-function pins are the same as those of port pins.
Data Sheet U15131EJ3V0DS
43
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
DC Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Symbol
Conditions
MIN.
TYP.
MAX.
3
Unit
Input leakage
current, high
ILIH1
VIN = VDD
P00 to P03, P10 to P17, P20 to P25,
µA
P34 to P36, P40 to P47, P50 to P57,
P64 to P67, P70 to P75,
RESET
ILIH2
ILIH3
ILIL1
X1, X2, XT1, XT2
P30 to P33Note
20
3
µA
µA
µA
VIN = 5.5 V
VIN = 0 V
Input leakage
current, low
P00 to P03, P10 to P17, P20 to P25,
P34 to P36, P40 to P47, P50 to P57,
P64 to P67, P70 to P75,
RESET
–3
ILIL2
ILIL3
ILOH
X1, X2, XT1, XT2
P30 to P33Note
–20
–3
3
µA
µA
µA
Output leakage
current, high
VOUT = VDD
VOUT = 0 V
Output leakage
current, low
ILOL
R1
–3
90
90
µA
kΩ
kΩ
Mask option
VIN = 0 V,
15
15
30
30
pull-up resistance
P30, P31, P32, P33
Software pull-
up resistance
R2
VIN = 0 V,
P00 to P03, P20 to P25, P34 to P36, P40 to P47,
P50 to P57, P64 to P67, P70 to P75
Note When pull-up resistors are not connected to P30 to P33 (specified by the mask option).
Remark Unless otherwise specified, the characteristics of alternate-function pins are the same as those of port pins.
Data Sheet U15131EJ3V0DS
44
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
DC Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Symbol
Conditions
MIN.
TYP.
8.5
MAX.
17
Unit
mA
Note 2
Power supply
currentNote 1
IDD1
12.0 MHz
crystal oscillation
operating mode
VDD = 5.0 V ±10%Note 3
When A/D converter is
stopped
When A/D converter is
operatingNote 7
9.5
5.5
6.5
3
19
11
13
6
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
8.38 MHz
crystal oscillation
VDD = 5.0 V ±10%Note 3
When A/D converter is
stopped
operating mode
When A/D converter is
operatingNote 7
V
DD = 3.0 V + 10%Notes 3, 6 When A/D converter is
stopped
When A/D converter is
operatingNote 7
4
8
5.00 MHz
crystal oscillation
VDD = 3.0 V ±10%Note 3
VDD = 2.0 V ±10%Note 4
VDD = 5.0 V ±10%Note 3
VDD = 5.0 V ±10%Note 3
When A/D converter is
stopped
2
4
operating mode
When A/D converter is
operatingNote 7
3
6
When A/D converter is
stopped
0.4
1.4
2
1.5
4.2
4
When A/D converter is
operatingNote 7
IDD2
12.0 MHz
crystal oscillation
When peripheral functions
are stopped
HALT mode
When peripheral functions
are operating
10
2.2
4.7
1
8.38 MHz
crystal oscillation
When peripheral functions
are stopped
1.1
0.5
HALT mode
When peripheral functions
are operating
V
DD = 3.0 V + 10%Notes 3, 6 When peripheral functions
are stopped
When peripheral functions
are operating
4
5.00 MHz
crystal oscillation
VDD = 3.0 V ±10%Note 3
When peripheral functions
are stopped
0.35
0.15
0.7
1.7
0.4
1.1
HALT mode
When peripheral functions
are operating
VDD = 2.0 V ±10%Note 4
When peripheral functions
are stopped
When peripheral functions
are operating
IDD3
IDD4
32.768 kHz crystal oscillation
operating modeNote 5
VDD = 5.0 V ±10%
VDD = 3.0 V ±10%
VDD = 2.0 V ±10%
VDD = 5.0 V ±10%
VDD = 3.0 V ±10%
VDD = 2.0 V ±10%
VDD = 5.0 V ±10%
VDD = 3.0 V ±10%
40
20
10
30
6
80
40
20
60
18
10
30
10
µA
µA
µA
µA
µA
µA
µA
µA
32.768 kHz crystal oscillation
HALT modeNote 5
2
IDD5
XT1 = VDD STOP mode
0.1
0.05
When feedback resistor is not used
VDD = 2.0 V ±10%
0.05
10
µA
Data Sheet U15131EJ3V0DS
45
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Notes 1. Total current through the internal power supply (VDD0, VDD1) (except the current through pull-up resistors
of ports).
2. IDD1 includes the peripheral operation current.
3. When the processor clock control register (PCC) is set to 00H.
4. When PCC is set to 02H.
5. When main system clock operation is stopped.
6. The values show the specifications when VDD = 3.0 to 3.3 V. The value in the TYP. column show the
specifications when VDD = 3.0 V.
7. Includes the current through the AVDD pin.
Data Sheet U15131EJ3V0DS
46
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
AC Characteristics
(1) Basic Operation (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Cycle time
Symbol
Conditions
4.5 V ≤ VDD ≤ 5.5 V
MIN.
TYP.
MAX.
Unit
TCY
Operating with
0.166
0.238
0.4
16
16
µs
µs
(Min. instruction
execution time)
main system clock 3.0 V ≤ VDD ≤ 4.5 V
2.7 V ≤ VDD ≤ 3.0 V
16
µs
1.8 V ≤ VDD ≤ 2.7 V
1.6
16
µs
Note 1
Operating with subsystem clock
3.0 V ≤ VDD ≤ 5.5 V
103.9
122
125
µs
Note 2
TI00, TI01 input
high-/low-level
tTIH0, tTIL0
2/fsam+0.1
2/fsam+0.2
2/fsam+0.5
µs
Note 2
Note 2
2.7 V ≤ VDD < 3.0 V
µs
width
1.8 V ≤ VDD < 2.7 V
µs
TI50, TI51 input
frequency
fTI5
2.7 V ≤ VDD ≤ 5.5 V
0
0
4
MHz
kHz
ns
1.8 V ≤ VDD < 2.7 V
275
TI50, TI51 input
tTIH5, tTIL5
2.7 V ≤ VDD ≤ 5.5 V
100
1.8
high-/low-level
width
1.8 V ≤ VDD < 2.7 V
ns
Interrupt request tINTH, tINTL INTP0 to INTP3,
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
1
2
µs
µs
input high-/low-
P40 to P47
level width
RESET
tRSL
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
10
20
µs
µs
low-level width
Notes 1. Value when the external clock is used. When a crystal resonator is used, it is 114 µs (MIN.).
2. Selection of fsam = fX, fX/4, fX/64 is possible using bits 0 and 1 (PRM00, PRM01) of prescaler mode
register 0 (PRM0). However, if the TI00 valid edge is selected as the count clock, the value becomes
fsam = fX/8.
Data Sheet U15131EJ3V0DS
47
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
TCY vs. VDD (main system clock operation)
16.0
10.0
µ
5.0
Operation
guaranteed
range
2.0
1.6
1.0
0.4
0.238
0.166
0.1
5.5
0
1.0
2.0
3.0
4.0
4.5
Supply voltage VDD [V]
5.0
6.0
1.8
2.7
Data Sheet U15131EJ3V0DS
48
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) Read/Write Operation (TA = –40 to +85°C, VDD = 4.0 to 5.5 V)
(1/3)
Parameter
ASTB high-level width
Address setup time
Symbol
tASTH
tADS
Conditions
MIN.
0.3tCY
20
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Address hold time
tADH
6
Data input time from address
tADD1
tADD2
tRDAD
tRDD1
tRDD2
tRDH
(2 + 2n)tCY – 54
(3 + 2n)tCY – 60
100
Address output time from RD↓
Data input time from RD↓
0
(2 + 2n)tCY – 87
(3 + 2n)tCY – 93
Read data hold time
RD low-level width
0
tRDL1
(1.5 + 2n)tCY – 33
(2.5 + 2n)tCY – 33
tRDL2
Input time from RD↓ to WAIT↓
tRDWT1
tRDWT2
tWRWT
tWTL
tCY – 43
tCY – 43
Input time from WR↓ to WAIT↓
WAIT low-level width
tCY – 25
(0.5 + n)tCY + 10
(2 + 2n)tCY
Write data setup time
tWDS
60
Write data hold time
tWDH
6
(1.5 + 2n)tCY – 15
6
WR low-level width
tWRL1
tASTRD
tASTWR
tRDAST
Delay time from ASTB↓ to RD↓
Delay time from ASTB↓ to WR↓
2tCY – 15
0.8tCY – 15
Delay time from
1.2tCY
RD↑ to ASTB↑ at external fetch
Address hold time from
tRDADH
0.8tCY – 15
1.2tCY + 30
ns
RD↑ at external fetch
Write data output time from RD↑
Write data output time from WR↓
Address hold time from WR↑
Delay time from WAIT↑ to RD↑
Delay time from WAIT↑ to WR↑
tRDWD
tWRWD
tWRADH
tWTRD
40
10
ns
ns
ns
ns
ns
60
0.8tCY – 15
0.8tCY
0.8tCY
1.2tCY + 30
2.5tCY + 25
2.5tCY + 25
tWTWR
Caution
TCY can only be used when the MIN. value is 0.238 µs.
Remarks 1. tCY = TCY/4
2. n indicates the number of waits.
3. CL = 100 pF (CL indicates the load capacitance of the AD0 to AD7, A8 to A15, RD, WR, WAIT, and
ASTB pins.)
Data Sheet U15131EJ3V0DS
49
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) Read/Write Operation (TA = –40 to +85°C, VDD = 2.7 to 4.0 V)
(2/3)
Parameter
ASTB high-level width
Address setup time
Symbol
tASTH
tADS
Conditions
MIN.
0.3tCY
30
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Address hold time
tADH
10
Input time from address to data
tADD1
tADD2
tRDAD
tRDD1
tRDD2
tRDH
(2 + 2n)tCY – 108
(3 + 2n)tCY – 120
200
Output time from RD↓ to address
Input time from RD↓ to data
0
(2 + 2n)tCY – 148
(3 + 2n)tCY – 162
Read data hold time
RD low-level width
0
tRDL1
(1.5 + 2n)tCY – 40
(2.5 + 2n)tCY – 40
tRDL2
Input time from RD↓ to WAIT↓
tRDWT1
tRDWT2
tWRWT
tWTL
tCY – 75
tCY – 60
Input time from WR↓ to WAIT↓
WAIT low-level width
tCY – 50
(0.5 + 2n)tCY + 10
(2 + 2n)tCY
Write data setup time
tWDS
60
10
Write data hold time
tWDH
WR low-level width
tWRL1
tASTRD
tASTWR
tRDAST
(1.5 + 2n)tCY – 30
10
Delay time from ASTB↓ to RD↓
Delay time from ASTB↓ to WR↓
Delay time from
2tCY – 30
0.8tCY – 30
1.2tCY
RD↑ to ASTB↑ at external fetch
Hold time from
tRDADH
0.8tCY – 30
1.2tCY + 60
ns
RD↑ to address at external fetch
Write data output time from RD↑
Write data output time from WR↓
Hold time from WR↑ to address
Delay time from WAIT↑ to RD↑
Delay time from WAIT↑ to WR↑
tRDWD
tWRWD
tWRADH
tWTRD
40
20
ns
ns
ns
ns
ns
120
0.8tCY – 30
0.5tCY
0.5tCY
1.2tCY + 60
2.5tCY + 50
2.5tCY + 50
tWTWR
Caution
TCY can only be used when the MIN. value is 0.4 µs.
Remarks 1. tCY = TCY/4
2. n indicates the number of waits.
3. CL = 100 pF (CL indicates the load capacitance of the AD0 to AD7, AD8 to AD15, RD, WR, WAIT,
and ASTB pins.)
Data Sheet U15131EJ3V0DS
50
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) Read/Write Operation (TA = –40 to +85°C, VDD = 1.8 to 2.7 V)
(3/3)
Parameter
ASTB high-level width
Address setup time
Symbol
tASTH
tADS
Conditions
MIN.
0.3tCY
120
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Address hold time
tADH
20
Input time from address to data
tADD1
tADD2
tRDAD
tRDD1
tRDD2
tRDH
(2 + 2n)tCY – 233
(3 + 2n)tCY – 240
400
Output time from RD↓ to address
Input time from RD↓ to data
0
(2 + 2n)tCY – 325
(3 + 2n)tCY – 332
Read data hold time
RD low-level width
0
tRDL1
(1.5 + 2n)tCY – 92
(2.5 + 2n)tCY – 92
tRDL2
Input time from RD↓ to WAIT↓
tRDWT1
tRDWT2
tWRWT
tWTL
tCY – 350
tCY – 132
tCY – 100
(2 + 2n)tCY
Input time from WR↓ to WAIT↓
WAIT low-level width
(0.5 + 2n)tCY + 10
Write data setup time
tWDS
60
20
Write data hold time
tWDH
WR low-level width
tWRL1
tASTRD
tASTWR
tRDAST
(1.5 + 2n)tCY – 60
20
Delay time from ASTB↓ to RD↓
Delay time from ASTB↓ to WR↓
2tCY – 60
0.8tCY – 60
Delay time from
1.2tCY
RD↑ to ASTB↑ at external fetch
Hold time from
tRDADH
0.8tCY – 60
1.2tCY + 120
ns
RD↑ to address at external fetch
Write data output time from RD↑
Write data output time from WR↓
Hold time from WR↑ to address
Delay time from WAIT↑ to RD↑
Delay time from WAIT↑ to WR↑
tRDWD
tWRWD
tWRADH
tWTRD
40
40
ns
ns
ns
ns
ns
240
0.8tCY – 60
0.5tCY
0.5tCY
1.2tCY + 120
2.5tCY + 100
2.5tCY + 100
tWTWR
Caution
TCY can only be used when the MIN. value is 1.6 µs.
Remarks 1. tCY = TCY/4
2. n indicates the number of waits.
3. CL = 100 pF (CL indicates the load capacitance of the AD0 to AD7, AD8 to AD15, RD, WR, WAIT,
and ASTB pins.)
Data Sheet U15131EJ3V0DS
51
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(3) Serial Interface (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
(a) 3-wire serial I/O mode (SCK3n... Internal clock output)
Parameter
SCK3n
Symbol
Conditions
4.5 V ≤ VDD ≤ 5.5 V
MIN.
666
TYP.
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
tKCY1
cycle time
3.0 V ≤ VDD < 4.5 V
2.7 V ≤ VDD < 3.0 V
1.8 V ≤ VDD < 2.7 V
3.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 3.0 V
3.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 3.0 V
1.8 V ≤ VDD < 2.7 V
4.5 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.5 V
954
1600
3200
SCK3n high-/
low-level width
SI3n setup time
(to SCK3n↑)
tKH1, tKL1
tSIK1
tKCY1/2 – 50
tKCY1/2 – 100
100
150
300
SI3n hold time
(from SCK3n↑)
Delay time from
SCK3n↓ to SO3n
output
tKSI1
300
400
Note
tKSO1
C = 100 pF
4.5 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.5 V
200
300
Note C is the load capacitance of the SCK3n and SO3n output lines.
(b) 3-wire serial I/O mode (SCK3n... External clock input)
Parameter
SCK3n
Symbol
Conditions
4.5 V ≤ VDD ≤ 5.5 V
MIN.
666
TYP.
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
tKCY2
cycle time
3.0 V ≤ VDD < 4.5 V
2.7 V ≤ VDD < 3.0 V
1.8 V ≤ VDD < 2.7 V
4.5 V ≤ VDD ≤ 5.5 V
3.0 V ≤ VDD < 4.5 V
2.7 V ≤ VDD < 3.0 V
1.8 V ≤ VDD < 2.7 V
800
1600
3200
333
SCK3n high-/
low-level width
tKH2, tKL2
400
800
1600
100
SI3n setup time
(to SCK3n↑)
tSIK2
tKSI2
SI3n hold time
(from SCK3n↑)
Delay time from
SCK3n↓ to SO3n
output
4.5 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.5 V
300
400
ns
ns
ns
ns
Note
tKSO2
C = 100 pF
4.5 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.5 V
200
300
Note C is the load capacitance of the SO3n output line.
Remark n = 0, 1
Data Sheet U15131EJ3V0DS
52
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(c) UART mode (dedicated baud-rate generator output)
Parameter
Symbol
Conditions
4.5 V ≤ VDD ≤ 5.5 V
3.0 V ≤ VDD < 4.5 V
MIN.
TYP.
MAX.
187500
131031
Unit
bps
bps
Transfer rate
2.7 V ≤ VDD < 3.0 V
1.8 V ≤ VDD < 2.7 V
78125
39063
bps
bps
(d) UART mode (external clock input)
Parameter
ASCK0 cycle time
Symbol
Conditions
MIN.
800
TYP.
MAX.
Unit
ns
tKCY3
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1600
ns
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
3200
400
ns
ns
ASCK0 high-/low-level width
Transfer rate
tKH3,
tKL3
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
800
ns
ns
1600
39063
19531
9766
bps
bps
bps
(e) UART mode (infrared data transfer mode)
Parameter
Symbol
Conditions
4.0 V ≤ VDD ≤ 5.5 V
MIN.
MAX.
Unit
bps
Transfer rate
131031
Allowable bit rate error
Output pulse width
Input pulse width
4.0 V ≤ VDD ≤ 5.5 V
4.0 V ≤ VDD ≤ 5.5 V
4.0 V ≤ VDD ≤ 5.5 V
±0.87
%
µs
µs
1.2
0.24/fbrNote
4/fX
Note fbr: Specified baud rate
Data Sheet U15131EJ3V0DS
53
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
A/D Converter Characteristics (TA = –40 to +85°C, VDD = AVDD = 1.8 to 5.5 V, AVSS = VSS = 0 V)
Parameter
Symbol
Conditions
MIN.
8
TYP.
8
MAX.
8
Unit
bit
Resolution
Note
Overall error
4.0 V ≤ AVREF ≤ 5.5 V
2.7 V ≤ AVREF < 4.0 V
1.8 V ≤ AVREF < 2.7 V
4.5 V ≤ AVDD ≤ 5.5 V
4.0 V ≤ AVDD < 4.5 V
2.7 V ≤ AVDD < 4.0 V
1.8 V ≤ AVDD < 2.7 V
±0.4
±0.6
±1.2
96
%FSR
%FSR
%FSR
µs
Conversion time
tCONV
12
14
17
28
0
96
µs
96
µs
96
µs
Analog input voltage
VIAN
AVREF
AVDD
V
Reference voltage
AVREF
RREF
1.8
20
V
Resistance between AVREF and AVSS
When A/D converter not operating
40
kΩ
Note Excludes quantization error (±1/2 LSB). This value is indicated as a ratio (%FSR) to the full-scale value.
Remark The impedance of the analog input pins is shown below.
[Equivalent circuit]
R1
R2
ANIn
(n = 0 to 3)
C1
C2
C3
[Parameter value]
(TYP.)
AVDD
R1
R2
C1
C2
C3
2.7 V
4.5 V
12 kΩ
4 kΩ
8.0 kΩ
2.7 kΩ
3.0 pF
3.0 pF
3.0 pF
1.4 pF
2.0 pF
2.0 pF
Data Memory STOP Mode Low Supply Voltage Data Retention Characteristics (T
A
= –40 to +85
°C)
Parameter
Symbol
Conditions
MIN.
1.6
TYP.
MAX.
Unit
V
Data retention power
supply voltage
VDDDR
5.5
30
Data retention power
supply current
IDDDR
Subsystem clock stop (XT1 = VDD) and
feed-back resistor disconnected
0.1
µA
Release signal set time
Oscillation stabilization
time
tSREL
tWAIT
0
µs
s
Release by RESET
217/fx
Release by interrupt request
Note
s
Note Selection of 212/fX and 214/fX to 217/fX is possible using bits 0 to 2 (OSTS0 to OSTS2) of the oscillation
stabilization time select register (OSTS).
Data Sheet U15131EJ3V0DS
54
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
12.2 µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A), and Conventional Products of
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A)
Absolute Maximum Ratings (TA = 25°C)
Parameter
Symbol
Conditions
Ratings
Unit
Supply voltage
VDD
–0.3 to +6.5
V
V
V
AVDD
AVREF
–0.3 to VDD + 0.3Note
–0.3 to VDD + 0.3Note
AVSS
–0.3 to +0.3
–0.3 to VDD + 0.3Note
V
V
Input voltage
VI1
P00 to P03, P10 to P17, P20 to P25, P34 to P36, P40 to P47,
P50 to P57, P64 to P67, P70 to P75, X1, X2, XT1, XT2,
RESET
VI2
P30 to P33
N-ch open-drain Without pull-up resistor
With pull-up resistor
–0.3 to + 6.5
V
–0.3 to VDD + 0.3Note
–0.3 to VDD + 0.3Note
V
V
Output voltage
VO
Analog input voltage
VAN
P10 to P17
Per pin
Analog input pin
AVSS – 0.3 to AVREF0 + 0.3Note
and –0.3 to VDD + 0.3Note
V
Output current,
high
IOH
IOL
–10
–15
–15
mA
mA
mA
Total for P00 to P03, P40 to P47, P50 to P57, P64 to P67, P70 to P75
Total for P20 to P25, P30 to P36
Output current,
low
Per pin for P00 to P03, P20 to P25, P34 to
P36, P40 to P47, P64 to P67, P70 to P75
Per pin for P30 to P33, P50 to P57
20
mA
30
50
mA
mA
Total for P00 to P03, P40 to P47,
P64 to P67, P70 to P75
Total for P20 to P25
Total for P30 to P36
Total for P50 to P57
20
mA
mA
mA
100
100
Operating ambient TA
temperature
–40 to +85
°C
Storage
Tstg
–65 to +150
°C
temperature
Note
6.5 V or below
Caution
Remark
Product quality may suffer if the absolute maximum rating is exceeded even momentarily for any
parameter. That is, the absolute maximum ratings are rated values at which the product is on the
verge of suffering physical damage, and therefore the product must be used under conditions that
ensure that the absolute maximum ratings are not exceeded.
Unless otherwise specified, the characteristic of alternate-function pins are the same as those of port pins.
Data Sheet U15131EJ3V0DS
55
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Capacitance (TA = 25°C, VDD = VSS = 0 V)
Parameter
Input
Symbol
CIN
Conditions
MIN.
TYP.
MAX.
15
Unit
pF
f = 1 MHz
Unmeasured pins returned to 0 V.
capacitance
I/O
CIO
f = 1 MHz
P00 to P03, P20 to P25,
15
pF
capacitance
Unmeasured pins
returned to 0 V.
P34 to P36, P40 to P47,
P50 to P57, P64 to P67,
P70 to P75
P30 to P33
20
pF
Remark Unless otherwise specified, the characteristic of alternate-function pins are the same as those of port pins.
Main System Clock Oscillator Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Recommended
Resonator
Parameter
Oscillation
Conditions
MIN.
TYP.
MAX.
8.38
Unit
Circuit
4.0 V ≤ VDD ≤ 5.5 V
1.0
1.0
Ceramic
MHz
resonator
frequency (fX)Note 1
1.8 V ≤ VDD < 4.0 V
5.0
4
IC
X2
X1
Oscillation
After VDD reaches
ms
C2
C1
stabilization timeNote 2 oscillation voltage range
MIN.
Crystal
Oscillation
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
4.0 V ≤ VDD ≤ 5.5 V
1.0
1.0
8.38
5.0
10
MHz
ms
IC
X2
X1
resonator
frequency (fX)Note 1
C2
C1
Oscillation
stabilization timeNote 2 1.8 V ≤ VDD < 4.0 V
30
1.0
8.38
External
clock
X1 input
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
MHz
ns
X2
X1
frequency (fX)Note 1
1.0
50
85
5.0
500
500
X1 input
high-/low-level width
(tXH, tXL)
Notes 1. Indicates only oscillator characteristics. Refer to AC Characteristics for instruction execution time.
2. Time required to stabilize oscillation after reset or STOP mode release.
Cautions 1. When using the main system clock oscillator, wire as follows in the area enclosed by the broken
lines in the above figures to avoid an adverse effect from wiring capacitance.
• Keep the wiring length as short as possible.
• Do not cross the wiring with the other signal lines.
• Do not route the wiring near a signal line through which a high fluctuating current flows.
• Always make the ground point of the oscillator capacitor the same potential as VSS1.
• Do not ground the capacitor to a ground pattern through which a high current flows.
• Do not fetch signals from the oscillator.
2. When the main system clock is stopped and the system is operating on the subsystem clock,
wait until the oscillation stabilization time has been secured by the program before switching
back to the main system clock.
Data Sheet U15131EJ3V0DS
56
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Subsystem Clock Oscillator Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Resonator
Recommended Circuit
Parameter
Oscillation
Conditions
MIN.
32
TYP.
MAX.
35
Unit
kHz
Crystal
32.768
IC
XT2 XT1
R
Note 1
resonator
frequency (fXT)
C4
C3
s
1.2
2
Oscillation
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
Note 2
stabilization time
10
External
clock
XT1 input
38.5
32
12
kHz
XT2
XT1
Note 1
frequency (fXT)
µs
15
XT1 input
high-/low-level width
(tXTH , tXTL)
Notes 1. Indicates only oscillator characteristics. Refer to AC Characteristics for instruction execution time.
2. Time required to stabilize oscillation after VDD reaches oscillation voltage range MIN.
Cautions 1. When using the subsystem clock oscillator, wire as follows in the area enclosed by the broken
lines in the above figures to avoid an adverse effect from wiring capacitance.
• Keep the wiring length as short as possible.
• Do not cross the wiring with the other signal lines.
• Do not route the wiring near a signal line through which a high fluctuating current flows.
• Always make the ground point of the oscillator capacitor the same potential as VSS1.
• Do not ground the capacitor to a ground pattern through which a high current flows.
• Do not fetch signals from the oscillator.
2. The subsystem clock oscillator is designed as a low-amplitude circuit for reducing power
consumption, and is more prone to malfunction due to noise than the main system clock
oscillator. Particular care is therefore required with the wiring method when the subsystem
clock is used.
Remark For the resonator selection and oscillator constant, customers are required to either evaluate the
oscillation themselves or apply to the resonator manufacturer for evaluation.
Data Sheet U15131EJ3V0DS
57
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Recommended Oscillator Constant
Main system clock: Ceramic resonator (TA = –40 to +85°C)
Manufacturer
Part Number
Frequency
(MHz)
Recommended Circuit Constant
Oscillation Voltage Range
C1 (pF)
100
C2 (pF)
100
R1 (kΩ)
MIN. (V)
1.8
MAX. (V)
5.5
Murata Mfg.
Co., Ltd.
CSBFB1M00J58
1.00
2.2
CSBLA1M00J58
CSTCC2M00G56
CSTLS2M00G56
CSTCC3M58G53
CSTLS3M58G53
CSTCR4M00G53
CSTLS4M00G53
CSTCR4M19G53
CSTLS4M19G53
CSTCR4M91G53
CSTLS4M91G53
CSTCR5M00G53
CSTLS5M00G53
CSTCE8M00G52
CSTLS8M00G53
CSTCE8M38G52
CSTLS8M38G53
CSTCE10M0G52
CSTLS10M0G53
CCR3.58MC3
1.00
2.00
2.00
3.58
3.58
4.00
4.00
4.19
4.19
4.91
4.91
5.00
5.00
8.00
8.00
8.38
8.38
10.00
10.00
3.58
4.19
5.00
8.00
8.38
100
100
2.2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
1.8
3.0
3.0
3.0
3.0
4.5
4.5
1.8
1.8
1.8
2.0
2.0
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
5.5
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
On-chip
TDK
CCR4.19MC3
CCR5.0MC3
CCR8.0MC5
CCR8.38MC5
Caution The oscillator constant is a reference value based on evaluation in specific environments by the
resonator manufacturer. If the oscillator characteristics need to be optimized in the actual
application, request the resonator manufacturer for evaluation on the implementation circuit.
Note that the oscillation voltage and oscillation frequency merely indicate the characteristics of
the oscillator. Use the internal operation conditions of the µPD780024A, 780024AY Subseries
within the specifications of the DC and AC characteristics.
Data Sheet U15131EJ3V0DS
58
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
DC Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Symbol
Conditions
MIN.
TYP.
MAX.
Unit
Output current,
high
IOH
Per pin
All pins
–1
–15
10
mA
mA
mA
Output current,
low
IOL
Per pin for P00 to P03, P20 to P25, P34 to P36,
P40 to P47, P64 to P67, P70 to P75
Per pin for P30 to P33, P50 to P57
Total for P00 to P03, P40 to P47, P64 to P67, P70 to P75
Total for P20 to P25
15
20
mA
mA
mA
mA
mA
V
10
Total for P30 to P36
70
Total for P50 to P57
70
Input voltage,
high
VIH1
P10 to P17, P21, P24, P35,
P40 to P47, P50 to P57,
P64 to P67, P74, P75
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
0.7VDD
0.8VDD
VDD
VDD
V
VIH2
VIH3
VIH4
VIH5
VIL1
P00 to P03, P20, P22, P23, P25, 2.7 V ≤ VDD ≤ 5.5 V
0.8VDD
0.85VDD
0.7VDD
0.8VDD
VDD – 0.5
VDD – 0.2
0.8VDD
0.9VDD
0
VDD
VDD
5.5
5.5
V
V
V
V
V
V
V
V
V
P34, P36, P70 to P73, RESET
1.8 V ≤ VDD < 2.7 V
P30 to P33
(N-ch open-drain)
X1, X2
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
2.7 V ≤ VDD ≤ 5.5 V
VDD
VDD
VDD
XT1, XT2
VDD
Input voltage,
low
P10 to P17, P21, P24, P35,
P40 to P47, P50 to P57,
P64 to P67, P74, P75
0.3VDD
1.8 V ≤ VDD < 2.7 V
0
0.2VDD
V
VIL2
VIL3
P00 to P03, P20, P22, P23, P25, 2.7 V ≤ VDD ≤ 5.5 V
0
0.2VDD
0.15VDD
0.3VDD
0.2VDD
0.1VDD
0.4
V
V
V
V
V
V
V
V
V
V
V
V
V
V
P34, P36, P70 to P73, RESET
P30 to P33
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
0
0
0
0
VIL4
X1, X2
0
0
0.2
VIL5
XT1, XT2
0
0.2VDD
0.1VDD
VDD
0
Output voltage,
high
VOH1
VOL1
4.0 V ≤ VDD ≤ 5.5 V, IOH = –1 mA
1.8 V ≤ VDD < 4.0 V, IOH = –100 µA
P30 to P33
VDD – 1.0
VDD – 0.5
VDD
Output voltage,
low
4.0 V ≤ VDD ≤ 5.5 V,
2.0
P50 to P57
IOL = 15 mA
0.4
2.0
P00 to P03, P20 to P25, P34 to P36, 4.0 V ≤ VDD ≤ 5.5 V,
P40 to P47, P64 to P67, P70 to P75 IOL = 1.6 mA
IOL = 400 µA
0.4
VOL2
0.5
V
Remark Unless otherwise specified, the characteristics of alternate-function pins are the same as those of port pins.
Data Sheet U15131EJ3V0DS
59
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
DC Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Symbol
Conditions
MIN.
TYP.
MAX.
3
Unit
Input leakage
current, high
ILIH1
VIN = VDD
P00 to P03, P10 to P17, P20 to P25,
µA
P34 to P36, P40 to P47, P50 to P57,
P64 to P67, P70 to P75,
RESET
ILIH2
ILIH3
ILIL1
X1, X2, XT1, XT2
P30 to P33Note 1
20
3
µA
µA
µA
VIN = 5.5 V
VIN = 0 V
Input leakage
current, low
P00 to P03, P10 to P17, P20 to P25,
P34 to P36, P40 to P47, P50 to P57,
P64 to P67, P70 to P75,
RESET
–3
ILIL2
ILIL3
ILOH
X1, X2, XT1, XT2
P30 to P33Note 1
–20
–3
3
µA
µA
µA
Output leakage
current, high
VOUT = VDD
VOUT = 0 V
VIN = 0 V,
Output leakage
current, low
ILOL
R1
–3
90
90
µA
kΩ
kΩ
Mask option
15
15
30
30
pull-up resistance
P30, P31, P32Note 2, P33Note 2
Software pull-
up resistance
R2
VIN = 0 V,
P00 to P03, P20 to P25, P34 to P36, P40 to P47,
P50 to P57, P64 to P67, P70 to P75
Notes 1. µPD780021A(A), 780022A(A), 780023A(A), 780024A(A):
When pull-up resistors are not connected to P30 to P33 (specified by the mask option).
µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A):
When pull-up resistors are not connected to P30 and P31 (specified by the mask option).
2. Only for the µPD780021A(A), 780022A(A), 780023A(A), and 780024A(A).
Remark Unless otherwise specified, the characteristics of alternate-function pins are the same as those of port pins.
Data Sheet U15131EJ3V0DS
60
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
DC Characteristics (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Power supply
currentNote 1
Symbol
Conditions
VDD = 5.0 V ±10%Note 3 When A/D converter is
MIN.
TYP.
5.5
MAX.
11
Unit
mA
Note 2
IDD1
8.38 MHz
stopped
crystal oscillation
operating mode
When A/D converter is
operatingNote 6
6.5
2
13
4
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
mA
5.00 MHz
VDD = 3.0 V ±10%Note 3 When A/D converter is
stopped
crystal oscillation
operating mode
When A/D converter is
operatingNote 6
3
6
VDD = 2.0 V ±10%Note 4 When A/D converter is
0.4
1.4
1.1
1.5
4.2
2.2
4.7
0.7
1.7
0.4
1.1
stopped
When A/D converter is
operatingNote 6
IDD2
8.38 MHz
VDD = 5.0 V ±10%Note 3 When peripheral functions
are stopped
crystal oscillation
HALT mode
When peripheral functions
are operating
5.00 MHz
VDD = 3.0 V ±10%Note 3 When peripheral functions
0.35
0.15
are stopped
crystal oscillation
HALT mode
When peripheral functions
are operating
VDD = 2.0 V ±10%Note 4 When peripheral functions
are stopped
When peripheral functions
are operating
IDD3
IDD4
IDD5
32.768 kHz crystal oscillation
operating modeNote 5
VDD = 5.0 V ±10%
VDD = 3.0 V ±10%
VDD = 2.0 V ±10%
VDD = 5.0 V ±10%
VDD = 3.0 V ±10%
VDD = 2.0 V ±10%
VDD = 5.0 V ±10%
VDD = 3.0 V ±10%
VDD = 2.0 V ±10%
40
20
80
40
20
60
18
10
30
10
10
µA
µA
µA
µA
µA
µA
µA
µA
µA
10
32.768 kHz crystal oscillation
HALT modeNote 5
30
6
2
XT1 = VDD STOP mode
0.1
0.05
0.05
When feedback resistor is not used
Notes 1. Total current through the internal power supply (VDD0, VDD1) (except the current through pull-up resistors
of ports).
2. IDD1 includes the peripheral operation current.
3. When the processor clock control register (PCC) is set to 00H.
4. When PCC is set to 02H.
5. When main system clock operation is stopped.
6. Includes the current through the AVDD pin.
Data Sheet U15131EJ3V0DS
61
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
AC Characteristics
(1) Basic Operation (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
Parameter
Symbol
Conditions
MIN.
0.238
0.4
TYP.
122
MAX.
16
Unit
µs
Cycle time
TCY
Operating with
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
(Min. instruction
execution time)
main system clock
16
µs
1.6
16
µs
Note 1
Operating with subsystem clock
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
2.7 V ≤ VDD ≤ 5.5 V
103.9
125
µs
Note 2
TI00, TI01 input
high-/low-level
tTIH0, tTIL0
2/fsam+0.1
µs
Note 2
Note 2
2/fsam+0.2
µs
width
2/fsam+0.5
µs
TI50, TI51 input
frequency
fTI5
0
0
4
MHz
kHz
ns
275
TI50, TI51 input
high-/low-level
width
tTIH5, tTIL5
100
1.8 V ≤ VDD < 2.7 V
1.8
1
ns
µs
µs
Interrupt request tINTH, tINTL INTP0 to INTP3,
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
input high-/low-
P40 to P47
level width
2
RESET
tRSL
2.7 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 2.7 V
10
20
µs
µs
low-level width
Notes 1. Value when the external clock is used. When a crystal resonator is used, it is 114 µs (MIN.).
2. Selection of fsam = fX, fX/4, fX/64 is possible using bits 0 and 1 (PRM00, PRM01) of prescaler mode register
0 (PRM0). However, if the TI00 valid edge is selected as the count clock, the value becomes fsam = fX/8.
Data Sheet U15131EJ3V0DS
62
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
TCY vs. VDD (main system clock operation)
16.0
10.0
µ
5.0
Operation
guaranteed
range
2.0
1.6
1.0
0.4
0.238
0.1
5.5
0
1.0
2.0
3.0
4.0
5.0
6.0
1.8
2.7
Supply voltage VDD [V]
Data Sheet U15131EJ3V0DS
63
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) Read/Write Operation (TA = –40 to +85°C, VDD = 4.0 to 5.5 V)
(1/3)
Parameter
ASTB high-level width
Address setup time
Symbol
tASTH
tADS
Conditions
MIN.
0.3tCY
20
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Address hold time
tADH
6
Data input time from address
tADD1
tADD2
tRDAD
tRDD1
tRDD2
tRDH
(2 + 2n)tCY – 54
(3 + 2n)tCY – 60
100
Address output time from RD↓
Data input time from RD↓
0
(2 + 2n)tCY – 87
(3 + 2n)tCY – 93
Read data hold time
RD low-level width
0
tRDL1
(1.5 + 2n)tCY – 33
(2.5 + 2n)tCY – 33
tRDL2
Input time from RD↓ to WAIT↓
tRDWT1
tRDWT2
tWRWT
tWTL
tCY – 43
tCY – 43
Input time from WR↓ to WAIT↓
WAIT low-level width
tCY – 25
(0.5 + n)tCY + 10
(2 + 2n)tCY
Write data setup time
tWDS
60
Write data hold time
tWDH
6
(1.5 + 2n)tCY – 15
6
WR low-level width
tWRL1
tASTRD
tASTWR
tRDAST
Delay time from ASTB↓ to RD↓
Delay time from ASTB↓ to WR↓
2tCY – 15
0.8tCY – 15
Delay time from
1.2tCY
RD↑ to ASTB↑ at external fetch
Address hold time from
tRDADH
0.8tCY – 15
1.2tCY + 30
ns
RD↑ at external fetch
Write data output time from RD↑
Write data output time from WR↓
Address hold time from WR↑
Delay time from WAIT↑ to RD↑
Delay time from WAIT↑ to WR↑
tRDWD
tWRWD
tWRADH
tWTRD
40
10
ns
ns
ns
ns
ns
60
0.8tCY – 15
0.8tCY
0.8tCY
1.2tCY + 30
2.5tCY + 25
2.5tCY + 25
tWTWR
Caution
TCY can only be used when the MIN. value is 0.238 µs.
Remarks 1. tCY = TCY/4
2. n indicates the number of waits.
3. CL = 100 pF (CL indicates the load capacitance of the AD0 to AD7, A8 to A15, RD, WR, WAIT, and
ASTB pins.)
Data Sheet U15131EJ3V0DS
64
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) Read/Write Operation (TA = –40 to +85°C, VDD = 2.7 to 4.0 V)
(2/3)
Parameter
ASTB high-level width
Address setup time
Symbol
tASTH
tADS
Conditions
MIN.
0.3tCY
30
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Address hold time
tADH
10
Input time from address to data
tADD1
tADD2
tRDAD
tRDD1
tRDD2
tRDH
(2 + 2n)tCY – 108
(3 + 2n)tCY – 120
200
Output time from RD↓ to address
Input time from RD↓ to data
0
(2 + 2n)tCY – 148
(3 + 2n)tCY – 162
Read data hold time
RD low-level width
0
tRDL1
(1.5 + 2n)tCY – 40
(2.5 + 2n)tCY – 40
tRDL2
Input time from RD↓ to WAIT↓
tRDWT1
tRDWT2
tWRWT
tWTL
tCY – 75
tCY – 60
Input time from WR↓ to WAIT↓
WAIT low-level width
tCY – 50
(0.5 + 2n)tCY + 10
(2 + 2n)tCY
Write data setup time
tWDS
60
10
Write data hold time
tWDH
WR low-level width
tWRL1
tASTRD
tASTWR
tRDAST
(1.5 + 2n)tCY – 30
10
Delay time from ASTB↓ to RD↓
Delay time from ASTB↓ to WR↓
Delay time from
2tCY – 30
0.8tCY – 30
1.2tCY
RD↑ to ASTB↑ at external fetch
Hold time from
tRDADH
0.8tCY – 30
1.2tCY + 60
ns
RD↑ to address at external fetch
Write data output time from RD↑
Write data output time from WR↓
Hold time from WR↑ to address
Delay time from WAIT↑ to RD↑
Delay time from WAIT↑ to WR↑
tRDWD
tWRWD
tWRADH
tWTRD
40
20
ns
ns
ns
ns
ns
120
0.8tCY – 30
0.5tCY
0.5tCY
1.2tCY + 60
2.5tCY + 50
2.5tCY + 50
tWTWR
Caution
TCY can only be used when the MIN. value is 0.4 µs.
Remarks 1. tCY = TCY/4
2. n indicates the number of waits.
3. CL = 100 pF (CL indicates the load capacitance of the AD0 to AD7, AD8 to AD15, RD, WR, WAIT,
and ASTB pins.)
Data Sheet U15131EJ3V0DS
65
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(2) Read/Write Operation (TA = –40 to +85°C, VDD = 1.8 to 2.7 V)
(3/3)
Parameter
ASTB high-level width
Address setup time
Symbol
tASTH
tADS
Conditions
MIN.
0.3tCY
120
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Address hold time
tADH
20
Input time from address to data
tADD1
tADD2
tRDAD
tRDD1
tRDD2
tRDH
(2 + 2n)tCY – 233
(3 + 2n)tCY – 240
400
Output time from RD↓ to address
Input time from RD↓ to data
0
(2 + 2n)tCY – 325
(3 + 2n)tCY – 332
Read data hold time
RD low-level width
0
tRDL1
(1.5 + 2n)tCY – 92
(2.5 + 2n)tCY – 92
tRDL2
Input time from RD↓ to WAIT↓
tRDWT1
tRDWT2
tWRWT
tWTL
tCY – 350
tCY – 132
tCY – 100
(2 + 2n)tCY
Input time from WR↓ to WAIT↓
WAIT low-level width
(0.5 + 2n)tCY + 10
Write data setup time
tWDS
60
20
Write data hold time
tWDH
WR low-level width
tWRL1
tASTRD
tASTWR
tRDAST
(1.5 + 2n)tCY – 60
20
Delay time from ASTB↓ to RD↓
Delay time from ASTB↓ to WR↓
Delay time from
2tCY – 60
0.8tCY – 60
1.2tCY
RD↑ to ASTB↑ at external fetch
Hold time from
tRDADH
0.8tCY – 60
1.2tCY + 120
ns
RD↑ to address at external fetch
Write data output time from RD↑
Write data output time from WR↓
Hold time from WR↑ to address
Delay time from WAIT↑ to RD↑
Delay time from WAIT↑ to WR↑
tRDWD
tWRWD
tWRADH
tWTRD
40
40
ns
ns
ns
ns
ns
240
0.8tCY – 60
0.5tCY
0.5tCY
1.2tCY + 120
2.5tCY + 100
2.5tCY + 100
tWTWR
Caution
TCY can only be used when the MIN. value is 1.6 µs.
Remarks 1. tCY = TCY/4
2. n indicates the number of waits.
3. CL = 100 pF (CL indicates the load capacitance of the AD0 to AD7, AD8 to AD15, RD, WR, WAIT,
and ASTB pins.)
Data Sheet U15131EJ3V0DS
66
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(3) Serial Interface (TA = –40 to +85°C, VDD = 1.8 to 5.5 V)
(a) 3-wire serial I/O mode (SCK3n... Internal clock output)
Parameter
SCK3n
Symbol
Conditions
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
1.8 V ≤ VDD < 4.0 V
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
MIN.
954
TYP.
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
tKCY1
cycle time
1600
3200
SCK3n high-/
low-level width
SI3n setup time
(to SCK3n↑)
tKH1, tKL1
tSIK1
tKCY1/2 – 50
tKCY1/2 – 100
100
150
300
SI3n hold time
tKSI1
400
(from SCK3n↑)
Note
Delay time from
SCK3n↓ to SO3n
output
tKSO1
C = 100 pF
300
ns
Note C is the load capacitance of the SCK3n and SO3n output lines.
(b) 3-wire serial I/O mode (SCK3n... External clock input)
Parameter
SCK3n
Symbol
Conditions
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
MIN.
800
TYP.
MAX.
Unit
ns
ns
ns
ns
ns
ns
ns
tKCY2
cycle time
1600
3200
400
SCK3n high-/
low-level width
tKH2, tKL2
800
1600
100
SI3n setup time
tSIK2
tKSI2
tKSO2
(to SCK3n↑)
SI3n hold time
400
ns
ns
(from SCK3n↑)
Note
Delay time from
SCK3n↓ to SO3n
output
C = 100 pF
300
Note C is the load capacitance of the SO3n output line.
Remark Conventional products of µPD780021A(A), 780022A(A), 780023A(A), 780024A(A): n = 0 or 1
µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A): n = 0
Data Sheet U15131EJ3V0DS
67
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(c) UART mode (dedicated baud-rate generator output)
Parameter
Transfer rate
Symbol
Conditions
MIN.
TYP.
MAX.
131031
78125
39063
Unit
bps
bps
bps
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
(d) UART mode (external clock input)
Parameter
ASCK0 cycle time
Symbol
Conditions
MIN.
800
TYP.
MAX.
Unit
ns
tKCY3
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1600
ns
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
3200
400
ns
ns
ASCK0 high-/low-level width
Transfer rate
tKH3,
tKL3
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
4.0 V ≤ VDD ≤ 5.5 V
2.7 V ≤ VDD < 4.0 V
1.8 V ≤ VDD < 2.7 V
800
ns
ns
1600
39063
19531
9766
bps
bps
bps
(e) UART mode (infrared data transfer mode)
Parameter
Transfer rate
Symbol
Conditions
4.0 V ≤ VDD ≤ 5.5 V
MIN.
MAX.
131031
±0.87
Unit
bps
%
Allowable bit rate error
Output pulse width
4.0 V ≤ VDD ≤ 5.5 V
4.0 V ≤ VDD ≤ 5.5 V
1.2
0.24/fbrNote
µs
Input pulse width
4.0 V ≤ VDD ≤ 5.5 V
4/fX
µs
Note fbr: Specified baud rate
Data Sheet U15131EJ3V0DS
68
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(f) I2C bus mode (µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A) only)
Standard Mode
MIN. MAX.
High-Speed Mode
MIN. MAX.
400
Parameter
Symbol
Unit
SCL0 clock frequency
Bus free time
fCLK
tBUF
0
100
0
kHZ
4.7
—
1.3
—
µs
(between stop and start conditions)
Hold timeNote 1
tHD:STA
tLOW
4.0
4.7
4.0
4.7
5.0
0Note 2
250
—
—
—
—
—
—
0.6
1.3
0.6
0.6
—
—
—
µs
µs
µs
µs
µs
µs
ns
ns
ns
µs
ns
pF
SCL0 clock low-level width
SCL0 clock high-level width
Start/restart condition setup time
Data hold time CBUS-compatible master
I2C bus
tHIGH
—
tSU:STA
tHD:DAT
—
—
—
0Note 2
0.9Note 3
Data setup time
tSU:DAT
tR
—
1000
300
—
100Note 4
—
SDA0 and SCL0 signal rise time
SDA0 and SCL0 signal fall time
Stop condition setup time
20 + 0.1CbNote 5
300
300
—
tF
—
20 + 0.1CbNote 5
tSU:STO
4.0
—
0.6
0
Spike pulse width controlled by input filter tSP
Capacitive load per bus line Cb
—
50
—
400
—
400
Notes 1. In the start condition, the first clock pulse is generated after this hold time.
2. To fill in the undefined area of the SCL0 falling edge, it is necessary for the device to internally provide
at least 300 ns of hold time for the SDA0 signal (which is VIHmin. of the SCL0 signal).
3. If the device does not extend the SCL0 signal low hold time (tLOW), only the maximum data hold time
tHD:DAT needs to be fulfilled.
4. The high-speed mode I2C bus is available in a standard mode I2C bus system. At this time, the conditions
described below must be satisfied.
• If the device does not extend the SCL0 signal low state hold time
tSU:DAT ≥ 250 ns
• If the device extends the SCL0 signal low state hold time
Be sure to transmit the next data bit to the SDA0 line before the SCL0 line is released (tRmax. + tSU:DAT
= 1000 + 250 = 1250 ns by standard mode I2C bus specification).
5. Cb: Total capacitance per bus line (unit: pF)
Data Sheet U15131EJ3V0DS
69
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
A/D Converter Characteristics (TA = –40 to +85°C, VDD = AVDD = 1.8 to 5.5 V, AVSS = VSS = 0 V)
Parameter
Symbol
Conditions
MIN.
8
TYP.
8
MAX.
8
Unit
bit
Resolution
Note
Overall error
4.0 V ≤ AVREF ≤ 5.5 V
2.7 V ≤ AVREF < 4.0 V
1.8 V ≤ AVREF < 2.7 V
4.0 V ≤ AVDD ≤ 5.5 V
2.7 V ≤ AVDD < 4.0 V
1.8 V ≤ AVDD < 2.7 V
±0.4
±0.6
±1.2
96
%FSR
%FSR
%FSR
µs
Conversion time
tCONV
14
19
28
0
96
µs
96
µs
Analog input voltage
VIAN
AVREF
AVDD
V
Reference voltage
AVREF
RREF
1.8
20
V
Resistance between AVREF and AVSS
When A/D converter not operating
40
kΩ
Note Excludes quantization error (±1/2 LSB). This value is indicated as a ratio (%FSR) to the full-scale value.
Remark The impedance of the analog input pins is shown below.
[Equivalent circuit]
R1
R2
ANIn
(n = 0 to 3)
C1
C2
C3
[Parameter value]
(TYP.)
C3
AVDD
2.7 V
4.5 V
R1
R2
C1
C2
12 kΩ
4 kΩ
8.0 kΩ
2.7 kΩ
3.0 pF
3.0 pF
3.0 pF
1.4 pF
2.0 pF
2.0 pF
Data Memory STOP Mode Low Supply Voltage Data Retention Characteristics (T
A
= –40 to +85
°C)
Parameter
Symbol
Conditions
MIN.
1.6
TYP.
MAX.
Unit
V
Data retention power
supply voltage
VDDDR
5.5
30
Data retention power
supply current
IDDDR
Subsystem clock stop (XT1 = VDD) and
feed-back resistor disconnected
0.1
µA
Release signal set time
Oscillation stabilization
time
tSREL
tWAIT
0
µs
s
Release by RESET
217/fx
Release by interrupt request
Note
s
Note Selection of 212/fX and 214/fX to 217/fX is possible using bits 0 to 2 (OSTS0 to OSTS2) of the oscillation
stabilization time select register (OSTS).
Data Sheet U15131EJ3V0DS
70
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
12.3 Timing Chart
AC Timing Test Points (excluding X1, XT1 inputs)
0.8VDD
0.8VDD
0.2VDD
Point of test
0.2VDD
Clock Timing
1/f
X
t
XL
t
XH
V
V
IH4 (MIN.)
IL4 (MAX.)
X1 input
1/fXT
t
XTL
t
XTH
V
V
IH5 (MIN.)
IL5 (MAX.)
XT1 input
TI Timing
t
TIL0
t
TIH0
TI00, TI01
1/fT5
t
TIL5
t
TIH5
TI50, TI51
Data Sheet U15131EJ3V0DS
71
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Interrupt Request Input Timing
tINTL
tINTH
INTP0 to INTP3
RESET Input Timing
t
RSL
RESET
Data Sheet U15131EJ3V0DS
72
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Read/Write Operation
External fetch (no wait):
A8 to A15
Higher 8-bit address
Hi-Z
t
ADD1
AD0 to AD7
Instruction code
Lower 8-bit address
ADS
t
RDAD
RDD1
t
t
t
ADH
t
RDADH
RDAST
t
ASTH
t
ASTB
RD
t
ASTRD
t
RDL1
t
RDH
External fetch (wait insertion):
A8 to A15
Higher 8-bit address
Hi-Z
t
ADD1
AD0 to AD7
Instruction code
Lower 8-bit address
t
RDAD
t
ADS
t
RDADH
t
ADH
t
RDD1
t
ASTH
t
RDAST
ASTB
RD
t
ASTRD
t
RDL1
t
RDH
WAIT
t
RDWT1
t
WTL
t
WTRD
Data Sheet U15131EJ3V0DS
73
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
External data access (no wait):
A8 to A15
Higher 8-bit address
Read Data
t
ADD2
Hi-Z
Hi-Z
AD0 to AD7
Lower 8-bit address
Write data
t
RDAD
t
ADS
t
RDD2
t
ADH
t
ASTH
t
RDH
ASTB
RD
t
RDWD
t
ASTRD
t
RDL2
t
WDS
tWDH
t
WRADH
t
WRWD
WR
t
ASTWR
t
WRL1
External data access (wait insertion):
A8 to A15
Higher 8-bit address
t
ADD2
Hi-Z
Hi-Z
Lower 8-bit
Read data
t
Write data
AD0 to AD7
address
t
RDAD
t
ADH
t
ADS
RDH
t
ASTH
t
RDD2
ASTB
RD
t
ASTRD
t
RDWD
t
RDL2
t
WDS
tWDH
t
WRWD
WR
t
ASTWR
t
WRL1
t
WRADH
WAIT
t
WTL
t
WTRD
t
RDWT2
t
WTL
t
WRWT
t
WTWR
Data Sheet U15131EJ3V0DS
74
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Serial Transfer Timing
3-wire serial I/O mode:
t
KCYm
t
KLm
t
KHm
SCK3n
SI3n
t
KSIm
t
SIKm
Input data
t
KSOm
SO3n
Output data
Remarks 1. m = 1, 2
n = 0, 1
2.
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A):
µ
PD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A): n = 0
UART mode (external clock input):
KCY3
t
t KL3
tKH3
ASCK0
I2C bus mode (
µPD780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A) only):
t
LOW
t
R
SCL0
t
F
t
HD:DAT
t
SU:STA
t
HIGH
t
HD:STA
t
SP
t
SU:STO
t
SU:DAT
tHD:STA
SDA0
t
BUF
Restart
condition
Stop
condition
Stop
Start
condition condition
Data Sheet U15131EJ3V0DS
75
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Data Retention Timing (STOP Mode Release by RESET)
Internal reset operation
HALT mode
Operating mode
STOP mode
Data retention mode
V
DD
VDDDR
t
SREL
STOP instruction execution
RESET
t
WAIT
Data Retention Timing (Standby Release Signal: STOP Mode Release by Interrupt Request Signal)
HALT mode
Operating mode
STOP mode
Data retention mode
VDD
VDDDR
t
SREL
STOP Instruction execution
Standby release signal
(interrupt request)
t
WAIT
Data Sheet U15131EJ3V0DS
76
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
13. PACKAGE DRAWINGS
64-PIN PLASTIC SDIP (19.05mm(750))
64
33
32
1
A
K
L
J
I
M
R
F
M
N
C
B
D
H
G
NOTES
ITEM MILLIMETERS
1. Each lead centerline is located within 0.17 mm of
its true position (T.P.) at maximum material condition.
+0.68
58.0
A
-0.20
B
C
D
F
1.78 MAX.
1.778 (T.P.)
0.50±0.10
0.9 MIN.
2. Item "K" to center of leads when formed parallel.
G
H
3.2±0.3
0.51 MIN.
+0.26
4.05
I
-0.20
J
K
L
5.08 MAX.
19.05 (T.P.)
17.0±0.2
+0.10
0.25
M
-0.05
N
R
0.17
0 ~ 15°
P64C-70-750A,C-4
Remark The external dimensions and materials of the ES version are the same as those of the mass-produced
version.
Data Sheet U15131EJ3V0DS
77
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
64-PIN PLASTIC QFP (14x14)
A
B
33
32
detail of lead end
48
49
S
C D
Q
R
64
17
16
1
F
P
J
G
M
H
I
K
S
L
N
S
M
NOTE
Each lead centerline is located within 0.15 mm of
its true position (T.P.) at maximum material condition.
ITEM MILLIMETERS
A
B
C
D
F
17.6±0.4
14.0±0.2
14.0±0.2
17.6±0.4
1.0
G
1.0
+0.08
0.37
H
-0.07
I
J
0.15
0.8 (T.P.)
1.8±0.2
0.8±0.2
K
L
+0.08
0.17
M
-0.07
N
P
Q
R
S
0.10
2.55±0.1
0.1±0.1
5°± 5°
2.85 MAX.
P64GC-80-AB8-5
Remark The external dimensions and materials of the ES version are the same as those of the mass-produced
version.
Data Sheet U15131EJ3V0DS
78
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
64-PIN PLASTIC LQFP (14x14)
A
B
48
49
33
32
detail of lead end
S
P
C
D
T
R
L
64
17
16
U
1
Q
F
G
J
M
H
I
ITEM MILLIMETERS
A
B
C
D
F
17.2±0.2
14.0±0.2
14.0±0.2
17.2±0.2
1.0
K
S
G
1.0
+0.08
0.37
H
−0.07
N
S
M
I
J
0.20
0.8 (T.P.)
1.6±0.2
0.8
K
L
NOTE
+0.03
0.17
M
Each lead centerline is located within 0.20 mm of
its true position (T.P.) at maximum material condition.
−0.06
N
P
Q
0.10
1.4±0.1
0.127±0.075
+4°
3°
R
−3°
S
T
1.7 MAX.
0.25
U
0.886±0.15
P64GC-80-8BS
Remark The external dimensions and materials of the ES version are the same as those of the mass-produced
version.
Data Sheet U15131EJ3V0DS
79
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
64-PIN PLASTIC TQFP (12x12)
A
B
detail of lead end
48
33
32
49
S
P
T
C
D
R
L
U
Q
64
17
16
1
F
G
J
M
H
I
ITEM MILLIMETERS
A
B
C
D
F
14.0±0.2
12.0±0.2
12.0±0.2
14.0±0.2
1.125
K
S
G
1.125
+0.06
0.32
H
−0.10
M
I
0.13
J
K
L
0.65 (T.P.)
1.0±0.2
0.5
N
S
NOTE
Each lead centerline is located within 0.13 mm of
its true position (T.P.) at maximum material condition.
+0.03
0.17
M
−0.07
N
P
Q
0.10
1.0
0.1±0.05
+4°
3°
R
−3°
1.1±0.1
0.25
S
T
U
0.6±0.15
P64GK-65-9ET-3
Remark The external dimensions and materials of the ES version are the same as those of the mass-produced
version.
Data Sheet U15131EJ3V0DS
80
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
64-PIN PLASTIC LQFP (10x10)
A
B
detail of lead end
48
33
32
49
S
P
T
C
D
R
L
U
64
17
Q
16
1
F
G
J
M
H
I
ITEM MILLIMETERS
A
B
C
D
F
G
H
I
12.0±0.2
10.0±0.2
10.0±0.2
12.0±0.2
1.25
K
S
1.25
0.22±0.05
0.08
M
N
S
J
0.5 (T.P.)
1.0±0.2
0.5
K
L
+0.03
0.17
M
−0.07
N
P
Q
0.08
1.4
0.1±0.05
+4°
3°
R
−3°
S
T
1.5±0.10
0.25
U
0.6±0.15
S64GB-50-8EU-1
Remark The external dimensions and materials of the ES version are the same as those of the mass-produced
version.
Data Sheet U15131EJ3V0DS
81
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
14. RECOMMENDED SOLDERING CONDITIONS
The µPD780021A(A), 780022A(A), 780023A(A), and 780024A(A)Note should be soldered and mounted under the
following recommended conditions.
For details of the recommended soldering conditions, refer to the document Semiconductor Device Mounting
Technology Manual (C10535E).
For soldering methods and conditions other than those recommended below, contact an NEC Electronics sales
representative.
Note The µPD780021AY(A), 780022AY(A) (except for the 64-pin plastic QFP (GC-AB8 type)), 780023AY(A),
and 780024AY(A) and the 64-pin plastic LQFP (GB-8EU type) of the µPD780021A(A), 780022A(A),
780023A(A), and 780024A(A) are under development, so their soldering conditions are undetermined.
Table 14-1. Surface Mounting Type Soldering Conditions (1/2)
(1) µPD780021AGC(A)-×××-AB8: 64-pin plastic QFP (14 x 14)
µPD780022AGC(A)-×××-AB8: 64-pin plastic QFP (14 x 14)
µPD780023AGC(A)-×××-AB8: 64-pin plastic QFP (14 x 14)
µPD780024AGC(A)-×××-AB8: 64-pin plastic QFP (14 x 14)
µPD780022AYGC(A)-×××-AB8: 64-pin plastic QFP (14 x 14)
Recommended
Soldering Method
Infrared reflow
Soldering Conditions
Condition Symbol
IR35-00-3
Package peak temperature: 235°C, Time: 30 seconds max.
(at 210°C or higher), Count: Three times or less
VPS
Package peak temperature: 215°C, Time: 40 seconds max.
(at 200°C or higher), Count: Three times or less
VP15-00-3
WS60-00-1
Wave soldering
Solder bath temperature: 260°C max., Time: 10 seconds max.,
Count: Once, Preheating temperature: 120°C Max. (package surface
temperature)
Partial heating
Pin temperature: 300°C max., Time: 3 seconds max. (per pin row)
–
Caution Do not use different soldering methods together (except for partial heating).
(2) µPD780021AGC(A)-×××-8BS: 64-pin plastic LQFP (14 x 14)
µPD780022AGC(A)-×××-8BS: 64-pin plastic LQFP (14 x 14)
µPD780023AGC(A)-×××-8BS: 64-pin plastic LQFP (14 x 14)
µPD780024AGC(A)-×××-8BS: 64-pin plastic LQFP (14 x 14)
Recommended
Soldering Method
Infrared reflow
Soldering Conditions
Condition Symbol
Package peak temperature: 235°C, Time: 30 seconds max.
(at 210°C or higher), Count: Two times or less
IR35-00-2
VP15-00-2
WS60-00-1
VPS
Package peak temperature: 215°C, Time: 40 seconds max.
(at 200°C or higher), Count: Two times or less
Wave soldering
Solder bath temperature: 260°C max., Time: 10 seconds max.,
Count: Once, Preheating temperature: 120°C Max. (package surface
temperature)
Partial heating
Pin temperature: 300°C max., Time: 3 seconds max. (per pin row)
–
Caution Do not use different soldering methods together (except for partial heating).
Data Sheet U15131EJ3V0DS
82
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Table 14-1. Surface Mounting Type Soldering Conditions (2/2)
(3) µPD780021AGK(A)-×××-9ET: 64-pin plastic TQFP (12 x 12)
µPD780022AGK(A)-×××-9ET: 64-pin plastic TQFP (12 x 12)
µPD780023AGK(A)-×××-9ET: 64-pin plastic TQFP (12 x 12)
µPD780024AGK(A)-×××-9ET: 64-pin plastic TQFP (12 x 12)
Recommended
Soldering Method
Infrared reflow
Soldering Conditions
Condition Symbol
IR35-107-2
Package peak temperature: 235°C, Time: 30 seconds max.
(at 210°C or higher), Count: Two times or less, Exposure limit:
7 daysNote (after that, prebake at 125°C for 10 hours)
VPS
Package peak temperature: 215°C, Time: 40 seconds max.
(at 200°C or higher), Count: Two times or less, Exposure limit:
7 daysNote (after that, prebake at 125°C for 10 hours)
VP15-107-2
WS60-107-1
Wave soldering
Solder bath temperature: 260°C max., Time: 10 seconds max.,
Count: Once, Preheating temperature: 120°C Max. (package surface
temperature), Exposure limit: 7 daysNote (after that, prebake at 125°C
for 10 hours)
Partial heating
Pin temperature: 300°C max., Time: 3 seconds max. (per pin row)
—
Note After opening the dry pack, store it at 25°C or less and 65%RH or less for the allowable storage period.
Caution Do not use different soldering methods together (except for partial heating).
Table 14-2. Insertion Type Soldering Conditions
µPD780021ACW(A)-×××: 64-pin plastic SDIP (19.05 mm (750))
µPD780022ACW(A)-×××: 64-pin plastic SDIP (19.05 mm (750))
µPD780023ACW(A)-×××: 64-pin plastic SDIP (19.05 mm (750))
µPD780024ACW(A)-×××: 64-pin plastic SDIP (19.05 mm (750))
Soldering Method
Soldering Conditions
Wave soldering
(only for pins)
Solder bath temperature: 260°C max., Time: 10 seconds max.
Partial heating
Pin temperature: 300°C max., Time: 3 seconds max. (per pin row)
Caution Apply wave soldering only to the pins and be careful not to bring solder into direct contact with
the package.
Data Sheet U15131EJ3V0DS
83
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
APPENDIX A. DEVELOPMENT TOOLS
The following development tools are available for system development using the µPD780024A, 780024AY
Subseries.
Also refer to (6) Cautions on Using Development Tools.
(1) Software Package
SP78K0
CD-ROM in which various software tools for 78K/0 development are integrated in one
package
(2) Language Processing Software
RA78K0
Assembler package common to 78K/0 Series
C compiler package common to 78K/0 Series
Device file for µPD780024A, 780024AY Subseries
C compiler library source file common to 78K/0 Series
CC78K0
DF780024
CC78K0-L
(3) Flash Memory Writing Tools
Flashpro III (FL-PR3, PG-FP3)
Flashpro IV (FL-PR4, PG-FP4)
FA-64CW
Flash programmer dedicated to microcontrollers with on-chip flash memory
Adapter for flash memory writing used connected to the Flashpro III/Flashpro IV.
FA-64GC
• FA-64CW:
• FA-64GC:
64-pin plastic SDIP (CW type)
FA-64GC-8BS-A
FA-64GK-9ET
FA-64GB-8EU
64-pin plastic QFP (GC-AB8 type)
• FA-64GC-8BS-A: 64-pin plastic LQFP (GC-8BS type)
• FA-64GK-9ET: 64-pin plastic TQFP (GK-9ET type)
• FA-64GB-8EU: 64-pin plastic LQFP (GB-8EU type)
Data Sheet U15131EJ3V0DS
84
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(4) Debugging Tools
• When using in-circuit emulator IE-78K0-NS or IE-78K0-NS-A
IE-78K0-NS
In-circuit emulator common to 78K/0 Series
IE-78K0-NS-PA
IE-78K0-NS-A
IE-70000-MC-PS-B
IE-70000-98-IF-C
IE-70000-CD-IF-A
IE-70000-PC-IF-C
IE-70000-PCI-IF-A
IE-780034-NS-EM1
NP-64CW
Performance board to enhance and expand the functions of IE-78K0-NS
Combination of IE-78K-NS and IE-78K0-NS-PA
Power supply unit for IE-78K0-N and IE-78K0-NS-A
Adapter required when using PC-9800 series as host machine (excluding notebook PCs) (C bus supported)
PC card and interface cable when using notebook PC as host machine (PCMCIA socket supported)
TM
Adapter required when using IBM PC/AT
or compatible as host machine (ISA bus supported)
Adapter required when using PC in which PCI bus is incorporated as host machine
Emulation board to emulate µPD780024A, 780024AY Subseries
Emulation probe for 64-pin plastic SDIP (CW type)
NP-H64CW
NP-64GC
Emulation probe for 64-pin plastic QFP (GC-AB8 type), 64-pin plastic LQFP (GC-8BS type)
NP-64GC-TQ
NP-H64GC-TQ
NP-64GK
Emulation probe for 64-pin plastic TQFP (GK-9ET type)
Emulation probe for 64-pin plastic LQFP (GB-8EU type)
NP-H64GK-TQ
NP-H64GB-TQ
EV-9200GC-64
Conversion socket to connect the NP64GC and a target system board on which a 64-pin plastic
QFP (GC-AB8 type), 64-pin plastic LQFP (GC-8BS type) can be mounted.
TGC-064SAP
TGK-064SBW
TGB-064SDP
Conversion adapter to connect the NP-64GC-TQ or NP-H64GC-TQ and a target system board on
which a 64-pin plastic QFP (GC-AB8 type), 64-pin plastic LQFP (GC-8BS type) can be mounted
Conversion adapter to connect the NP-64GK or NP-H64GK-TQ and a target system on which a 64-
pin plastic TQFP (GK-9ET type) can be mounted
Conversion socket to connect the NP-H64GB-TQ and a target system board on which a 64-pin
plastic LQFP (GB-8EU type) can be mounted
ID78K0-NS
SM78K0
Integrated debugger for IE-78K0-NS and IE-78K0-NS-A
System simulator common to 78K/0 Series
DF780024
Device file for µPD780024A, 780024AY Subseries
Data Sheet U15131EJ3V0DS
85
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
• When using in-circuit emulator IE-78001-R-A
IE-78001-R-A
In-circuit emulator common to 78K/0 Series
IE-70000-98-IF-C
IE-70000-PC-IF-C
IE-70000-PCI-IF-A
IE-780034-NS-EM1
IE-78K0-R-EX1
EP-78240CW-R
EP-78240GC-R
EP-78012GK-R
EV-9200GC-64
Adapter required when using PC-9800 series as host machine (excluding notebook PCs) (C bus supported)
Interface adapter when using IBM PC/AT or compatible as host machine (ISA bus supported)
Adapter required when using PC in which PCI bus is incorporated as host machine
Emulation board to emulate µPD780024A, 780024AY Subseries
Emulation probe conversion board necessary when using IE-780034-NS-EM1 on IE-78001-R-A
Emulation probe for 64-pin plastic SDIP (CW type)
Emulation probe for 64-pin plastic QFP (GC-AB8 type)
Emulation probe for 64-pin plastic TQFP (GK-9ET type)
Conversion socket to connect the EP-78240GC-R and a target system board on which a 64-pin
plastic QFP (GC-AB8 type) can be mounted
TGK-064SBW
Conversion adapter to connectthe EP-78012GK-R and a target system board on which a 64-pin plastic
TQFP (GK-9ET type) can be mounted
ID78K0
Integrated debugger for IE-78001-R-A
SM78K0
DF780024
System simulator common to 78K/0 Series
Device file for µPD780024A, 780024AY Subseries
(5) Real-Time OS
RX78K0
Real-time OS for 78K/0 Series
Caution The 64-pin plastic LQFP (GB-8EU type) does not support the IE-78001-R-A.
Data Sheet U15131EJ3V0DS
86
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
(6) Cautions on Using Development Tools
• The ID78K0-NS, ID78K0, and SM78K0 are used in combination with the DF780024.
• The CC78K0 and RX78K0 are used in combination with the RA78K0 and the DF780024.
• FL-PR3, FL-PR4, FA-64CW, FA-64GC, FA-64GC-8BS-A, FA-64GK-9ET, FA-64GB-8EU, NP-64CW, NP-
H64CW, NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, NP-H64GK-TQ, andNP-H64GB-TQareproducts
made by Naito Densei Machida Mfg. Co., Ltd. (+81-45-475-4191).
• TGC-064SAP, TGK-064SBW, and TGB-064SDP are products made by TOKYO ELETECH CORPORA-
TION.
Refer to: Daimaru Kogyo, Ltd.
Tokyo Electronic Division (+81-3-3820-7112)
Osaka Electronic Division (+81-6-6244-6672)
• For third-party development tools, see the Single-chip Microcontroller Development Tool Selection Guide
(U11069E).
• The host machines and OSs supporting each software are as follows.
Host Machine
[OS]
PC
EWS
PC-9800 series [Japanese WindowsTM
IBM PC/AT and compatibles
]
HP9000 series 700TM [HP-UXTM
]
SPARCstationTM [SunOSTM, SolarisTM
]
Software
RA78K0
CC78K0
ID78K0-NS
ID78K0
[Japanese/English Windows]
Note
√
√
√
Note
√
√
√
√
–
–
–
√
SM78K0
RX78K0
Note
√
Note DOS-based software
Data Sheet U15131EJ3V0DS
87
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
APPENDIX B. RELATED DOCUMENTS
The related documents indicated in this publication may include preliminary versions. However, preliminary
versions are not marked as such.
Documents Related to Devices
Document Name
Document No.
µPD780024A, 780034A, 780024AY, 780034AY Subseries User’s Manual
U14046E
U14042E
µPD780021A, 780022A, 780023A, 780024A, 780021AY, 780022AY, 780023AY, 780024AY
Data Sheet
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A),
This document
780024AY(A) Data Sheet
µPD78F0034B, 78F0034BY, 78F0034B(A), 78F0034BY(A) Data Sheet
78K/0 Series Instructions User’s Manual
U16369E
(Underpreparation)
U12326E
Documents Related to Development Software Tools (User’s Manuals)
Document Name
Document No.
U14445E
RA78K0 Assembler Package
Operation
Language
U14446E
Structured Assembly Language
Operation
U11789E
CC78K0 C Compiler
U14297E
Language
U14298E
SM78K Series System Simulator Ver. 2.30 or Later
Operation (Windows Based)
U15373E
External Part User Open Interface Specifications U15802E
ID78K Series Integrated Debugger Ver. 2.30 or Later Operation (Windows Based)
U15185E
U11537E
U11536E
U14610E
RX78K0 Real-time OS
Fundamentals
Installation
Project Manager Ver. 3.12 or Later (Windows Based)
Documents Related to Development Hardware Tools (User’s Manuals)
Document Name
IE-78K0-NS In-Circuit Emulator
Document No.
U13731E
IE-78K0-NS-A In-Circuit Emulator
U14889E
IE-780034-NS-EM1 Emulation Board
IE-78001-R-A In-Circuit Emulator
U14642E
U14142E
IE-78K0-R-EX1 In-Circuit Emulator
To be prepared
Caution The related documents listed above are subject to change without notice. Be sure to use the latest
version of each document for designing.
Data Sheet U15131EJ3V0DS
88
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Documents Related to Flash Memory Writing
Document Name
PG-FP3 Flash Memory Programmer User’s Manual
Document No.
U13502E
PG-FP4 Flash Memory Programmer User’s Manual
U15260E
Other Related Documents
Document Name
Document No.
X13769E
SEMICONDUCTOR SELECTION GUIDE - Products & Packages -
Semiconductor Device Mounting Technology Manual
C10535E
Quality Grades on NEC Semiconductor Devices
C11531E
NEC Semiconductor Device Reliability/Quality Control System
Guide to Prevent Damage for Semiconductor Devices by Electrostatic Discharge (ESD)
C10983E
C11892E
Caution The related documents listed above are subject to change without notice. Be sure to use the
latest version of each document for designing.
Data Sheet U15131EJ3V0DS
89
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
NOTES FOR CMOS DEVICES
1
PRECAUTION AGAINST ESD FOR SEMICONDUCTORS
Note:
Strong electric field, when exposed to a MOS device, can cause destruction of the gate oxide and
ultimately degrade the device operation. Steps must be taken to stop generation of static electricity
as much as possible, and quickly dissipate it once, when it has occurred. Environmental control
must be adequate. When it is dry, humidifier should be used. It is recommended to avoid using
insulators that easily build static electricity. Semiconductor devices must be stored and transported
in an anti-static container, static shielding bag or conductive material. All test and measurement
tools including work bench and floor should be grounded. The operator should be grounded using
wrist strap. Semiconductor devices must not be touched with bare hands. Similar precautions need
to be taken for PW boards with semiconductor devices on it.
2
HANDLING OF UNUSED INPUT PINS FOR CMOS
Note:
No connection for CMOS device inputs can be cause of malfunction. If no connection is provided
to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence
causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels
of CMOS devices must be fixed high or low by using a pull-up or pull-down circuitry. Each unused
pin should be connected to VDD or GND with a resistor, if it is considered to have a possibility of
being an output pin. All handling related to the unused pins must be judged device by device and
related specifications governing the devices.
3
STATUS BEFORE INITIALIZATION OF MOS DEVICES
Note:
Power-on does not necessarily define initial status of MOS device. Production process of MOS
does not define the initial operation status of the device. Immediately after the power source is
turned ON, the devices with reset function have not yet been initialized. Hence, power-on does
not guarantee out-pin levels, I/O settings or contents of registers. Device is not initialized until the
reset signal is received. Reset operation must be executed immediately after power-on for devices
having reset function.
Note: Purchase of NEC Electronics l2C components conveys a license under the Philips I2C Patent Rights
to use these components in an I2C system, provided that the system conforms to the I2C Standard
Specification as defined by Philips.
FIP and IEBus are trademarks of NEC Electronics Corporation.
Windows is either a registered trademark or a trademark of Microsoft Corporation in the United Status
and/ or other countries.
PC/AT is a trademark of International Business Machines Corporation.
HP9000 series 700 and HP-UX are trademarks of Hewlett-Packard Company.
SPARCstation is a trademark of SPARC International, Inc.
Solaris and SunOS are trademarks of Sun Microsystems, Inc.
Data Sheet U15131EJ3V0DS
90
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
Regional Information
Some information contained in this document may vary from country to country. Before using any NEC
Electronics product in your application, pIease contact the NEC Electronics office in your country to
obtain a list of authorized representatives and distributors. They will verify:
•
•
•
•
•
Device availability
Ordering information
Product release schedule
Availability of related technical literature
Development environment specifications (for example, specifications for third-party tools and
components, host computers, power plugs, AC supply voltages, and so forth)
•
Network requirements
In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary
from country to country.
NEC Electronics America, Inc. (U.S.)
Santa Clara, California
Tel: 408-588-6000
NEC Electronics Hong Kong Ltd.
Hong Kong
Tel: 2886-9318
• Filiale Italiana
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
800-366-9782
Fax: 2886-9022/9044
Fax: 408-588-6130
NEC Electronics Hong Kong Ltd.
Seoul Branch
Seoul, Korea
Tel: 02-528-0303
Fax: 02-528-4411
• Branch The Netherlands
Eindhoven, TheNetherlands
Tel: 040-244 58 45
800-729-9288
NEC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 01
Fax: 040-244 45 80
• Tyskland Filial
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
Fax: 0211-65 03 327
NEC Electronics Shanghai, Ltd.
Shanghai, P.R. China
Tel: 021-6841-1138
• Sucursal en España
Madrid, Spain
Tel: 091-504 27 87
Fax: 091-504 28 60
Fax: 021-6841-1137
• United Kingdom Branch
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
• Succursale Française
Vélizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 02-2719-5951
Fax: 01-30-67 58 99
NEC Electronics Singapore Pte. Ltd.
Novena Square, Singapore
Tel: 6253-8311
Fax: 6250-3583
J02.11
Data Sheet U15131EJ3V0DS
91
µPD780021A(A), 780022A(A), 780023A(A), 780024A(A), 780021AY(A), 780022AY(A), 780023AY(A), 780024AY(A)
These commodities, technology or software, must be exported in accordance
with the export administration regulations of the exporting country.
Diversion contrary to the law of that country is prohibited.
•
The information in this document is current as of November, 2002. The information is subject to
change without notice. For actual design-in, refer to the latest publications of NEC Electronics data
sheets or data books, etc., for the most up-to-date specifications of NEC Electronics products. Not
all products and/or types are available in every country. Please check with an NEC Electronics sales
representative for availability and additional information.
• No part of this document may be copied or reproduced in any form or by any means without the prior
written consent of NEC Electronics. NEC Electronics assumes no responsibility for any errors that may
appear in this document.
•
NEC Electronics does not assume any liability for infringement of patents, copyrights or other intellectual
property rights of third parties by or arising from the use of NEC Electronics products listed in this document
or any other liability arising from the use of such products. No license, express, implied or otherwise, is
granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others.
Descriptions of circuits, software and other related information in this document are provided for illustrative
purposes in semiconductor product operation and application examples. The incorporation of these
circuits, software and information in the design of a customer's equipment shall be done under the full
responsibility of the customer. NEC Electronics assumes no responsibility for any losses incurred by
customers or third parties arising from the use of these circuits, software and information.
•
• While NEC Electronics endeavors to enhance the quality, reliability and safety of NEC Electronics products,
customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. To
minimize risks of damage to property or injury (including death) to persons arising from defects in NEC
Electronics products, customers must incorporate sufficient safety measures in their design, such as
redundancy, fire-containment and anti-failure features.
• NEC Electronics products are classified into the following three quality grades: "Standard", "Special" and
"Specific".
The "Specific" quality grade applies only to NEC Electronics products developed based on a customer-
designated "quality assurance program" for a specific application. The recommended applications of an NEC
Electronics product depend on its quality grade, as indicated below. Customers must check the quality grade of
each NEC Electronics product before using it in a particular application.
"Standard": Computers, office equipment, communications equipment, test and measurement equipment, audio
and visual equipment, home electronic appliances, machine tools, personal electronic equipment
and industrial robots.
"Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster
systems, anti-crime systems, safety equipment and medical equipment (not specifically designed
for life support).
"Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life
support systems and medical equipment for life support, etc.
The quality grade of NEC Electronics products is "Standard" unless otherwise expressly specified in NEC
Electronics data sheets or data books, etc. If customers wish to use NEC Electronics products in applications
not intended by NEC Electronics, they must contact an NEC Electronics sales representative in advance to
determine NEC Electronics' willingness to support a given application.
(Note)
(1)
"NEC Electronics" as used in this statement means NEC Electronics Corporation and also includes its
majority-owned subsidiaries.
(2)
"NEC Electronics products" means any product developed or manufactured by or for NEC Electronics (as
defined above).
M8E 02. 11-1
相关型号:
UPD780023AYGB(A)-XXX-8EU-A
Microcontroller, 8-Bit, MROM, 12MHz, MOS, PQFP64, 10 X 10 MM, PLASTIC, LQFP-64
NEC
UPD780023AYGB-XXX-8EU
Microcontroller, 8-Bit, MROM, 8.38MHz, MOS, PQFP64, 10 X 10 MM, PLASTIC, LQFP-64
RENESAS
UPD780023AYGC(A)-XXX-8BS
8-BIT, MROM, 12MHz, MICROCONTROLLER, PQFP64, 14 X 14 MM, PLASTIC, LQFP-64
NEC
UPD780023AYGC(A)-XXX-AB8
8-BIT, MROM, 8.38MHz, MICROCONTROLLER, PQFP64, 14 X 14 MM, PLASTIC, QFP-64
NEC
UPD780023AYGC-XXX-AB8
Microcontroller, 8-Bit, MROM, 8.38MHz, MOS, PQFP64, 14 X 14 MM, PLASTIC, QFP-64
RENESAS
UPD780023AYGK(A)-XXX-9ET
Microcontroller, 8-Bit, MROM, 8.38MHz, MOS, PQFP64, 12 X 12 MM, PLASTIC, TQFP-64
RENESAS
UPD780023AYGK(A)-XXX-9ET-A
Microcontroller, 8-Bit, MROM, 12MHz, MOS, PQFP64, 12 X 12 MM, PLASTIC, TQFP-64
NEC
UPD780023AYGK-XXX-9ET-A
Microcontroller, 8-Bit, MROM, 8.38MHz, MOS, PQFP64, 12 X 12 MM, PLASTIC, TQFP-64
RENESAS
©2020 ICPDF网 联系我们和版权申明