To our customers,
Old Company Name in Catalogs and Other Documents
On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology
Corporation, and Renesas Electronics Corporation took over all the business of both
companies. Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Renesas Electronics website: http://www.renesas.com
April 1st, 2010
Renesas Electronics Corporation
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
2. Renesas 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 Renesas Electronics products or technical information described in this document.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights
of Renesas Electronics or others.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software,
and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by
you or third parties arising from the use of these circuits, software, or information.
5. When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas
Electronics products or the technology described in this document for any purpose relating to military applications or use by
the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages
incurred by you resulting from errors in or omissions from the information included herein.
7. Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as
indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular
application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior
written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for
which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way
liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an
application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise
expressly specified in a Renesas Electronics data sheets or data books, etc.
“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.
“High Quality”: 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; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further,
Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to
guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a
Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire
control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system
manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS
Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with
applicable laws and regulations.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
DATA SHEET
8-BIT SINGLE-CHIP MICROCONTROLLERS
MOS INTEGRATED CIRCUITS
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Document No. U12815EJ2V1DS00 (2nd edition)
Date Published November 1999 N CP(K)
Printed in Japan
The
µ
PD789101, 789102, and 789104 are
µ
PD789104 Subseries products of the 78K/0S Series.
The
µ
PD789111, 789112, and 789114 are
µ
PD789114 Subseries products of the 78K/0S Series.
Besides an 8-bit CPU, these microcontrollers incorporate a variety of hardware such as I/O ports, timers, a serial
interface, A/D converters, and interrupt control.
In addition, a flash memory version (
µ
PD78F9116) that can operate within the same power supply voltage range
as the mask ROM version, and a range of development tools are also being developed.
Detailed function descriptions are provided in the following user’s manuals. Be sure to read them before
designing.
µ
µµ
µ
PD789104, 789114, 789124, 789134 Subseries User’s Manual: U13045E
78K/0S Series User's Manual Instruction: U11047E
FEATURES
On-chip multiplier: 8 bits × 8 bits = 16 bits
ROM and RAM sizes
Item
Part Number
Program Memory
(ROM) Data Memory
(Internal Hi gh-Speed RAM) Package
µ
PD789101, 789111 2 Kbytes
µ
PD789102, 789112 4 Kbytes
µ
PD789104, 789114 8 Kbytes
256 bytes 30-pin plast i c shrink S O P (300 m i l s)
(GS type, MC-5A4 type)
Minimum instruction execution time can be changed from high-speed (0.4
µ
s) to low-speed (1.6
µ
s) (@ 5.0-MHz
operation with system clock)
I/O ports: 20
Serial interface: 1 channel: Switchable between 3-wire serial I/O and UART modes
8-bit resolution A/D converter: 4 channels (
µ
PD789101, 789102, 789104)
10-bit resolution A/D converter: 4 channels (
µ
PD789111, 789112, 789114)
Timers: 3 channels
16-bit timer: 1 channel
8-bit timer/event counter: 1 channel
Watchdog timer: 1 channel
Power supply voltage: VDD = 2.7 to 5.5 V
APPLICATIONS
Cleaners, washing machines, and refrigerators
©
1997, 1999
The information in this document is subject to change without notice. Before using this document, please
confirm that this is the latest version.
Not all devices/types available in every country. Please check with local NEC representative for
availability and additional information.
The mark shows major revised points.
Data Sheet U12815EJ2V1DS00
2
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
ORDERING INFORMATION
Part Number Package
µ
PD789101GS-××× 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789101MC-×××-5A4 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789102GS-××× 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789102MC-×××-5A4 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789104GS-××× 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789104MC-×××-5A4 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789111GS-××× 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789111MC-×××-5A4 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789112GS-××× 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789112MC-×××-5A4 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789114GS-××× 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789114MC-×××-5A4 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
Remark ××× indicates ROM code suffix.
Data Sheet U12815EJ2V1DS00 3
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
78K/0S SERIES LINEUP
The products in the 78K/0S Series are listed below. The names enclosed in boxes are subseries names.
Products under development
Products in mass-production
PD789014
42/44-pin PD789014 with enhanced timer function and expanded ROM and RAM
Small-scale package, general-purpose applications
PD789146
PD789156
44-pin
RC oscillation version of the PD789197AY
PD789177 with internal EEPROM
TM
and SMB
78K/0S
Series
44/48-pin
44/48-pin
Small-scale package, general-purpose applications and A/D function
28-pin
44-pin PD789167 with enhanced A/D converter
PD789104A with enhanced timer
PD789124A with enhanced A/D converter
RC oscillation version of the PD789104A
PD789104A with enhanced A/D converter
PD789026 with A/D converter and multiplier
On-chip UART and capable of low-voltage (1.8 V) operation
PD789026
44-pin PD789046 PD789026 with internal subsystem clock
28/30-pin
28/30-pin
28/30-pin
28/30-pin
PD789124A
PD789134A
PD789
217AY
PD789
197AY
PD789177
PD789167
30-pin
30-pin
PD789104A
PD789114A
PD789104A with EEPROM
PD789146 with enhanced A/D converter
PD789427 with enhanced A/D converter
On-chip UART and dot LCD
80-pin
80-pin
For LCD drive
88-pin
PD789447 with enhanced A/D converter
For Inverter control
44-pin PD789842 On-chip inverter control circuit and UART
On-chip EEPROM and security circuit
5-pin PD789810
For IC card
For keyless entry, on-chip key return circuit
20-pin PD789860
PD789840 For key pad, on-chip POC
44-pin
For ASSP
For PC keyboard, on-chip USB function
42/44-pin PD789800
20-pin PD789861 RC oscillation version of the PD789860
PD789457 with enhanced I/O
RC oscillation version of the PD789427
PD789447
PD789457
PD789437
PD789407A with enhanced A/D converter
PD789417A
PD789830
PD789407A
PD789427
PD789306
PD789316 PD789306 with A/D converter
RC oscillation version of the PD789306
Basic subseries for LCD drive
64-pin
64-pin
64-pin
64-pin
64-pin
64-pin
µµ
µµµ
µµµµµµµµµµ
µ
µµµ
µ
µ
µµµµ
µµµµ
µ
µµ
µ
µµµµµ
µµ
µµ
µ
µµ
µ
µ
µ
Data Sheet U12815EJ2V1DS00
4
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
The major functional differences among the subseries are listed below.
TimerFunction
Subseries Name
ROM
Capacity 8-bit
16-bit Watch
WDT
8-bit
A/D 10-bit
A/D Serial Interface I/O
V
DD
MIN.
Value
Remark
µ
PD789046 16 K 1ch
µ
PD789026 4 K to
16 K
1ch 1ch 34
Small-scale
package,
general-
purpose
applications
µ
PD789014 2 K t o 4 K 2 ch
1ch 1ch (UART: 1ch)
22
1.8 V
µ
PD789217AY 2ch UART: 1ch
SMB: 1ch
RC oscillation
version, on-
chip EEPROM
µ
PD789197AY On-chip
EEPROM
µ
PD789177
–8 ch
µ
PD789167
16 K to
24 K 3 ch 1 ch
8 ch
31
µ
PD789156 4 ch
µ
PD789146
8 K to
16 K 4 ch
On-chip
EEPROM
µ
PD789134A 4 ch
µ
PD789124A 4 ch
RC oscillation
version
µ
PD789114A 4 ch
Small-scale
package,
general-
purpose
applications
+ A/D
converter
µ
PD789104A
2 K to 8 K
1 ch
1 ch
1 ch
4 ch
1 ch (UART: 1 ch)
20
1.8 V
Inverter
control
µ
PD789842 8 K to
16 K 3 ch Note 1 ch 1 ch 8 ch 1 c h ( UA R T : 1 c h ) 30 4.0 V
µ
PD789830 24 K 1 ch 30 2.7 V
µ
PD789417A
7 ch 43
µ
PD789407A
12 K to
24 K 3 ch
7 ch
1 ch (UART: 1 ch)
µ
PD789457 4 ch
µ
PD789447 4 ch
RC oscillation
version
µ
PD789437 4 ch
µ
PD789427
16 K to
24 K
4 ch
25
µ
PD789316 RC oscillation
version
LCD
drive
µ
PD789306
8 K to
16 K
2 ch
1 ch 1 ch 1 ch
2 ch (UART: 1 ch)
23
1.8 V
µ
PD789800 2 ch (USB: 1 ch) 31 4.0 V
µ
PD789840
8 K 1 ch
4 ch 1 ch 29 2.8 V
µ
PD789861 RC oscillation
version
ASSP
µ
PD789860
4 K
2 ch
–1 ch
14 1.8 V
IC card
µ
PD789810 6 K 1 ch 1 2.7 V On-chip
EEPROM
Note 10-bit timer: 1 channel
Data Sheet U12815EJ2V1DS00 5
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
OVERVIEW OF FUNCTIONS
Item
µ
PD789101
µ
PD789111
µ
PD789102
µ
PD789112
µ
PD789104
µ
PD789114
ROM 2 Kbytes 4 Kbytes 8 Kby tesInternal memory
High-speed RAM 256 bytes
Minimum i nstruct i on executi on time 0.4/1.6
µ
s (@ 5.0-MHz operation with system clock)
General-purpose regis ters 8 bit s × 8 regist ers
Instruction set 16-bit operati ons
Bit m ani pul at i ons (set, reset, and test)
Multiplier 8 bits × 8 bits = 16 bi t s
I/O ports Total: 20
CMOS input : 4
CMOS I/O: 12
N-ch open-drain (12-V wi t hstand vol tage): 4
A/D c onverters 8-bit resol ut i on × 4 channels (
µ
PD789104 Subseri es)
10-bit resol ut i on × 4 channels (
µ
PD789114 Subseri es)
Serial i nterface Switc habl e between 3-wire serial I/O and UART m odes
Timer 16-bit ti m er: 1 channel
8-bit ti m er/ event counter: 1 channel
Watchdog ti mer: 1 channel
Timer output 1 output (16-bit/ 8-bi t timer alt ernate function)
Maskabl e Internal: 6, Ext ernal : 3Vectored i nterrupt
sources Non-maskable Internal: 1
Power supply voltage VDD = 2.7 to 5.5 V
Operating ambient temperat ure TA = –40 to +85°C
Package 30-pi n pl astic shrink S OP (300 mils , resin t hi ckness 1.7 mm)
30-pin plast i c shrink S O P (300 m i l s, resi n thick ness 1.2 m m )
Data Sheet U12815EJ2V1DS00
6
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
CONTENTS
1. PIN CONFIGURATION (TOP VIEW).............................................................................................. 7
2. BLOCK DIAGRAM ........................................................................................................................... 8
3. PIN FUNCTIONS............................................................................................................................... 9
3.1 Port Pins .................................................................................................................................................. 9
3.2 Non-Port Pins.......................................................................................................................................... 10
3.3 Pin I/O Circuits and Recommended Connection of Unused Pins...................................................... 11
4. MEMORY SPACE............................................................................................................................. 13
5. PERIPHERAL HARDWARE FUNCTIONS...................................................................................... 14
5.1 Ports ........................................................................................................................................................ 14
5.2 Clock Generator...................................................................................................................................... 14
5.3 Timer........................................................................................................................................................ 15
5.4 A/D Converter ......................................................................................................................................... 17
5.5 Serial Interface 20 ................................................................................................................................... 18
5.6 Multiplier.................................................................................................................................................. 19
6. INTERRUPT FUNCTION.................................................................................................................. 20
7. STANDBY FUNCTION ..................................................................................................................... 22
8. RESET FUNCTION........................................................................................................................... 22
9. INSTRUCTION SET OVERVIEW..................................................................................................... 23
9.1 Conventions............................................................................................................................................ 23
9.2 Operations............................................................................................................................................... 25
10. ELECTRICAL SPECIFICATIONS .................................................................................................... 30
11. CHARACTERISTICS CURVES (REFERENCE VALUES)............................................................. 45
12. PACKAGE DRAWING...................................................................................................................... 48
13. RECOMMENDED SOLDERING CONDITIONS .............................................................................. 50
APPENDIX A DEVELOPMENT TOOLS .............................................................................................. 5 2
APPENDIX B RELATED DOCUMENTS.............................................................................................. 54
Data Sheet U12815EJ2V1DS00 7
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
1. PIN CONFIGURATION (TOP VIEW)
30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789101GS-×××
µ
PD789102GS-×××
µ
PD789104GS-×××
µ
PD789111GS-×××
µ
PD789112GS-×××
µ
PD789114GS-×××
30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789101MC-×××-5A4
µ
PD789102MC-×××-5A4
µ
PD789104MC-×××-5A4
µ
PD789111MC-×××-5A4
µ
PD789112MC-×××-5A4
µ
PD789114MC-×××-5A4
P23/INTP0/CPT20/SS20
P24/INTP1/TO80/TO20
P25/INTP2/TI80
AV
DD
P60/ANI0
P61/ANI1
P62/ANI2
P63/ANI3
AV
SS
P50
IC0
P51
P52
P53
P00
28
27
26
30
29
25
24
23
22
21
20
19
18
16
P22/SI20/R
X
D20
P21/SO20/T
X
D20
P20/SCK20/ASCK20
P11
P10
V
DD
V
SS
X1
X2
IC0
IC0
RESET
P03
P02
P01
1
2
3
4
5
6
7
8
9
10
11
12
13
1714
15
Cautions 1. Connect the IC0 (Internally Connected) pin directly to VSS.
2. Connect the AVDD pin to VDD.
3. Connect the AVSS pin to VSS.
ANI0 to ANI3: Analog Input RESET: Reset
ASCK20: Asynchronous Serial Input RXD20: Receive Data
AVDD: Analog Power Supply SCK20: Serial Clock Input/Output
AVSS: Analog Ground SI20: Serial Data Input
CPT20: Capture Trigger Input SO20: Serial Data Output
IC0: Internally Connected SS20: Chip Select Input
INTP0 to INTP2: Interrupt from Peripherals TI80: Timer Input
P00 to P03: Port0 TO20, TO80: Timer Output
P10, P11: Port1 TXD20: Transmit Data
P20 to P25: Port2 VDD: Power Supply
P50 to P53: Port5 VSS: Ground
P60 to P63: Port6 X1, X2: Crystal 1, 2
Data Sheet U12815EJ2V1DS00
8
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
2. BLOCK DIAGRAM
78K/0S
CPU CORE
ROM
RAM
V
DD
V
SS
IC0
TI80/INTP2/P25
8-BIT TIMER
EVENT/COUNTER 80
TO80/TO20
/INTP1/P24
P00 to P03
PORT 0
P10, P11
PORT 1
P20 to P25
PORT 2
P50 to P53
PORT 5
P60 to P63
PORT 6
SYSTEM
CONTROL
TO20/TO80
/INTP1/P24
CPT20/INTP0
/SS20/P23
16-BIT TIMER 20
WATCHDOG TIMER
SERIAL
INTERFACE 20
SCK20/ASCK20
/P20
SI20/RxD20/P22
SO20/TxD20/P21
SS20/INTP0
/CPT20/P23
A/D CONVERTER
ANI0/P60 to
ANI3/P63
AV
DD
AV
SS
RESET
X1
X2
INTERRUPT
CONTROL
INTP0/CPT20
/P23/SS20
INTP1/TO80
/TO20/P24
INTP2/TI80/P25
Remark The internal ROM capacity varies depending on the product.
Data Sheet U12815EJ2V1DS00 9
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
3. PIN FUNCTIONS
3.1 Port Pins
Pin Name I/O Function After Reset Alternate Function
P00 to
P03 I/O Port 0
4-bit input / output port
Input/output can be specif i ed i n 1-bi t uni ts
When used as an input port, an on-c hi p pul l -up resist or can be
specified by means of software.
Input
P10, P11 I/O Port 1
2-bit input / output port
Input/output can be specif i ed i n 1-bi t uni ts
When used as an input port, an on-c hi p pul l -up resist or can be
specified by means of software.
Input
P20 SCK20/ASCK20
P21 SO20/TxD20
P22 SI20/RxD20
P23 INTP0/CPT20
/SS20
P24 INTP1/TO80/TO20
P25
I/O Port 2
6-bit input / output port
Input/output can be specif i ed i n 1-bi t uni ts
When used as an input port, an on-c hi p pul l -up resist or can be
specified by means of software.
Input
INTP2/TI80
P50 to
P53 I/O Port 5
4-bit N-ch open-drai n i nput /output port
Input/output can be specif i ed i n 1-bi t uni ts
An on-chip pul l -up res i stor can be specif i ed by the mas k option.
Input
P60 to
P63 Input Port 6
4-bit input -onl y port Input ANI0 to A NI3
Data Sheet U12815EJ2V1DS00
10
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
3.2 Non-Port Pins
Pin Name I/O Function After Reset Alternat e Function
INTP0 P23/CPT20/SS20
INTP1 P24/TO80/TO20
INTP2
Input External interrupt request i nput for which t he valid edge
(rising edge, f alling edge, or both rising and falling edges) can
be specified
Input
P25/TI80
SI20 Input Serial interfac e serial data i nput Input P22/RxD20
SO20 Output Serial int erface seri al data output Input P21/TxD20
SCK20 I/O Serial int erface seri al clock i nput/output Input P20/AS CK20
ASCK20 Input Serial clock i nput for asynchronous serial int erf ace Input P20/SCK20
SS20 Input Chip select input for serial i nterface Input P23/CPT20/INTP0
RxD20 Input Serial data i nput for asy nchronous seri al i nterface Input P22/SI20
TxD20 Output Serial dat a out put for asynchronous serial int erf ace Input P21/SO20
TI80 Input External count cloc k input t o 8-bi t timer (TM 80) Input P25/INTP 2
TO80 Output 8-bit timer (TM 80) output Input P24/INTP1/TO20
TO20 Output 16-bit timer (TM 20) output Input P24/INTP1/TO80
CPT20 Input Capture edge input Input P23/INTP0/SS 20
ANI0 to A NI3 Input A/D converter analog i nput Input P60 to P63
AVDD - A/D converter analog power s uppl y
AVSS - A/D converter ground potent i al
X1 Input ––
X2 -
Connecting cryst al resonator for m ai n system clock oscillation
––
RESET Input System reset input Input
VDD - Posit i ve power supply
VSS - Ground potential
IC0 - Internall y connect ed. Connect di rectly t o VSS.–
Data Sheet U12815EJ2V1DS00 11
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
3.3 Pin I/O Circuits and Recommended Connection of Unused Pins
The input/output circuit type of each pin and recommended connection of unused pins are shown in Table 3-1.
For the input/output circuit configuration of each type, refer to Figure 3-1.
Table 3-1. Types of Pin Input/Output Circuits
Pin Name Input/Output
Circuit Type I/O Recommended Connection of Unus ed P i ns
P00 to P03
P10, P11
5-A
P20/SCK20/ASCK20
P21/SO20/TXD20
P22/SI20/RXD20
P23/INTP0/CPT20/SS20
P24/INTP1/TO80/TO20
P25/INTP2/TI80
8-A
Input: Independently c onnect to VDD or VSS via a resistor.
Output: Leave open
P50 to P53 13-W
I/O
Input: Independently c onnect to VDD via a resistor.
Output: Leave open
P60/ANI 0 to P63/A NI 3 9-C Input Connect directl y to VDD or VSS.
AVDD Connect to VDD.
AVSS
––
Connect to VSS.
RESET 2 Input
IC0 Connect directly to VSS.
Data Sheet U12815EJ2V1DS00
12
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Figure 3-1. Pin Input/Output Circuits
Schmitt-triggered input with hysteresis characteristics
Type 2
IN
Type 5-A
Pull-up
enable
Data
Output
disable
Input
enable
VDD
P-ch
VDD
P-ch
IN/OUT
N-ch
Type 13-W
VSS
VSS
Type 8-A
Pull-up
enable
Data
Output
disable
VDD
P-ch
VDD
P-ch
IN/OUT
N-ch
VSS
Type 9-C
IN Comparator
+
VREF
(Threshold voltage)
AVSS
P-ch
N-ch
Input
enable
Output data
Output disable
IN/OUT
VDD
N-ch
Middle-voltage input buffer
Input enable
Pull-up resistor
(mask option)
Data Sheet U12815EJ2V1DS00 13
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
4. MEMORY SPACE
Figure 4-1 shows the memory map of the
µ
PD789101, 789102, 789104, 789111, 789112, and 789114.
Figure 4-1. Memory Map
Special function registers
256 × 8 bits
Internal high-speed RAM
256 × 8 bits
Reserved
Program memory
space
Data memory space
Program area
Program area
CALLT table area
Vector table area
Internal ROM
Note
FFFFH
FF00H
FEFFH
FE00H
FDFFH
nnnnH
0080H
007FH
0040H
003FH
0016H
0015H
0000H
0000H
nnnnH
nnnnH+1
Note The internal ROM capacity depends on the product. (See the following table).
Part Number Las t Address of Internal ROM
nnnnH
µ
PD789101, 789111 07FFH
µ
PD789102, 789112 0FFFH
µ
PD789104, 789114 1FFFH
Data Sheet U12815EJ2V1DS00
14
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
5. PERIPHERAL HARDWARE FUNCTIONS
5.1 Ports
The following three types of I/O ports are available:
CMOS Input (port 6): 4
CMOS input/output (ports 0 to 2): 12
N-ch open-drain input/output (port 5): 4
Total: 20
Table 5-1. Port Functions
Port Name Pin Nam e Function
Port 0 P00 to P03 Input/out put port. I nput/output can be spec i fied in 1-bit uni ts.
When used as an input port, an on-c hi p pul l -up resist or can be speci fied by means of sof tware.
Port 1 P10, P11 Input/output port. Input/output can be s pecified i n 1-bi t units .
When used as an input port, an on-c hi p pul l -up resist or can be speci fied by means of sof tware.
Port 2 P20 to P25 Input/out put port. I nput/output can be spec i fied in 1-bit uni ts.
An on-chip pul l -up res i stor can be specif i ed by means of software.
Port 5 P50 to P53 N-channel open-drain input / output port. Input/ output can be s pecified i n 1-bi t units .
An on-chip pul l -up res i stor can be specif i ed by the mas k option.
Port 6 P60 to P63 Input-only port
5.2 Clock Generator
An on-chip system clock generator is provided.
The minimum instruction execution time can be changed.
0.4
µ
s/1.6
µ
s (@ 5.0-MHz operation with system clock)
Figure 5-1. Clock Generator Block Diagram
X1
X2
STOP
fXPrescaler
fX
22
Prescaler
Clock to
peripheral hardware
CPU clock (fCPU)
Standby
control
circuit
Wait
control
circuit
Selector
System
clock
oscillator
Data Sheet U12815EJ2V1DS00 15
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
5.3 Timer
Three on-chip timers are provided.
16-bit timer 20: 1 channel
8-bit timer/event counter 80: 1 channel
Watchdog timer: 1 channel
Table 5-2. Timer Operation
16-Bit Timer 20 8-Bit Timer/Event Counter 80 Watchdog Timer
Interval timer 1 channel 1 channelOperation mode
External event counter 1 channel
Timer output 1 output 1 output
PWM output 1 output
Square wave output 1 output
Capture 1 input
Function
Interrupt request 1 1 1
Figure 5-2. Block Diagram of 16-Bit Timer 20 (TM20)
CPT20/P23
/INTP0/SS20
Internal bus
Internal bus
Selector
f
X
/2
2
f
X
/2
6
Edge detection
circuit
16-bit capture register
20 (TCP20)
16-bit counter
read buffer
Output
control
circuit
16-bit timer counter 20
(TM20)
16-bit compare register 20
(CR20)
Match
OVF
TO20/P24/
INTP1/TO80
INTTM20
Data Sheet U12815EJ2V1DS00
16
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Figure 5-3. Block Diagram of 8-Bit Timer/Event Counter 80 (TM80)
Internal bus
8-bit compare register 80
(CR80)
Match
Selector
INTTM80
OVF TO80/P24/
INTP1/TO20
Clear
f
X
f
X
/2
3
TI80/P25/
INTP2
8-bit timer counter 80
(TM80) Output
control circuit
Internal bus
Figure 5-4. Watchdog Timer Block Diagram
Prescaler
f
X
2
6
f
X
2
8
f
X
2
10
Selector
7-bit counter
INTWDT
maskable
interrupt request
RESET
INTWDT
non-maskable
interrupt request
Control
circuit
f
X
2
4
Data Sheet U12815EJ2V1DS00 17
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
5.4 A/D Converter
The conversion resolution of the A/D converter differs depending on the product as shown below.
8-bit A/D converter × 4 channels ···
µ
PD789101, 789102, 789104
10-bit A/D converter × 4 channels ···
µ
PD789111, 789112, 789114
A/D conversion can be only started by software.
Figure 5-5. A/D Converter Block Diagram
Selector
Sample&
hold circuit
INTAD0
Internal bus
A/D converter
(8-/10-bits) A/D conversion
result register
(ADCR0)
ANI0/P60
ANI1/P61
ANI2/P62
ANI3/P63
Data Sheet U12815EJ2V1DS00
18
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
5.5 Serial Interface 20
A one-channel serial interface is incorporated.
Serial interface 20 has following three modes:
Operation stop mode: Power consumption can be reduced.
Asynchronous serial interface (UART) mode: A dedicated baud rate generator is incorporated.
3-wire serial I/O mode: A function to select the clock phase or data phase is incorporated.
Figure 5-6. Block Diagram of Serial Interface 20
SI20/P22/R
X
D20
SO20/P21/T
X
D20
SS20/P23
/CPT20/INTP0
INTST20
f
X
/2 to f
X
/2
8
INTSR20/INTCSI20
SCK20/P20
/ASCK20
Internal bus
Reception buffer
register 20
(RXB20/SIO20)
Transmission shift
register 20
(TXS20/SIO20)
Reception shift register 20
(RXS20)
Data phase
control
Clock phase
control
Transmission
data counter
Reception
data counter
Selector
Baud rate generator
Data Sheet U12815EJ2V1DS00 19
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
5.6 Multiplier
The calculation of 8 bits × 8 bits = 16 bits can be performed.
Figure 5-7. Multiplier Block Diagram
Internal bus
Internal bus
Multiplier
Multiplication data
register A0
(MRA0)
Multiplication data
register B0
(MRB0)
16-bit multiplication result
storing register (MUL0)
Data Sheet U12815EJ2V1DS00
20
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
6. INTERRUPT FUNCTION
A total of 10 interrupt sources are provided, divided into the following two types.
Non-maskable interrupts: 1 source
Maskable interrupts: 9 sources
Table 6-1. Interrupt Source List
Interrupt Source
Interrupt Type PriorityNote 1
Name Trigger Internal/External Vector
Table
Address
Basic
Configuration
TypeNote 2
Non-maskable INTWDT Watchdog ti m er overflow
(with watc hdog timer mode 1
selected)
(A)
0 INTWDT Watchdog ti m er overflow
(with the i nt erval tim er mode
selected)
Internal 0004H
(B)
1 INTP0 0006H
2 INTP1 0008H
3INTP2
Pin input edge detecti on External
000AH
(C)
INTSR20 End of seri al i nterface 20 UA RT
reception
4
INTCSI20 E nd of serial i nterface 20 3-wi re
SIO transfer recept i on
000CH
5 INTST20 End of serial int erface 20 UART
transmission 000EH
6 INTTM80 Generati on of matchi ng s i gnal of
8-bit ti m er/ event counter 80 0010H
7 INTTM20 Generati on of matchi ng s i gnal of
16-bit ti m er 20 0012H
Maskable
8 INTAD0 A/ D conversi on completi on
signal
Internal
0014H
(B)
Notes 1. Priority is the priority order when several maskable interrupt requests are generated at the same time. 0
is the highest order and 8 is the lowest order.
2. Basic configuration types (A), (B), and (C) correspond to (A), (B), and (C) in Figure 6-1.
Data Sheet U12815EJ2V1DS00 21
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Figure 6-1. Basic Configuration of Interrupt Function
(A) Internal non-maskable interrupt
Internal bus
Interrupt request Vector table address
generator
Standby release signal
(B) Internal maskable interrupt
Internal bus
MK
IF
Interrupt request
IE
Vector table address
generator
Standby release signal
(C) External maskable interrupt
Internal bus
External interrupt mode
register (INTM0) MK
IF
IE
Vector table address
generator
Standby release
signal
Edge detection
circuit
Interrupt
request
IF: Interrupt request flag
IE: Interrupt enable flag
MK: Interrupt mask flag
Data Sheet U12815EJ2V1DS00
22
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
7. STANDBY FUNCTION
The following two standby functions are available for further reduction of system current consumption.
HALT mode: In this mode, the CPU operation clock is stopped. The average current consumption can be
reduced by intermittent operation by combining this mode with the normal operation mode.
STOP mode: In this mode, oscillation of the system clock is stopped. All the operations performed on the
system clock are suspended, resulting in extremely small power consumption.
Figure 7-1. Standby Function
System clock operation
STOP mode
System clock
oscillation stopped
HALT mode
Clock supply to CPU
halted, oscillation
maintained
(
(
(
(
STOP
instruction HALT instruction
Interrupt
request
Interrupt
request
8. RESET FUNCTION
The following two reset methods are available.
External reset by RESET signal input
Internal reset by watchdog timer runaway time detection
Data Sheet U12815EJ2V1DS00 23
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
9. INSTRUCTION SET OVERVIEW
The instruction set for the
µ
PD789101, 789102, 789104, 789111, 789112, 789114 is listed later.
9.1 Conventions
9.1.1 Operand identifiers and description methods
Operands are described in the “Operand” column of each instruction in accordance with the description method of
the instruction operand identifier (refer to the assembler specifications for detail). When there are two or more
description methods, select one of them. Alphabetic letters in capitals and the symbols, #, !, $, and [ ], are keywords
and must be described as they are. Each symbol has the following meaning.
#: Immediate data specification $: Relative address specification
!: Absolute address specification [ ]: Indirect address specification
In the case of immediate data, describe an appropriate numeric value or a label. When using a label, be sure to
describe the #,!, $, or [ ] symbols.
For operand register identifiers, r and rp, either function names (X, A, C, etc.) or absolute names (names in
parentheses in the table below, R0, R1, R2, etc.) can be used for description.
Table 9-1. Operand Identifiers and Description Methods
Identif i er Descript i on M ethod
r
rp
sfr
X (R0), A (R1), C (R2), B (R3), E (R4), D (R5), L (R6), H (R7),
AX (RP0), BC (RP1), DE (RP2), HL (RP3)
Special f unction register symbol
saddr
saddrp FE20H to FF1FH i m m ediate data or label
FE20H to FF1FH im m edi at e data or label (even address only )
addr16
addr5
0000H to FFFFH immediate data or label
(Only even addresses for 16-bit data transfer i nstruct i ons)
0040H to 007FH immedi ate data or label (even address onl y)
word
byte
bit
16-bit imm edi ate data or label
8-bit imm edi ate data or label
3-bit imm edi ate data or label
Data Sheet U12815EJ2V1DS00
24
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
9.1.2 Descriptions of the operation field
A: A register; 8-bit accumulator
X: X register
B: B register
C: C register
D: D register
E: E register
H: H register
L: L register
AX: AX register pair; 16-bit accumulator
BC: BC register pair
DE: DE register pair
HL: HL register pair
PC: Program counter
SP: Stack pointer
PSW: Program status word
CY: Carry flag
AC: Auxiliary carry flag
Z: Zero flag
IE: Interrupt request enable flag
NMIS: Non-maskable interrupt servicing flag
( ): Memory contents indicated by address or register contents in parentheses
XH, XL: Higher 8 bits and lower 8 bits of 16-bit register
: Logical product (AND)
: Logical sum (OR)
: Exclusive OR
: Inverted data
addr16: 16-bit immediate data or label
jdisp8: Signed 8-bit data (displacement value)
9.1.3 Description of the flag operation field
(Blank): Not affected
0: Cleared to 0
1: Set to 1
×: Set/cleared according to the result
R: Previously saved value is restored
Data Sheet U12815EJ2V1DS00 25
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
9.2 Operations
FlagMnemonic Operand Byte Clock Operation
ZACCY
r, #byt e 3 6 r byte
saddr , #by t e 3 6 (addr) byte
sfr, #byte 3 6 sfr byte
A, r Note 1 24A
r
r, A Note 1 24r
A
A, saddr 2 4 A (saddr)
saddr, A 2 4 (saddr) A
A, sfr 2 4 A sfr
sfr, A 2 4 sfr A
A, !addr16 3 8 A (addr16)
!addr16, A 3 8 (addr16) A
PSW, #byte 3 6 PSW byte × × ×
A, PSW 2 4 A PSW
PSW, A 2 4 PSW A × × ×
A, [DE] 1 6 A (DE)
[DE], A 1 6 (DE) A
A, [HL] 1 6 A (HL)
[HL], A 1 6 (HL) A
A, [HL + byte] 2 6 A (HL + byte)
MOV
[HL + byte], A 2 6 (HL + byte) A
A, X 1 4 A X
A, r Note 2 26A
r
A, saddr 2 6 A (s addr)
A, sfr 2 6 A (sfr)
A, [DE] 1 8 A (DE)
A, [HL] 1 8 A (HL)
XCH
A, [HL + byte] 2 8 A (HL + byte)
rp, #word 3 6 rp word
AX, saddrp 2 6 AX (s addrp)
saddrp, AX 2 8 (saddrp) AX
AX, rp Note 3 1 4 AX rp
MOVW
rp, AX Note 3 14rp
AX
XCHW AX, rp Note 3 1 8 AX rp
Notes 1. Except r = A
2. Except r = A or X
3. Only when rp = BC, DE, HL
Remark One instruction clock cycle is one cycle of the CPU clock (fCPU), selected by the processor clock control
register (PCC).
Data Sheet U12815EJ2V1DS00
26
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
FlagMnemonic Operand Byte Clock Operation
ZACCY
A, #byte 2 4 A, CY A + byte × × ×
saddr, #by te 3 6 (saddr), CY (s addr) + byte × × ×
A, r 2 4 A ,CY A + r × × ×
A, s addr 2 4 A, CY A + (saddr) × × ×
A, ! addr16 3 8 A, CY A + (addr16) × × ×
A, [HL] 1 6 A, CY A + (HL) × × ×
ADD
A, [HL + byte] 2 6 A, CY A + (HL + byte) × × ×
A, #byte 2 4 A, CY A + byte + CY × × ×
saddr, #by te 3 6 (saddr), CY (s addr) + byte + CY × × ×
A, r 2 4 A, CY A + r + CY × × ×
A, s addr 2 4 A, CY A + (saddr) + CY × × ×
A, ! addr16 3 8 A, CY A + (addr16) + CY × × ×
A, [HL] 1 6 A, CY A + (HL) + CY × × ×
ADDC
A, [HL + byte] 2 6 A, CY A + (HL + byte) + CY × × ×
A, #byte 2 4 A, CY A – byte × × ×
saddr, #by te 3 6 (saddr), CY (s addr) – byte × × ×
A, r 2 4 A, CY A – r × × ×
A, s addr 2 4 A, CY A – (saddr) × × ×
A, ! addr16 3 8 A, CY A – (addr16) × × ×
A, [HL] 1 6 A, CY A – (HL) × × ×
SUB
A, [HL + byte] 2 6 A, CY A – (HL + byte) × × ×
A, #byte 2 4 A, CY A – byte – CY × × ×
saddr, #by te 3 6 (saddr), CY (s addr) – byte – CY × × ×
A, r 2 4 A, CY A – r – CY × × ×
A, s addr 2 4 A, CY A – (saddr) – CY × × ×
A, ! addr16 3 8 A, CY A – (addr16) – CY × × ×
A, [HL] 1 6 A, CY A – (HL) – CY × × ×
SUBC
A, [HL + byte] 2 6 A, CY A – (HL + byte) – CY × × ×
A, #byte 2 4 A A byte ×
saddr, #by t e 3 6 (saddr) (saddr) byte ×
A, r 2 4 A A
A, saddr 2 4 A A (saddr) ×
A, !addr16 3 8 A A (addr16) ×
A, [HL] 1 6 A A (HL) ×
AND
A, [HL + byte] 2 6 A A (HL + byte) ×
Remark One instruction clock cycle is one cycle of the CPU clock (fCPU), selected by the processor clock control
register (PCC).
Data Sheet U12815EJ2V1DS00 27
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
FlagMnemonic Operand Byte Clock Operation
ZACCY
A, #byte 2 4 A A byte ×
saddr, #by t e 3 6 (saddr) (saddr) byte ×
A, r 2 4 A A
A, saddr 2 4 A A (saddr) ×
A, !addr16 3 8 A A (addr16) ×
A, [HL] 1 6 A A (HL) ×
OR
A, [HL + byte] 2 6 A A (HL + byte) ×
A, #byte 2 4 A A byte ×
saddr, #by t e 3 6 (saddr) (saddr) byte ×
A, r 2 4 A A
A, saddr 2 4 A A (saddr) ×
A, !addr16 3 8 A A (addr16) ×
A, [HL] 1 6 A A (HL) ×
XOR
A, [HL + byte] 2 6 A A (HL + byte) ×
A, #byte 2 4 A – byte × × ×
saddr, #by t e 3 6 (saddr) – byt e × × ×
A, r 2 4 A – r × × ×
A, saddr 2 4 A – (s addr) × × ×
A, !addr16 3 8 A – (addr16) × × ×
A, [HL] 1 6 A – (HL) × × ×
CMP
A, [HL + byte] 2 6 A – (HL + byt e) × × ×
ADDW AX, #word 3 6 AX, CY AX + word × × ×
SUBW AX, #word 3 6 AX, CY AX – word × × ×
CMPW AX, #word 3 6 AX – word × × ×
r24r
r + 1 × ×INC
saddr 2 4 (saddr) (s addr) + 1 × ×
r24r
r – 1 × ×DEC
saddr 2 4 (saddr) (s addr) – 1 × ×
INCW rp 1 4 rp rp + 1
DECW rp 1 4 rp rp – 1
ROR A, 1 1 2 (CY, A7 A0, Am – 1 Am) ×
ROL A, 1 1 2 (CY, A0 A7, Am + 1 Am) ×
RORC A, 1 1 2 (CY A0, A7 CY, Am – 1 Am) ×
ROLC A, 1 1 2 (CY A7, A0 CY, Am + 1 Am) ×
Remark One instruction clock cycle is one cycle of the CPU clock (fCPU), selected by the processor clock control
register (PCC).
Data Sheet U12815EJ2V1DS00
28
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
FlagMnemonic Operand Byte Clock Operation
ZACCY
saddr. bit 3 6 (saddr. bi t) 1
sfr. bit 3 6 sfr. bit 1
A. bit 2 4 A. bit 1
PSW. bit 3 6 PSW. bit ××
SET1
[HL]. bit 2 10 (HL) . bit 1
saddr. bit 3 6 (saddr. bi t) 0
sfr. bit 3 6 sfr. bit 0
A. bit 2 4 A. bit 0
PSW. bit 3 6 PSW. bit ××
CLR1
[HL]. bit 2 10 (HL) . bit 0
SET1 CY 1 2 CY 11
CLR1 CY 1 2 CY 00
NOT1 CY 1 2 CY CY ×
CALL !addr16 3 6 (SP – 1) (PC + 3)H,(SP – 2) (P C + 3)L,
PC addr16, SP SP – 2
CALLT [addr5] 1 8 (SP – 1) (PC + 1)H, (S P – 2) (P C + 1)L,
PCH (00000000, addr5 + 1),
PCL (00000000, addr5),
SP SP – 2
RET 1 6 PCH (SP + 1), PCL (SP),
SP SP + 2
RETI 1 8 PCH (SP + 1), PCL (SP),
PSW (SP + 2), SP SP + 3,
NMIS 0
RRR
PSW 1 2 (SP – 1) PSW, SP SP – 1PUSH
rp 1 4 (SP – 1) rpH, (S P – 2) rpL,
SP SP – 2
PSW 1 4 PSW (SP), SP SP + 1 R R RPOP
rp 1 6 rpH (SP + 1), rpL (SP),
SP SP + 2
SP, AX 2 8 SP AXMOVW
AX, SP 2 6 AX SP
!addr16 3 6 PC addr16
$addr16 2 6 PC PC + 2 + jdisp8
BR
AX 1 6 PCH A, PCL X
Remark One instruction clock cycle is one cycle of the CPU clock (fCPU), selected by the processor clock control
register (PCC).
Data Sheet U12815EJ2V1DS00 29
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
FlagMnemonic Operand Byte Clock Operation
ZACCY
BC $addr16 2 6 PC PC + 2 + jdisp8 if CY = 1
BNC $addr16 2 6 PC PC + 2 + jdisp8 if CY = 0
BZ $addr16 2 6 PC PC + 2 + jdisp8 if Z = 1
BNZ $addr16 2 6 PC PC + 2 + jdisp8 if Z = 0
saddr. bit , $addr16 4 10 PC PC + 4 + jdisp8
if (saddr. bi t) = 1
sfr. bi t, $addr16 4 10 P C P C + 4 + jdi sp8 if sfr. bit = 1
A. bit , $addr16 3 8 PC PC + 3 + jdisp8 if A. bit = 1
BT
PSW. bi t, $addr16 4 10 PC PC + 4 + jdisp8 if PSW. bi t = 1
saddr. bit , $addr16 4 10 PC PC + 4 + jdisp8
if (saddr. bi t) = 0
sfr. bi t, $addr16 4 10 P C P C + 4 + jdi sp8 if sfr. bit = 0
A. bit , $addr16 3 8 PC PC + 3 + jdi sp8 if A. bi t = 0
BF
PSW. bi t, $addr16 4 10 PC PC + 4 + jdisp8 if PSW. bit = 0
B, $addr16 2 6 B B – 1, t hen
PC PC + 2 + jdisp8 if B 0
C, $addr16 2 6 C C – 1, then
PC PC + 2 + jdisp8 if C 0
DBNZ
saddr, $addr16 3 8 (saddr) (saddr) – 1, then
PC PC + 3 + jdisp8 if(s addr) 0
NOP 1 2 No Operation
EI 3 6 IE 1(Enable Interrupt )
DI 3 6 IE 0(Dis abl e Interrupt)
HALT 1 2 Set HALT Mode
STOP 1 2 Set STOP Mode
Remark One instruction clock cycle is one cycle of the CPU clock (fCPU), selected by the processor clock control
register (PCC).
Data Sheet U12815EJ2V1DS00
30
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
10. ELECTRICAL SPECIFICATIONS
Absolute Maximum Ratings (TA = 25°
°°
°C)
Parameter Symbol Conditions Ratings Unit
Supply v ol tage V DD, AVDD VDD = AV DD –0.3 to +6.5 V
VI1 Pins ot her than P50 to P 53 –0.3 to VDD + 0. 3 V
With N-ch open drai n –0.3 to +13 V
Input vol tage
VI2 P50 to P53
With an on-chip pull-up resistor 0.3 to VDD + 0.3 V
Output vol tage VO–0.3 t o V DD + 0. 3 V
IOH Per pin –10 mAOutput current, high
Total for al l pi ns –30 mA
IOL Per pin 30 mAOutput current, l ow
Total for al l pi ns 160 mA
Operating ambient temperat ure TA–40 to +85 °C
Storage tem perature Tstg –65 to +150 °C
Caution 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.
Remark Unless specified otherwise, the characteristics of alternate-function pins are the same as those of port
pins.
Data Sheet U12815EJ2V1DS00 31
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
System Clock Oscillator Characteristics
(TA = –40 to +85 °
°°
°C, VDD = 2.7 to 5.5 V)
Resonator Recommended
Circuit Parameter Conditions MIN. TYP. MAX. Unit
Oscillati on f requency (f X)Note 1 VDD = oscillation voltage
range 1.0 5.0 MHzCeramic
resonator
X2X1IC0
C2C1
Oscillation stabilization
timeNote 2 After VDD reaches
oscillation voltage range
MIN.
4ms
Oscillati on f requency (f X)Note 1 1.0 5.0 MHz
VDD = 4.5 to 5.5 V 10 ms
Crystal
resonator
X2X1IC0
C2C1
Oscillation stabilization
timeNote 2 VDD = 2.7 to 5. 5 V 30
X1 input f requency (fX)Note 1 1.0 5.0 MHzExternal
clock
X1 X2
OPEN
X1 input high-/low-level
width (tXH, tXL)85 500 ns
Notes 1. Indicates only oscillator characteristics. Refer to AC characteristics for instruction execution time.
2. Time required to stabilize oscillation after a reset or STOP mode release. Use the resonator that
stabilizes oscillation during the oscillation wait time.
Caution When using the 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 VSS.
Do not ground the capacitor to a ground pattern through which a high current flows.
Do not fetch signals from the oscillator.
Data Sheet U12815EJ2V1DS00
32
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Recommended Oscillator Constant
Ceramic resonator (TA = –40 to +85°C) (1/4)
Recommended
Circuit Constant
(pF)
Oscillation Voltage
Range (VDD)
Manufacturer P art Number Frequency
(MHz)
C1 C2 MIN. MAX.
Remarks
CSB1000JNote 1. 00 100 100 Rd = 2.2 k
CSA2.00MG 30 30
CST2.00MG
2.00
On-chip capacitor
CSA4.00MG 30 30
CST4.00MGW On-chip capaci tor
CSA4.00MGU 30 30
CST4.00MGWU
4.00
On-chip capacitor
CSA4.19MG 30 30
CST4.19MG On-chip capaci tor
CSA4.19MGU 30 30
CST4.19MGU
4.19
On-chip capacitor
CSA4.91MG 30 30
CST4.91MGW On-chip capaci tor
CSA4.91MGU 30 30
CST4.91MGWU
4.91
On-chip capacitor
CSA5.00MG 30 30
CST5.00MGW On-chip capaci tor
CSA5.00MGU 30 30
Murata Mfg.
Co., Ltd.
(Lead pin
type)
CST5.00MGWU
5.00
––
2.7 5.5
On-chip capacitor
Note When using the CSB1000J (1.0 MHz) of Murata Mfg. Co., Ltd. as a ceramic resonator, a limited resistor
(Rd = 2.2 k) is required (see the figure below). The resistor is not required when a recommended
resonator other than the CSB1000J is used.
X2
X1
CSB1000J
C2
C1
Rd
Caution The oscillator constant and oscillation voltage range indicate conditions of stable oscillation.
Oscillation frequency precision is not guaranteed. For applications requiring oscillation
frequency precision, the oscillation frequency must be adjusted on the implementation circuit.
For details, please contact directly the manufacturer of the resonator you will use.
Data Sheet U12815EJ2V1DS00 33
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Ceramic resonator (TA = –40 to +85°C) (2/4)
Recommended
Circuit Constant
(pF)
Oscillation Voltage
Range (VDD)
Manufacturer P art Number Frequency
(MHz)
C1 C2 MIN. MAX.
Remarks
CSBF1000JNote 1.00 100 100 Rd = 2.2 k
CSAC2.00MGC 30 30
CSTC2.00MG
2.00
On-chip capacitor
CSAC4.00MGC
CSAC4.00MGCU
30 30
CSTCC4.00MG
CSTCC4.00MGU
4.00
On-chip capacitor
CSAC4.19MGC
CSAC4.19MGCU
30 30
CSTCC4.19MG
CSTCC4.19MGU
4.19
On-chip capacitor
CSAC4.91MGC
CSAC4.91MGCU
30 30
CSTCC4.91MG
CSTCC4.91MGU
4.91
On-chip capacitor
CSAC5.00MGC
CSAC5.00MGCU
30 30
CSTCC5.00MG
Murata Mfg.
Co., Ltd.
(SMD type)
CSTCC5.00MGU
5.00
––
2.7 5.5
On-chip capacitor
Note When using the CSBF1000J (1.0 MHz) of Murata Mfg. Co., Ltd. as a ceramic resonator, a limited resistor
(Rd = 2.2 k) is required (see the figure below). The resistor is not required when a recommended
resonator other than the CSBF1000J is used.
X2
X1
CSBF1000J
C2
C1
Rd
Caution The oscillator constant and oscillation voltage range indicate conditions of stable oscillation.
Oscillation frequency precision is not guaranteed. For applications requiring oscillation
frequency precision, the oscillation frequency must be adjusted on the implementation circuit.
For details, please contact directly the manufacturer of the resonator you will use.
Data Sheet U12815EJ2V1DS00
34
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Ceramic resonator (TA = –40 to +85°C) (3/4)
Recommended
Circuit Constant
(pF)
Oscillation Voltage
Range (VDD)
Manufacturer P art Number Frequency
(MHz)
C1 C2 MIN. MAX.
Remarks
KBR-1000F 1.00 100 100
KBR-2.0MS 2.00 68 68
KBR-4.0MKC
KBR-4.0MKD
KBR-4.0MKS
On-chip capacitor
KBR-4.0MSA
KBR-4.0MSB
4.00
33 33
KBR-4.19MKC
KBR-4.19MKD
KBR-4.19MKS
On-chip capacitor
KBR-4.19MSA
KBR-4.19MSB
4.19
33 33
KBR-4.91MKC
KBR-4.91MKD
KBR-4.91MKS
On-chip capacitor
KBR-4.91MSA
KBR-4.91MSB
4.91
33 33
KBR-5.0MKC
KBR-5.0MKD
KBR-5.0MKS
On-chip capacitor
KBR-5.0MSA
Kyocera
Corporation
(Lead pin
type)
KBR-5.0MSB
5.00
33 33
2.7 5.5
KBR-1000Y 1.00 100 100
PBRC4.00A 33 33
PBRC4.00B
4.00
On-chip capacitor
PBRC4.19A 33 33
PBRC4.19B
4.19
On-chip capacitor
PBRC4.91A 33 33
PBRC4.91B
4.91
On-chip capacitor
PBRC5.00A 33 33
Kyocera
Corporation
(SMD type)
PBRC5.00B
5.00
––
2.7 5.5
On-chip capacitor
Caution The oscillator constant and oscillation voltage range indicate conditions of stable oscillation.
Oscillation frequency precision is not guaranteed. For applications requiring oscillation
frequency precision, the oscillation frequency must be adjusted on the implementation circuit.
For details, please contact directly the manufacturer of the resonator you will use.
Data Sheet U12815EJ2V1DS00 35
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Ceramic resonator (TA = –40 to +85°C) (4/4)
Recommended
Circuit Constant
(pF)
Oscillation Voltage
Range (VDD)
Manufacturer P art Number Frequency
(MHz)
C1 C2 MIN. MAX.
Remarks
CCR4.0MC3 On-chip capacit or
FCR4.0M5 33 33
FCR4.0MC5
4.00
CCR4.19MC3
On-chip capacitor
FCR4.19M5 33 33
FCR4.19MC5
4.19
CCR4.91MC3 4.91
CCR5.0MC3
TDK
FCR5.0MC5
5.00
––
2.7 5.5
On-chip capacitor
Caution The oscillator constant and oscillation voltage range indicate conditions of stable oscillation.
Oscillation frequency precision is not guaranteed. For applications requiring oscillation
frequency precision, the oscillation frequency must be adjusted on the implementation circuit.
For details, please contact directly the manufacturer of the resonator you will use.
Data Sheet U12815EJ2V1DS00
36
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
DC Characteristics (TA = –40 to +85°
°°
°C, VDD = 2.7 to 5.5 V) (1/2)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Per pin –1 mAOutput current, high I OH
Total for al l pi ns –15 mA
Per pin 10 mAOutput current, low IOL
Total for al l pi ns 80 mA
VIH1 Pins other t han described below 0.7VDD VDD V
With N-ch open drai n 0.7VDD 12 VVIH2 P50 to P53, V DD
= 3.5 to 5.5 V Wit h on-chip pull-up res i stor 0.7VDD VDD V
VIH3 RESET, P20 to P25, P40 to P45 0.8VDD VDD V
VDD = 2.7 to 5.5 V VDD – 0.1 VDD V
Input vol tage, high
VIH4 X1, X2
VDD = 4.5 to 5.5 V VDD – 0.5 VDD V
VIL1 Pins other t han described below 0 0.3V DD V
VIL2 P50 to P53, V DD = 3.5 to 5.5 V 0 0.3VDD V
VIL3 RESET, P20 to P25, P40 to P45 0 0.2VDD V
VDD = 2.7 to 5.5 V 0 0.1 V
Input vol tage, low
VIL4 X1, X2
VDD = 4.5 to 5.5 V 0 0.4 V
VOH1 VDD = 4.5 to 5.5 V, IOH = –1 mA VDD – 1.0 VOutput vol tage, high
VOH2 VDD = 2.7 to 5.5 V, IOH = –100
µ
AV
DD – 0.5 V
VDD = 4.5 to 5.5 V,
IOL = 10 mA 1.0 V
VOL1 Pins other t han P50 to
P53
VDD = 2.7 to 5.5 V
IOL = 400
µ
A0.5 V
VDD = 4.5 to 5.5 V,
IOL = 10 mA 1.0 V
Output vol tage, low
VOL2 P50 to P53
VDD = 2.7 to 5.5 V
IOL = 1.6 mA 0.4 V
ILIH1 Pins other than X1, X2,
or P50 to P53 3
µ
A
ILIH2 X1, X2
VIN = VDD
20
µ
A
Input leak age current,
high
ILIH3 P50 to P53 (N-ch open
drain) VIN = 12 V 20
µ
A
ILIL1 Pins other than X1, X2,
or P50 to P53 –3
µ
A
ILIL2 X1, X2 –20
µ
A
Input leak age current,
low
ILIL3 P50 to P53 (N-ch open
drain)
VIN = 0 V
–3Note
µ
A
Note When pull-up resistors are not connected to P50 to P53 (specified by the mask option) and when port 5 is
in input mode, a low-level input leakage current of –30
µ
A (MAX.) flows only for 1 cycle time after a read
instruction has been executed to port 5.
Remark Unless specified otherwise, the characteristics of alternate-function pins are the same as those of port
pins.
Data Sheet U12815EJ2V1DS00 37
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
DC Characteristics (TA = –40 to +85°
°°
°C, VDD = 2.7 to 5.5 V) (2/2)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Output leak age
current, hi gh ILOH VOUT = VDD 3
µ
A
Output leak age
current, low ILOL VOUT = 0 V –3
µ
A
Software pul l -up
resistor R1VIN = 0 V, for pins other than P50 t o P 53 50 100 200 k
Mask option pull-up
resistor R2VIN = 0 V, P50 to P53 10 30 60 k
VDD = 5.0 V±10%Note 3 1.8 3.2 mA
IDD1Note 1 5.0-MHz crystal
oscillati on operat ing
mode (C1 = C2 = 22pF) VDD = 3.0 V±10%Note 4 0.45 0.9 mA
VDD = 5.0 V±10%Note 3 0.8 1.6 mA
IDD2Note 1 5.0-MHz crystal
oscillation HALT mode
(C1 = C2 = 22pF) VDD = 3.0 V±10%Note 4 0.3 0.6 mA
VDD = 5.0 V±10% 0.1 10
µ
A
IDD3Note 1 STOP mode
VDD = 3.0 V±10% 0.05 5.0
µ
A
VDD = 5.0 V±10% 3.0 5.5 mA
Power supply
currentNote 1
IDD4Note 2 5.0-MHz crystal
oscillati on A /D operating
mode (C1 = C2 = 22pF) VDD = 3.0 V±10% 1.65 3.2 mA
Notes 1. The current flowing to the ports (including the current flowing through an on-chip pull-up resistor) and
AVDD current are not included.
2. The current flowing to the ports (including the current flowing through an on-chip pull-up resistor) is not
included.
3. High-speed mode operation (when processor clock control register (PCC) is set to 00H.)
4. Low-speed mode operation (when PCC is set to 02H).
Remark Unless specified otherwise, the characteristics of alternate-function pins are the same as those of port
pins.
Data Sheet U12815EJ2V1DS00
38
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
AC Characteristics
(1) Basic operation (TA = –40 to +85°
°°
°C, VDD = 2.7 to 5.5 V)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Cycle time
(minimum instruction
execut i on t i m e)
TCY 0.4 8
µ
s
TI80 input hi gh-/ l ow-
level width tTIH,
tTIL
0.1
µ
s
TI80 input f requenc y fTI 04
MHz
Interrupt i nput high-
/low-lev el width tINTH,
tINTL
INTP0 to INTP2 10
µ
s
RESET low-level
width tRSL 10
µ
s
TCY vs VDD (at 5.0 MHz operation with system clock)
Supply voltage VDD [V]
123456
0.1
0.4
0.5
1.0
2.0
10
60
Cycle time TCY [ s]
Guaranteed
operation range
µ
Data Sheet U12815EJ2V1DS00 39
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
(2) Serial interface (TA = –40 to +85°
°°
°C, VDD = 2.7 to 5.5 V)
(i) 3-wire serial I/O mode (SCK20...Internal clock output)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
SCK20 cycle time tKCY1 800 ns
SCK20 high-/ l ow-
level width tKH1,
tKL1
tKCY1/2 – 50 ns
SI20 setup time
(to SCK20)tSIK1 150 ns
SI20 hold t i m e
(from SCK20)tKSI1 400 ns
SO20 output del ay
time from SCK20tKSO1 R = 1 k ,
C = 100 pFNote 0 250 ns
Note R and C are the load resistance and load capacitance of the SO output line.
(ii) 3-wire serial I/O mode (SCK20...External clock input)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
SCK20 cycle time tKCY2 900 ns
SCK20 high-/ l ow-
level width tKH2,
tKL2
400 ns
SI20 setup time
(to SCK20)tSIK2 100 ns
SI20 hold t i m e
(from SCK20)tKSI2 400 ns
SO20 output del ay
time from SCK20tKSO2 R = 1 k,
C = 100 pFNote 0 300 ns
SO20 set up t i m e
(for SS20 when
SS20 is used)
tKAS2 120 ns
SO20 disabl e time
(for SS20 when
SS20 is used)
tKDS2 240 ns
Note R and C are the load resistance and load capacitance of the SO output line.
(iii) UART mode (Dedicated baud rate generator output)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Transfer rat e 78125 bps
Data Sheet U12815EJ2V1DS00
40
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
(iv) UART mode (external clock input)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
ASCK20 cycle time tKCY3 900 ns
ASCK20 high-/low-
level width tKH3,
tKL3
400 ns
Transfer rat e 39063 bps
ASCK20 rise/fall time tR,
tF
1
µ
s
Data Sheet U12815EJ2V1DS00 41
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
AC Timing Test Points (excluding X1 input)
Clock Timing
1/f
X
t
XL
t
XH
X1 input V
IH4
(MIN.)
V
IL4
(MAX.)
TI Timing
TI80
t
TIL
t
TIH
1/f
TI
Interrupt Input Timing
INTP0 to INTP2
tINTL tINTH
RESET Input Timing
RESET
t
RSL
0.8V
DD
0.2V
DD
0.8V
DD
0.2V
DD
Test points
Data Sheet U12815EJ2V1DS00
42
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Serial Transfer Timing
3-wire serial I/O mode:
SCK20
t
KLm
t
KCYm
t
KHm
SI20 Input data
t
KSIm
t
SIKm
Output data
t
KSOm
SO20
m = 1, 2
3-wire serial I/O mode (when SS20 is used):
t
KAS2
SO20
SS20
Output data
t
KDS2
UART mode (external clock input):
ASCK20
t
R
t
F
t
KL3
t
KCY3
t
KH3
Data Sheet U12815EJ2V1DS00 43
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
8-Bit A/D Conver ter C haracter istics (
µ
µµ
µ
PD789101, 789102, 789104)
(TA = –40 to +85°
°°
°C, AVDD = VDD = 2.7 to 5.5 V, AVSS = V SS = 0 V)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Resolution 888bit
Overall errorNote ±0.4 ±0.6 %FSR
Conversion time tCONV 14 100
µ
s
Analog input
voltage VIAN 0AV
DD V
Note Excludes quantization error (±0.2%).
Remark FSR: Full-scale range
10-Bit A/D Conver ter C haracter istics (
µ
µµ
µ
PD789111, 789112, 789114)
(TA = –40 to +85°C, AV DD = VDD = 2.7 to 5.5 V, A VSS = VSS = 0 V)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Resolution 10 10 10 bit
4.5 V VDD 5.5 V ±0.2 ±0.4 %FSR
Overall errorNote
2.7 V VDD < 4.5 V ±0.4 ±0.6 %FSR
Conversion time t CONV 14 100
µ
s
4.5 V VDD 5.5 V ±0.4 %FSR
Zero-sca l e error Note
2.7 V VDD < 4.5 V ±0.6 %FSR
4.5 V VDD 5.5 V ±0.4 %FSR
Full-scale errorNote
2.7 V VDD < 4.5 V ±0.6 %FSR
4.5 V VDD 5.5 V ±2.5 LSBNon-integral li neari ty
errorNote INL
2.7 V VDD < 4.5 V ±4.5 LSB
4.5 V VDD 5.5 V ±1.5 LSBNon-differential
linearity errorNote DNL
2.7 V VDD < 4.5 V ±2.0 LSB
Analog input voltage VIAN 0AV
DD V
Note Excludes quantization error (±0.05%).
Remark FSR: Full-scale range
Data Sheet U12815EJ2V1DS00
44
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Data Memory STOP Mode Low Supply Voltage Data Retention Characteristics (TA = –40 to +85°
°°
°C)
Parameter Symbol Conditions MIN. TYP. MAX. Unit
Data retention
supply voltage VDDDR 1.8 5.5 V
Release si gnal
set time tSREL 0
µ
s
Release by RESET 215/fXmsOscillation
stabilization wait
timeNote 1
tWAIT
Release by i nterrupt request Note 2 ms
Notes 1. The oscillation stabilization wait time is the period during which the CPU operation is stopped to avoid
unstable operation at the beginning of oscillation.
2. Selection of 212/fX, 215/fX, or 217/fX is possible with bits 0 to 2 (OSTS0 to OSTS2) of the oscillation
stabilization time select register.
Remark fX: System clock oscillation frequency
Data Retention Timing (STOP mode release by RESET)
V
DD
Data retention mode
STOP mode
HALT mode
Internal reset operation
Operating mode
t
SREL
t
WAIT
STOP instruction execution
V
DDDR
RESET
Data Retention Timing (Standby release signal: STOP mode release by interrupt signal)
V
DD
Data retention mode
STOP mode
HALT mode
Operating mode
t
SREL
t
WAIT
STOP instruction execution
V
DDDR
Standby release signal
(interrupt request)
Data Sheet U12815EJ2V1DS00 45
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
11. CHARACTERISTICS CURVES (REFERENCE VALUES)
IDD vs VDD (System clock: 5.0-MHz crystal resonator)
01 2345678
0.001
0.005
0.01
0.05
0.1
0.5
1.0
5.0
10
PCC = 00H
PCC = 02H
PCC = 00H (HALT mode)
PCC = 02H (HALT mode)
X2
X1
Crystal resonator
5.0 MHz
22 pF 22 pF
(T
A
= 25°C)
Power supply voltage VDD (V)
Power supply current I
DD
(mA)
Data Sheet U12815EJ2V1DS00
46
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
IDD vs VDD (System clock: 4.0-MHz crystal resonator)
01 2345678
0.001
0.005
0.01
0.05
0.1
0.5
1.0
5.0
10
PCC = 00H
PCC = 02H
PCC = 00H (HALT mode)
PCC = 02H (HALT mode)
X2
X1
Crystal resonator
4.0 MHz
22 pF 22 pF
(T
A
= 25°C)
Power supply voltage V
DD
(V)
Power supply current I
DD
(mA)
Data Sheet U12815EJ2V1DS00 47
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
IDD vs VDD (System clock: 2.0-MHz crystal resonator)
01 2345678
0.001
0.005
0.01
0.05
0.1
0.5
1.0
5.0
10
PCC = 00H
PCC = 02H
PCC = 00H (
HALT mode)
PCC = 02H (
HALT mode)
X2
X1
Crystal resonator
2.0 MHz
47 pF 47 pF
(T
A
= 25°C)
Power supply current I
DD
(mA)
Power supply voltage V
DD
(V)
Data Sheet U12815EJ2V1DS00
48
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
12. PACKAGE DRAWING
ITEM MILLIMETERS INCHES
B
C
I
0.65 (T.P.)
0.51 MAX.
L
0.10
0.5±0.2
6.1±0.2
M0.10N
0.020 MAX.
0.240±0.008
0.020
0.004
0.004
+0.008
–0.009
0.026 (T.P.)
30 PIN PLASTIC SHRINK SOP (300 mil)
A 9.85±0.26 0.388±0.011
K 0.17 0.007+0.003
–0.004
NOTES
1. Controlling dimension millimeter.
2. Each lead centerline is located within 0.10 mm (0.004 inch) of
its true position (T.P.) at maximum material condition.
D
0.125±0.075
0.32
E2.0 MAX.F
0.013
0.005±0.003
0.079 MAX.
+0.003
–0.004
G
H 8.1±0.2
1.7±0.1 0.067±0.004
0.319±0.008
+0.08
–0.07
J 1.0±0.2 0.039+0.009
–0.008
P30GS-65-300B-2
P3°+7°
–3°
+0.08
–0.07
3°+7°
–3°
30 16
115
S
S
H
J
I
G
D
E
F
A
M
C
M
BL
K
P
detail of lead end
N
Data Sheet U12815EJ2V1DS00 49
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
S
S
H
J
T
I
G
D
E
F
CB
K
PL
U
N
ITEM MILLIMETERS
B
C
I
0.65 (T.P.)
0.45 MAX.
L0.13
0.5
6.1±0.2
M0.10N
30 PIN PLASTIC SSOP (300 mil)
A 9.85±0.15
K 0.17±0.03
NOTE
Each lead centerline is located within 0.10 mm of
its true position (T.P.) at maximum material condition.
D
0.1±0.05
0.24
E1.3±0.1F
G
H 8.1±0.2
1.2
+0.08
0.07
J 1.0±0.2
S30MC-65-5A4-1
P3°+5°
3°
30 16
115
A
detail of lead end
M
M
0.25T0.6±0.15U
Data Sheet U12815EJ2V1DS00
50
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
13. RECOMMENDED SOLDERING CONDITIONS
The
µ
PD789101, 789102, 789104, 789111, 789112, and 789114 should be soldered and mounted under the
following recommended conditions.
For the 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 your NEC sales representative.
Table 13-1. Surface Mounting Type Soldering Conditions (1/2)
µ
PD789101GS-xxx: 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789102GS-xxx: 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789104GS-xxx: 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789111GS-xxx: 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789112GS-xxx: 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
µ
PD789114GS-xxx: 30-pin plastic shrink SOP (300 mils, resin thickness 1.7 mm)
Soldering Method Sol deri ng Condi tions Recommended
Condition Symbol
Infrared refl ow Package peak t em perature: 235°C, Ti m e: 30 sec. Max. (at 210° C or hi gher),
Count: twi ce or less , Expos ure l i m i t: 7 days Note (after that, prebake at 125°C f or 20
hours)
IR35-207-2
VPS Pack age peak temperat ure: 215° C, Time: 40 sec. M ax. (at 200° C or hi gher),
Count: twi ce or less , Expos ure l i m i t: 7 days Note (after that, prebake at 125°C f or 20
hours)
VP15-207-2
Wave solderi ng Solder bath temperature: 260° C M ax., Ti m e: 10 sec. M ax., Count: once,
Preheating t em perature: 120°C Max. (package surface temperat ure), Exposure
limit : 7 daysNote (aft er that, prebake at 125°C f or 20 hours)
WS60-207-1
Partial heating Pin temperature: 300° C M ax., Time: 3 sec . Max. (per pi n 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).
Data Sheet U12815EJ2V1DS00 51
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Table 13-1. Surface Mounting Type Soldering Conditions (2/2)
µ
PD789101MC-xxx-5A4: 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789102MC-xxx-5A4: 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789104MC-xxx-5A4: 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789111MC-xxx-5A4: 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789112MC-xxx-5A4: 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
µ
PD789114MC-xxx-5A4: 30-pin plastic shrink SOP (300 mils, resin thickness 1.2 mm)
Soldering Method Sol deri ng Condi tions Recommended
Condition Symbol
Infrared refl ow Package peak t em perature: 235°C, Ti m e: 30 sec. Max. (at 210° C or hi gher),
Count: three times or l ess IR35-00-3
VPS Pack age peak temperat ure: 215° C, Time: 40 sec. M ax. (at 200° C or hi gher),
Count: three times or l ess VP15-00-3
Wave solderi ng Solder bath temperature: 260° C M ax., Ti m e: 10 sec. M ax., Count: once,
Preheating t em perature: 120°C Max. (package surface temperat ure) WS60-00-1
Partial heating Pin temperature: 300° C M ax., Time: 3 sec . Max. (per pi n row)
Caution Do not use different soldering methods together (except for partial heating).
Data Sheet U12815EJ2V1DS00
52
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
APPENDIX A DEVELOPMENT TOOLS
The following development tools are available for system development using the
µ
PD789101,
µ
PD789102,
µ
PD789104,
µ
PD789111,
µ
PD789112, and
µ
PD789114.
Language Processing Software
RA78K0SNotes 1, 2, 3 Assembler pack age common to 78K/0S S eri es
CC78K0SNotes 1, 2, 3 C compiler package com mon to 78K/ 0S Series
DF789136Notes 1, 2, 3 Device file for
µ
PD789104, 789114 Subs eri es
Flash Memory Writing Tools
Flashpro lIl
(Model number: FL-PR3Note 4,
PG-FP3)
Dedicated f l ash programmer f or on-chip flash memory
FA-30GSNote 4 Flash memory wri t i ng adapter
FA30MCNotes 4, 5
Debugging Tools (1/2)
IE-78K0S-NS
In-circ ui t emulator In-circ ui t emulator serves to debug hardware and software when developing appl i c ation systems
using a 78K/ 0S Series produc t. It supports the ID78K0S -NS i ntegrated debugger. Used in
combinat i on wi th an AC adapter, em ul at i on probe, and interf ace adapter connecting to the host
machine.
IE-70000-MC-PS-B
AC adapter Adapter used to supply power from a power outlet of 100 V AC t o 240 V AC.
IE-70000-98-IF-C
Interface adapter Adapter when PC-9800 series PC (except notebook type) is us ed as the IE -78K0S-NS hos t
machine (C bus supported).
IE-70000-CD-IF-A
PC card interface PC card and int erface cabl e when not ebook PC is used as the I E-78K0S-NS hos t machi ne
(PCMCIA socket s upported).
IE-70000-PC-IF-C
Interface adapter Adapter when using an IB M P C/AT™ or com pat i bl e as the IE -78K0S-NS hos t machine.
IE-70000-PCI-IF
Interface adapter Adapter when using PC that includes a PCI bus as the IE -78K0S-NS hos t machine.
IE-789136-NS-EM1
Emulat i on board Board f or em ul ation of t he peri pheral hardware pec ul i ar to a devic e. Used in c om bi nation with
an in-circ ui t emulator.
NP-36GSNote 4 Board used t o connect t he i n-circuit emulator to the target system. For a 30-pin plastic shrink
SOP (GS, MC-5A4 type), used i n combinati on wi th NGS-30.
NGS-30Note 4
Conversion socket Conversion socket used to connect the NP-36GS t o the target system board designed to m ount
a 30-pin plast i c shrink S O P (GS, MC-5A4 type).
Notes 1. PC-9800 series (MS-DOS™ + Windows™) based
2. IBM PC/AT or compatibles (Japanese/English Windows) based
3. HP9000 series 700™ (HP-UX™), SPARCstation™ (SunOS™, Solaris™), or NEWS™ (NEWS-OS™)
based.
4. Products made by Naito Densei Machida Mfg. Co., Ltd. (Phone: +81-44-822-3813). Contact an NEC
distributor regarding the purchase of these products.
5. Under development
Remark RA78K0S, CC78K0S, and SM78K0S are used in combination with the DF789136.
Data Sheet U12815EJ2V1DS00 53
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Debugging Tools (2/2)
SM78K0SNotes 1, 2 System si m ul at or common t o 78K /0S Series
ID78K0S-NSNotes 1, 2 Integrated debugger com m on to 78K/0S S eri es
DF789136Notes 1, 2 Device file for
µ
PD789104, 789114 Subs eri es
Real-time OS
MX78K0SNotes 1, 2 OS for 78K/0S Series
Notes 1. PC-9800 series (MS-DOS + Windows) based.
2. IBM PC/AT or compatibles (Japanese/English Windows) based.
Data Sheet U12815EJ2V1DS00
54
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
APPENDIX B RELATED DOCUMENTS
Documents Related to Devices
Document No.
Document Nam e Japanese English
µ
PD789101, 789102, 789104, 789111, 789112, 789114 Data S heet U12815J This manual
µ
PD78F9116 Data Sheet U13037J U13037E
µ
PD789104, 789114, 789124, 789134 Subseries User’s Manual U13045J U13045E
78K/0S S eri es User’s Manual Ins t ruction U11047J U11047E
Documents Related to Development Tools (User’s Manuals)
Document No.
Document Nam e Japanese English
Operation U11622J U11622E
Assembly Language U11599J U11599E
RA78K0S Asse m bl er Pack age
Structured Assembly
Language U11623J U11623E
Operation U11816J U11816ECC78K0S C Compi l e r
Language U11817J U11817E
SM78K0S S ystem Simulat or Wi ndows Based Reference U11489J U11489E
SM78K S eri es Sys tem Sim ul ator External Parts User Open
Interface Speci ficat i ons U10092J U10092E
ID78K0S-NS Integrated Debugger Wi ndows Based Ref erenc e U12901J U12901E
IE-78K0S -NS In-ci rcuit Em ul ator U13549J U13549E
IE-789136-NS-E M1 Emulat i on Board To be prepared To be prepared
Documents Related to Embedded Software (User’s Manuals)
Document No.
Document Nam e Japanese English
78K/0S S eri es OS MX 78K 0S Fundament al U12938J U12938E
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 U12815EJ2V1DS00 55
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Other Related Documents
Document No.
Document Nam e Japanese English
SEMI CONDUCT ORS SELECTI ON GUIDE Produc t s & Packages (CD-ROM ) X13769X
Semic onductor Devi c e Mounting Tec hnol ogy Manual C10535J C10535E
Quality Grades on NEC Semi conductor Devices C11531J C11531E
NEC Semiconduc tor Device Reliabilit y/Quality Control Sys t em C10983J C10983E
Guide to Prev ent Damage for S em i conductor Dev i ces by Elect ros tatic Di scharge (ES D) C11892J C11892E
Guide to Microcomput er-Rel ated Product s by Third Party U11416J
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 U12815EJ2V1DS00
56
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
[MEMO]
Data Sheet U12815EJ2V1DS00 57
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
[MEMO]
Data Sheet U12815EJ2V1DS00
58
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
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 V
DD
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.
EEPROM is a trademark of NEC Corporation.
MS-DOS and Windows are registered trademarks or trademarks of Microsoft Corporation in the United States
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.
NEWS and NEWS-OS are trademarks of SONY Corporation.
Data Sheet U12815EJ2V1DS00 59
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
Regional Information
Some information contained in this document may vary from country to country. Before using any NEC
product in your application, pIease contact the NEC 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 Inc. (U.S.)
Santa Clara, California
Tel: 408-588-6000
800-366-9782
Fax: 408-588-6130
800-729-9288
NEC Electronics (Germany) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 02
Fax: 0211-65 03 490
NEC Electronics (UK) Ltd.
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
NEC Electronics Italiana s.r.l.
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
NEC Electronics (Germany) GmbH
Benelux Office
Eindhoven, The Netherlands
Tel: 040-2445845
Fax: 040-2444580
NEC Electronics (France) S.A.
Velizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 01-30-67 58 99
NEC Electronics (France) S.A.
Spain Office
Madrid, Spain
Tel: 91-504-2787
Fax: 91-504-2860
NEC Electronics (Germany) GmbH
Scandinavia Office
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
NEC Electronics Hong Kong Ltd.
Hong Kong
Tel: 2886-9318
Fax: 2886-9022/9044
NEC Electronics Hong Kong Ltd.
Seoul Branch
Seoul, Korea
Tel: 02-528-0303
Fax: 02-528-4411
NEC Electronics Singapore Pte. Ltd.
United Square, Singapore 1130
Tel: 65-253-8311
Fax: 65-250-3583
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
Fax: 02-2719-5951
NEC do Brasil S.A.
Electron Devices Division
Rodovia Presidente Dutra, Km 214
07210-902-Guarulhos-SP Brasil
Tel: 55-11-6465-6810
Fax: 55-11-6465-6829
J99.1
µ
µµ
µ
PD789101, 789102, 789104, 789111, 789112, 789114
The related documents indicated in this publication may include preliminary versions. However, preliminary
versions are not marked as such.
The export of this product from Japan is regulated by the Japanese government. To export this product may be prohibited
without governmental license, the need for which must be judged by the customer. The export or re-export of this product
from a country other than Japan may also be prohibited without a license from that country. Please call an NEC sales
representative.
The information in this document is subject to change without notice. Before using this document, please
confirm that this is the latest version.
No part of this document may be copied or reproduced in any form or by any means without the prior written
consent of NEC Corporation. NEC Corporation assumes no responsibility for any errors which may appear in
this document.
NEC Corporation does not assume any liability for infringement of patents, copyrights or other intellectual property
rights of third parties by or arising from use of a device described herein or any other liability arising from use
of such device. No license, either express, implied or otherwise, is granted under any patents, copyrights or other
intellectual property rights of NEC Corporation 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 the customer's equipment shall be done under the full responsibility
of the customer. NEC Corporation assumes no responsibility for any losses incurred by the customer or third
parties arising from the use of these circuits, software, and information.
While NEC Corporation has been making continuous effort to enhance the reliability of its semiconductor devices,
the possibility of defects cannot be eliminated entirely. To minimize risks of damage or injury to persons or
property arising from a defect in an NEC semiconductor device, customers must incorporate sufficient safety
measures in its design, such as redundancy, fire-containment, and anti-failure features.
NEC devices are classified into the following three quality grades:
"Standard", "Special", and "Specific". The Specific quality grade applies only to devices developed based on a
customer designated "quality assurance program" for a specific application. The recommended applications of
a device depend on its quality grade, as indicated below. Customers must check the quality grade of each device
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 or medical equipment for life support, etc.
The quality grade of NEC devices is "Standard" unless otherwise specified in NEC's Data Sheets or Data Books.
If customers intend to use NEC devices for applications other than those specified for Standard quality grade,
they should contact an NEC sales representative in advance.
M7 98. 8