4-Bit Microcontroller with Built-in LCD Driver and Melody Circuit
GENERAL DESCRIPTION
The MSM64P155 (1.5 V)/64P155L (3.0 V) is a one-time-programmable ROM version product,
which has one-time PROM (OTP) as internal program memory. On the other hand, the
MSM64155 is a mask ROM-version product, which has mask ROM as internal program memory.
Unlike the mask ROM-version MSM64155 which has a P-well CMOS structure, the MSM64P155/
64P155L has been fabricated with the N-well CMOS-structured EPROM process technology.
Therefore, the MSM64P155/64P155L differs from the MSM64155 in the polarity of the power
supply for LCD bias generation and in the external circuit structure.
Unlike the mask ROM-version product, the MSM64P155/64P155L cannot be supplied in the
form of a chip. The MSM64P155/64P155L is an OTP-version product used to evaluate an
application program.
The MSM64P155/64P155L has two operation modes, microcontroller operation mode and
PROM mode. The microcontroller operation mode is used to operate the MSM64P155/64P155L
like a mask ROM-version product and the PROM mode is used to program or read the PROM.
FEATURES
• Operating range
Operating voltage (mask option) : 1.5 V/3.0 V
Operating frequency: 32.768 kHz crystal oscillation
Note:Pins marked as (NC) are no-connection pins which are left open.
50
SEG41
4/29
PIN DESCRIPTIONS
Basic Functions
MSM64P155/64P155L¡ Semiconductor
Power
Supply
Oscillation
Test
Pin
23
100
99
98
97
96
4
2
3
30
29
28
Symbol
V
SS
V
DD1
V
DD2
V
DD3
C1
C2
V
PP
OSC0
OSC1
TST1
TST2
TST3
TypeFunction
—
Digital supply voltage (0 V)
—
Digital positive power supply (1.5 V spec.)
Description
Bias output for LCD driver (3.0 V spec.)
—
Digital positive power supply (3.0 V spec.)
Bias output for LCD driver (1.5 V spec.)
Bias output for LCD driver (+4.5 V)
—
—
Pins for connecting a capacitor for generating LCD driving bias
—
—
Positive power supply for writing programming data to PROM
(+12.5 V)
I
Clock oscillation pins:
Either a crystal (32.768 kHz) and a capacitor (10 to 30 pF) are
connected to these pins or a resistor (1 MW) is.
O
I
Input pins for test:
These pins are internally pulled down to V
I
When this pin is set to "H" level, the 256 Hz and 4 Hz interrupts are
I
SS
.
enabled, and then the MSM64P155 can be used as an OTP version
of the MSM64152A, MSM64153A, and MSM64158A.
RESET
1I
RESET
System reset input pin :
Setting this pin to "H" level puts this device into a reset state.
Then, setting this pin to "L" level starts executing an instruction from
address 000H.
This pin is internally connected to V
through a pull-down resistor.
SS
5/29
Basic Functions (continued)
MSM64P155/64P155L¡ Semiconductor
PinDescriptionTypeFunction
Ports4-bit input port (port 2) :
10
14
13
12
11
18
17
16
15
22
21
20P7.2
19
Melody
Drivers
LCD
Drivers
95
94
93
92
Symbol
8
7
6
5
9
P2.0
P2.1
P2.2
P2.3
P3.0
P3.1
P4.0
P4.1
P4.2
P4.3
P6.0
P6.1
P6.2
P6.3
P7.0
P7.1
P7.3
MD0
MD0
MD1
MD1
COM1
COM2
COM3
COM4
I
Select between pull-down resistor input and high impedance input
for each bit with the port 2 control register (P2CON).
When configured for secondary functions, an external interrupt and
capture circuit trigger input are allocated.
If P2.0 to P2.3 are set to "H" level, the device enters system reset
mode.
I2-bit input port (port 3) :
Select between pull-down resistor input and high impedance input
with the port 3 control register (P3CON).
When configured for a secondary function, an external interrupt is
allocated to P3.0 and an event counter is allocated to P3.1.
O
4-bit output port (port 4) :
4-bit CMOS output port.
4-bit input-output port (port 6) :
I/O
Select between input and output, between pull-down resistor input
and high impedance input, and between open-drain output and CMOS
output with the port 6 control register (P6CON). When configured
for a secondary function, an external interrupt is allocated.
4-bit input-output port (port 7) :
I/O
Select between input and output, between pull-down resistor input
and high impedance input, and between open-drain output and CMOS
output with the port 7 control register (P7CON). When configured for
a secondary function, an external interrupt is allocated.
OOutput pin of melody driver 0.25
OInverted output pin of MD0 output.24
OOutput pin of melody driver 1.26
OInverted output pin of MD1 output.27
O
LCD common signal output pins.
O
O
O
6/29
Basic Functions (continued)
MSM64P155/64P155L¡ Semiconductor
LCD
Drivers
PinDescriptionTypeFunction
91
Symbol
SEG0
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG12
SEG13
SEG14
SEG15
SEG16
O
LCD segment signal output pins.
O90
O89
O88
O87
O86
O85
O84
O83
O82
O81
O80
O79
O78
O77
O76
O75
SEG17
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
O74
O73
O72
O71
O70
O69
O68
O67
O66
O65
O64
O63
O62
O61
O60
O59
O58
O57
SEG35
SEG36
SEG37
SEG38
SEG39
O56
O55
O54
O53
O52
7/29
Basic Functions (continued)
MSM64P155/64P155L¡ Semiconductor
LCD
Drivers
PinDescriptionTypeFunction
51
39
38
37
36
35
34
33
32
31
Symbol
SEG40
SEG41
SEG42
SEG43
SEG44
SEG45
SEG46
SEG47
SEG48
SEG49
SEG50
SEG51
SEG52
SEG53
SEG54
SEG55
SEG56
SEG57
SEG58
SEG59
O
LCD segment signal output pins.
O50
O49
O48
O47
O46
O45
O44
O43
O42
O41
O
O
O
O
O
O
O
O
O
8/29
Secondary Functions
MSM64P155/64P155L¡ Semiconductor
External
Interrupts
PinDescriptionTypeFunction
10
18
17
16
15
22
21
20
Symbol
8
7
6
5
P2.0
P2.1
P2.2
P2.3
P3.0
P6.0
P6.1
P6.2
P6.3
P7.0
P7.1
P7.2
I
P2.0 to P2.3 secondary functions :
These are level-triggered external interrupt input pins.
Select interrupt enable/disable for each bit with the P2 interrupt
enable register (P2IE).
If P2.0 to P2.3 pins are set to "H" level for a minimum of 2 seconds,
the device enters system reset mode.
P2.0, P2.1 secondary functions :
trigger input pins for capture circuit.
I
P3.0 secondary function :
This is an input pin for external interrupt. This pin can receive an
interrupt at a rising edge, a falling edge, or at both rising and falling
edges.
I
P6.0 to P6.3 secondary functions :
These are level-triggered external interrupt input pins.
I
P7.0 to P7.3 secondary functions :
These are level-triggered external interrupt input pins.
Counter
Input
19
P7.3
9Event
P3.1
I
P3.1 secondary function :
Input port for event counter
9/29
Loading...
+ 20 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.