4-Bit Microcontroller with Built-in POCSAG Decoder and Melody Circuit, Operating at
0.9 V (Min.)
GENERAL DESCRIPTION
The MSM63238 is a CMOS 4-bit microcontroller with a built-in POCSAG (Post Office Code
Standardization Advisory Group) decoder.
The MSM63238 employs Oki's original nX-4/250 CPU core and is suitable for pager applications.
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
• 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)
• 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:
• Melody output function
Melody sound frequency: 529 to 2979 Hz
Tone length: 63 types
Tempo: 15 types
Note data: Resides in the program memory
Buzzer drive signal output: 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 1.05 ±0.10 V, 1.30 ±0.15 V,
2.20 ±0.20 V or 2.80 ±0.30 V
• Power supply backup
Backup circuit (voltage multiplier) enables operation at 0.9 V minimum
2/32
¡ SemiconductorMSM63238
• 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 mode, synchronous mode
UART communication speed: 1200 bps, 2400 bps, 4800 bps, 9600 bps
Clock frequency in synchronous mode: 32.768 kHz (internal clock mode), external
clock frequency
Data length: 5 to 8 bits
• Interrupt sources
External interrupt: 3
Internal interrupt: 15 (watchdog timer interrupt is a nonmask-
able interrupt)
• Operating voltage
When backup used: 0.9 to 2.7 V
(Low-speed clock operating)
1.2 to 2.7 V
(Operating frequency: 300 to 500 kHz)
1.5 to 2.7 V
(Operating frequency: 200 kHz to 1 MHz)
When backup not used: 1.8 to 5.5 V
(Operating frequency: 300 to 500 kHz)
2.2 to 5.5 V
(Operating frequency: 300 kHz to 1 MHz)
2.7 to 5.5 V
(Operating frequency: 200 kHz to 2 MHz)
Note:Pins marked as (NC) are no-connection pins which are left open.
47(NC)
48PC.0
49(NC)
50(NC)
6/32
¡ SemiconductorMSM63238
PAD CONFIGURATION
Pad Layout
PC.239
PC.340
PB.041
PB.142
PB.243
PB.344
P1.045
P1.146
P1.247
P1.348
P2.049
P2.150
P2.251
P2.352
P3.053
P3.154
P3.255
P3.356
P8.057
PC.138
PC.037
PD.336
PD.235
PD.134
PD.033
DDI
V
32
RESET31
MD30
SS
V
29
DD
V
28
CB227
CB126
DDH
V
25
DDL
V
24
DD2
V
23
XTM122
XTM021
XTSEL120
11
XTSEL019
OSC118
OSC017
TST316
TST215
TST114
XT113
XT012
V
SIGIN10
BS29
BS18
P7.37
P7.26
P7.15
P7.04
P6.33
P6.22
P6.11
DDR
P8.158
P9.059
P9.160
P9.261
P9.362
PA.063
PA.164
PA.265
PA.366
P4.067
P4.168
P4.269
P4.370
P5.071
P5.172
P5.273
P5.374
Chip Size: 4.55 mm ¥ 4.55 mm
Chip Thickness: 350 mm (typ.)
Coordinate Origin: Chip center
Pad Hole Size: 110 mm ¥ 110 mm
Pad Size: 120 mm ¥ 120 mm
Minimum Pad Pitch: 150 mm
The basic functions of each pin of the MSM63238 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.
For pin, "GS-BK" denotes an 80-pin flat package (80QFP) and "TS-K" a 100-pin flat package
(100TQFP).
Table 1 Pin Descriptions (Basic Functions)
FunctionSymbolTypeDescription
Pin
31
32
13
TS-K
36
37
14
—
—
—
Positive power supply
Negative power supply
Interface power supply for SIGIN, BS1, BS2
V
V
V
GS-BK
DD
SS
DDR
Positive power supply pin for external interface
V
DDI
36
42
—
(power supply for input, output, and I/O ports)
Positive power supply pin for internal logic (internally generated).
Power
Supply
V
V
DDL
DD2
27
26
32
31
—
—
A capacitor (0.1 mF) should be connected between this pin and V
Positive power supply pin for low-speed clock (internally generated)
Voltage multiplier pin for power supply backup
(internally generated).
V
DDH
CB1Pins to connect a capacitor for voltage multiplier.
CB2
XT0I
28
29
30
14
33
34
35
15
—
—
—
A capacitor (1.0 mF) should be connected between this pin
SS
.
and V
A capacitor (1.0 mF) should be connected between CB1 and CB2.
Clock oscillation pins for POCSAG decoder.
A 32.768 kHz, 38.4 kHz, or 76.8 kHz crystal and capacitor (C
XT1O
XTM0I
15
23
16
27
should be connected to these pins.
Low-speed clock oscillation pins for CPU.
A 32.768 kHz crystal and capacitor (C
Oscillation
XTM1O
OSC0I
24
19
28
21
to these pins.
High-speed clock oscillation pins.
A ceramic resonator and capacitors (C
OSC1O
20
22
oscillation resistor (R
) should be connected to these pins.
OS
Low-speed CPU clock select pins.
Test
XTSEL0
XTSEL1
TST1Input pins for testing.
TST2I
TST3
21
22
16
17
18
23
24
18
19
20
These pins are used to select a low-speed CPU clock.
I
Because these are high impedance inputs, be sure to tie these
pins to V
or VSS.
DD
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.
hen, setting this pin to "L" level starts executing an instruction
39
38
10
11
12
59
61
62
64
T
from address 0000H.
A pull-down resistor is internally connected to this pin.
Battery saving outputs.
O
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
high-impedance input is selectable for each bit.