4-Bit Microcontroller with Built-in RC Oscillation Type A/D Converter and LCD Driver
GENERAL DESCRIPTION
The MSM64164C is a low power 4-bit microcontroller that employs Oki's original CPU core nX4/20.
The MSM64164C is best suitable for applications such as low power, high precision thermometers and hygrometers.
The MSM64P164 is a one-time-programmable ROM-version product having one-time PROM
(OTP) as internal program memory.
The MSM64P164 is used to evaluate the software development.
The MSM64P164 differs from the MSM64164C in the polarity of the power supply.
FEATURES
• Operating range
Operating frequencies:32.768 kHz, 400 kHz
Operating voltage:1.25 to 1.7 V (1.5 V spec.)
2.0 to 3.5 V (3 V spec.)
2.2 to 3.5 V (3 V spec., 1/2 duty)
Operating temperature:–40 to +85°C
• Memory space
Internal program memory:4064 bytes
Internal data memory:256 nibbles
• Minimum instruction execution time:7.5 ms @ 400 kHz
91.6 ms @ 32.768 kHz
• RC oscillation type A/D converter:2 channels
Time dividing 2-channel method
• Serial port:Synchronous 8-bit transfer
• LCD driver:34 outputs; duty ratio switchable by software
(1) At 1/4 duty and 1/3 bias:120 segments (max)
(2) At 1/3 duty and 1/3 bias:93 segments (max)
(3) At 1/2 duty and 1/2 bias:64 segments (max)
• Package options:
80-pin plastic QFP (QFP80-P-1420-0.80-BK) : (Product name : MSM64164C-¥¥¥GS-BK)
80-pin plastic QFP (QFP80-P-1414-0.65-K): (Product name : MSM64164C-¥¥¥GS-K)
80-pin plastic TQFP (TQFP80-P-1212-0.50-K) : (Product name : MSM64164C-¥¥¥TS-K)
Chip: (Product name : MSM64164C-¥¥¥)
¥¥¥ indicates a code number.
• OTP version
The MSM64P164 has one-time PROM (OTP) as internal program memory and is used to
evaluate the software development.
The MSM64P164 differs from the MSM64164C in the polarity of the power supply and
operating voltage.
Refer to the "MSM64P164 User's Manual" for details.
Chip Size: 5.39 mm ¥ 4.48 mm
Chip Thickness: 350 mm (typ.)
Coordinate Origin: Chip center
Pad Hole Size: 100 mm ¥ 100 mm
Pad Size: 120 mm ¥ 120 mm
Minimum Pad Pitch: 180 mm
Note: The chip substrate voltage is VDD.
Y
X
7/41
¡ SemiconductorMSM64164C
Pad Coordinates
Pad No.Y (µm)X (µm)Pad Name
1–2090–2545L0
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
L1
L2
L3
L4
L5
L6
L7
L8
L9
L10
L11
L12
L13
L14
L15
L16
18P2.0
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
P2.1
P2.2
P2.3
P3.0
P3.1
P3.2
P3.3
P4.0
P4.1
P4.2
P4.3
BD
V
SSL
V
DD
RT0
CRT0
RS0
36CS0
37IN0
38IN1
39CS1
40RS1
Pad No.Y (µm)X (µm)Pad Name
4118802545RT1
–23142545
–20832314
–18522083
–16211852
–1390
–1159
–928
–697
–466
–235
0
235
466
697
928
1159
1390
1621
1852
2083
2314
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
2545
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–2090
–1880
–1670
–1460
–1250
–1040
–830
–620
–431
–74
200
410
620
830
1040
1250
1460
1670
422090V
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72TST2207
73P1.0–207
74P1.1–431
75P1.2–655
76P1.3–879
77P0.0–1103
78P0.1–1327
79P0.2–1551
80P0.3–1747
SS1
V
SS
V
SS2
V
SS3
C1
C2
L17
L18
L19
L20
L21
L22
L23
L24
L25
L26
L27
L28
L29
L30
L31
L32
L33
OSC2
OSC1
V
DD
XT
XT
RESET
TST1
1621
1390
1159
928
697
466
235
–235
–466
–697
–928
–1159
–1390
–1621
–1852
–2083
–2314
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
–2545
2090
2090
2090
2090
2090
2090
2090
2090
2090
2090
0
2090
2090
2090
2090
2090
2090
2090
2090
2090
2090
2090
2090
1775
1551
1327
1103
879
655
431
8/41
¡ SemiconductorMSM64164C
PIN DESCRIPTIONS
Basic Functions
Function
Power
Supply
Oscillation
Ports
A/D
Converter
Reset
Test
SymbolTypeDescription
V
DD
V
SS1
V
SS2
V
SS3
V
SS
—
—
—
—
—
0 V power supply
Bias output for driving LCD (–1.5 V), or negative power supply at 1.5 V spec.
Bias output for driving LCD (–3.0 V), or negative power supply at 3.0 V spec.
Bias output for driving LCD (–4.5 V).
Negative power supply for I/O port interface
Negative power supply pin for internal logic (internally generated constant
V
SSL
C1, C2—
—
voltage)
Pins for connecting a capacitor for generating V
XTI
XTO
OSC1I
OSC2O
P1.0 to P1.3O
P0.0 to P0.3I
P2.0 to P4.3I/O
BDO
L0 to L25O
L26/P5.0 to
L33/P6.3
RT0O
32.768 kHz crystal connection pins
External 400 kHz oscillation resistor (R
Output port (P1.0 : high current output)
Input port
Input-output ports
Output pin for the buzzer driver
LCD driver pins
LCD driver pins, or output ports by mask option
O
Resistance temperature sensor connection pin
OS
Resistance/capacitance temperature sensor
CRT0O
RS0
CS0
IN0
RT1
RS1
CS1
IN1
RESETI
TST1I
connection pin
Reference resistor connection pin
O
Reference capacitor connection pin
O
Input pin for RC oscillator circuit
I
Resistance temperature sensor connection pin
O
Reference resistor connection pin
O
Reference capacitor connection pin
O
Input pin for RC oscillator circuit
I
Reset pin
Input pins for testing
TST2I
, V
SS1
SS2
) connection pins
RC oscillation pins
for A/D converter
(channel 0)
(CROSC0)
RC oscillation pins
for A/D converter
(channel 1)
(CROSC1)
, and V
SS3
.
9/41
¡ SemiconductorMSM64164C
Secondary Functions
Function
External
Interrupt
Capture
Trigger
Serial Port
RC Oscillation
Monitor
SymbolTypeDescription
P0.0I
P0.1
P0.2
P0.3
P2.0I
P2.1
P2.2
P2.3
P3.0
P3.1
P3.2
P3.3
P4.0
P4.1
P4.2
P4.3
P0.0
P0.1
P3.3I
P4.0O
P4.1O
P4.2I/O
P4.3O
Secondary functions of P0.0 to P0.3:
Level-triggered external interrupt input pins.
The change of input signal level causes an interrupt to occur.
Secondary functions of P2.0 to P2.3, P3.0 to P3.3, and P4.0 to P4.3:
Level-triggered external interrupt input pins.
The change of input signal level causes an interrupt to occur.
Secondary functions of P0.0 and P0.1:
I
Capture circuit trigger input pins.
Secondary functions of P3.3:
This pin is assigned the data input of a serial port (SIN).
Secondary functions of P4.0:
This pin is assigned the data output of a serial port (SOUT).
Secondary functions of P4.1:
This pin is assigned the ready output of a serial port (SPR).
Secondary functions of P4.2:
This pin is assigned the clock I/O of a serial port (SCLK).
Secondary functions of P4.3:
This pin is a monitor output (MON) of an RC oscillation clock (OSCCLK) for
an A/D converter and a 400 kHz RC oscillation clock for a system clock.
10/41
¡ SemiconductorMSM64164C
,
,
,
MEMORY MAPS
Program Memory
Test program area
0FFFH
0FE0H
03EH
020H
,,,,,,,,,,,
,,,,,,,,,,,
,,,,,,,,,,,
Interrupt area
32 bytes
4064 bytes
03BH
038H
035H
032H
02FH
02CH
029H
026H
023H
020H
Contents of interrupt area
Watchdog interrupt
External interrupt (0)
Serial port interrupt
External interrupt (1)
ADC interrupt
256 Hz interrupt
32 Hz interrupt
16 Hz interrupt
1 Hz interrupt
0.1 Hz interrupt
CZP area
010H
Start address
000H
8 bits
Program Memory Map
Address 000H is the instruction execution start address by the system reset.
The CZP area from address 010H to address 01FH is the start address for the CZP subroutine of
1-byte call instruction.
The start address of interrupt subroutine is assigned to the interrupt address from address 020H
to 03DH.
The user area has 4064 bytes of address 000H to address 0FDF. No program can be stored in the
test program area.
11/41
¡ SemiconductorMSM64164C
Data Memory
The data memory area consists of 8 banks and each bank has 256 nibbles (256 ¥ 4 bits).
The data RAM is assigned to BANK 7 and peripheral ports are assigned to BANK 0.
7FFH
780H
700H
6FFH
BANK7
Data RAM area
(256 nibbles)
Inaccessible area
Data/Stack area (128 nibbles)
Contents of 000H to 07FH
07FH
SFR area
100H
0FFH
080H
07FH
000H
Unused area
BANK 0
000H
4 bits
Data Memory Map
Half the data RAM area (128 nibbles) is shared by the stack area. The stack is a memory starting
from address 7FFH toward the low-order addresses where 4 nibbles are used by Subroutine Call
Instruction and 8 nibbles are used by an interrupt.
The addresses 080H to 0FFH of BANK 0 are not assigned as the data memory, so access to these
addresses has no effect. Moreover, it is impossible to access BANK 1 to BANK 6.
12/41
¡ SemiconductorMSM64164C
ABSOLUTE MAXIMUM RATINGS (1.5 V Spec.)
(V
= 0 V)
DD
ParameterSymbolConditionRatingUnit
Power Supply Voltage 1V
Power Supply Voltage 2V
Power Supply Voltage 3V
Power Supply Voltage 4V
Power Supply Voltage 5V
Input Voltage 1V
Input Voltage 2V
Input Voltage 3V
Output Voltage 1V
Output Voltage 2V
Output Voltage 3V
Output Voltage 4V
Output Voltage 5V
Storage TemperatureT
SS1
SS2
SS3
SSL
SS
IN1
IN2
IN3
OUT1
OUT2
OUT3
OUT4
OUT5
STG
Ta = 25°C–2.0 to +0.3V
Ta = 25°C–4.0 to +0.3V
Ta = 25°C–5.5 to +0.3V
Ta = 25°C–2.0 to +0.3V
Ta = 25°C–5.5 to +0.3V
V
Input, Ta = 25°CV
SS1
V
Input, Ta = 25°CV
SS
V
Input, Ta = 25°CV
SSL
V
Output, Ta = 25°CV
SS1
V
Output, Ta = 25°CV
SS2
V
Output, Ta = 25°CV
SS3
V
Output, Ta = 25°CV
SS
V
Output, Ta = 25°CV
SSL
—
– 0.3 to +0.3V
SS1
– 0.3 to +0.3V
SS
– 0.3 to +0.3V
SSL
– 0.3 to +0.3V
SS1
– 0.3 to +0.3V
SS2
– 0.3 to +0.3V
SS3
– 0.3 to +0.3V
SS
– 0.3 to +0.3V
SSL
–55 to +150°C
RECOMMENDED OPERATING CONDITIONS (1.5 V Spec.)
ParameterSymbolConditionRangeUnit
Operating Temperature
Operating Voltage
External 400 kHz RC Oscillator
Resistance
Crystal Oscillation Frequency
T
op
V
SS1
V
SS
R
OS
f
XT
—
—
—
—
—
= 0 V)
(V
DD
–40 to +85°C
–1.7 to –1.25V
–5.25 to V
SS1
250 to 500kW
30 to 35kHz
V
13/41
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.