OKI MSM64162A

E2E0049-18-95
¡ Semiconductor
MSM64162A
¡ Semiconductor
This version:MSM64162A
Sep. 1998
4-Bit Microcontroller with Built-in RC Oscillation Type A/D Converter and LCD Driver
GENERAL DESCRIPTION
The MSM64162A is a low power 4-bit microcontroller that employs Oki's original CPU core nX4/20.
The MSM64162A has 2-channel RC oscillation type A/D converter, LCD driver for up to 80
segments, and buzzer output port. It is best suited for applications such as low power, high
precision thermometers and hygrometers.
FEATURES
• Operating range
Operating frequencies
Operating voltage
Operating temperature
• Memory space
Internal program memory
Internal data memory
• Minimum instruction execution time
:
:
:
32.768 kHz, 400 kHz
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)
–40 to +85°C
:
:
:
2016 bytes
128 nibbles
7.5 ms @ 400 kHz
91.6 ms @ 32.768 kHz
• RC oscillation type A/D converter
: 2 channels
Time division 2-channel method
• LCD driver
: 24 outputs
(1) At 1/4 duty and 1/3 bias
: 80 segments (max)
(2) At 1/3 duty and 1/3 bias
: 63 segments (max)
(3) At 1/2 duty and 1/2 bias
: 44 segments (max)
Voltage Regulator for LCD Driver (selectable by mask option)
The LCD panel display is stable regardless of temporary supply voltage drop, because
the voltage generated by the voltage regulator for LCD driver is supplied to the bias
voltage generator as a reference voltage.
LCD Operating Voltage
When the voltage regulator for LCD driver is used
: 3.6 V (Duty cycle = 1/4 or 1/3)
2.4 V (Duty cycle = 1/2)
When the voltage regulator for LCD driver is not used
: 4.5 V (Duty cycle = 1/4 or 1/3)
3.0 V (Duty cycle = 1/2)
• Buzzer driver
: 1 output (4 output modes selectable)
• Capture circuit
: 2 channels
• Watchdog timer
• Clock
: 32.768 kHz crystal oscillator and 400 kHz RC
oscillator (with an external resistor)
CPU clock
: 32.768 kHz/400 kHz (switchable by software)
Time base clock
: 32.768 kHz
• Power supply voltage
: 1.5 V/3 V (selectable by mask option)
1/40
¡ Semiconductor
• I/O port
Input-output port
Input port
Output port
MSM64162A
:
:
:
• Interrupt sources
External interrupt
:
Internal interrupt
:
• Battery check circuit
:
• Package:
80-pin plastic QFP (QFP80-P-1420-0.80-BK)
Chip
2 ports ¥ 4 bits
1 port ¥ 4 bits
1 port ¥ 4 bits
(8 out of the 24 LCD driver outputs can be used
as output-only ports by mask option.)
2 sources
7 sources
1 (incorporated into the input-only port)
: (Product name : MSM64162A-¥¥¥GS-BK)
: (Product name : MSM64162A-¥¥¥)
¥¥¥ indicates a code number.
2/40
¡ Semiconductor
MSM64162A
BLOCK DIAGRAM
CPU CORE: nX-4/20
BSR
TR2
TR1
TR0
(4)
HALT
A11 to A8
ALU
C
ROM
2016B
PCH
PCM PCL
A7 to A0
B
MIEF
(4)
A
(4)
H
L
X
Y
DB7 to DB0
OSC2
OSC1
XT
XT
2CLK
RESET
RSTG
ROMR
(8)
IR
SP
IR
DECODER
TIMING
CONTROLLER
RAM
128N
(8)
TBC
INTC
INT
PORT3
WDT
TST1
TST2
VSSL
INT
TST
5
PORT2
P2.3
P2.2
P2.1
P2.0
PORT1
P1.3
P1.2
P1.1
P1.0
INT
INT
BC
VR
L0
L1
LCD
CAPR
L23
VSS1
VSS2
VSS3
C1
C2
P3.3
P3.2
P3.1
P3.0
INT
BIAS
PORT0
PORT ADDRESS
P0.3
P0.2
P0.1
P0.0
DB7 to DB0
BD
ADC
BD
RT1
RS1
CS1
IN1
RT0
CRT0
RS0
CS0
IN0
INT
VDD
VSS
3/40
¡ Semiconductor
MSM64162A
65 L20/P6.0
66 L21/P6.1
67 (NC)
68 L22/P6.2
69 L23/P6.3
70 (NC)
71 OSC1
72 OSC2
74 VDD
73 (NC)
75 (NC)
76 XT
77 XT
78 (NC)
2
64 L19/P5.3
63 L18/P5.2
3
62 L17/P5.1
4
61 L16/P5.0
5
60 L15
6
59 (NC)
7
8
58 L14
57 L13
1
9
56 L12
10
55 L11
11
12
54 L10
53 (NC)
13
52 L9
14
51 L8
15
16
50 L7
49 L6
17
48 L5
18
47 L4
19
46 L3
20
45 L2
44 L1
21
23
43 L0
42 C2
24
41 C1
22
P3.3 25
BD 26
P1.0 27
P1.1 28
P1.2 29
P1.3 30
(NC) 31
(NC) 32
(NC) 33
VSS 34
VSS1 35
(NC) 36
VSS2 37
(NC) 38
VSSL 39
VSS3 40
TST2
P0.0
P0.1
P0.2
P0.3
RT0
(NC)
CRT0
RS0
CS0
IN0
IN1
CS1
(NC)
RS1
RT1
P2.0
P2.1
P2.2
P2.3
P3.0
P3.1
(NC)
P3.2
79 RESET
80 TST1
PIN CONFIGURATION (TOP VIEW)
80-Pin Plastic QFP
Note: Pins marked as (NC) are no-connection pins which are left open.
4/40
¡ Semiconductor
MSM64162A
PAD CONFIGURATION
32 C1
31 VSS3
30 VSSL
(NC)
(NC)
(NC)
29 VSS2
28 VSS1
27 VSS
26 P1.3
25 P1.2
24 P1.1
23 P1.0
22 BD
21 P3.3
20 P3.2
Pad Layout
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
P3.1
P3.0
P2.3
P2.2
P2.1
P2.0
RT1
RS1
CS1
IN1
IN0
CS0
RS0
CRT0
RT0
P0.3
P0.2
P0.1
P0.0
Y
53
54
55
56
57
58
59
60
61
62
63
64
65
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
L19
L20
L21
L22
L23
OSC1
OSC2
VDD
XT
XT
RESET
TST1
TST2
C2
L0
L1
L2
L3
L4
L5
L6
L7
L8
L9
L10
L11
L12
L13
L14
L15
L16
L17
L18
X
Chip Size
Chip Thickness
Coordinate Origin
Pad Hole Size
Pad Size
Minimum Pad Pitch
:
:
:
:
:
:
3.96 mm ¥ 4.32 mm
350 mm (typ.)
Chip center
110 mm ¥ 110 mm
120 mm ¥ 120 mm
180 mm
Note: The chip substrate voltage is VDD.
5/40
¡ Semiconductor
MSM64162A
Pad Coordinates
Pad No.
Pad Name
X (µm)
Y (µm)
Pad No.
Pad Name
X (µm)
Y (µm)
1
P0.0
1828.80
–1940.40
41
L7
–1829.40
379.50
2
P0.1
1828.80
–1719.30
42
L8
–1829.40
199.50
3
P0.2
1828.80
–1539.30
43
L9
–1829.40
10.20
4
P0.3
1828.80
–1310.10
44
L10
–1829.40
–232.20
5
RT0
1828.80
–1048.50
45
L11
–1829.40
–412.20
6
CRT0
1828.80
–831.30
46
L12
–1829.40
–592.20
7
RS0
1828.80
–651.30
47
L13
–1829.40
–772.20
8
CS0
1828.80
–396.00
48
L14
–1829.40
–1008.00
9
IN0
1828.80
–208.20
49
L15
–1829.40
–1290.00
10
IN1
1828.80
–12.90
50
L16
–1829.40
–1470.00
11
CS1
1828.80
175.50
51
L17
–1829.40
–1710.00
12
RS1
1828.80
390.30
52
L18
–1829.40
–1928.10
13
RT1
1828.80
580.50
53
L19
–1495.20
–1957.50
14
P2.0
1828.80
794.10
54
L20
–1226.70
–1957.50
15
P2.1
1828.80
1001.70
55
L21
–958.80
–1957.50
16
P2.2
1828.80
1194.00
56
L22
–694.80
–1957.50
17
P2.3
1828.80
1374.00
57
L23
–448.80
–1957.50
18
P3.0
1828.80
1555.20
58
OSC1
–243.00
–1957.50
19
P3.1
1828.80
1735.20
59
OSC2
24.90
–1957.50
20
P3.2
1769.70
1957.80
60
VDD
300.60
–1957.50
21
P3.3
1589.70
1957.80
61
XT
480.60
–1957.50
22
BD
1317.60
1957.80
62
XT
660.60
–1957.50
23
P1.0
999.30
1957.80
63
RESET
979.50
–1957.50
24
P1.1
674.70
1957.80
64
TST1
1247.70
–1957.50
65
TST2
1599.90
–1957.50
25
P1.2
354.90
1957.80
26
P1.3
30.30
1957.80
27
VSS
–231.00
1957.80
28
VSS1
–411.00
1957.80
29
VSS2
–647.10
1957.80
30
VSSL
–1289.40
1957.80
31
VSS3
–1469.40
1957.80
32
C1
–1649.40
1957.80
33
C2
–1829.40
1957.80
34
L0
–1829.40
1704.00
35
L1
–1829.40
1524.00
36
L2
–1829.40
1344.00
37
L3
–1829.40
1111.20
38
L4
–1829.40
919.50
39
L5
–1829.40
739.50
40
L6
–1829.40
559.50
6/40
¡ Semiconductor
MSM64162A
PIN DESCRIPTIONS
Basic Functions
Function Symbol
VDD
Pin
Pad
Type
74
60
—
Description
0 V power supply
Negative power supply:
VSS
34
27
—
Ground VSS1. (for 1.5 V spec.)
Ground VSS2. (for 3.0 V spec.)
Negative power supply (for 1.5 V spec.)
VSS1
35
28
—
Bias output for drivig LCD (–1.5 V) (for 3.0 V spec.)
Bias output for driving LCD (–1.2 V) (when the voltage
Power
regulator for LCD driver is used)
Supply
Negative power supply (for 3.0 V spec.)
VSS2
37
29
—
VSS3
40
31
—
Bias output for driving LCD (–4.5 V).
C1
41
32
—
Pins for connecting a capacitor for generating LCD
C2
42
33
—
driving bias
Bias output for driving LCD (–3.0 V) (for 1.5 V spec.)
Negative power supply for internal logic
VSSL
39
30
—
(An internally generated constant voltage is present at
this pin.)
Oscillation
Test
XT
76
61
I
Low-speed clock oscillation input and output pins:
XT
77
62
O
Connect to a crystal (32.768 kHz).
OSC1
71
58
I
High-speed clock oscillation input and output pins:
OSC2
72
59
O
Connect to an external resistor for oscillation (ROS).
TST1
80
64
I
Input pins for testing.
TST2
1
65
I
A pull-up resistor is internally connected to these pins.
System reset input pin.
Setting this pin to "L" level puts this device into a reset state.
Reset
RESET
79
63
I
Then, setting this pin to "H" level starts executing an
instruction from address 000H.
A pull-up resistor is internally connected to this pin.
7/40
¡ Semiconductor
MSM64162A
Basic Functions (continued)
Function Symbol
Pin
Pad
Type
Description
P0.0
2
1
I
P0.1
3
2
I
P0.2
4
3
I
P0.3
5
4
I
P1.0
27
23
O
4-bit output port (P1):
P1.1
28
24
O
Selectable as NMOS open drain output or CMOS output
P1.2
29
25
O
by the port 01 control register (P01CON). P1.0 is a
P1.3
30
26
O
high current drive output port.
P2.0
17
14
I/O
P2.1
18
15
I/O
P2.2
19
16
I/O
P2.3
20
17
I/O
P3.0
21
18
I/O
P3.1
22
19
I/O
P3.2
24
20
I/O
P3.3/MON
25
21
I/O
4-bit input-output port (P3):
Following can be specified for each bit by the port 3
control registers 0 to 3 (P30CON to P33CON): (1) input
or output, (2) pull-up/pull-down resistor input or high
impedance input, and (3) NMOS open drain output or
CMOS output.
As secondary functions, P3.0 to P3.3 are assigned
external interrupt functions, P3.3 is assigned a function
that monitors the RC oscillation clock for A/D converter.
BD
26
22
O
Output pin for the buzzer driver
RT0
6
5
O
CRT0
8
6
O
4-bit input port (P0):
Selectable as pull-up resistor input, pull-down resistor
input, or high impedance input by the port 01 control
register (P01CON).
As secondary functions, P0.0 to P0.3 are assigned
external interrupt functions, P0.0 and P0.1 are assigned
a capture trigger function, and P0.3 is assigned an
Ports
analog comparator input for battery check.
4-bit input-output port (P2):
Following can be specified for each bit by the port 2
control registers 0 to 3 (P20CON to P23CON): (1) input
or output, (2) pull-up/pull-down resistor input or high
impedance input, and (3) NMOS open drain output or
CMOS output.
As secondary functions, P2.0 to P2.3 are assigned
Buzzer
external interrupt functions.
Resistance temperature sensor connection pin
(for channel 0)
Resistance/capacitance temperature sensor connection
pin (for channel 0)
RS0
9
7
O
Reference resistor connection pin (for channel 0)
A/D
CS0
10
8
O
Reference capacitor connection pin (for channel 0)
Converter
IN0
11
9
I
Input pin for RC oscillator circuit (for channel 0)
RT1
16
13
O
RS1
15
12
O
Reference resistor connection pin (for channel 1)
CS1
13
11
O
Reference capacitor connection pin (for channel 1)
IN1
12
10
I
Input pin for RC oscillator circuit (for channel 1)
Resistance temperature sensor connection pin
(for channel 1)
8/40
¡ Semiconductor
MSM64162A
Basic Functions (continued)
Function Symbol
LCD
Driver
Pin
Pad
Type
L0
43
34
O
L1
44
35
O
L2
L3
45
46
36
37
O
O
L4
47
38
O
L5
48
39
O
L6
49
40
O
L7
50
41
O
L8
L9
51
52
42
43
O
O
L10
54
44
O
L11
L12
55
56
45
46
O
O
L13
57
47
O
L14
L15
58
60
48
49
O
O
L16/P5.0
61
50
O
L17/P5.1
L18/P5.2
62
63
51
52
O
O
L19/P5.3
64
53
O
L20/P6.0
L21/P6.1
65
66
54
55
O
O
L22/P6.2
68
56
O
L23/P6.3
69
57
O
Description
LCD segment and common signals output pins.
LCD segment and common signals output pins.
Functions as output ports by mask option.
9/40
¡ Semiconductor
MSM64162A
Secondary Functions
Function Symbol
Pin
Pad
2
1
P0.1
3
2
P0.2
4
3
P0.3
5
4
occur.
P2.0
17
14
Secondary functions of P2.0 to P2.3 and P3.0 to P3.3:
External
P2.1
18
15
Level-triggered external interrupt input pins.
Interrupt
P2.2
19
16
The change of input signal level causes an interrupt to
P0.0
P2.3
20
17
P3.0
21
18
P3.1
22
19
P3.2
24
20
P3.3
25
21
Capture
P0.0
2
1
Trigger
P0.1
3
2
Type
Description
Secondary functions of P0.0 to P0.3:
I
I
I
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:
Capture circuit trigger input pins.
Secondary function of P3.3:
RC Oscillation
Monitor
P3.3
25
21
O
Monitor output pin for an RC oscillation clock for A/D
converter and a 400 kHz RC oscillation clock for the
system clock.
Battery
Check
P0.3
5
4
I
Secondary function of P0.3:
Analog comparator input pin for battery check.
10/40
¡ Semiconductor
MSM64162A
MEMORY MAPS
Program Memory
Test program area
,,,,,,,,,,,,,
,,,,,,,,,,,,,
,,,,,,,,,,,,,
07E0H,,,,,,,,,,,,,
,,,,,,,,,,,,,
07FFH
32 bytes
Contents of interrupt area
2016 bytes
03EH
Interrupt area
03BH
Watchdog interrupt
038H
External interrupt (0)
032H
External interrupt (1)
02FH
ADC interrupt
02CH
256 Hz interrupt
029H
32 Hz interrupt
026H
16 Hz interrupt
023H
1 Hz interrupt
020H
4 Hz interrupt
020H
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 2016 bytes of address 000H to address 07DFH. No program can be stored in
the test program area.
11/40
¡ Semiconductor
MSM64162A
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
77FH
700H
BANK 7
Data RAM area
Data/Stack area (128 nibbles)
Unused area
Contents of 000H to 07FH
07FH
Inaccessible area
SFR area
100H
0FFH
080H
07FH
Unused area
BANK 0
000H
000H
4 bits
Data Memory Map
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 and the addresses 700H to 77FH of BANK 7 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/40
¡ Semiconductor
MSM64162A
ABSOLUTE MAXIMUM RATINGS (1.5 V Spec.)
(VDD = 0 V)
Parameter
Symbol
Condition
Rating
Unit
Power Supply Voltage 1
VSS
Ta = 25°C
–2.0 to +0.3
V
Power Supply Voltage 2
VSS1
Ta = 25°C
–2.0 to +0.3
V
Power Supply Voltage 3
VSS2
Ta = 25°C
–4.0 to +0.3
V
Power Supply Voltage 4
VSS3
Ta = 25°C
–5.5 to +0.3
V
Power Supply Voltage 5
VSSL
Ta = 25°C
–2.0 to +0.3
V
Input Voltage 1
VIN1
VSS Input, Ta = 25°C
VSS – 0.3 to +0.3
V
Input Voltage 2
VIN2
VSS1 Input, Ta = 25°C
VSS1 – 0.3 to +0.3
V
Input Voltage 3
VIN3
VSSL Input, Ta = 25°C
VSSL – 0.3 to +0.3
V
Output Voltage 1
VOUT1
VSS Output, Ta = 25°C
VSS – 0.3 to +0.3
V
Output Voltage 2
VOUT2
VSS1 Output, Ta = 25°C
VSS1 – 0.3 to +0.3
V
Output Voltage 3
VOUT3
VSS2 Output, Ta = 25°C
VSS2 – 0.3 to +0.3
V
Output Voltage 4
VOUT4
VSS3 Output, Ta = 25°C
VSS3 – 0.3 to +0.3
V
Output Voltage 5
VOUT5
VSSL Output, Ta = 25°C
VSSL – 0.3 to +0.3
V
Storage Temperature
TSTG
—
–55 to +150
°C
RECOMMENDED OPERATING CONDITIONS (1.5 V Spec.)
(VDD = 0 V)
Parameter
Operating Temperature
Operating Voltage
External 400 kHz RC Oscillator
Resistance
Crystal Oscillation Frequency
Symbol
Condition
Range
Unit
Top
—
–40 to +85
°C
VSS, VSS1
VSS1 is grounded
–1.7 to –1.25
V
ROS
—
250 to 500
kW
fXT
—
30 to 35
kHz
13/40
¡ Semiconductor
MSM64162A
ELECTRICAL CHARACTERISTICS (1.5 V Spec.)
DC Characteristics
(VDD = 0 V, VSS = VSS1 = –1.5 V, Ta = –40 to +85°C unless otherwise specified)
Parameter
Condition
Symbol
VSS2 Voltage
VSS2
Ca, Cb, C12 = 0.1 mF
VSS3 Voltage
VSS3
Ca, Cb, C12 = 0.1 mF
VSSL Voltage
VSSL
Crystal Oscillation
Start Voltage
Crystal Oscillation
Hold Voltage
Crystal Oscillation
Stop Detection Time
Internal Crystal
Oscillator Capacitance
External Crystal
Oscillator Capacitance
Internal Crystal
Oscillator Capacitance
Internal 400k RC
Oscillator Capacitance
400k RC Oscillation
Frequency
POR Generation
Voltage
POR Non-generation
Voltage
Battery Check
Reference Voltage
VRB Temperature
Variation
VSTA
+100%
–50%
+100%
–50%
—
Oscillation start time:
within 5 seconds
Min.
Typ.
Max.
Unit
–3.2
–3.0
–2.8
V
–4.7
–4.5
–4.3
V
–1.5
–1.3
–0.6
V
—
—
–1.45
V
VHOLD
—
—
—
–1.25
V
TSTOP
—
0.1
—
1000
ms
CG
—
10
15
20
pF
10
—
30
pF
CGEX
When external CG used
CD
—
10
15
20
pF
COS
—
8.0
12
16
pF
80
220
350
kHz
–0.4
—
0
V
–1.5
—
–1.2
V
–0.73
–0.63
–0.53
V
fOSC
VPOR1
VPOR2
VRB
External resistor ROS = 300 kW
VSS = –1.25 to –1.7 V
When VSS is between VPOR1
and –1.5 V
No POR when VSS is between
VPOR2 and –1.5 V
Ta = 25°C
Measuring
Circuit
1
2
DVRB
—
—
–2.0
—
mV/°C
Notes: 1. "POR" denotes Power On Reset.
2. "TSTOP" indicates that if the crystal oscillator stops over the value of TSTOP, the
system reset occurs.
14/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS = VSS1 = –1.5 V, Ta = –40 to +85°C unless otherwise specified)
Parameter
Supply Current 1
Supply Current 2
Symbol
IDD1
IDD2
Condition
Min.
Typ.
Max.
Unit
Ta = –40 to +40°C
—
2.0
5.0
mA
(400k RC oscillation halt) Ta = +40 to +85°C
—
2.0
30
mA
CPU in operating state Ta = –40 to +40°C
—
5.0
15
mA
(400k RC oscillation halt) Ta = +40 to +85°C
—
5.0
40
mA
—
40
80
mA
RT0 = 10 kW
—
150
230
mA
RT0 = 2 kW
—
600
900
mA
—
25
125
mA
CPU in halt state
Measuring
Circuit
CPU in operating state
Supply Current 3
IDD3
(400k RC oscillation in operation)
ROS = 300 kW
1
CPU in halt state
(400k RC oscillation
Supply Current 4
IDD4
halt), RC oscillator for
A/D converter is in
operating state
Battery check circuit in operating
Supply Current 5
IDD5
state, CPU in operating state
(400k RC oscillation halt)
15/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS = VSS1 = VSSL = –1.5 V, VSS2 = –3.0 V, VSS3 = –4.5 V,
Ta = –40 to +85°C unless otherwise specified)
Parameter
(Pin Name)
Condition
Symbol
Min.
Typ.
Max.
Unit
Output Current 1
(P1.0)
IOH1
VOH1 = –0.5 V
–2.1
–0.5
–0.1
mA
IOL1
VOL1 = VSS + 0.5 V
1.0
3.0
9.0
mA
Output Current 2
(P1.1 to P1.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
IOH2
VOH2 = –0.5 V
–2.1
–0.5
–0.1
mA
IOL2
VOL2 = VSS + 0.5 V
0.1
0.5
2.1
mA
Output Current 3
(BD)
IOH3
VOH3 = –0.7 V
–1.8
–0.4
–0.1
mA
IOL3
VOL3 = VSS + 0.7 V
0.1
0.4
1.8
mA
Output Current 4
(RT0, RT1, RS0, RS1,
CRT0, CS0, CS1)
IOH4
VOH4 = –0.1 V
–1.1
–0.4
–0.2
mA
IOL4
VOL4 = VSS + 0.1 V
0.2
0.4
1.1
mA
Output Current 5
(When L16 to L23 are
configured as output
ports)
IOH5
VOH5 = –0.5 V
–1.5
–0.4
–0.08
mA
IOL5
VOL5 = VSS + 0.5 V
0.08
0.4
1.5
mA
Output Current 6
(OSC2)
IOH6
VOH6 = –0.5 V
–2.1
–0.5
–0.1
mA
IOL6
VOL6 = VSS + 0.5 V
0.1
0.5
2.1
mA
IOH7
VOH7 = –0.2 V
(VDD level)
—
—
–4.0
mA
IOMH7
VOMH7 = VSS1 + 0.2 V (VSS1 level)
4.0
—
—
mA
IOMH7S
VOMH7S = VSS1 – 0.2 V (VSS1 level)
—
—
–4.0
mA
IOML7
VOML7 = VSS2 + 0.2 V (VSS2 level)
4.0
—
—
mA
IOML7S
VOML7S = VSS2 – 0.2 V (VSS2 level)
—
—
–4.0
mA
(VSS3 level)
4.0
—
—
mA
Output Current 7
(L0 to L23)
Output Leakage Current
(P1.0 to P1.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
(RT0, RT1, RS0, RS1,
CRT0, CS0, CS1)
IOL7
VOL7 = VSS3 + 0.2 V
IOOH
VOH = VDD
—
—
0.3
mA
IOOL
VOL = VSS
–0.3
—
—
mA
Measuring
Circuit
2
16/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS = VSS1 = VSSL = –1.5 V, VSS2 = –3.0 V, VSS3 = –4.5 V,
Ta = –40 to +85°C unless otherwise specified)
Parameter
(Pin Name)
Symbol
Condition
Min.
Typ.
Max.
Unit
IIH1
VIH1 = VDD (when pulled down)
2.0
10
60
mA
IIL1
VIL1 = VSS (when pulled up)
–60
–10
–2.0
mA
IIH1Z
VIH1 = VDD (in a high impedance state)
0
—
1.0
mA
IIL1Z
VIL1 = VSS (in a high impedance state)
–1.0
—
0
mA
IIH2
VIH2 = VDD (when pulled down)
2.0
10
60
mA
IIH2Z
VIH2 = VDD (in a high impedance state)
0
—
1.0
mA
IIL2Z
VIL2 = VSS (in a high impedance state)
–1.0
—
0
mA
IIL3
VIL3 = VSS (when pulled up)
–60
–18
–4.0
mA
IIH3Z
VIH3 = VDD (in a high impedance state)
0
—
1.0
mA
IIL3Z
VIL3 = VSS (in a high impedance state)
–1.0
—
0
mA
Input Current 4
(RESET, TST1, TST2)
IIH4
VIH4 = VDD
0
—
1.0
mA
IIL4
VIL4 = VSS
–1.5
–0.75
–0.3
mA
Input Voltage 1
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
VIH1
—
–0.3
—
0
V
VIL1
—
–1.5
—
–1.2
V
Input Voltage 2
(IN0, IN1, OSC1)
VIH2
—
–0.3
—
0
V
VIL2
—
–1.5
—
–1.2
V
Input Voltage 3
(RESET, TST1, TST2)
VIH3
—
–0.3
—
0
V
VIL3
—
–1.5
—
–1.2
V
Input Current 1
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
(P4.0 to P4.3)
Input Current 2
(IN0, IN1)
Input Current 3
(OSC1)
Measuring
Circuit
3
4
17/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS = VSS1 = VSSL = –1.5 V, VSS2 = –3.0 V, VSS3 = –4.5 V,
Ta = –40 to +85°C unless otherwise specified)
Parameter
(Pin Name)
Symbol
Condition
Min.
Typ.
Max.
Unit
0.05
0.1
0.3
V
Hysteresis Width
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
DVT1
Hysteresis Width
(RESET, TST1, TST2)
DVT2
—
0.05
0.1
0.3
V
Input Pin Capacitance
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
CIN
—
—
—
5.0
pF
—
Measuring
Circuit
4
1
18/40
¡ Semiconductor
MSM64162A
Measuring circuit 1
CS0
RT0
RI0
RT0
CS0
IN0
XT
Crystal
32.768 kHz
OSC1
ROS
XT
OSC2
C1
C12
C2
VSSL
VDD
VSS
VSS1 VSS2
A
Cl
VSS3
Ca
V
Cl
Ca, Cb, C12
ROS
RT0
CS0
RI0
Cb
V
V
: 0.47 mF
: 0.1 mF
: 300 kW
: 10 kW/2 kW
: 820 pF
: 10 kW
Measuring circuit 2
(*1)
INPUT
VIH
OUTPUT
(*2)
A
VIL
VDD
VSS
VSS1
VSS2
VSS3
VSSL
19/40
¡ Semiconductor
MSM64162A
Measuring circuit 3
INPUT
A
OUTPUT
(*3)
VDD
VSS
VSS1
VSS2
VSS3
VSSL
(*3)
INPUT
VIH
OUTPUT
Measuring circuit 4
Waveform
Monitoring
VIL
VDD
VSS
VSS1
VSS2
VSS3
VSSL
*1 Input logic circuit to determine the specified measuring conditions.
*2 Measured at the specified output pins.
*3 Measured at the specified input pins.
20/40
¡ Semiconductor
MSM64162A
A/D Converter Characteristics
(VDD = 0 V, VSS = VSS1 = –1.5 V, Ta = –40 to +85°C unless otherwise specified)
Parameter
Symbol
Resistor
for Oscillation
RS0, RS1,
RT0,
RT0-1,
RT1
Input Current
Limiting Resistor
RI0, RI1
Condition
CS0, CT0, CS1 ≥ 740 pF
—
Min.
Typ.
Max.
Unit
2.0
—
—
kW
1.0
10
—
kW
Measuring
Circuit
5
Oscillation
Frequency
RS•RT Oscillation
Frequency Ratio (*)
*
fOSC1
Resistor for oscillation = 2 kW
165
221
256
kHz
fOSC2
Resistor for oscillation = 10 kW
41.8
52.2
60.6
kHz
fOSC3
Resistor for oscillation = 200 kW
2.55
3.04
3.53
kHz
Kf1
RT0, RT0-1, RT1 = 2 kW
3.89
4.18
4.35
—
Kf2
RT0, RT0-1, RT1 = 10 kW
0.990
1.0
1.010
—
Kf3
RT0, RT0-1, RT1 = 200 kW
0.0561 0.0584 0.0637
—
Kfx is the ratio of the oscillation frequency by a sensor resistor to the oscillation frequency
by a reference resistor in the same condition.
Kfx =
fOSCX (RT0–CS0 Oscillation)
fOSCX (RT0-1–CS0 Oscillation)
fOSCX (RS0–CS0 Oscillation) ,
(x = 1, 2, 3)
fOSCX (RS0–CS0 Oscillation)
fOSCX (RT1–CS1 Oscillation)
, fOSCX (RS1–CS1 Oscillation)
21/40
¡ Semiconductor
MSM64162A
Measuring circuit 5
RT0-1
RT0
CT0
RS0
CS0
(CROSC0)
RI0
RI1
CS1
RS1
RT1
(CROSC1)
Oscillation Mode Designation
RT1 RS1 CS1 IN1
IN0 CS0 RS0
CRT0
RT0
RESET
TST1
P3.3
TST2
P0.0
D. U. T.
Frequency
Measurement
(fOSCX)
P0.1
P0.2
P0.3
VDD
VSSL
VSS
VSS1
Cl
RT0, RT0-1, RT1 = 2 kW/10 kW/200 kW
RS0, RS1 = 10 kW
RI0, RI1 = 10 kW
CS0, CT0, CS1 = 820 pF
Cl = 0.1 mF
22/40
¡ Semiconductor
MSM64162A
ABSOLUTE MAXIMUM RATINGS (3.0 V Spec.)
(VDD = 0 V)
Parameter
Symbol
Condition
Rating
Unit
Power Supply Voltage 1
VSS
Ta = 25°C
–4.0 to +0.3
V
Power Supply Voltage 2
VSS1
Ta = 25°C
–2.0 to +0.3
V
Power Supply Voltage 3
VSS2
Ta = 25°C
–4.0 to +0.3
V
Power Supply Voltage 4
VSS3
Ta = 25°C
–5.5 to +0.3
V
Power Supply Voltage 5
VSSL
Ta = 25°C
–4.0 to +0.3
V
Input Voltage 1
VIN1
VSS Input, Ta = 25°C
VSS – 0.3 to +0.3
V
Input Voltage 2
VIN2
VSS2 Input, Ta = 25°C
VSS2 – 0.3 to +0.3
V
Input Voltage 3
VIN3
VSSL Input, Ta = 25°C
VSSL – 0.3 to +0.3
V
Output Voltage 1
VOUT1
VSS Output, Ta = 25°C
VSS – 0.3 to +0.3
V
Output Voltage 2
VOUT2
VSS1 Output, Ta = 25°C
VSS1 – 0.3 to +0.3
V
Output Voltage 3
VOUT3
VSS2 Output, Ta = 25°C
VSS2 – 0.3 to +0.3
V
Output Voltage 4
VOUT4
VSS3 Output, Ta = 25°C
VSSL – 0.3 to +0.3
V
Output Voltage 5
VOUT5
VSSL Output, Ta = 25°C
VSSL – 0.3 to +0.3
V
Storage Temperature
TSTG
—
–55 to +150
°C
RECOMMENDED OPERATING CONDITIONS (3.0 V Spec.)
(VDD = 0 V)
Parameter
Operating Temperature
Symbol
Condition
Range
Unit
Top
—
–40 to +85
°C
Using LCD driver with
Operating Voltage
VSS,
"duty 1/2"
VSS2
Except using LCD driver
with "duty 1/2"
External 400 kHz RC Oscillator
Resistance
Crystal Oscillation Frequency
–3.5 to –2.2
V
–3.5 to –2.0
ROS
—
90 to 500
kW
fXT
—
30 to 66
kHz
23/40
¡ Semiconductor
MSM64162A
ELECTRICAL CHARACTERISTICS (3.0 V Spec.)
DC Characteristics
Parameter
(VDD = 0 V, VSS = VSS2 = –3.0 V, Ta = –40 to +85°C unless otherwise specified)
Condition
Symbol
VSS1 Voltage
VSS1
Ca, Cb, C12 = 0.1 mF
VSS3 Voltage
VSS3
Ca, Cb, C12 = 0.1 mF
VSSL Voltage
VSSL
Crystal Oscillation
Start Voltage
Crystal Oscillation
Hold Voltage
Crystal Oscillation
Stop Detection Time
Internal Crystal
Oscillator Capacitance
External Crystal
Oscillator Capacitance
Internal Crystal
Oscillator Capacitance
Internal 400k RC
Oscillator Capacitance
400k RC Oscillation
Frequency
POR Generation
Voltage
POR Non-generation
Voltage
Battery Check
Reference Voltage
VRB Temperature
Variation
VSTA
+100%
–50%
+100%
–50%
—
Oscillation start time:
within 5 seconds
Min.
Typ.
Max.
Unit
–1.7
–1.5
–1.3
V
–4.7
–4.5
–4.3
V
–1.9
–1.3
–0.6
V
—
—
–2.0
V
VHOLD
—
—
—
–2.0
V
TSTOP
—
0.1
—
1000
ms
CG
—
10
15
20
pF
10
—
30
pF
CGEX
When external CG used
CD
—
10
15
20
pF
COS
—
8.0
12
16
pF
300
400
620
kHz
–0.7
—
0
V
–3.0
—
–2.0
V
–0.73
–0.63
–0.53
V
fOSC
VPOR1
VPOR2
VRB
External resistor ROS = 100 kW
VSS = –2.0 to –3.5 V
When VSS is between VPOR1
and –3.0 V
No POR when VSS is between
VPOR2 and –3.0 V
Ta = 25°C
Measuring
Circuit
1
2
DVRB
—
—
–2.0
—
mV/°C
Notes: 1. "POR" denotes Power On Reset.
2. "TSTOP" indicates that if the crystal oscillator stops over the value of TSTOP, the
system reset occurs.
24/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS = VSS2 = –3.0 V, Ta = –40 to +85°C unless otherwise specified)
Parameter
Supply Current 1
Supply Current 2
Symbol
IDD1
IDD2
Condition
Min.
Typ.
Max.
Unit
Ta = –40 to +40°C
—
1.5
4.5
mA
(400k RC oscillation halt) Ta = +40 to +85°C
—
1.5
30
mA
CPU in operating state Ta = –40 to +40°C
—
5.0
15
mA
(400k RC oscillation halt) Ta = +40 to +85°C
—
5.0
40
mA
—
220
450
mA
RT0 = 10 kW
—
300
450
mA
RT0 = 2 kW
—
1300
2000
mA
—
55
150
mA
CPU in halt state
Measuring
Circuit
CPU in operating state
Supply Current 3
IDD3
(400k RC oscillation in operation)
ROS = 100kW
1
CPU in halt state
(400k RC oscillation
Supply Current 4
IDD4
halt), RC oscillator for
A/D converter is in
operating state
Battery check circuit in operating
Supply Current 5
IDD5
state, CPU in operating state
(400k RC oscillation halt)
25/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS1 = VSSL = –1.5 V, VSS = VSS2 = –3.0 V, VSS3 = –4.5 V,
Ta = –40 to +85°C unless otherwise specified)
Parameter
(Pin Name)
Condition
Symbol
Min.
Typ.
Max.
Unit
IOH1
VOH1 = –0.5 V
–6.0
–1.5
–0.4
mA
IOL1
VOL1 = VSS + 0.5 V
3.0
8.0
25
mA
IOH2
VOH2 = –0.5 V
–6.0
–1.5
–0.4
mA
IOL2
VOL2 = VSS + 0.5 V
0.4
1.5
6.0
mA
Output Current 3
(BD)
IOH3
VOH3 = –0.7 V
–6.0
–2.0
–0.4
mA
IOL3
VOL3 = VSS + 0.7 V
0.4
2.0
6.0
mA
Output Current 4
(RT0, RT1, RS0, RS1,
CRT0, CS0, CS1)
IOH4
VOH4 = –0.1 V
–2.5
–0.8
–0.3
mA
IOL4
VOL4 = VSS + 0.1 V
0.3
0.8
2.5
mA
Output Current 5
(When L16 to L23 are
configured as output
ports)
IOH5
VOH5 = –0.5 V
–1.5
–0.6
–0.15
mA
IOL5
VOL5 = VSS + 0.5 V
0.15
0.6
1.5
mA
Output Current 6
(OSC2)
IOH6
VOH6 = –0.5 V
–6.0
–2.0
–0.4
mA
IOL6
VOL6 = VSS + 0.5 V
0.4
2.0
6.0
mA
IOH7
VOH7 = –0.2 V
(VDD level)
—
—
–4.0
mA
IOMH7
VOMH7 = VSS1 + 0.2 V (VSS1 level)
4.0
—
—
mA
IOMH7S
VOMH7S = VSS1 – 0.2 V (VSS1 level)
—
—
–4.0
mA
IOML7
VOML7 = VSS2 + 0.2 V (VSS2 level)
4.0
—
—
mA
IOML7S
VOML7S = VSS2 – 0.2 V (VSS2 level)
—
—
–4.0
mA
(VSS3 level)
4.0
—
—
mA
Output Current 1
(P1.0)
Output Current 2
(P1.1 to P1.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
Output Current 7
(L0 to L23)
Output Leakage Current
(P1.0 to P1.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
(RT0, RT1, RS0, RS1,
CRT0, CS0, CS1)
Measuring
Circuit
2
IOL7
VOL7 = VSS3 + 0.2 V
IOOH
VOH = VDD
—
—
0.3
mA
IOOL
VOL = VSS
–0.3
—
—
mA
26/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS1 = VSSL = –1.5 V, VSS = VSS2 = –3.0 V, VSS3 = –4.5 V,
Ta = –40 to +85°C unless otherwise specified)
Parameter
(Pin Name)
Symbol
Condition
Min.
Typ.
Max.
Unit
IIH1
VIH1 = VDD (when pulled down)
20
60
300
mA
IIL1
VIL1 = VSS (when pulled up)
–300
–60
–20
mA
IIH1Z
VIH1 = VDD (in a high impedance state)
0
—
1.0
mA
IIL1Z
VIL1 = VSS (in a high impedance state) –1.0
—
0
mA
IIH2
VIH2 = VDD (when pulled down)
20
60
300
mA
IIH2Z
VIH2 = VDD (in a high impedance state)
0
—
1.0
mA
IIL2Z
VIL2 = VSS (in a high impedance state)
–1.0
—
0
mA
IIL3
VIL3 = VSS (when pulled up)
–300
–110
–30
mA
IIH3Z
VIH3 = VDD (in a high impedance state)
0
—
1.0
mA
IIL3Z
VIL3 = VSS (in a high impedance state)
–1.0
—
0
mA
Input Current 4
(RESET, TST1, TST2)
IIH4
VIH4 = VDD
0
—
1.0
mA
IIL4
VIL4 = VSS
–3.0
–1.5
–0.75
mA
Input Voltage 1
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
VIH1
—
–0.6
—
0
V
VIL1
—
–3.0
—
–2.4
V
Input Voltage 2
(IN0, IN1, OSC1)
VIH2
—
–0.6
—
0
V
VIL2
—
–3.0
—
–2.4
V
Input Voltage 3
(RESET, TST1, TST2)
VIH3
—
–0.6
—
0
V
VIL3
—
–3.0
—
–2.4
V
Input Current 1
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
Input Current 2
(IN0, IN1)
Input Current 3
(OSC1)
Measuring
Circuit
3
4
27/40
¡ Semiconductor
MSM64162A
DC Characteristics (continued)
(VDD = 0 V, VSS1 = VSSL = –1.5 V, VSS = VSS2 = –3.0 V, VSS3 = –4.5 V,
Ta = –40 to +85°C unless otherwise specified)
Parameter
(Pin Name)
Symbol
Condition
Min.
Typ.
Max.
Unit
0.2
0.5
1.0
V
Hysteresis Width
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
DVT1
Hysteresis Width
(RESET, TST1, TST2)
DVT2
—
0.2
0.5
1.0
V
Input Pin Capacitance
(P0.0 to P0.3)
(P2.0 to P2.3)
(P3.0 to P3.3)
CIN
—
—
—
5.0
pF
—
Measuring
Circuit
4
1
28/40
¡ Semiconductor
MSM64162A
Measuring circuit 1
CS0
RT0
RI0
RT0
CS0
IN0
XT
Crystal
32.768 kHz
OSC1
ROS
XT
OSC2
C1
C12
C2
VSSL
VDD
VSS VSS2 VSS1
A
Cl
VSS3
Ca
Cb
V
V
V
: 0.47 mF
: 0.1 mF
: 100 kW
: 10 kW/2 kW
: 820 pF
: 10 kW
Cl
Ca, Cb, C12
ROS
RT0
CS0
RI0
Measuring circuit 2
(*1)
INPUT
VIH
OUTPUT
(*2)
A
VIL
VDD
VSS
VSS1
VSS2
VSS3
VSSL
29/40
¡ Semiconductor
MSM64162A
Measuring circuit 3
INPUT
A
OUTPUT
(*3)
VDD
VSS
VSS1
VSS2
VSS3
VSSL
(*3)
INPUT
VIH
OUTPUT
Measuring circuit 4
Waveform
Monitoring
VIL
VDD
VSS
VSS1
VSS2
VSS3
VSSL
*1 Input logic circuit to determine the specified measuring conditions.
*2 Measured at the specified output pins.
*3 Measured at the specified input pins.
30/40
¡ Semiconductor
MSM64162A
A/D Converter Characteristics
(VDD = 0 V, VSS = VSS2 = –3.0 V, Ta = –40 to +85°C unless otherwise specified)
Parameter
Symbol
Resistor
for Oscillation
RS0, RS1,
RT0,
RT0-1,
RT1
Input Current
Limiting Resistor
RI0, RI1
Condition
CS0, CT0, CS1 ≥ 740 pF
—
Min.
Typ.
Max.
Unit
1.0
—
—
kW
1.0
10
—
kW
Measuring
Circuit
5
Oscillation
Frequency
RS•RT Oscillation
Frequency Ratio(*)
*
fOSC1
Resistor for oscillation = 2 kW
200
239
277
kHz
fOSC2
Resistor for oscillation = 10 kW
46.5
55.4
64.3
kHz
fOSC3
Resistor for oscillation = 200 kW
2.79
3.32
3.85
kHz
Kf1
RT0, RT0-1, RT1 = 2 kW
4.115
4.22
4.326
—
Kf2
RT0, RT0-1, RT1 = 10 kW
0.990
1.0
1.010
—
Kf3
RT0, RT0-1, RT1 = 200 kW
0.0573 0.0616 0.0659
—
Kfx is the ratio of the oscillation frequency by a sensor resistor to the oscillation frequency
by a reference resistor in the same condition.
Kfx =
fOSCX (RT0–CS0 Oscillation)
fOSCX (RT0-1–CS0 Oscillation)
fOSCX (RS0–CS0 Oscillation) ,
(x = 1, 2, 3)
fOSCX (RS0–CS0 Oscillation)
fOSCX (RT1–CS1 Oscillation)
, fOSCX (RS1–CS1 Oscillation)
31/40
¡ Semiconductor
MSM64162A
Measuring circuit 5
RT0-1
RT0
CT0
RS0
CS0
(CROSC0)
RI0
RI1
CS1
RS1
RT1
(CROSC1)
Oscillation Mode Designation
RT1 RS1 CS1 IN1
IN0 CS0 RS0
CRT0
RT0
RESET
TST1
P3.3
TST2
P0.0
D. U. T.
Frequency
Measurement
(fOSCX)
P0.1
P0.2
P0.3
VDD
VSSL
VSS
VSS2
Cl
RT0, RT0-1, RT1 = 2 kW/10 kW/200 kW
RS0, RS1 = 10 kW
RI0, RI1 = 10 kW
CS0, CT0, CS1 = 820 pF
Cl = 0.47 mF
32/40
¡ Semiconductor
MSM64162A
RECOMMENDED OPERATING CONDITIONS (When Voltage Regulator for LCD
Driver Used)
(VDD = 0 V)
Parameter
Symbol
Condition
Operating Temperature
Top
Operating Voltage
VSS
External 400 kHz RC Oscillator
Resistance
Crystal Oscillation Frequency
ROS
Range
Unit
—
–40 to +85
°C
—
–3.5 to –1.25
V
VSS = –1.7 V to –1.25 V
250 to 500
VSS = –3.5 V to –2.0 V
90 to 500
—
fXT
kW
30 to 66
kHz
ELECTRICAL CHARACTERISTICS (When Voltage Regulator for LCD Driver Used)
DC Characteristics
(VDD = 0 V, VSS = –3.0 V, Ta = –40 to +85°C unless otherwise specified)
Parameter Symbol
Condition
Min.
Typ.
Max.
Mea-
Unit suring
Circuit
VSS1 Voltage
VSS = –3.5 to –1.25, Ta = 25°C
—
–1.35
–1.2
–1.05
V
—
–4
—
mV/°C
VSS2 Voltage
VSS2
VSS = –3.5 to –1.25
Typ. – 0.1 2 ¥ VSS1 Typ. + 0.1
V
VSS3 Voltage
VSS3
VSS = –3.5 to –1.25
Typ. – 0.2 3 ¥ VSS1 Typ. + 0.2
V
Supply
Current 1
Supply
Current 2
*
VSS1
DVSS1
IDD1
IDD2
VSS = –1.5 V
Ta = –40 to +40°C
—
2.5
7.5
(CPU in halt state)
Ta = +40 to +85°C
—
2.5
35
VSS = –3.0 V
Ta = –40 to +40°C
—
2.3
7.5
(CPU in halt state)
Ta = +40 to +85°C
—
2.3
35
VSS = –1.5 V
Ta = –40 to +40°C
—
5
15
(CPU in operating state) Ta = +40 to +85°C
—
5
40
VSS = –3.0 V
Ta = –40 to +40°C
—
5
15
(CPU in operating state) Ta = +40 to +85°C
—
5
40
mA
1
mA
The other electrical characteristics are the same as those for the 1.5 V and 3.0 V specifications.
33/40
¡ Semiconductor
MSM64162A
Measuring circuit 1
CS0
RT0
RI0
RT0
CS0
IN0
XT
Crystal
32.768 kHz
OSC1
ROS
XT
OSC2
C1
C12
C2
VSSL
VDD
VSS
A
Cl
V
VSS1
Ca
VSS2
Cb
VSS3
Cc
V
Cl
Ca, Cb, Cc, C12
ROS
RT0
CS0
RI0
: 0.47 mF
: 0.1 mF
: 100 kW
: 10 kW/2 kW
: 820 pF
: 10 kW
34/40
¡ Semiconductor
MSM64162A
FUNCTIONAL DESCRIPTION
• A/D converter (ADC)
The MSM64162A has a built-in 2-channel RC oscillation type A/D converter. The A/D converter
is composed of a 2-channel oscillation circuit, Counter A (CNTA0-4, a 4.8-digit decade counter),
Counter B (CNTB0-3, a 14-bit binary counter), and A/D Converter Control Registers 0 and 1
(ADCON0, ADCON1).
By counting oscillation frequencies that vary depending on a resistor or capacitor connected to
the RC oscillation circuit, the A/D converter converts resistance values or capacitance values to
corresponding digital values. By using a thermistor or humidity sensor as a resistance, a
thermometer or a hygrometer can be constructed. By applying a separate sensor to each channel
of the 2-channel RC oscillation circuit, it is also possible to extend measure ranges or measure at
two places.
• LCD driver (LCD)
The MSM64162A has a built-in LCD driver for 24 outputs.
The LCD driver consists of 21 ¥ 4-bit display registers (DSPR0-20), the Display Control Register
(DSPCON), a 24-output LCD driver circuit, and a bias generation circuit (BIAS).
The bias generation circuit for LCD driver (BIAS) generates bias voltages for the LCD driver by
rising or dropping the power supply voltage by externally installing capacitors. Alternatively,
it generates bias voltages by rising the constant voltage (VSS1 = –1.2 V) generated by the voltage
regulator for LCD driver. Which way is to be used is specified by mask option.
There are three types of driving methods: 1/4 duty, 1/3 duty and 1/2 duty. Software selects the
duty mode.
A mask option can select either a common driver or a segment driver for each LCD driver pin.
A mask option can also specify assignment of each bit of the display register to each segment.
All the display registers must be selected by a mask option.
L16 to L23 of the LCD driver can be configured to be output ports by a mask option.
The relationship between the duty, the bias method, and the maximum segment number follows:
1/4 duty 1/3 bias method ------- 80 segments
1/3 duty 1/3 bias method ------- 63 segments
1/2 duty 1/2 bias method ------- 44 segments
• Buzzer driver (BD)
The MSM64162A has a built-in buzzer driver with 2 buzzer output frequencies and 4 buzzer
output modes. Each buzzer output is selected by the Buzzer Control Register (BDCON) and the
Buzzer Frequency Control Register (BFCON).
• Capture circuit (CAPR)
The MSM64162A captures 32 Hz to 256 Hz output of the time base counter at the falling of Port
0.0 or 0.1 (P0.0 or P0.1) to "L" level when the pull-up resistor input is chosen, or at the rising to
"H" level when the pull-down resistor input is chosen. The capture circuit is composed of the
Capture Control Register (CAPCON) and the Capture Registers (CAPR0, CAPR1) that fetch
output from the time base counter.
• Watchdog timer (WDT)
The MSM64162A has a built-in watchdog timer to detect CPU malfunction. The watchdog timer
is composed of a 6-bit watchdog timer counter (WDTC) to count a 16 Hz output and a watchdog
timer control register (WDTCON) to reset WDTC.
35/40
¡ Semiconductor
MSM64162A
• Clock generation circuit (2CLK)
The clock generation circuit (2CLK) in the MSM64162A contains a 32.768 kHz crystal oscillation
circuit, a 400 kHz RC oscillation circuit, and a clock control port. This circuit generates the system
clock (CLK) and the time base clock (32.768 kHz).
The system clock drives the CPU while the time base clock drives the time base counter and the
buzzer driver.
Via the contents of the frequency Control Register (FCON), the system clock can be switched
between 32.768 kHz (the output of the crystal oscillation circuit) and 400 kHz (the output of the
RC oscillation circuit).
Note: The oscillation frequency of the RC oscillation circuit varies depending on the value of
an external resistor (ROS), operating power supply voltage (VDD), and ambient
temperatures (Ta).
• Time base counter (TBC)
The MSM64162A has a built-in time base counter (TBC) that generates clocks to be supplied to
internal peripheral circuits. The time base counter is composed of 15 binary counters. The count
clock of the time base is driven by the oscillation clock (32.768 kHz) of the crystal oscillation
circuit. The output of the time base counter is used for the buzzer driver, the system reset circuit,
the watchdog timer, the time base interrupt, the sampling clocks of each port, and the capture
circuit.
• I/O port
Input-output ports (P2, P3) (8 bits)
Input port (P0) (4 bits)
Output port (P1) (4 bits)
: Pull-up (pull-down) resistor input or highimpedance input, CMOS output or NMOS
open drain output: these can be specified for
each bit; external 0 interrupt
: Pull-up (pull-down) resistor input or highimpedance input; external 1 interrupt
: CMOS output or NMOS open drain output
• Interrupt (INTC)
The MSM64162A has 9 interrupt sources (9 vector addresses), of which two are external
interrupts from ports and seven are internal interrupts.
Of the nine interrupt sources, only the watchdog interrupt cannot be disabled (non-maskable
interrupt). The other eight interrupts are controlled by the master interrupt enable flag (MI) and
the interrupt enable registers (IE0, IE1 and IE2). When an interrupt condition is met, the CPU
branches to a vector address corresponding to the interrupt source.
• Battery check circuit (BC)
The battery check circuit (BC) detects the level of the supply voltage by comparing the voltage
generated by an external supply-voltage dividing resistor (RBLD) with the internal reference
voltage (Vrb).
36/40
XT
XT
RESET
P1.0
P1.1
P1.2
P1.3
P0.0
P0.1
P0.2
P0.3
L23
L0
MSM64162A-xxx
(1.5 V spec.)
IN0
CS0
RS0
CRT0
RT0
IN1
CS1
RS1
RT1
BD
P3.3
1.5 V Spec. Application Circuit
Crystal
32.768 kHz
OSC2
OSC1
D
Switch matrix (4 ¥ 4)
VDD
C2
C1
C
VSS3 12
Cb
VSS2
Ca
VSS
VSS1
VSSL
Cl
TST2
TST1
RT0
RT1 RS1 CS1 RI1
RS0
RI0
CS0
¡ Semiconductor
ROS
APPLICATION CIRCUITS
L C
C1
1.5 V
• Temperature
measurement
by two thermistors
• CG of crystal
oscillator : Internal
Buzzer
37/40
MSM64162A
OSC monitor
ROS
CGEX
L23
XT
XT
RESET
P1.0
P1.1
P1.2
P1.3
P0.0
P0.1
P0.2
P0.3
L0
MSM64162A-xxx
(3.0 V spec.)
IN0
CS0
RS0
CRT0
RT0
IN1
CS1
RS1
RT1
BD
P3.3
P3.1
3.0 V Spec. Application Circuit
Crystal
32.768 kHz
OSC2
OSC1
Switch matrix (4 ¥ 4)
VDD
C2
C1 C
12
VSS3
Cb
VSS2
VSS
VSS1
Ca
VSSL
Cl
TST2
TST1
RT0
RT1 RS1 CS1 RI1
RS0
CS0
RI0
C2
3V
¡ Semiconductor
D
APPLICATION CIRCUITS (continued)
L C
• Temperature
measurement
by two thermistors
• Battery check
circuit is used
• CGEX of crystal
oscillator : External
RBLD
Buzzer
38/40
MSM64162A
OSC monitor
CGEX
L23
XT
XT
RESET
P1.0
P1.1
P1.2
P1.3
P0.0
P0.1
P0.2
P0.3
L0
MSM64162A-xxx
(3.0 V spec.)
IN0
CS0
RS0
CRT0
RT0
IN1
CS1
RS1
RT1
BD
P3.3
P3.1
3.0 V Spec. Application Circuit
(Voltage Regulator for LCD Driver Used)
Crystal
32.768 kHz
OSC2
OSC1
Switch matrix (4 ¥ 4)
VDD
C2
C1 C
12
VSS3
Cc
VSS2
Cb
VSS
VSS1
Ca
VSSL
Cl
TST2
TST1
RT0
RT1 RS1 CS1 RI1
RS0
CS0
RI0
C2
3V
¡ Semiconductor
ROS
APPLICATION CIRCUITS (continued)
L C D
• Temperature
measurement
by two thermistors
• Battery check
circuit is used
• CGEX of crystal
oscillator : External
RBLD
Buzzer
39/40
MSM64162A
OSC monitor
¡ Semiconductor
MSM64162A
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).
40/40