OKI MSM63P238

E2E0041-18-95
¡ Semiconductor
MSM63P238
¡ Semiconductor
This version:MSM63P238
Sep. 1998
4-Bit Microcontroller with Built-in 16K Word PROM, POCSAG Decoder, and Melody
Circuit
GENERAL DESCRIPTION
The MSM63P238 is a CMOS 4-bit microcontroller with a built-in POCSAG (Post Office Code
Standardization Advisory Group) decoder, which employs Oki's original nX-4/250 CPU core.
The MSM63P238 is a one-time-programmable ROM-version product having one-time PROM
(OTP) as internal program memory.
The specifications of the MSM63P238 are equal to those of the MSM63238 except for electrical
characteristics, packaging (only 80-pin flat package is available for the MSM63P238), and some
functions.
FEATURES
The features of the MSM63P238 with an asterisk (*) differ from those of the mask ROM-version
MSM63238.
• Rich instruction set
439 instructions
Transfer, rotate, increment/decrement, arithmetic operations, comparison, logic operations,
mask operations, bit operations, ROM table reference, external memory transfer, stack
operations, flag operations, branch, conditional branch, call/return, control.
• Rich selection of addressing modes
Indirect addressing of four data memory types, with current bank register, extra bank
register, HL register and XY register.
Data memory bank internal direct addressing mode.
• Processing speed
Two clocks per machine cycle, with most instructions executed in one machine cycle.
Minimum instruction execution time : 61 ms (@ 32.768 kHz system clock)
1 ms (@ 2 MHz system clock)
• Clock generation circuit
Low-speed clock
High-speed clock
: 32.768 kHz/38.4 kHz/76.8 kHz crystal oscillator
: 2 MHz (Max.) RC or ceramic oscillator select
• Program memory (PROM) space*
16K words
Basic instruction length is 16 bits/1 word
• Data memory space
1K nibbles
• External data memory space
64 Kbytes (expandable by using an I/O port)
1/28
¡ Semiconductor
• Stack level
Call stack level
Register stack level
MSM63P238
: 16 levels
: 16 levels
• POCSAG decoder
Data rate
: 512 bps/1200 bps/2400 bps
User frame
: 3 types
User address
: 6 types
Battery saving mode (for controlling intermittent operations of RF receiver)
• I/O ports
Input ports: Selectable as input with pull-up resistance/input with pull-down resistance/
high-impedance input
Output ports: Selectable as P-channel open drain output/N-channel open drain output/
CMOS output/high-impedance output
Input-output ports: Selectable as input with pull-up resistance/input with pull-down
resistance/high-impedance input
Selectable as P-channel open drain output/N-channel open drain
output/CMOS output/high-impedance output
Can be interfaced with external peripherals that use a different power supply than this device
uses.
Number of ports:
Input port
: 1 port ¥ 4 bits
Output port
: 6 ports ¥ 4 bits
Input-output port
: 5 ports ¥ 4 bits
1 port ¥ 2 bits
• Melody output function
Melody sound frequency
Tone length
Tempo
Note data
Buzzer drive signal output
:
:
:
:
:
529 to 2979 Hz
63 types
15 types
Resides in the program memory
4 kHz
• Reset function
Reset through RESET pin
Power-on reset
Reset by low-speed oscillation halt
• Battery check*
Low-voltage supply check
Criterion voltage
: Can be selected as 2.20 ±0.20 V or 2.80 ±0.30 V
• Power supply backup*
Backup circuit (voltage multiplier) enables operation at 1.45 V minimum
2/28
¡ Semiconductor
MSM63P238
• Timers and counter
8-bit timer ¥ 4
Selectable as auto-reload mode/capture mode/clock frequency measurement mode
Watchdog timer ¥ 1
15-bit time base counter ¥ 1
1, 2, 4, 8, 16, 32, 64, and 128 Hz signals can be read
• Serial port
Mode
UART communication speed
Clock frequency in synchronous mode
Data length
• Interrupt sources
External interrupt
Internal interrupt
• Operating voltage*
When backup used
When backup not used
• Package*:
80-pin plastic QFP (QFP80-P-1420-0.80-BK)
: UART mode, synchronous mode
: 1200 bps, 2400 bps, 4800 bps, 9600 bps
: 32.768 kHz (internal clock mode), external
clock frequency
: 5 to 8 bits
: 3
: 15 (watchdog timer interrupt is a nonmaskable interrupt)
: VDD = 1.45 to 2.7 V
: VDD = 2.7 to 5.5 V
: (Product name: MSM63P238-xxxGS-BK)
xxx indicates a code number.
3/28
¡ Semiconductor
MSM63P238
BLOCK DIAGRAM
An asterisk (*) indicates the port secondary function.
and
indicate that the power is
supplied from VDDI to the circuits corresponding to the signal names inside
, and from
VDDR to the circuits corresponding to signal names inside
. (VDDI and VDDR: power supply
for interface)
nX-4/250
TIMING
CONTROL
SP
H
CBR
X
EBR
L
RA
Y
PC
PROM
16KW
VPP
A
C
ALU
RSP
G
MIE
STACK
INSTRUCTION
CAL.S: 16-level
DECODER
Z
BUS
D0-7*
EXTMEM
CON-
A0-15*
TROL
RD*
WR*
IR
REG.S: 16-level
INT
4
RESET
RST
RAM
1024N
TM0CAP/TM1CAP*
TM0OVF/TM1OVF*
T02CK*
T13CK*
TIMER
8bit ¥ 4
INT
TST1
TST2
TST3
2
TST
INT
RXC*
TXC*
RXD*
TXD*
SIO
INT
INT
1
TBC
OSC
BLD
INT
OSC1
1
TBCCLK*
HSCLK*
P8.0, P8.1
P9.0-P9.3
I/O
PORT
WDT
PB.0-PB.3
PC.0-PC.3
3
PD.0-PD.3
INT
1
INPUT
PORT
BACKUP
P1.0-P1.3
P7.0-P7.3
INT
P6.0-P6.3
3
OUTPUT
PORT
Internal
PORT
POCSAG
Dec
P5.0-P5.3
P4.0-P4.3
P0.0-P0.3
P8.2, P8.3
PE.0-PE.3
PF.0-PF.3
SIGIN
BS1
BS2
PA.0-PA.3
INT
XTSEL0
XTSEL1
VDDH
VDD
VDDL
VDD2
CB1
CB2
MD
MELODY
DATA BUS
XTM0
XTM1
XT0
XT1
OSC0
4
P3.0-P3.3
P2.0-P2.3
VDDI
VDDR
4/28
¡ Semiconductor
MSM63P238
65 P9.0
66 P9.1
67 P9.2
68 P9.3
69 PA.0
70 PA.1
71 PA.2
72 PA.3
73 P4.0
74 P4.1
75 P4.2
76 P4.3
78 P5.1
77 P5.0
2
64 P8.1
63 (NC)
3
62 P8.0
4
61 P3.3
5
60 P3.2
6
59 P3.1
7
58 P3.0
8
57 P2.3
9
56 P2.2
10
55 P2.1
11
54 P2.0
12
13
53 P1.3
52 P1.2
14
51 P1.1
15
1
16
50 P1.0
49 PB.3
17
48 PB.2
18
47 PB.1
19
46 PB.0
20
45 PC.3
44 PC.2
21
23
43 PC.1
42 PC.0
24
41 (NC)
22
(NC) 25
VDD2 26
VDDL 27
VDDH 28
CB1 29
CB2 30
VDD 31
VSS 32
MD 33
RESET 34
VPP 35
VDDI 36
PD.0 37
PD.1 38
PD.2 39
PD.3 40
(NC)
P6.0
P6.1
P6.2
P6.3
P7.0
P7.1
P7.2
P7.3
BS1
BS2
SIGIN
VDDR
XT0
XT1
TST1
TST2
TST3
OSC0
OSC1
XTSEL0
XTSEL1
XTM0
XTM1
79 P5.2
80 P5.3
PIN CONFIGURATION (TOP VIEW)
80-Pin Plastic QFP
Note: Pins marked as (NC) are no-connection pins which are left open.
5/28
¡ Semiconductor
MSM63P238
PIN DESCRIPTIONS
The basic functions of each pin of the MSM63P238 are described in Table 1.
A symbol with a slash (/) denotes a pin that has a secondary function.
Refer to Table 2 for secondary functions.
For type, "—" denotes a power supply pin, "I" an input pin, "O" an output pin, and "I/O" an inputoutput pin.
Table 1 Pin Descriptions (Basic Functions)
Function
Power
Supply
Symbol
Pin
Type
VPP
35
—
Power supply (+12.5 V) for PROM writing
VDD
31
—
Positive power supply
VSS
32
—
Negative power supply
VDDR
13
—
Interface power supply for SIGIN, BS1, BS2
VDDI
36
—
VDDL
27
—
VDD2
26
—
VDDH
28
—
Description
Positive power supply pin for external interface
(power supply for input, output, and I/O ports)
Positive power supply pin for internal logic (internally generated).
A capacitor (0.1 mF) should be connected between this pin and VSS.
Positive power supply pin for low-speed clock (internally generated)
Voltage multiplier pin for power supply backup
(internally generated).
A capacitor (1.0 mF) should be connected between this pin and VSS.
CB1
29
—
Pins to connect a capacitor for voltage multiplier.
CB2
30
—
A capacitor (1.0 mF) should be connected between CB1 and CB2.
XT0
14
I
XT1
15
O
should be connected to these pins.
XTM0
23
I
Low-speed clock oscillation pins for CPU.
XTM1
24
O
OSC0
19
I
OSC1
20
O
XTSEL0
21
Clock oscillation pins for POCSAG decoder.
A 32.768 kHz, 38.4 kHz, or 76.8 kHz crystal and capacitor (CG)
Oscillation
A 32.768 kHz crystal and capacitor (CGM) should be connected
to these pins.
High-speed clock oscillation pins.
A ceramic resonator and capacitors (CL0, CL1) or external
Low-speed CPU clock select pins.
I
Test
XTSEL1
22
TST1
16
TST2
17
TST3
18
oscillation resistor (ROS) should be connected to these pins.
These pins are used to select a low-speed CPU clock.
Because these are high impedance inputs, be sure to tie these
pins to VDD or VSS.
Input pins for testing.
I
Pull-down resistors are internally connected to these pins.
The user cannot use these pins.
Reset input pin.
Setting this pin to "H" level puts this device into a reset state.
Reset
RESET
34
I
Then, setting this pin to "L" level starts executing an instruction
from address 0000H.
A pull-down resistor is internally connected to this pin.
6/28
¡ Semiconductor
MSM63P238
Table 1 Pin Descriptions (Basic Functions) (continued)
Function
Symbol
Pin
Type
Melody
MD
33
O
BS1
10
BS2
11
SIGIN
12
P1.0/INT5
50
P1.1/INT5
51
POCSAG
Decoder
O
I
Description
Melody output pin (normal phase)
Battery saving outputs.
Signals to control intermittent operations of RF receiver.
Receive data input pin.
Input pin for receive data from RF receiver.
4-bit input port.
Pull-up resistor input, pull-down resistor input, or
I
Port
P1.2/INT5
52
P1.3/INT5
53
P2.0
54
P2.1
55
P2.2
56
P2.3
57
P3.0
58
P3.1
59
P3.2
60
P3.3
61
P4.0/A0
73
P4.1/A1
74
P4.2/A2
75
P4.3/A3
76
P5.0/A4
77
P5.1/A5
78
P5.2/A6
79
P5.3/A7
80
P6.0/A8
2
P6.1/A9
3
P6.2/A10
4
P6.3/A11
5
P7.0/A12
6
P7.1/A13
7
P7.2/A14
8
P7.3/A15
9
high-impedance input is selectable for each bit.
4-bit output ports.
O
P-channel open drain output, N-channel open drain output,
CMOS output, or high-impedance output is selectable for each
bit.
O
O
O
O
O
7/28
¡ Semiconductor
MSM63P238
Table 1 Pin Descriptions (Basic Functions) (continued)
Function
Symbol
Pin
P8.0/RD
62
P8.1/WR
64
P9.0/D0
65
P9.1/D1
66
P9.2/D2
67
P9.3/D3
68
PA.0/D4
69
PA.1/D5
70
PA.2/D6
71
PA.3/D7
72
Type
I/O
Description
2-bit input-output port and 4-bit input-output ports.
In input mode, pull-up resistor input, pull-down resistor input,
or high-impedance input is selectable for each bit.
I/O
In output mode, P-channel open drain output, N-channel open
drain output, CMOS output, or high-impedance output is
selectable for each bit.
I/O
PB.0/INT0/
TM0CAP/
46
TM0OVF
PB.1/INT0/
TM1CAP/
Port
47
TM1OVF
PB.2/INT0/
T02CK
PB.3/INT0/
T13CK
PC.0/INT1/
RXD
PC.1/INT1/
TXC
PC.2/INT1/
RXC
PC.3/INT1/
TXD
I/O
48
49
42
43
I/O
44
45
PD.0
37
PD.1
38
PD.2
39
PD.3
40
I/O
8/28
¡ Semiconductor
MSM63P238
Table 2 shows the secondary functions of each pin of the MSM63P238.
Table 2 Pin Descriptions (Secondary Functions)
Function
Symbol
Pin
PB.0/INT0
46
Type
Description
PB.1/INT0
47
PB.2/INT0
48
PB.3/INT0
49
disables an interrupt for each bit.
External 1 interrupt input pins.
External 0 interrupt input pins.
I
The change of input signal level causes an interrupt to occur.
The Port B Interrupt Enable register (PBIE) enables or
PC.0/INT1
42
External
PC.1/INT1
43
Interrupt
PC.2/INT1
44
PC.3/INT1
45
disables an interrupt for each bit.
P1.0/INT5
50
External 5 interrupt input pins.
P1.1/INT5
51
P1.2/INT5
52
P1.3/INT5
53
PB.0/TM0CAP
46
I
Timer 0 capture trigger input pin.
PB.1/TM1CAP
47
I
Timer 1 capture trigger input pin.
Capture
I
I
The change of input signal level causes an interrupt to occur.
The Port C Interrupt Enable register (PCIE) enables or
The change of input signal level causes an interrupt to occur.
The Port 1 Interrupt Enable register (P1IE) enables or
disables an interrupt for each bit.
9/28
¡ Semiconductor
MSM63P238
Table 2 Pin Descriptions (Secondary Functions) (continued)
Function
Timer
Symbol
Pin
Type
PB.0/TM0OVF
46
O
Timer 0 overflow flag output pin.
PB.1/TM1OVF
47
O
Timer 1 overflow flag output pin.
PB.2/T02CK
48
I
External clock input pin for timer 0 and timer 2.
PB.3/T13CK
49
I
External clock input pin for timer 1 and timer 3.
39
O
Low-speed oscillation clock output pin
PD.3/HSCLK
40
O
High-speed oscillation clock output pin
PC.0/RXD
42
I
Serial port receive data input pin
Oscillation PD.2/TBCCLK
Output
Description
Sync serial port clock input-output pin.
Transmit clock output when this device is used as a master
PC.1/TXC
43
I/O
processor.
Transmit clock input when this device is used as a slave
Serial
processor.
Port
Sync serial port clock input-output pin.
Receive clock output when this device is used as a master
PC.2/RXC
44
I/O
processor.
Receive clock input when this device is used as a slave
processor.
PC.3/TXD
45
O
Serial port transmit data output pin.
10/28
¡ Semiconductor
MSM63P238
Table 2 Pin Descriptions (Secondary Functions) (continued)
Function
Symbol
Pin
P4.0/A0
73
P4.1/A1
74
P4.2/A2
75
P4.3/A3
76
P5.0/A4
77
P5.1/A5
78
P5.2/A6
79
P5.3/A7
80
P6.0/A8
2
P6.1/A9
3
P6.2/A10
4
P6.3/A11
5
External
P7.0/A12
6
Memory
P7.1/A13
7
P7.2/A14
8
P7.3/A15
9
P9.0/D0
65
P9.1/D1
66
P9.2/D2
67
Type
Description
Address output bus for external memory
O
Data bus for external memory
P9.3/D3
68
PA.0/D4
69
PA.1/D5
70
PA.2/D6
71
PA.3/D7
72
P8.0/RD
62
O
Read signal output pin for external memory (negative logic)
P8.1/WR
64
O
Write signal output pin for external memory (negative logic)
I/O
11/28
¡ Semiconductor
MSM63P238
ABSOLUTE MAXIMUM RATINGS
(VSS = 0 V)
Parameter
Power Supply Voltage 1
Symbol
VDD
Condition
Rating
Backup used, Ta = 25°C
–0.3 to +3.0
Backup not used, Ta = 25°C
–0.3 to +6.0
Unit
V
Power Supply Voltage 2
VDDI
Ta = 25°C
–0.3 to +6.0
V
Power Supply Voltage 3
VDDR
Ta = 25°C
–0.3 to +6.0
V
Power Supply Voltage 4
VDDH
Ta = 25°C
–0.3 to +6.0
V
Power Supply Voltage 5
VDDL
Ta = 25°C
–0.3 to +6.0
V
Input Voltage 1
VIN1
VDD Input, Ta = 25°C
–0.3 to VDD + 0.3
V
Input Voltage 2
VIN2
VDDI Input, Ta = 25°C
–0.3 to VDDI + 0.3
V
VIN3
VDDR Input, Ta = 25°C
–0.3 to VDDR + 0.3
V
Output Voltage 1
VOUT1
VDD output, Ta = 25°C
–0.3 to VDD + 0.3
V
Output Voltage 2
VOUT2
VDDI output, Ta = 25°C
–0.3 to VDDI + 0.3
V
Output Voltage 3
VOUT3
VDDR output, Ta = 25°C
–0.3 to VDDR + 0.3
V
Output Voltage 4
VOUT4
VDDH output, Ta = 25°C
–0.3 to VDDH + 0.3
V
Storage Temperature
TSTG
—
–55 to +150
°C
Input Voltage 3
12/28
¡ Semiconductor
MSM63P238
RECOMMENDED OPERATING CONDITIONS
• When backup is used
(VSS = 0 V)
Symbol
Condition
Range
Unit
Operating Temperature
Parameter
Top
—
0 to +65
°C
VDD
—
1.45 to 2.7
V
Operating Voltage
VDDI
—
1.45 to 5.5
V
VDDR
Crystal Oscillation Frequency
—
1.45 to 5.5
V
fXT
—
30 to 80
kHz
fXTM
—
30 to 35
kHz
Ceramic Oscillation Frequency
fCM
VDD = 1.45 to 2.7 V
200k to 1M
Hz
External RC Oscillator Resistance
ROS
VDD = 1.45 to 2.7 V
50 to 300
kW
Symbol
Condition
Range
Unit
• When backup is not used
(VSS = 0 V)
Parameter
Operating Temperature
Operating Voltage
Crystal Oscillation Frequency
Top
—
0 to +65
°C
VDD
—
2.7 to 5.5
V
VDDI
—
1.8 to 5.5
V
VDDR
—
1.8 to 5.5
V
fXT
—
30 to 80
kHz
—
30 to 35
kHz
VDD = 2.7 to 5.5 V
300k to 1M
VDD = 2.9 to 5.5 V
200k to 2M
VDD = 2.7 to 5.5 V
50 to 300
VDD = 2.9 to 5.5 V
30 to 300
fXTM
Ceramic Oscillation Frequency
fCM
External RC Oscillator Resistance
ROS
Hz
kW
13/28
¡ Semiconductor
MSM63P238
ELECTRICAL CHARACTERISTICS
DC Characteristics
(VDD = VDDI = VDDR = 1.45 to 5.5 V, VDDH = 2.7 to 5.5 V, VSS = 0 V, Ta = 0 to +65°C unless otherwise specified)
MeaParameter
Symbol
Condition
Min. Typ. Max. Unit suring
Circuit
High speed clock stop
1.2
1.6
2.0
V
High speed clock oscillation
1.45
—
5.5
V
1.2
1.6
2.0
V
1.45
—
—
V
—
1.45
—
—
V
TSTOP
—
0.1
—
5.0
ms
CG, CGM
—
12
—
30
pF
CD, CDM
—
12
15
20
pF
COS
—
8
12
16
pF
0.0
—
0.4
V
VDDL Voltage
VDDL
VDD2 Voltage
VDD2
Crystal Oscillation Start
Voltage
VSTA
—
Oscillation start time: within
5 seconds
Crystal Oscillation Hold Voltage VHOLD
Crystal Oscillation Stop Detect
Time
External Crystal Oscillator
Capacitance
Internal Crystal Oscillator
Capacitance
Internal RC Oscillator
Capacitance
POR Voltage
Non-POR Voltage
VPOR1
VPOR2
VDD = 1.5 V
VDD = 3.0 V
0.0
—
0.7
V
VDD = 1.5 V
1.45
—
1.5
V
VDD = 3.0 V
2.7
—
3.0
V
1
Notes: 1. "TSTOP" indicates that if the crystal oscillator stops over the value of TSTOP, the system
reset occurs.
2. "POR" denotes Power On Reset.
3. "VPOR1" indicates that POR occurs when VDD falls from VDD to VPOR1 and again rises
up to VDD.
4. "VPOR2" indicates that POR does not occur when VDD falls from VDD to VPOR2 and
again rises up to VDD.
14/28
¡ Semiconductor
MSM63P238
DC Characteristics (continued)
• When backup is used
Parameter
(VDD = VDDI = 1.5 V, VDDH = 3.0 V, VSS = 0 V, Ta = 0 to +65°C unless otherwise specified)
MeaSymbol
Condition
Min. Typ. Max. Unit suring
Circuit
CPU in HALT mode.
Supply Current 1
IDD1
(High-speed clock oscillation stop)
Decoder in HALT mode.
—
7.0
35
mA
—
17
40
mA
—
85
200
mA
(Decoder oscillation stop)
CPU in HALT mode.
Supply Current 2
IDD2
(High-speed clock oscillation stop)
Decoder in carrier on state.
(76.8 kHz operation)
CPU in HALT mode.
Supply Current 3
IDD3
(High-speed clock oscillation stop)
Decoder in data receiving state.
(76.8 kHz operation)
1
CPU in operation at 32 kHz.
Supply Current 4
IDD4
(High-speed clock oscillation stop)
Decoder in HALT mode.
—
230
400
mA
—
1.5
2.0
mA
—
2.0
3.0
mA
(Decoder oscillation stop)
CPU in operation at high speed.
Supply Current 5
IDD5
(RC oscillation, ROS = 51 kW)
Decoder in HALT mode.
(Decoder oscillation stop)
CPU in operation at high speed.
Supply Current 6
IDD6
(Ceramic oscillation, 1 MHz)
Decoder in HALT mode.
(Decoder oscillaiton stop)
15/28
¡ Semiconductor
MSM63P238
DC Characteristics (continued)
• When backup is not used
Parameter
(VDD = VDDI = VDDH = 3.0 V, VSS = 0 V, Ta = 0 to +65°C unless otherwise specified)
MeaSymbol
Condition
Min. Typ. Max. Unit suring
Circuit
CPU in HALT mode.
Supply Current 1
IDD1
(High-speed clock oscillation stop)
Decoder in HALT mode.
—
3.0
20
mA
—
8.0
20
mA
—
42
100
mA
(Decoder oscillation stop)
CPU in HALT mode.
Supply Current 2
IDD2
(High-speed clock oscillation stop)
Decoder in carrier on state.
(76.8 kHz operation)
CPU in HALT mode.
Supply Current 3
IDD3
(High-speed clock oscillation stop)
Decoder in data receiving state.
(76.8 kHz operation)
1
CPU in operation at 32 kHz.
Supply Current 4
IDD4
(High-speed clock oscillation stop)
Decoder in HALT mode.
—
120
200
mA
—
1.5
2.0
mA
—
3.5
5.0
mA
(Decoder oscillation stop)
CPU in operation at high speed.
Supply Current 5
IDD5
(RC oscillation, ROS = 51 kW)
Decoder in HALT mode.
(Decoder oscillation stop)
CPU in operation at high speed.
Supply Current 6
IDD6
(Ceramic oscillation, 2 MHz)
Decoder in HALT mode.
(Decoder oscillation stop)
16/28
¡ Semiconductor
MSM63P238
DC Characteristics (continued)
Parameter
Output Current 1
(P2.0 to P2.3)
(P3.0 to P3.3)
(P4.0 to P4.3)
..
.
(PC.0 to PC.3)
(PD.0 to PD.3)
(VDD = VDDI = VDDH = VDDR = 3.0 V, VSS = 0 V, Ta = 0 to +65°C unless otherwise specified)
MeaSymbol
Condition
Min. Typ. Max. Unit suring
Circuit
IOH1
IOL1
VDDI = 1.5 V
–2.0
–1.2
–0.4
mA
VOH1 = VDDI – 0.5 V VDDI = 3.0 V
–5.0
–3.0
–1.0
mA
VDDI = 5.0 V
–8.0
–4.0
–2.0
mA
VDDI = 1.5 V
0.4
1.4
2.0
mA
VDDI = 3.0 V
1.0
3.0
5.0
mA
VDDI = 5.0 V
2.0
4.0
8.0
mA
VDD = 1.5 V
–2.5
–1.3
–0.5
mA
VDD = 3.0 V
–6.0
–4.0
–2.0
mA
VDD = VDDH = 5.0 V
–9.0
–5.5
–4.0
mA
VDD = 1.5 V
0.5
1.3
2.5
mA
VDD = 3.0 V
2.0
4.0
6.0
mA
VOL1 = 0.5 V
Output Current 2
(MD)
IOH2
IOL2
VOH2 = VDD – 0.7 V
VOL2 = 0.7 V
VDD = VDDH = 5.0 V
4.0
5.5
9.0
mA
VDDR = 1.5 V
–6.0
–3.6
–1.2
mA
VOH3 = VDDR – 0.5 V VDDR = 3.0 V
–15.0
–9.0
–3.0
mA
–24.0 –12.0
–6.0
mA
Output Current 3
(BS1, BS2)
IOH3
VDDR = 5.0 V
IOL3
Output Current 4
(OSC1)
IOH4R
IOL4R
IOH4C
IOL4C
Output Leakage
(P2.0 to P2.3)
(P3.0 to P3.3)
(P4.0 to P4.3)
..
.
(PD.0 to PD.3)
VOL3 = 0.5 V
VDDR = 1.5 V
1.2
3.6
6.0
mA
VDDR = 3.0 V
3.0
9.0
15.0
mA
VDDR = 5.0 V
6.0
12.0
24.0
mA
VOH4R = VDDH – 0.5 V VDD = VDDH = 3.0 V
–2.5
–1.5
–0.75
mA
(RC oscillation)
VDD = VDDH = 5.0 V
–3.0
–2.0
–1.0
mA
VOL4R = 0.5 V
VDD = VDDH = 3.0 V
0.75
1.5
2.5
mA
(RC oscillation)
VDD = VDDH = 5.0 V
1.0
2.0
3.5
mA
VOH4C = VDDH – 0.5 V VDD = VDDH = 3.0 V
–240
–120
–60
mA
(ceramic oscillation)
–400
–200
–100
mA
VDD = VDDH = 5.0 V
VOL4C = 0.5 V
VDD = VDDH = 3.0 V
60
120
250
mA
(ceramic oscillation)
VDD = VDDH = 5.0 V
100
200
400
mA
IOOH
VOH = VDDI
—
—
1.0
mA
IOOL
VOL = VSS
–1.0
—
—
mA
2
17/28
¡ Semiconductor
MSM63P238
DC Characteristics (continued)
Parameter
Input Current 1
(P1.0 to P1.3)
(P8.0, P8.1)
(P9.0 to P9.3)
..
.
(PD.0 to PD.3)
(VDD = VDDI = VDDH = VDDR = 3.0 V, VSS = 0 V, Ta = 0 to +65°C unless otherwise specified)
MeaSymbol
Condition
Min. Typ. Max. Unit suring
Circuit
IIH1
IIL1
VIH1 = VDDI
(when pulled down)
VIL1 = VSS
(when pulled up)
VDDI = 1.5 V
2
10
30
mA
VDDI = 3.0 V
30
90
180
mA
VDDI = 5.0 V
70
250
600
mA
VDDI = 1.5 V
–30
–10
–2
mA
VDDI = 3.0 V
–180
–90
–30
mA
VDDI = 5.0 V
–600
–250
–70
mA
IIH1Z
VIH1 = VDDI (in a high impedance state)
0.0
—
1.0
mA
IIL1Z
VIL1 = VSS (in a high impedance state)
–1.0
—
0.0
mA
Input Current 2
IIH2Z
VIH2 = VDDR
0.0
—
1.0
mA
(SIGIN)
IIL2Z
VIL2 = VSS
Input Current 3
(OSC0)
IIL3
–1.0
—
0.0
mA
VIL3 = VSS
VDD = VDDH = 3.0 V
–200
–110
–30
mA
(when pulled up)
VDD = VDDH = 5.0 V
–600
–350
–150
mA
IIH3R
VIH3 = VDDH (RC oscillation)
0.0
—
1.0
mA
IIL3R
VIL3 = VSS (RC oscillation)
–1.0
—
0.0
mA
IIH3C
IIL3C
VDD = VDDH = 3.0 V
0.1
0.5
1.0
mA
(ceramic oscillation) VDD = VDDH = 5.0 V
0.75
1.5
3.0
mA
VDD = VDDH = 3.0 V
–1.0
–0.5
–0.1
mA
(ceramic oscillation) VDD = VDDH = 5.0 V
–3.0
–1.5
–0.75
mA
VIH3 = VDDH
VIL3 = VSS
Input Current 4
(RESET)
IIH4
VIH4 = VDD
IIL4
VIL4 = VSS
IIH5
VIH5 = VDD
VDD = 1.5 V
10
50
80
mA
VDD = 3.0 V
150
350
600
mA
VDD = VDDH = 5.0 V
Input Current 5
(TST1, TST2, TST3)
0.5
1.0
2.0
mA
–1.0
—
0.0
mA
VDD = 1.5 V
50
150
300
mA
VDD = 3.0 V
0.5
1.0
1.5
mA
VDD = VDDH = 5.0 V
1.25
2.5
4.0
mA
IIL5
VIL5 = VSS
–1.0
—
0.0
mA
Input Current 6
IIH6Z
VIH6 = VDD
0.0
—
1.0
mA
(XTSEL0, XTSEL1)
IIL6Z
VIL6 = VSS
–1.0
—
0.0
mA
3
18/28
¡ Semiconductor
MSM63P238
DC Characteristics (continued)
Parameter
(VDD = VDDI = VDDH = VDDR = 3.0 V, VSS = 0 V, Ta = 0 to +65°C unless otherwise specified)
MeaSymbol
Condition
Min. Typ. Max. Unit suring
Circuit
Input Voltage 1
(P1.0 to P1.3)
(P8.0, P8.1)
(P9.0 to P9.3)
..
.
(PD.0 to PD.3)
Input Voltage 2
(SIGIN)
VIH1
VIL1
VIH2
VIL2
Input Voltage 3
(OSC0)
VIH3
VIL3
Input Voltage 4
(RESET, TST1, TST2, TST3,
XTSEL0, XTSEL1)
VIH4
VIL4
Hysteresis Width 1
(P1.0 to P1.3)
(P8.0, P8.1)
..
.
(PD.0 to PD.3)
DVT1
Hysteresis Width 2
(RESET, TST1, TST2, TST3,
XTSEL0, XTSEL1)
Input Pin Capacitance
(P1.0 to P1.3)
(P8.0, P8.1)
(P9.0 to P9.3)
..
.
(PD.0 to PD.3)
DVT2
CIN
VDDI = 1.5 V
1.2
—
1.5
V
VDDI = 3.0 V
2.4
—
3.0
V
VDDI = 5.0 V
4.0
—
5.0
V
VDDI = 1.5 V
0.0
—
0.3
V
VDDI = 3.0 V
0.0
—
0.6
V
VDDI = 5.0 V
0.0
—
1.0
V
VDDR = 1.5 V
1.2
—
1.5
V
VDDR = 3.0 V
2.4
—
3.0
V
VDDR = 5.0 V
4.0
—
5.0
V
VDDR = 1.5 V
0.0
—
0.3
V
VDDR = 3.0 V
0.0
—
0.6
V
VDDR = 5.0 V
0.0
—
1.0
V
VDD = VDDH = 3.0 V
2.4
—
3.0
V
VDD = VDDH = 5.0 V
4.0
—
5.0
V
VDD = VDDH = 3.0 V
0.0
—
0.6
V
VDD = VDDH = 5.0 V
0.0
—
1.0
V
VDD = 1.5 V
1.35
—
1.5
V
VDD = 3.0 V
2.4
—
3.0
V
VDD = VDDH = 5.0 V
4.0
—
5.0
V
VDD = 1.5 V
0.0
—
0.15
V
VDD = 3.0 V
0.0
—
0.6
V
VDD = VDDH = 5.0 V
0.0
—
1.0
V
VDDI = 1.5 V
0.05
0.1
0.3
V
VDDI = 3.0 V
0.2
0.5
1.0
V
VDDI = 5.0 V
0.25
1.0
1.5
V
VDD = 1.5 V
0.05
0.1
0.3
V
VDD = 3.0 V
0.2
0.5
1.0
V
VDD = VDDH = 5.0 V
0.25
1.0
1.5
V
—
—
—
5
pF
4
1
19/28
¡ Semiconductor
MSM63P238
Measuring circuit 1
Cb12
CB1
XT0
CB2
XT1
XTM0
q
(*1)
w
OSC0
OSC1
VSS
VDD
VDDI VDDR
VDDH VDDL
A
Ch
Cl, C2
Ch, Cb12
CG, CGM
CL0
CL1
Ceramic Resonator
: 0.1 mF
: 1 mF
: 15 pF
: 30 pF
: 30 pF
: CSB1000J (1 MHz)
CSA2.00MG (2 MHz)
(Murata MFG.-make)
XTM1
VDD2
V
Cl
V
C2
CG
76.8 kHz
CGM Crystal
32.768 kHz
Crystal
V
*1 RC Oscillator
q
ROS
w
Ceramic Oscillator
q
CL0
Ceramic Resonator
w
CL1
Measuring circuit 2
(*3)
VIH
(*2)
VIL
INPUT
VSS
OUTPUT
VDD
VDDI
VDDR
VDDH
A
VDDL VDD2
*2 Input logic circuit to determine the specified measuring conditions.
*3 Measured at the specified output pins.
20/28
¡ Semiconductor
MSM63P238
Measuring circuit 3
(*4)
A
INPUT
VSS
OUTPUT
VDD
VDDI
VDDR
VDDH VDDL
VDD2
Measuring circuit 4
VIH
Waveform
Monitoring
(*4)
VIL
INPUT
VSS
OUTPUT
VDD
VDDI
VDDR
VDDH VDDL
VDD2
*4 Measured at the specified input pins.
21/28
¡ Semiconductor
MSM63P238
AC Characteristics (Serial Interface, Serial Port)
(VDD = VDDR = 1.45 to 5.5 V, VDDH = 2.7 to 5.5 V, VSS = 0 V, VDDI = 5.0 V, Ta = 0 to +65°C unless
otherwise specified)
(1) Synchronous Communication
Parameter
Symbol
Condition
Min.
Typ.
Max.
Unit
TXC/RXC Input Fall Time
tf
—
—
—
1.0
ms
TXC/RXC Input Rise Time
tr
—
—
—
1.0
ms
TXC/RXC Input "L" Level
Pulse Width
tCWL
—
0.8
—
—
ms
TXC/RXC Input "H" Level
Pulse Width
tCWH
—
0.8
—
—
ms
TXC/RXC Input Cycle Time
tCYC
—
2.0
—
—
ms
tCYC1(O)
CPU in operation state at 32 kHz
—
30.5
—
ms
—
0.5
—
ms
TXC/RXC Output Cycle Time
CPU in operation at 2 MHz
tCYC2(O)
VDD = VDDH = 2.9 V to 5.5 V
TXD Output Delay Time
tDDR
Output load capacitance 10 pF
—
—
0.4
ms
RXD Input Setup Time
tDS
—
0.5
—
—
ms
RXD Input Hold Time
tDH
—
0.8
—
—
ms
Synchronous communication timing
("H" level = 4.0 V, "L" level = 1.0 V)
tCYC
TXC (PC.1)/
RXC (PC.2)
5 V (VDDI)
tr
0 V (VSS)
tf
tCWH
tCWL
tDDR
tDDR
TXD (PC.3)
5 V (VDDI)
0 V (VSS)
tDS
RXD (PC.0)
tDH
tDS
5 V (VDDI)
0 V (VSS)
22/28
¡ Semiconductor
MSM63P238
(2) UART Communication
Parameter
Symbol
Condition
Min.
Typ.
Max.
Unit
Transmit Baud Rate
TBRT
TBRT = 1/fBRT
TCR = 1/fOSC
TBRT–TCR
TBRT
TBRT+TCR
s
Receive Baud Rate
RBRT
RBRT = 1/fBRT
RBRT¥0.97
RBRT
RBRT¥1.03
s
fBRT: Baud rates (1200, 2400, 4800, 9600 bps)
UART communication timing
("H" level = 4.0 V, "L" level = 1.0 V)
TBRT
5 V (VDDI)
TXD (PC.3)
0 V (VSS)
RBRT
RXD (PC.0)
5 V (VDDI)
0 V (VSS)
23/28
¡ Semiconductor
MSM63P238
AC Characteristics (External Memory Interface)
(VDD = VDDR = 1.45 to 5.5 V, VDDH = 2.7 to 5.5 V, VSS = 0 V, VDDI = 5.0 V, Ta = 0 to +65°C unless
otherwise specified)
(1) Reading from External Memory
(a) When CPU operates at 32.768 kHz
Symbol
Condition
Min.
Typ.
Read Cycle Time
Parameter
Max.
Unit
tRC
—
—
RD Output Delay Time
tOE
—
—
61.0
—
ms
—
5.0
ms
Output Valid Time
tOHA
—
External Memory Output Delay Time
tDO
—
—
—
5.0
ms
—
—
5.0
ms
Symbol
Condition
Min.
Typ.
Max.
Unit
Read Cycle Time
RD Output Delay Time
tRC
—
1.0
—
—
ms
tOE
—
—
—
100
ns
Output Valid Time
tOHA
—
—
—
100
ns
External Memory Output Delay Time
tDO
—
—
—
150
ns
(b) When CPU operates at 2 MHz (VDDH = 2.9 to 5.5 V)
Parameter
AC characteristics timing
("H" level = 4.0 V, "L" level = 1.0 V)
MOVXB obj, xadr16
MOVXB obj, [RA]
S1
S2
S1
S2
S1
S2
System clock
tRC
P7 - P4
(A15 - A0)
Port setup value
P8.0
(RD)
PA, P9
(D7 - D0)
Address output
tOE
Port setup value
Input data
tDO
Port setup value
tOHA
Port setup value
5 V (VDDI)
0 V (VSS)
5 V (VDDI)
0 V (VSS)
5 V (VDDI)
0 V (VSS)
24/28
¡ Semiconductor
MSM63P238
(2) Writing to External Memory
(a) When CPU operates at 32.768 kHz
Parameter
Symbol
Condition
Min.
Typ.
Max.
Unit
Write Cycle Time
tWC
—
—
61.0
—
ms
Address Setup Time
tAS
—
—
30.5
—
ms
Write Time
tW
—
—
15.3
—
ms
Write Recovery Time
tWR
—
—
15.3
—
ms
Data Setup Time
tDS
—
—
45.8
—
ms
Data Hold Time
tDH
—
—
15.3
—
ms
(b) When CPU operates at 2 MHz (VDDH = 2.9 to 5.5 V)
Symbol
Condition
Min.
Typ.
Max.
Unit
Write Cycle Time
Parameter
tWC
—
1.0
—
—
ms
Address Setup Time
tAS
—
0.4
—
—
ms
Write Time
tW
—
0.2
—
—
ms
Write Recovery Time
tWR
—
0.2
—
—
ms
Data Setup Time
tDS
—
0.7
—
—
ms
Data Hold Time
tDH
—
0.2
—
—
ms
AC characteristics timing
("H" level = 4.0 V, "L" level = 1.0 V)
MOVXB [RA], obj or MOVXB xadr16, obj
S1
S2
S1
S2
S1
S2
System clock
tWC
P7 - P4
(A15 - A0)
PA, P9
(D7 - D0)
Port setup value
Address output
Port setup value
Output data
tDS
tDH
Port setup value
Port setup value
5 V (VDDI)
0 V (VSS)
5 V (VDDI)
0 V (VSS)
5 V (VDDI)
0 V (VSS)
P8.1
(WR)
tAS
tW
tWR
25/28
¡ Semiconductor
MSM63P238
APPLICATION CIRCUITS
• RC oscillation is selected as high-speed oscillation.
• Ports and RF section are powered from
external memory power source.
• CV is an IC power supply bypass capacitor.
• Values of Cl, C2, CG, CGM, Ch, Cb12, and CV are
for reference only.
76.8 kHz
Crystal
CG
12 to 30 pF
32.768 kHz
Crystal
CGM
12 to 30 pF
Ch
1.0 mF
OSC0
XT0
XT1
OSC1
VDDR
XTM0
SIGIN
BS1
BS2
VDD
0.1 mF
Cb12
1.0 mF
Cl
0.1 mF
C2
0.1 mF
CB1
VDD
MSM63P238
P2
PC
PD
CB2
Push SW
Open
VDD
RF Section
VSS
XTM1
VDDH
1.5 V
CV
ROS
VDDL
VDD2
XTSEL0
XTSEL1
RESET
TST1
TST2
TST3
VDDI
VDD
P4-7
P9, PA
P8.0
P8.1
P3
VSS
Key Matrix
LED
Vibrator
UART
VSS
A15-0
D7-0 LCD Module
ROM
RD
SRAM
WR
EEPROM
5.0 V
External
Memory
VSS
Note: VDDI is the power supply pin for the input, output, and input-output ports. VDDR is the
interface power supply pin for SIGIN, BS1, and BS2.
Be sure to connect the VDDI and VDDR pins either to the positive power supply pin (VDD)
of this device or to the positive power supply pin of the external memory.
Application Circuit Example with Power Supply Backup
26/28
¡ Semiconductor
MSM63P238
APPLICATION CIRCUITS (continued)
• Ceramic oscillation is selected as high-speed oscillation.
• Ports and RF section are powered from
external memory power source.
• CV is an IC power supply bypass capacitor.
• Values of Cl, C2, CG, CV, CL0, and CL1 are for
reference only.
32.768 kHz
Crystal
CG
12 to 30 pF
OSC0
XT0
OSC1
XT1
CL0
30 pF
Ceramic
Resonator
CL1
30 pF
VDDR
SIGIN
BS1
BS2
XTM0
XTM1
VDDH
3.0 V
VDD
CV
VDD
RF Section
VSS
0.1 mF
Open
CB1
VDD
MSM63P238
P2
PC
PD
CB2
Cl
0.1 mF
C2
0.1 mF
VDDL
VDDI
VDD2
XTSEL0
XTSEL1
VDD
P4-7
P9, PA
Push SW
Open
Key Matrix
LED
Vibrator
UART
VSS
RESET
TST1
TST2
TST3
VSS
P8.0
P8.1
P3
A15-0
D7-0 LCD Module
ROM
RD
SRAM
WR
EEPROM
External
Memory
VSS
Note: VDDI is the power supply pin for the input, output, and input-output ports. VDDR is the
interface power supply pin for SIGIN, BS1, and BS2.
Be sure to connect the VDDI and VDDR pins either to the positive power supply pin (VDD)
of this device or to the positive power supply pin of the external memory.
Application Circuit Example with No Power Supply Backup
27/28
¡ Semiconductor
MSM63P238
PACKAGE DIMENSIONS
(Unit : mm)
QFP80-P-1420-0.80-BK
Mirror finish
Package material
Lead frame material
Pin treatment
Solder plate thickness
Epoxy resin
42 alloy
Solder plating
5 mm or more
Package weight (g)
1.27 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
28/28