NEW INFORMATION
µ
PD78F9189/9188CT
8-BIT SINGLE-CHIP MICROCONTROLLER
MOS INTEGRATED CIRCUIT
The
µ
PD78F9189 is NEW Subseries (small, general-purpose) in the 78K/0S Series.
The
µ
PD78F9189 replaces the internal ROM of the
µ
PD789188 with flash memory.
Because flash memory allows the program to be written and erased electrically with the device mounted on the
board, this product is ideal for the evolution stages of system development, small-scale production and rapid
development of new products.
Detailed function descriptions are provided in the following user’s manuals. Be sure to read them before
designing.
µ
PD789167, 789177, 789167Y, 789177Y Subseries User’s Manual: U14186E
78K/0S Series User's Manual Instruction: U11047E
FEATURES
•
•
•
•
•
•
•
Pin compatible with mask ROM version (except V
PP
pin)
Flash memory: 24 Kbytes ,Masked Version:16 Kbytes
High-speed RAM: 512 bytes
High-speed (0.4
µ
s: @5.0-MHz operation with main system clock)
8-bit resolution A/D converter: 4 channels
I/O ports: 22
Serial interface: 1 channel
•
3-wire serial I/O mode / UART mode: 1 channel
• Timers: 6 channels
•
16-bit timer: 1 channel
•
8-bit timer/event counter: 2 channels
•
8-bit timer: 1 channel
•
Watch timer: 1 channel
•
Watchdog timer: 1 channel
• On-chip 16-bit multiplier
• Power supply voltage: V
DD
= 4.5 to 5.5 V
Document No. (1st edition)valid in only China
Date Published Feb. 2003 NS CP(K)
Printed in China
NEC Electronics 2003
µ
PD78F9189/9188CT
APPLICATIONS
Air-conditioner, White goods, etc
ORDERING INFORMATION
µ
PD78F9189CT/789188CT
Part Number
Package
32-pin plastic SDIP(400 mil)
32-pin plastic SDIP(400 mil)
µ
PD78F9189CT
µ
PD789188CT-xxx
2
Data Sheet (1st edition)valid in only China
µ
PD78F9189/9188CT
OVERVIEW OF FUNCTIONS
Item
Internal memory
Flash memory
High-speed RAM
Minimum instruction execution time
General-purpose registers
Instruction set
µ
PD78F9189CT
24 Kbytes
512 bytes
µ
PD789188CT-xxx
16 Kbytes
• 0.4/1.6
µ
s (@5.0-MHz operation with main system clock)
8 bits
×
8 registers
• 16-bit operations
• Bit manipulations (set, reset, test)
8 bits
×
8 bits = 16 bits
Total:
• CMOS I/O:
• CMOS Input:
• N-ch open drain:
26
17
4(Shared with A/D converter)
5
Multiplier
I/O ports
A/D converters
Serial interfaces
Timers
8-bit resolution
×
4 channels
3-wire serial I/O/UART : 1 channel
•
•
•
•
•
16-bit timer:1 channel
8-bit timer/event counter:2 channels
8-bit timer:1 channel
Watch timer:1 channel
Watchdog timer:1 channel
Timer output
Buzzer output
Vectored interrupt
sources
Non-maskable
Power supply voltage
Operating ambient temperature
Package
Maskable
4 output
1
Internal: 10, External: 4
Internal: 1
V
DD
= 4.5 to 5.5 V
T
A
=
−40°C
to
+85°C
32-pin plastic SDIP (400 mil)
Data Sheet (1st edition)valid in only China
3
µ
PD78F9189/9188CT
1. PIN CONFIGURATION (TOP VIEW)
• 32-pin plastic shrink DIP (400mil)
µ
PD78F9189CT
µ
PD789188CT-xxx
P50←→
←→
P51←→
←→
P52←→
←→
P53←→
←→
1
2
3
4
32
31
30
29
←→
←→
←→
←→
P04
P03
P02
P01
P60/ANI0←→ 5
←→
P61/ANI1←→ 6
←→
P62/ANI2←→ 7
←→
P63/ANI3←→ 8
←→
VSS―― 9
――
P10←→ 10
←→
P11←→ 11
←→
P30/INTP0/TI81/CPT90←→ 12
←→
P31/INTP1/TO81←→ 13
←→
P32/INTP2/TO90←→ 14
←→
P33/INTP3/TO82/BZO90←→ 15
←→
P20/SCK20/ASCK20←→ 16
←→
28
←→
P00
27
←→
P26/TO80
26
←→
P25/SI20/RxD20
25
――
VDD
24
←―
X1
23
―→
X2
22
――
RESET
21
←―
Vpp/IC
20
←→
P24
19
←→
P23
18
←→
P22/SI20/RxD20
17
←→
P21/SO20/TxD20
Note: The information of pin assign is subject to change without notice.
Cautions 1.
Connect the V
PP
/IC pin directly to V
SS
.
4
Data Sheet (1st edition)valid in only China
µ
PD78F9189/9188CT
3. PIN FUNCTIONS
3.1
Port Pins
I/O
I/O
Function
Port 0
5-bit input/output port
Input/output mode can be specified in 1-bit units
When used as an input port, an on-chip pull-up resistor can be
specified by software.
Port 1
2-bit input/output port
Input/output mode can be specified in 1-bit units
When used as an input port, an on-chip pull-up resistor can be
specified by software.
Port 2
7-bit input/output port
Input/output mode can be specified in 1-bit units
For P20 to P22, P25, and P26, an on-chip pull-up resistor can be
specified by software.
Only P23 and P24 can be used as N-ch open-drain
input/output port pins.
After Reset
Input
Alternate Function
−
Pin Name
P00 to P04
P10, P11
I/O
Input
−
P20
P21
P22
P23
P24
P25
P26
P30
P31
P32
P33
P50 to P53
I/O
Input
SCK20/ASCK20
SO20/TxD20
SI20/RxD20
SI20/RxD20
TO80
I/O
Port 3
4-bit input/output port
Input/output mode can be specified in 1-bit units
On-chip pull-up resistor can be specified by software.
Input
INTP0/TI81/CPT90
INTP1/TO81
INTP2/TO90
INTP3/TO82/BZO90
I/O
Port 5
4-bit N-ch open-drain input/output port
Input/output mode can be specified in 1-bit units
Input
−
P60 to P63
Input
Port 6
4-bit input port
Input
ANI0 to ANI3
Data Sheet (1st edition)valid in only China
5