OKI MSM65355-xxxGS-BK4 Datasheet

E2E1021-27-Y3
¡ Semiconductor MSM65355
¡ Semiconductor
This version: Jan. 1998
Previous version: Nov. 1996
MSM65355
8-Bit Microcontroller with A/D Converter (with LCD Driver)
GENERAL DESCRIPTION
The MSM65355 is a high-performance 8-bit microcontroller that employs OKI original nX-8/50 CPU core. The MSM65355 includes 16K bytes of program memory, 384 bytes of data memory, an LCD driver, an A/D converter and shift registers. Also available is the MSM65P355, which replace the on-chip program memory with one-time PROM.
FEATURES
• Operating range Operating voltage : 2.7 to 5.5V
Operating temperature : –20 to +70 °C
Operating frequency (dual clock)
High speed side : 0 to 10MHz (@ V
0 to 10MHz (@ VDD = 2.7 to 5.5V)
Low speed side : 75kHz/32.768kHz (@ VDD = 2.7 to 5.5V)
Current consumption (Typ.)
High speed side : 5mA (@ 5MHz, VDD = 3V),
20mA (@ 10MHz, VDD=5V)
Low speed side : 45mA (@ 32.768kHz, VDD = 3V)
4mA (@ VDD = 3V, stop mode)
• Minimum instruction execution time : 400ns (@ 10MHz), 800ns (@ 5MHz)
• CPU core : 8-bit CPU core nX-8/50
• General memory space : Internal 16K-byte program memory
• Local memory space : Internal 384-byte data memory + SFR
• LCD driver : 16 ¥ 4 (1/4, 1/3, and 1/2 duties are
selectable with software.)
• I/O port Input-output port : 5 ports ¥ 8 bits, 1 port ¥ 6 bits,
1 port ¥ 5 bits, 1 port ¥ 4 bits Input port : 1 port ¥ 8 bits, 1 port ¥ 1 bit Output port : 1 port ¥ 1 bit
• Timers : 8-bit auto-reload timer ¥ 4 (clock for PWM frequency setting, shift clock for shift register) 16-bit auto-reload timer ¥ 1 Watchdog timer ¥ 1 Watch timer counter ¥ 1
• Counters : Time base counter ¥ 1 (14-bit)
• PWM : 4ch 8-bit duty, frequency 1Hz to 80kHz (@ 10MHz)
• Buzzer output : 1, selectable at 1600Hz, 3200Hz and 6400Hz (@ 10MHz)
• Serial port :
Synchronous with auto-transfer function ¥ 1 Synchronous ¥ 2
= 5V ± 10%)
DD
1/18
¡ Semiconductor MSM65355
• A/D converter : 8 ch, 8 bits
• External interrupts : 3, selectable for rising edge/falling edge/both edges.
• External interrupt for a remote control input (with 8-bit capture)
: 1, selectable for rising edge/falling
edge/both edges, with a sampling circuit for noise prevention. With rising edge operating capture and falling edge capture.
• Remote control circuit : Can receive at 75/32.768kHz.
• Interrupt sources : 22
• Package:
100-pin plastic QFP (QFP100-P-1420-0.65-BK4) (Product name: MSM65355-¥¥¥GS-BK4)
¥¥¥ indicates the code number.
• Others
- A 1/2 OSC clock, XT clock or a 4-times XT clock can be selected as the CPU clock.
- The time base counter can be selected to be 1/4n of the CPU clock (n=1 to 8).
- On-chip power-on reset circuit.
- The state during STOP (maintaining of either high impedance or previous state) can be set for
each port. (The current consumption of a port in the high impedance setting is less than 1mA.)
- All input-output ports can be set to be pull-up or open. (Ports 0, 1, 2, and 6 can be set to be
pull-up or open for each bit.)
- A/D accuracy (±1.5LSB @V
=4.5 to 5.5V)
DD
2/18
3/18
¡ Semiconductor MSM65355
BLOCK DIAGRAM
8-bit SHIFT-REG
RAM
(384 bytes)
WDTTBC
8-bit PWM x 4
BUZZER OUTPUT
PWM0* PWM1* PWM2* PWM3*
BZ*
BUS
CONT.
ROM
(16K bytes)
GMAR
PC
LMARSPPSWBR
IR
ALU
INST.
DEC.
OSC.
CONT.
T/C
AR
XT
XT
OSC0
OSC1
RESET
CLKOUT*
HSTOP*
XTOUT*
V
DD
GND
8-bit A/D C
¥ 8ch
I/O PORT
8-bit SHIFT-REG
SFTO2* SFTI2* SFTCK2*
16-bit TIMER x 1
T2CK*
8-bit TIMER x 4
T1OUT* T0CK* GATE*
SFTO1* SFTI1* SFTCK1*
INTERRUPT CONT.
INT0* INT1* INT2*
REMOTE CONTROL
CAPTURE
SAMPLING CIRCUIT
INTRMC*
AVDDVRHAI0-7*
AGND
LCD DRIVER
C2
C1
V
DD3VDD2VDD1
COM1
COM4
SEG0
SEG15
8-bit SHIFT-REG
(16-byte auto-
transfer function)
SFTO0* SFTI0* SFTCK0*
WATCH TIMER
REMOTE
CONTROL
CIRCUIT
*Secondary functions of each port.
CPU CORE
P8
P7
P6
P5
P4
P3
P2
P1
P0
¡ Semiconductor MSM65355
PIN CONFIGURATION (TOP VIEW)
DD1
DD2
C2
100
C1
99
DD3
V
98
V
97
V
96
P6.7
95
P6.6
94
P6.5
93
P6.3
92
P6.3
91
P6.2
90
P6.1(TEST)
89
RESET
P6.0(IN)
87
88
P2.2/SFTO0
P2.1/SFTI0
P2.0/SFTCK0
84
85
86
XT
P2.4
P2.3/INT2
81
82
83
COM1 COM2 COM3 COM4
SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8
SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15
AGND P3.0/AI0 P3.1/AI1 P3.2/AI2 P3.3/AI3 P3.4/AI4 P3.5/AI5 P3.6/AI6 P3.7/AI7
V
RH
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
1 2 3 4 5 6 7 8 9
80
XT
79
GND
78
OSC0
77
OSC1
76
P0.0/INT0
75
P0.1/HSTOP
74
P0.2/T1OUT
73
P0.3/T0CK
72
P0.4/INT1/GATE
71
P0.5/CLKOUT
70
P0.6/T2CK
69
P0.7/BZ
68
V
DD
P1.0/PWM3
67
P1.1/PWM2
66
P1.2/OWM1
65
P1.3/PWM0
64
P1.4/INTRMC
63
P1.5/SFTCK1
62
P1.6/SFTI1
61
P1.7/SFTO1
60
P7.7/SFTO2
59
P7.6/SFTI2
58
P7.5/SFTCK2
57
P7.4/XTOUT
56
P7.3
55
P7.2
54
P7.1
53
P7.0
52
P4.0
51
31
DD
AV
32
P8.0
33
P8.1
34
P8.2
41
40
39
38
37
36
35
P5.2
P5.3
P5.4
P5.5
P5.6
P5.7
P8.3
100-Pin Plastic QFP
42
P5.1
43
P5.0
44
P4.7
45
P4.6
46
P4.5
47
P4.4
48
P4.3
49
P4.2
50
P4.1
4/18
¡ Semiconductor MSM65355
PIN DESCRIPTIONS
Basic Function
Symbol
Power 68
79
31
21
30
96
97
98
99
100
Oscillator 78 I
77 O
80 I
81 O
V
GND
AV
AGND
V
V
DD1
V
DD2
V
DD3
C1
C2
OSC0
OSC1
XT
XT
Type
DD
DD
RH
DescriptionFunction Pin
Digital power supply (5V)
Digital ground
Analog power supply (5V)
Analog ground
Analog reference voltage
LCD drive bias output
LCD drive bias output
LCD drive bias output
Capacitor connecting pins for LCD drive bias generation
Oscillator input pin: connects to a crystal oscillator (or ceramic resonator) or external clock.
Oscillator output pin: connects to a crystal oscillator (or ceramic resonator). When an external clock is input to OSC0, leave OSC1 open.
XT-side oscillator input pin: connects a crystal oscillator of
32.768kHz or 75kHz.
XT-side oscillator output pin: connects a crystal oscillator of
32.768kHz or 75kHz.
Control 87 I System reset input: when this pin goes low, the internal state of
RESET
the chip is initialized and program execution restarts from address 0040H. The input is pulled up to V
with an internal pull-up
DD
resistor.
Ports
76
to
69
P0.0
to
P0.7
I/O 8-bit input-output port (port 0): input or output can be selected for
each bit by the port 0 direction register (P0DIR). In addition to their input-output port functions, the pins of port 0 have secondary functions: see Secondary Function.
67
to
60
P1.0
to
P1.7
I/O 8-bit input-output port (port 1): input or output can be selected for
each bit by the port 1 direction register (P1DIR). In addition to their input or output port functions, the pins of port 1 have secondary functions: see Secondary Function.
86
to
82
P2.0
to
P2.4
I/O 5-bit input-output port (port 2): input or output can be selected for
each bit by the port 2 direction register (P2DIR). In addition to their input or output port functions, P2.0 and P2.1 have secondary functions: see Secondary Function.
22
to
29
51
to
44
43
to
36
P3.0
to
P3.7
P4.0
to
P4.7
P5.0
to
P5.7
I
8-bit input port (port3): during A/D conversion, the pins of port 3 function as analog input channels.
I/O 8-bit input-output port (port 4).
I/O 8-bit input-output port (port 5): input or output can be selected for
each bit by the port 5 direction register (P5DIR).
5/18
¡ Semiconductor MSM65355
Basic Function (Continued)
Ports
LCD Driver
Symbol
88 I 1-bit input port (port 6.0)
89 O 1-bit output port (port 6.1). After reset, this port is pulled up to 1.
90
to
95
52
to
59
32
to
35
1
to
4
5
to
20
P6.0
P6.1
(TEST)
P6.2
to
P6.7
P7.0
to
P7.7
P8.0
to
P8.3
COM1
to
COM4
SEG0
to
SEG15
Type
During reset, if this port is forcibly cleared to 0, this IC goes into test mode, disabling execution of the use program.
I/O 6-bit input-output port (port6)
I/O 8-bit input-output port (port7): input or output can be selected for
each bit by the port 7 direction register (P7DIR). In addition to their input or output port functions, P7.4 to P7.7 pins have secondary functions: see Secondary Function.
I/O 8-bit input-output port (port8): Input or output can be selected for
each bit by the port 8 direction register (P8DIR).
O LCD common signal output pin
O LCD segment signal output pin
DescriptionFunction Pin
6/18
Loading...
+ 12 hidden pages