NEC UPD17P228MC-5A4

DATA SHEET
MOS INTEGRATED CIRCUIT
µPD17P228
4-BIT SINGLE-CHIP MICROCONTROLLER
FOR SMALL GENERAL-PURPOSE INFRARED
REMOTE CONTROLLER
DESCRIPTION
The µPD17P228 is a model of the µPD17228 with a one-time PROM instead of an internal mask ROM.
Since the user can write programs to the µPD17P228, it is ideal for experimental production or small-scale
production of the µPD17225, 17226, 17227 or 17228 systems.
When reading this document, also read the documents related to the µPD17225, 17226, 17227 and 17228.
Detailed functions are described in the following user's manual. Read this manual when designing your system.
µPD172×× Series User's Manual: U12795E
FEATURES
• Pin compatible with µPD17225, 17226, 17227 and 17228 (except PROM programming function)
• Carrier generator circuit for infrared remote controller (REM output)
• 17K architecture: General-purpose register method
• Program memory (one-time PROM): 16 Kbytes (8192 × 16)
• Data memory (RAM): 223 × 4 bits
• Pull-up resistor can be connected to RESET pin
• Low-voltage detection circuit (WDOUT output)
• Supply voltage: VDD = 2.2 to 3.6 V (fx = 4 MHz: high-speed mode, 4 µs)
VDD = 3.0 to 3.6 V (fx = 8 MHz: high-speed mode, 2 µs)
APPLICATIONS
Preset remote controllers, toys, and portable systems
ORDERING INFORMATION
Part Number
Package
µPD17P228MC-5A4
30-pin plastic SSOP (7.62 mm (300))
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.
Document No. U14542EJ1V0DS00 (1st edition)
Date Published April 2000 N CP(K)
Printed in Japan
©
2000
µPD17P228
PIN
CONFIGURATION
(TOP VIEW)
• 30-pin plastic SSOP (7.62 mm (300))
µPD17P228MC-5A4
(1) Normal oprating mode
P0D2
1
30
IC2
P0D3
2
29
P0D1
INT
3
28
P0D0
P0E0
4
27
P0C3
P0E1
5
26
P0C2
P0E2
6
25
P0C1
P0E3
7
24
P0C0
REM
8
23
P0B3
VDD
9
22
P0B2
XOUT
10
21
P0B1
XIN
11
20
P0B0
GND
12
19
P0A3
RESET
13
18
P0A2
WDOUT
14
17
P0A1
IC1
15
16
P0A0
GND
: Ground
IC1, IC2
: Internally connected
INT
: External interrupt request signal input
Note
P0A0-P0A3 : Input port (CMOS input)
P0B0-P0B3 : Input port (CMOS input)
P0C0-P0C3 : Output port (N-ch open-drain output)
P0D0-P0D3 : Output port (N-ch open-drain output)
P0E0-P0E3 : I/O port (CMOS push-pull output)
Note
2
REM
: Remote controller output (CMOS push-pull output)
RESET
: Reset input
VDD
: Power supply
WDOUT
: Hang-up/low voltage detection output (N-ch open-drain output)
XIN, XOUT
: Resonator connection
This pin cannot be used. Leave unconnected.
Data Sheet U14542EJ1V0DS00
µPD17P228
(2) PROM programming mode
D2
1
30
(Open)
D3
2
29
D1
VPP
3
28
D0
4
27
D7
5
26
D6
6
25
D5
7
24
D4
(Open)
8
23
MD3
VDD
9
22
MD2
(Open)
10
21
MD1
CLK
11
20
MD0
GND
12
19
(L)
13
18
(Open)
14
17
(Open)
15
16
(L)
(L)
Caution Contents in parantheses indicate how to handle unused pins in PROM programming mode.
L
:Connect to GND via a resistor (470 Ω) separately.
OPEN:Leave unconnected.
CLK
: Clock input for PROM
D0 - D7
: Data input/output for PROM
GND
: Ground
MD0 - MD3 : Mode select input for PROM
VDD
: Power supply
VPP
: Power supply for PROM writing
Data Sheet U14542EJ1V0DS00
3
µPD17P228
BLOCK DIAGRAM
P0A0
P0A1
P0A2
P0A3
P0A
Remote
Control
Divider
RF
RAM
223 × 4 bits
P0B0 (MD0)
P0B1 (MD1)
P0B2 (MD2)
P0B3 (MD3)
REM
8-bit
timer
SYSTEM REG.
P0B
Interrupt
Controller
INT (VPP)
ALU
P0C0 (D4)
P0C1 (D5)
P0C2 (D6)
P0C3 (D7)
P0C
One Time PROM
8192 × 16 bits
P0D0 (D0)
P0D1 (D1)
P0D2 (D2)
P0D3 (D3)
Instruction
Decoder
RESET
P0D
WDOUT
Program Counter
P0E0
P0E1
P0E2
P0E3
Power
Supply
Circuit
P0E
Stack (5 levels)
Basic Interval/
Watchdog Timer
Remark
4
( ): during PROM programming mode
Data Sheet U14542EJ1V0DS00
VDD
GND
CPU Clock
XIN (CLK)
OSC
XOUT
µPD17P228
CONTENTS
1.
DIFFRENCES AMONG µPD17225, 17226, 17227, 17228 AND µPD17P228 ..........................
6
2.
PIN FUNCTIONS ..........................................................................................................................
7
2.1
Normal Operation Mode ....................................................................................................................
7
2.2
PROM Programming Mode ...............................................................................................................
8
2.3
Input/Output Circuits .........................................................................................................................
9
2.4
Processing of Unused Pins ..............................................................................................................
10
2.5
Notes on Using the RESET and INT Pins ........................................................................................
10
3.
WRITING AND VERIFYING ONE-TIME PROM (PROGRAM MEMORY) ..............................
11
3.1
Operating Mode When Writing/Verifying Program Memory ..........................................................
11
3.2
Program Memory Writing Procedure ...............................................................................................
12
3.3
Program Memory Reading Procedure .............................................................................................
13
4.
ELECTRICAL SPECIFICATIONS ................................................................................................
14
5.
PACKAGE DRAWING .................................................................................................................
21
6.
RECOMMENDED SOLDERING CONDITIONS ..........................................................................
22
APPENDIX. DEVELOPMENT TOOLS ...............................................................................................
23
Data Sheet U14542EJ1V0DS00
5
µPD17P228
1.
DIFFERENCES AMONG µPD17225, 17226, 17227, 17228 AND µPD17P228
µPD17P228 is equipped with PROM to which data can be written by the user instead of the internal mask ROM
(program memory) of the µPD17228.
Table 1-1 shows the differences between the µPD17225, 17226, 17227, 17228 and µPD17P228.
The differences among these five models are the program memory and mask option, and their CPU functions and
internal hardware are identical. Therefore, the µPD17P228 can be used to evaluate the program developed for the
µPD17225, 17226, 17227, and 17228 system. Note, however, that some of the electrical specifications such
as supply current and low-voltage detection voltage of the µPD17P228 are different from those of the
µPD17225, 17226, 17227, and 17228.
Table 1-1. Differences among µPD17225, 17226, 17227, 17228 and µPD17P228
Product Name
µPD17P228
µPD17225
µPD17226
µPD17227
µPD17228
Item
Program memory
One-time PROM
Pull-up resistor of RESET Pin
Low-voltage detector circuit
16 K bytes
4 K bytes
8 K bytes
12 K bytes
16 K bytes
(8192 × 16)
(2048 × 16)
(4096 × 16)
(6144 × 16)
(8192 × 16)
(0000H-1FFFH)
(0000H-07FFH)
(0000H-0FFFH)
(0000H-17FFH)
(0000H-1FFFH)
223 × 4 bits
Data memory
Note
VPP pin, operation mode select pin
Instruction execution time (tCY)
Mask ROM
111 × 4 bits
223 × 4 bits
Provided
Any (mask option)
Provided
Any (mask option)
Provided
Not provided
2 µs
2 µs (VDD = 2.2 to 3.6 V)
(VDD = 3.0 to 3.6 V)
4 µs (VDD = 2.0 to 3.6 V)
4 µs
(VDD = 2.2 to 3.6 V)
16 µs
(VDD = 2.2 to 3.6 V)
Operation when P0C, P0D are standby
Supply voltage
Package
Note
6
Retain output level immediately before standby mode
VDD = 2.0 to 3.6 V
VDD = 2.0 to 3.6 V
30-pin plastic
SSOP
• 28-pin plastic SOP (9.53 mm (375))
• 28-pin plastic SDIP (10.16 mm (400))
(7.62 mm (300))
• 30-pin plastic SSOP (7.62 mm (300))
Although the circuit configuration is identical, its electrical characteristics differ depending on the product.
Data Sheet U14542EJ1V0DS00
µPD17P228
2.
PIN
FUNCTIONS
2.1 Normal Operation Mode
Pin No.
Symbol
16
17
18
19
P0A0
P0A1
P0A2
P0A3
20
21
22
23
Function
Output Format
At Reset
4-bit CMOS input port with pull-up resistor.
Can be used for key return input of key matrix. When at least
one of these pins goes low, standby function is released.
–
Input
P0B0
P0B1
P0B2
P0B3
4-bit CMOS input port with pull-up resistor.
Can be used for key return input of key matrix. When at least
one of these pins goes low, standby function is released.
–
Input
24
25
26
27
P0C0
P0C1
P0C2
P0C3
4-bit N-ch open-drain output port.
Can be used for key source output of key matrix.
N-ch
open-drain
Low-level
output
28
29
1
2
P0D0
P0D1
P0D2
P0D3
4-bit N-ch open-drain output port.
Can be used for key source output of key matrix.
N-ch
open-drain
Low-level
output
4
5
6
7
P0E0
P0E1
P0E2
P0E3
4-bit input/output port.
Can be set in input or output mode in 1-bit units.
In output mode, this port functions as a high current CMOS output
port. In input mode, function as CMOS input and can be specified
to connect pull-up resistor by program.
CMOS
push-pull
Input
8
REM
Outputs transfer signal for infrared remote controller.
Active-high output.
CMOS
push-pull
Low-level
output
13
RESET
System reset input. CPU can be reset when low-level signal is
input to this pin. While low-level signal is input, oscillator is
stopped. This pin connected to pull-up resistor by mask option.
–
Input
9
VDD
Power supply
–
–
12
GND
Ground
–
–
3
INT
External interrupt request signal input
–
Input
N-ch
open-drain
Highimpedance
Low-level
output at low
voltage
detection
Output detecting hang-up and drop in supply voltage. This pin
outputs at low level either when an overflow occurs in the watchdog timer, when an overflow/underflow occurs in the stack, or
when the supply voltage drops below a specified level. Connect
this pin to the RESET pin.
14
WDOUT
11
10
XIN
XOUT
Connects ceramic resonator for system clock oscillation
–
(Oscillation
stops)
15
30
IC1
IC2
These pins cannot be used.
Leave open.
–
–
Data Sheet U14542EJ1V0DS00
7
µPD17P228
2.2 PROM Programming Mode
Pin No.
Symbol
3
VPP
Function
Output Format
At Reset
Power supply for PROM programming.
Apply +12.5 V to this pin as the program voltage when writing/
verifying program memory.
–
–
9
VDD
Power supply. Apply +6 V to this pin when writing/verifying
program memory.
–
–
11
CLK
Inputs clock for PROM programming.
–
–
12
GND
Ground.
–
–
20
MD0

23

MD3
Input pins used to select operation mode when PROM is
programmed.
–
Input
24

27
28
29
1
2
D4

D7
D0
D1
D2
D3
CMOS
push-pull
Input
Remark
Input/output 8-bit data for PROM programming
The other pins are not used in the PROM programming mode. How to handle the other opins are
described in the section PIN CONFIGURATION (2) PROM programming mode.
8
Data Sheet U14542EJ1V0DS00
µPD17P228
2.3 Input/Output Circuits
The equivalent input/output circuit for each µPD17P228 pin is shown below.
(1) P0A, P0B
(4) RESET
V DD
VDD
(Mask option)
Input buffer
Input buffer
(2) P0C, P0D
Schmitt trigger input with hysteresis
characteristics
data
Output
latch
N-ch
(5) INT
(3) P0E
V DD
data
Pull-up
register
P-ch
Input buffer
Schmitt trigger input with hysteresis
characteristics
V DD
data
Output
latch
P-ch
(6) REM
N-ch
output
disable
V DD
data
P-ch
Selector
Input buffer
N-ch
output
disable
(7) WDOUT
data
Data Sheet U14542EJ1V0DS00
N-ch
9
µPD17P228
2.4 Processing of Unused Pins
Process the unused pins as follows:
Table 2-1. Processing of Unused Pins
Pin
Recommended Connection
P0A0-P0A3
Connect to VDD.
P0B0-P0B3
Connect to VDD.
P0C0-P0C3
Connect to GND.
P0D0-P0D3
Connect to GND.
P0E0-P0E3
Input : Individually connect to VDD or GND via resistor.
Output : Leave open.
REM
Leave open.
INT
Connect to GND.
WDOUT
Connect to VDD via resistor.
IC1, IC2
These pins cannot be used.
Leave open.
2.5 Notes on Using the RESET and INT Pins
In addition to the functions shown in 2. PIN FUNCTION, the RESET pin also has the function of setting a test mode
(for IC testing) in which the internal operations of the µPD17P228 are tested.
When a voltage higher than VDD is applied to either of these pins, the test mode is set. This means that, even during
normal operation, the µPD17P228 may be set in the test mode if noise exceeding VDD is applied.
For example, if the wiring length of the RESET or INT pin is too long, noise superimposed on the wiring line of the pin
may cause the above problem.
Therefore, keep the wiring length of these pins as short as possible to suppress the noise; otherwise, take noise
preventive measures as shown below by using external components.
• Connect capacitor between VDD
• Connect diode with low VF between VDD
and RESET/INT pin
and RESET/INT pin
VDD
Diode with
low VF
VDD
VDD
RESET, INT
VDD
RESET, INT
Connect the WDOUT and RESET pins since a low level is output after the test mode is set using the INT pin.
10
Data Sheet U14542EJ1V0DS00
µPD17P228
3. WRITING AND VERIFYING ONE-TIME PROM (PROGRAM MEMORY)
The program memory of the µPD17P228 is a one-time PROM of 8192 × 16 bits.
To write or verify this one-time PROM, the pins shown in Table 3-1 are used. Note that no address input pin
is used. Instead, the address is updated by using the clock input from the CLK pin.
Table 3-1. Pins Used to Write/Verify Program Memory
Pin Name
Function
VPP
Supplies voltage when writing/verifying program memory.
Apply +12.5 V to this pin.
VDD
Power supply.
Supply +6 V to this pin when writing/verifying program memory.
CLK
Inputs clock to update address when writing/verifying program memory.
By inputting pulse four times to CLK pin, address of program memory is updated.
MD0-MD3
Input to select operation mode when writing/verifying program memory.
D0-D 7
Inputs/outputs 8-bit data when writing/verifying program memory.
3.1 Operating Mode When Writing/Verifying Program Memory
The µPD17P228 is set in the program memory write/verify mode when +6 V is applied to the VDD pin and +12.5
V is applied to the VPP pin after the µPD17P228 has been in the reset status (VDD = 5 V, RESET = 0 V) for a specific
time. In this mode, the operating modes shown in Table 3-2 can be set by setting the MD0 through MD3 pins. Leave
all the pins other than those shown in Table 3-1 unconnected or connect them to GND via pull-down resistor
(470 Ω). (Refer to PIN CONNECTION (2) PROM programming mode.)
Table 3-2. Setting Operation Mode
Setting of Operating Mode
VPP
+12.5 V
VDD
+6 V
MD0
Operating Mode
MD1
MD2
MD3
H
L
H
L
Program memory address 0 clear mode
L
H
H
H
Write mode
L
L
H
H
Verify mode
H
×
H
H
Program inhibit mode
×: don’t care (L or H)
Data Sheet U14542EJ1V0DS00
11
µPD17P228
3.2 Program Memory Writing Procedure
The program memory is written at high speed in the following procedure.
(1)
Pull down the pins not used to GND via resistor. Keep the CLK pin low.
(2)
Supply 5 V to the V DD pin. Keep the V PP pin low.
(3)
Supply 5 V to the V PP pin after waiting for 10 µ s.
(4)
Set the program memory address 0 clear mode by using the mode setting pins.
(5)
Supply +6 V to V DD and +12.5 V to V PP.
(6)
Set the program inhibit mode.
(7)
Write data to the program memory in the 1-ms write mode.
(8)
Set the program inhibit mode.
(9)
Set the verify mode. If the data have been written to the program memory, proceed to (10). If not, repeat
steps (7) through (9).
(10) Additional writing of (number of times of writing in (7) through (9): X) × 1 ms.
(11) Set the program inhibit mode.
(12) Input a pulse to the CLK pin four times to update the program memory address (+1).
(13) Repeat steps (7) through (12) up to the last address.
(14) Set the 0 clear mode of the program memory address.
(15) Change the voltages on the V DD and V PP pins to 5 V.
(16) Turn off power.
The following figure illustrates steps (2) through (12) above.
Repeated X time
Reset
Verify
Write
Additional write
Address
increment
VPP
VPP
VDD
GND
VDD
VDD+1
VDD
GND
CLK
D0-D7
Hi-Z
Data input
Hi-Z
Data output
Hi-Z
MD0
MD1
MD2
MD3
12
Data Sheet U14542EJ1V0DS00
Data input
Hi-Z
µPD17P228
3.3 Program Memory Reading Procedure
(1)
Pull down the pins not used to GND via resistor. Keep the CLK pin low.
(2)
Supply 5 V to the V DD pin. Keep the V PP pin low.
(3)
Supply 5 V to the V PP pin after waiting for 10 µ s.
(4)
Set the program memory address 0 clear mode by using the mode setting pins.
(5)
Supply +6 V to V DD and +12.5 V to V PP.
(6)
Set the program inhibit mode.
(7)
Set the verify mode. Data of each address is output sequentially each time the clock pulse is input to
(8)
Set the program inhibit mode.
(9)
Set the program memory address 0 clear mode.
the CLK pin four times.
(10) Change the voltage on the V DD and V PP pins to 5 V.
(11) Turn off power.
The following figure illustrates steps (2) through (9) above.
Reset
VPP
VPP
VDD
GND
VDD
VDD+1
VDD
GND
CLK
D0-D7
Hi-Z
Data output
Data output
Hi-Z
MD0
MD1
"L"
MD2
MD3
Data Sheet U14542EJ1V0DS00
13
µPD17P228
4.
ELECTRICAL
SPECIFICATIONS
Absolute Maximum Ratings (TA = 25°C)
Item
Symbol
Conditions
Ratings
Unit
Supply voltage
VDD
–0.3 to +7.0
V
PROM power supply
VPP
–0.3 to +13.5
V
VI
–0.3 to VDD + 0.3
V
VO
–0.3 to VDD + 0.3
V
Peak value
–36.0
mA
rms value
–24.0
mA
Peak value
–7.5
mA
rms value
–5.0
mA
Peak value
–22.5
mA
rms value
–15.0
mA
Peak value
7.5
mA
rms value
5.0
mA
Total of P0C, P0D,
Peak value
22.5
mA
WDOUT pins
rms value
15.0
mA
Total of P0E pins
Peak value
30.0
mA
rms value
20.0
mA
Input voltage
Output voltage
High-level output current
Note
IOH
REM pin
1 pin (P0E pin)
Total of P0E pins
Low-level output current
Note
IOL
1 pin (P0C, P0D, P0E,
REM or WDOUT pin)
Operating temperature
TA
–40 to +85
°C
Storage temperature
Tstg
–65 to +150
°C
Power dissipation
Pd
180
mW
Note
TA = 85°C
Calculate rms value by this expression: [rms value] = [Peak value] × √ Duty
Caution Even if one of the parameters exceeds its absolute maximum rating even momentarily, the quality
of the product may be degraded. The absolute maximum rating therefore specifies the upper or
lower limit of the value at which the product can be used without physical damages. Be sure not
to exceed or fall below this value when using the product.
14
Data Sheet U14542EJ1V0DS00
µPD17P228
Recommended Operating Ranges (TA = –40 to +85°C, VDD = 2.2 to 3.6 V)
Item
Symbol
Supply voltage
Conditions
VDD1
fX = 1 MHz
High-speed mode
(Instruction execution time: 16 µs)
VDD2
fX = 4 MHz
Ordinary mode
(Instruction execution time: 4 µs)
VDD3
fX = 8 MHz
High-speed mode
(Instruction execution time: 4 µs)
High-speed mode
(Instruction execution time: 2 µs)
VDD4
Oscillation frequency
Operating temperature
Low-voltage detector circuit
Note
MIN.
Note
TYP.
MAX.
Unit
2.2
3.6
V
3.0
3.6
V
fX
1.0
4.0
8.0
MHz
TA
–40
+25
+85
°C
TCY
4
32
µs
Reset if the status of VDD = 2.05 V (TYP.) lasts for 1 ms or longer. Program hang-up does not occur even
if the voltage drops, until the reset function is effected (when the RESET pin and WDOUT pin are
connected). Some oscillators stop oscillating before the reset function is effected.
fX vs VDD
(MHZ)
10
9
8
7
6
System clock: fX (MHZ)
(Normal mode)
5
4
3
Operation
guaranteed area
2
1
0.4
0
2 2.2
3
3.6
4
Supply voltage: VDD (V)
Remark The region indicated by the broken line in the above figure is the guaranteed operating range in the highspeed mode.
Data Sheet U14542EJ1V0DS00
15
µPD17P228
System Clock Oscillator Characteristics (TA = –40 to +85°C, VDD = 2.2 to 3.6 V)
Recommended
Constants
Resonator
Ceramic
resonator
X IN
X OUT
Item
Conditions
Oscillation frequency
(fX)Note 1
Oscillation
Note 2
stabilization time
MIN.
TYP.
MAX.
Unit
1.0
4.0
8.0
MHz
4
ms
After VDD reached MIN.
in oscillation voltage
range
Notes 1. The oscillation frequency only indicates the oscillator characteristics.
2. The oscillation stabilization time is necessary for oscillation to be stabilized, after VDD application or
STOP mode release.
Caution To use a system clock oscillator circuit, perform the wiring in the area enclosed by the dotted
line in the above figure as follows, to avoid adverse wiring capacitance influences:
• Keep wiring length as short as possible.
• Do not cross a signal line with some other signal lines. Do not route the wiring in the vicinity
of lines through which a large current flows.
• Always keep the oscillator capacitor ground at the same potential as GND. Do not ground the
capacitor to a ground pattern, through which a large current flows.
• Do not extract signals from the oscillator.
External circuit example
XIN
XOUT
R1
C1
Remark
C2
To select a resonator and determine oscillator constants, please evaluate the oscillation yourself or
request the resonator manufacturer to evaluate it.
16
Data Sheet U14542EJ1V0DS00
µPD17P228
DC Characteristics (TA = –40 to +85°C, VDD = 2.2 to 3.6 V)
Item
High-level input voltage
Symbol
Conditions
MIN.
TYP.
MAX.
Unit
VIH1
RESET, INT
0.8VDD
VDD
V
VIH2
P0A, P0B
0.7VDD
VDD
V
VIH3
P0E
0.8VDD
VDD
V
VIL1
RESET, INT
0
0.2VDD
V
VIL2
P0A, P0B
0
0.3VDD
V
VIL3
P0E
0
0.35VDD
V
High-level input leakage
current
ILIH
P0A, P0B, P0E,
RESET, INT
VIH = VDD
3
µA
Low-level input leakage
ILIL1
INT
VIL = 0 V
–3
µA
current
ILIL2
P0E
VIL = 0 V w/o pull-up resistor
–3
µA
High-level output leakage
current
ILOH
P0C, P0D, P0E,
WDOUT
VOH = VDD
3
µA
Low-level output leakage
ILOL
P0E, WDOUT
VOL = 0 V w/o pull-up resistor
–3
µA
R1
P0E, RESET
25
50
100
kΩ
R2
P0A, P0B
100
200
400
kΩ
High-level output current
IOH1
REM
VOH = 1.0 V, VDD = 3 V
–6
–13
–24
mA
High-level output voltage
VOH
P0E, REM
IOH = –0.5 mA
VDD–0.3
VDD
V
Low-level output voltage
VOL1
P0C, P0D, REM,
WDOUT
IOL = 0.5 mA
0
0.3
V
VOL2
P0E
IOL = 1.5 mA
0
0.3
V
VDT
WDOUT = low
level
VDT = VDD
2.2
V
3.6
V
Low-level input voltage
current
Internal pull-up resistor
Low-voltage detector circuit
Data retention voltage
Supply current
VDDDR
IDD1
RESET = low level or STOP mode
Operating mode
VDD = 3 V ± 10%
(high-speed)
IDD2
Operating mode
VDD = 3 V ± 10%
(low-speed)
IDD3
IDD4
2.05
HALT mode
STOP mode
VDD = 3 V ± 10%
1.3
fX = 1 MHz
0.55
1.1
mA
fX = 4 MHz
1.0
2.0
mA
fX = 8 MHz
1.3
2.6
mA
fX = 1 MHz
0.5
1.0
mA
fX = 4 MHz
0.75
1.5
mA
fX = 8 MHz
0.9
1.8
mA
fX = 1 MHz
0.4
0.8
mA
fX = 4 MHz
0.5
1.0
mA
fX = 8 MHz
0.6
1.2
mA
2.0
20.0
µA
2.0
5.0
µA
VDD = 3 V ± 10%
built-in POC
Data Sheet U14542EJ1V0DS00
TA = 25 °C
17
µPD17P228
AC Characteristics (TA = –40 to +85°C, VDD = 2.2 to 3.6 V)
Item
Symbol
Note
CPU clock cycle time
(instruction execution time)
Conditions
MIN.
tCY1
tCY2
VDD = 3.0 to 3.6 V
TYP.
MAX.
Unit
3.8
33
µs
1.9
33
µs
INT high/low level width
tINTH, tINTL
20
µs
RESET low level lwidth
tRSL
10
µs
Note
tCY vs VDD
The CPU clock cycle time (instruction execution time)
is determined by the oscillation frequency of the reso-
40
nator connected and SYSCK (RF: address 02H) of the
33
register file.
The figure on the right shows the CPU clock cycle time
CPU clock cycle time tcY (µs)
tCY vs. supply voltage VDD characteristics.
10
9
8
7
6
Operation
guaranteed
area
5
4
3.8
3
2
1.9
2.2
1
0
1
2
3.6
3
4
Supply voltage VDD (V)
18
Data Sheet U14542EJ1V0DS00
µPD17P228
DC Programming Characteristics (TA = 25 °C, VDD = 6.0 ±0.25 V, VPP = 12.5 ±0.3 V)
Parameter
Symbol
High-level input voltage
Test Conditions
MIN.
MAX.
Unit
VDD
V
VDD–0.5
VDD
V
0
0.3 VDD
V
0
0.4
V
10
µA
V IH1
Other than CLK
0.7 VDD
V IH2
CLK
V IL1
Other than CLK
V IL2
CLK
ILI
V IN = VIL or V IH
High-level output voltage
V OH
IOH = –1 mA
Low-level output voltage
VOL
IOL = 1.6 mA
V DD supply current
IDD
V PP supply current
IPP
Low-level input voltage
Input leakage current
TYP.
VDD–1.0
V
MD0 = VIL, MD1 = VIH
0.4
V
30
mA
30
mA
Cautions 1. Keep V PP to within +13.5 V including overshoot.
2. Apply VDD before VPP and turns it off after VPP.
AC Programming Characteristics (TA = 25 °C, VDD = 6.0 ±0.25 V, VPP = 12.5 ±0.3 V)
Parameter
Symbol
Test Conditions
MIN.
TYP.
MAX.
Unit
tAS
2
µs
MD1 setup time (vs. MD0↓)
tM1S
2
µs
Data setup time (vs. MD0↓)
tDS
2
µs
Address hold timeNote (vs. MD 0↑)
tAH
2
µs
Data hold time (vs. MD0↑)
tDH
2
MD0↑→ data output float delay time
tDF
0
VPP setup time (vs. MD3↑)
tVPS
2
µs
VDD setup time (vs. MD3↑)
tVDS
2
µs
Initial program pulse width
tPW
0.95
Additional program pulse width
tOPW
0.95
MD0 setup time (vs. MD1↑)
tMOS
MD0↓→ data output delay time
tDV
MD0 = MD1 = VIL
MD1 hold time (vs. MD0↑)
tM1H
tM1H+tM1R ≥ 50 µs
MD1 recovery time (vs. MD0↓)
tM1R
Address setup
timeNote
(vs. MD0↓)
Program counter reset time
CLK input high-, low-level width
µs
130
1.0
ns
1.05
ms
21.0
ms
µs
2
1
µs
2
µs
2
µs
tPCR
10
µs
tXH, tXL
0.125
µs
CLK input frequency
fX
Initial mode set time
tI
2
µs
MD3 setup time (vs. MD1↑)
tM3S
2
µs
MD3 hold time (vs. MD1↓)
tM3H
2
µs
MD3 setup time (vs. MD0↓)
tM3SR
When program memory is read
AddressNote → data output delay time
tDAD
When program memory is read
Address
Note
→ data output hold time
4.19
µs
2
2
tHAD
When program memory is read
0
tM3HR
When program memory is read
2
MD3↓→ data output float delay time
tDFR
When program memory is read
Reset setup time
tRES
MD3 hold time (vs. MD0↑)
130
µs
ns
µs
2
10
MHz
µs
µs
Notes The internal address increment (+1) is performed on the fall of the 3rd clock, where 4 clocks compreise one
cycle. The internal clock is not connected to a pin.
Data Sheet U14542EJ1V0DS00
19
µPD17P228
Program Memory Write Timing
tRES
tVPS
VPP
VPP
VDD
GND
VDD
VDD+1
VDD
GND
tVDS
tXH
CLK
D0-D7
tXL
Hi-Z
Data input
tI
tDS
Data output
tDH
tDV
tDF
Data input
Data input
tDH
tAH
tDS
tAS
MD0
tPW
tM1R
tMOS
tOPW
MD1
tPCR
tM1S
tM1H
MD2
tM3H
tM3S
MD3
Program Memory Read Timing
tRES
tVPS
VPP
VPP
VDD
GND
VDD
tVDS
VDD+1
VDD
tXH
GND
CLK
tXL
tDAD
tHAD
Data output
D0-D7
Data output
tDV
tI
MD0
MD1
"L"
tPCR
MD2
tM3SR
MD3
20
Data Sheet U14542EJ1V0DS00
tM3HR
tDFR
µPD17P228
5.
PACKAGE
DRAWING
30-PIN PLASTIC SSOP (7.62 mm (300))
30
16
detail of lead end
F
G
T
P
1
L
15
U
E
A
H
I
J
S
C
D
N
M
S
B
K
M
NOTE
Each lead centerline is located within 0.13 mm of
its true position (T.P.) at maximum material condition.
ITEM
A
MILLIMETERS
9.85±0.15
B
0.45 MAX.
C
0.65 (T.P.)
D
0.24 +0.08
−0.07
E
0.1±0.05
F
1.3±0.1
G
1.2
H
8.1±0.2
I
6.1±0.2
J
1.0±0.2
K
0.17±0.03
L
0.5
M
0.13
N
0.10
P
3° +5°
−3°
T
0.25
U
0.6±0.15
S30MC-65-5A4-2
Data Sheet U14542EJ1V0DS00
21
µPD17P228
6.
RECOMMENDED SOLDERING CONDITIONS
For the µPD17P228 soldering must be performed under the following conditions.
For details of recommended conditions for surface mounting, refer to information document "Semiconductor
Device Mounting Technology Manual" (C10535E).
For other soldering methods, please consult with NEC personnel.
Table 6-1. Soldering Conditions of Surface Mount Type
• µPD17P228MC-5A4: 30-pin plastic SSOP (7.62 mm(300))
Soldering Method
Soldering Conditions
Symbol
Infrated Reflow
Package peak temperature: 235°C, Time: 30 seconds max. (210°C min.),
Number of times: 2 max. Number of days: 3 (after that, prebaking is necessary
at 125°C for 10 hours)
IR35-103-2
VPS
Package peak temperature: 215°C, Time: 40 seconds max. (200°C min.),
Number of times: 2 max. Number of days: 3 (after that, prebaking is necessary
at 125°C for 10 hours)
VP15-103-2
Wave soldering
Solder bath temperature: 260°C max, Time: 10 seconds max., Number of times:
once, preheating temperature: 120°C max. (package surface temperature)
Number of days: 3 (after that, prebaking is necessary at 125°C for 10 hours)
WS-60-103-1
Partial heating
Pin temperature: 300°C max., Time: 3 seconds max. (per side of device)
Note
—
Number of days in storage after the dry pack has been opened. The storage conditions are at 25°C, 65%
RH MAX.
Caution Do not use two or more soldering methods in combination (except the partial heating method).
22
Data Sheet U14542EJ1V0DS00
µPD17P228
APPENDIX.
DEVELOPMENT TOOLS
To develop the programs for the µPD17P228 subseries, the following development tools are available:
Hardware
Name
In-circuit emulator
IE-17K,
IE-17K-ETNote 1
Remarks
IE-17K and IE-17K-ET are the in-circuit emulators used in common with the 17K series
microcontroller.
TM
IE-17K and IE-17K-ET are connected to a PC-9800 series or IBM PC/AT compatible machines
as the host machine with RS-232C.
By using these in-circuit emulators with a system evaluation board corresponding to the
microcomputer, the emulators can emulate the microcomputer. A higher level debugging
TM
environment can be provided by using man-machine interface SIMPLEHOST .
SE board
(SE-17225)
This is an SE board for µPD17225 subseries. It can be used alone to evaluate a system
or in combination with an in-circuit emulator for debugging.
Emulation probe
(EP-17K30GS)
EP-17K30GS is an emulation probe for 17K series 30-pin SSOP (MC-5A4). When used
with EV-9500GT-30Note 2, it connects an SE board to the target system.
Conversion adapter
Note 2
(EV-9500GT-30
)
The EV-9500GT-30 is a conversion adapter for the 30-pin SSOP (MC-5A4). It is used to
connect the EP-17K30GS and target system.
PROM programmer
Note 3
Note 3
(AF-9706
, AF-9708
,
Note 3
AF-9709
)
AF-9706, AF-9708, and AF-9709 are PROM programmers corresponding to µPD17P228.
By connecting program adapter PA-17P236 to this PROM programmer, µPD17P228 can be
programmed.
Program adapter
(PA-17P236)
PA-17P236 are adapters that is used to program µPD17P228, and is used in combination
with AF-9706, AF-9708, or AF-9709.
Notes 1. Low-cost model: External power supply type
2. Two EV-9500GT-30 are supplied with the EP-17K30GS. Five EV-9500GT-30s are optionally available
as a set.
3. These are products from Ando Electric Co., Ltd. For details, consult Ando Electric Co., Ltd. (Tel: 033733-1166).
Data Sheet U14542EJ1V0DS00
23
µPD17P228
Software
Name
17K assembler
(RA17K)
Device file
(AS17225)
Support
software
(SIMPLEHOST)
24
Outline
Host Machine
OS
WindowsTM
Supply
Order Code
3.5" 2HD
µSAA13RA17K
3.5" 2HC
µSAB13RA17K
The RA17K is an assembler common to the 17K series products.
When developing the program of
devices, RA17K is used in combination with a device file (AS17225).
PC-9800
series
Japanese
IBM PC/AT
compatible
machine
Japanese Windows
The AS17225 is a device file for
µPD17225, 17226, 17227, and 17228
and is used in combination with an
assembler for the 17K series
(RA17K).
PC-9800
series
Japanese Windows
3.5" 2HD
µSAA13AS17225
IBM PC/AT
compatible
machine
Japanese Windows
3.5" 2HC
µSAB13AS17225
English Windows
SIMPLEHOST is a software package that enables man-machine interface on the Windows when a program is developed by using an incircuit emulator and a personal computer.
PC-9800
Japanese Windows
3.5" 2HD
µSAA13ID17K
Japanese Windows
3.5" 2HC
µSAB13ID17K
µSBB13RA17K
English Windows
µSBB13AS17225
series
IBM PC/AT
compatible
machine
English Windows
Data Sheet U14542EJ1V0DS00
µSBB13ID17K
µPD17P228
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.
Data Sheet U14542EJ1V0DS00
25
µPD17P228
Regional Information
Some information contained in this document may vary from country to country. Before using any NEC
product in your application, please 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.)
NEC Electronics (Germany) GmbH
NEC Electronics Hong Kong Ltd.
Santa Clara, California
Tel: 408-588-6000
800-366-9782
Fax: 408-588-6130
800-729-9288
Benelux Office
Eindhoven, The Netherlands
Tel: 040-2445845
Fax: 040-2444580
Hong Kong
Tel: 2886-9318
Fax: 2886-9022/9044
NEC Electronics Hong Kong Ltd.
Velizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 01-30-67 58 99
Seoul Branch
Seoul, Korea
Tel: 02-528-0303
Fax: 02-528-4411
NEC Electronics (France) S.A.
NEC Electronics Singapore Pte. Ltd.
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
Spain Office
Madrid, Spain
Tel: 91-504-2787
Fax: 91-504-2860
United Square, Singapore 1130
Tel: 65-253-8311
Fax: 65-250-3583
NEC Electronics Italiana s.r.l.
NEC Electronics (Germany) GmbH
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
Scandinavia Office
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
NEC Electronics (France) S.A.
NEC Electronics (Germany) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 02
Fax: 0211-65 03 490
NEC Electronics (UK) Ltd.
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
26
Data Sheet U14542EJ1V0DS00
µPD17P228
[MEMO]
Data Sheet U14542EJ1V0DS00
27
µPD17P228
SIMPLEHOST is a trademark of NEC Corporation.
Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States
and/or other countries.
PC/AT is a trademark of IBM Corporation.
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