OKI MSM64155A-xxx, MSM64155AL-xxx, MSM64155AL-xxxGS-BK, MSM64155A-xxxGS-BK Datasheet

0 (0)

E2E0030-38-95

This version: Sep. 1998

Semiconductor MSM64155A/64155AL

¡ Semiconductor

Previous version: Mar. 1996

MSM64155A/64155AL

4-Bit Microcontroller with Built-in LCD Driver and Melody Circuit

GENERAL DESCRIPTION

The MSM64155A (1.5 V)/64155AL (3.0 V) is a high-performance 4-bit microcontroller that incorporates Oki-original CPU core nX-4/20.

The MSM64155A/64155AL has an LCD driver for up to 240 segments, an event counter, and melody circuits. It is best suited for applications such as clocks and LCD games.

FEATURES

• Operating range

 

Operating voltage

: 1.5 V/3.0 V

Operating temperature

: –40 to +70 °C

Operating frequency

: 32.768 kHz crystal oscillation

 

Approx. 32 kHz RC oscillation

Supply current (Typ.)

: 0.9 mA (3.0 V at HALT mode)

• Minimum instruction execution time

: 91 ms

• General memory space

: 4064 bytes

• Local memory space

: 256 nibbles

• LCD driver

: 64

 

Common driver ´ 4

 

Segment driver ´ 60

 

1/4 duty, 1/3 bias; 240 segments (60 ´ 4)

 

1/3 duty, 1/3 bias; 180 segments (60 ´ 3)

• I/O port

: 2 ports ´ 4 bits (open-drain output/CMOS output

Input-output port

 

selectable; pull-down resistor input/high-impedance

 

input selectable)

Input port

: 1 port ´ 2 bits (pull-down resistor input/high-impedance

 

input selectable)

 

1 port ´ 4 bits (pull-down resistor input/high-impedance

 

input selectable)

Output port

: 1 port ´ 4 bits (CMOS output)

• Event counter

: 1 channel

• Melody output

: 2

• Interrupts

: 10 sources

 

External 4, time base 4, melody 2

• Package:

 

100-pin plastic QFP (QFP100-P-1420-0.65-BK) : (Product name : MSM64155A-´´´GS-BK,

 

MSM64155AL-´´´GS-BK)

Chip

: MSM64155A-´´´, MSM64155AL-´´´

´´´indicates a code number.

OTP version (for program evaluation) : MSM64P155/64P155L

(The power polarity and operating voltage of the MSM64P155/64P155L are different from the MSM64155A/64155AL. For details, refer to the "MSM64P155 User's Manual".)

1/26

OKI MSM64155A-xxx, MSM64155AL-xxx, MSM64155AL-xxxGS-BK, MSM64155A-xxxGS-BK Datasheet

¡ Semiconductor

MSM64155A/64155AL

BLOCK DIAGRAM

MIEF HALT BSR

TR2

TR0

 

 

TR1

 

 

(4)

 

 

 

ROM

 

PCM

PCL

PCH

4064B

 

 

 

C

ALU

 

 

 

A8 to A11

 

 

 

 

 

 

 

 

 

A7 to A0

 

 

(4)

(4)

 

 

RAM

B A

L

X Y

256N

 

H

VVV C2C1SS3SS2SS1

BIAS

ADDRESSPORT

COM1

COM2

COM3

COM4

LCD SEG0

SEG59

OSC0

CLK

OSC1

RESET RST

TST1

TST2 TST

TST3

VSSL VR

VDD

 

 

 

 

DB7 to DB0

(8)

 

 

 

 

TIMING

 

SP

ROMR

 

INTC

MD0

CONTROLLER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MD0

 

 

 

 

DECODER

IR

 

 

 

MD0

TBC

4

IR

(8)

 

 

INT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INT

 

 

 

 

 

 

MD1

 

 

 

 

 

PORT ADDRESS

 

 

MD1

 

 

 

 

 

 

 

MD1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DB7 to DB0

 

 

 

INT

 

 

 

 

INT

 

 

INT

INT

INT

BUP

 

CAPR

 

PORT2

EVENT

PORT3

PORT4

PORT6

PORT7

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.2

P7.3

is the CPU core (nX-4/20).

2/26

¡ Semiconductor

MSM64155A/64155AL

PIN CONFIGURATION (TOP VIEW)

RESET 1 OSC0 2

OSC1 3

VSSL 4

P2.3 5

P2.2 6

P2.1 7

P2.0 8

P3.1 9

P3.0 10

P4.3 11

P4.2 12

P4.1 13

P4.0 14

P6.3 15

P6.2 16

P6.1 17

P6.0 18

P7.3 19

P7.2 20

P7.1 21

P7.0 22

VDD 23

MD0 24

MD0 25

MD1 26

MD1 27

TST3 28

TST2 29

TST1 30

V

V

V

C1

C2

COM1

COM2

COM3

COM4

SEG0

SEG1

SEG2

SEG3

 

SEG4

 

SEG5

SEG6

SEG7

 

SEG8

 

SEG9

 

SEG10

SS1

SS2

SS3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

100

 

99

 

98

 

97

 

96

 

95

 

94

 

93

 

92

 

91

 

90

 

89

 

88

 

87

 

86

 

85

 

84

 

83

 

82

 

81

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

 

32

 

33

 

34

 

35

 

36

 

37

 

38

 

39

 

40

 

41

 

42

 

43

 

44

 

45

 

46

 

47

 

48

 

49

 

50

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SEG59

SEG58

SEG57

SEG56

SEG55

SEG54

SEG53

SEG52

SEG51

(NC)

SEG50

SEG49

SEG48

 

SEG47

 

SEG46

SEG45

SEG44

 

SEG43

 

SEG42

 

SEG41

100-Pin Plastic QFP

Note: Pins marked as (NC) are no-connection pins which are left open.

80 SEG11

79 SEG12

78 SEG13

77 SEG14

76 SEG15

75 SEG16

74 SEG17

73 SEG18

72 SEG19

71 SEG20

70 SEG21

69 SEG22

68 SEG23

67 SEG24

66 SEG25

65 SEG26

64 SEG27

63 SEG28

62 SEG29

61 SEG30

60 SEG31

59 SEG32

58 SEG33

57 SEG34

56 SEG35

55 SEG36

54 SEG37

53 SEG38

52 SEG39

51 SEG40

3/26

¡ Semiconductor

MSM64155A/64155AL

PAD CONFIGURATION

Pad Layout

75

51

76

50

Y

X

99

26

1

25

Chip Size

: 4.35 mm ´ 4.50 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

Note: The chip substrate voltage is VDD.

4/26

¡ Semiconductor

 

 

 

 

 

 

 

 

MSM64155A/64155AL

Pad Coordinates

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pad No.

Pad

X (µm)

 

Y (µm)

 

Pad No.

Pad

X (µm)

Y (µm)

 

Pad No.

Pad

X (µm)

Y (µm)

Name

 

 

Name

 

Name

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

OSC1

–1858

 

–2045

 

41

SEG47

2020

512

 

81

SEG7

–2020

998

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

VSSL

–1703

 

–2045

 

42

SEG46

2020

667

 

82

SEG6

–2020

843

3

P2.3

–1548

 

–2045

 

43

SEG45

2020

822

 

83

SEG5

–2020

688

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

P2.2

–1393

 

–2045

 

44

SEG44

2020

977

 

84

SEG4

–2020

533

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

P2.1

–1238

 

–2045

 

45

SEG43

2020

1132

 

85

SEG3

–2020

379

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

P2.0

–1084

 

–2045

 

46

SEG42

2020

1286

 

86

SEG2

–2020

224

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

P3.1

–929

 

–2045

 

47

SEG41

2020

1441

 

87

SEG1

–2020

69

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

P3.0

–774

 

–2045

 

48

SEG40

2020

1596

 

88

SEG0

–2020

–86

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

P4.3

–619

 

–2045

 

49

SEG39

2020

1751

 

89

COM4

–2020

–241

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

P4.2

–464

 

–2045

 

50

SEG38

2020

1906

 

90

COM3

–2020

–395

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11

P4.1

–310

 

–2045

 

51

SEG37

1780

2045

 

91

COM2

–2020

–550

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12

P4.0

–155

 

–2045

 

52

SEG36

1625

2045

 

92

COM1

–2020

–705

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

13

P6.3

0

 

–2045

 

53

SEG35

1471

2045

 

93

C2

–2020

–860

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

14

P6.2

155

 

–2045

 

54

SEG34

1316

2045

 

94

C1

–2020

–1015

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

P6.1

310

 

–2045

 

55

SEG33

1161

2045

 

95

VSS3

–2020

–1169

16

P6.0

464

 

–2045

 

56

SEG32

1006

2045

 

96

VSS2

–2020

–1324

17

P7.3

619

 

–2045

 

57

SEG31

851

2045

 

97

VSS1

–2020

–1479

18

P7.2

774

 

–2045

 

58

SEG30

697

2045

 

98

RESET

–2020

–1634

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

19

P7.1

929

 

–2045

 

59

SEG29

542

2045

 

99

OSC0

–2020

–1789

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

20

P7.0

1084

 

–2045

 

60

SEG28

387

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

21

VDD

1238

 

–2045

 

61

SEG27

232

2045

 

 

 

 

 

22

MD0

1430

 

–2045

 

62

SEG26

77

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

23

MD0

1658

 

–2045

 

63

SEG25

–77

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

24

MD1

1813

 

–2045

 

64

SEG24

–232

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

25

MD1

1968

 

–2045

 

65

SEG23

–387

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

26

TST3

2020

 

–1810

 

66

SEG22

–542

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

27

TST2

2020

 

–1655

 

67

SEG21

–697

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

28

TST1

2020

 

–1500

 

68

SEG20

–851

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

29

SEG59

2020

 

–1345

 

69

SEG19

–1006

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

30

SEG58

2020

 

–1190

 

70

SEG18

–1161

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

SEG57

2020

 

–1036

 

71

SEG17

–1316

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

32

SEG56

2020

 

–881

 

72

SEG16

–1471

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

33

SEG55

2020

 

–726

 

73

SEG15

–1625

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

34

SEG54

2020

 

–571

 

74

SEG14

–1780

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

35

SEG53

2020

 

–416

 

75

SEG13

–1935

2045

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

36

SEG52

2020

 

–262

 

76

SEG12

–2020

1772

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

37

SEG51

2020

 

–107

 

77

SEG11

–2020

1617

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

38

SEG50

2020

 

48

 

78

SEG10

–2020

1462

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

39

SEG49

2020

 

203

 

79

SEG9

–2020

1307

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

40

SEG48

2020

 

358

 

80

SEG8

–2020

1153

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5/26

¡ Semiconductor

MSM64155A/64155AL

PIN DESCRIPTIONS

Basic Functions

Function

Pin

Pad

Symbol

Type

Description

 

 

 

 

 

 

 

 

Power

23

21

VDD

Digital supply voltage (0 V)

Supply

 

 

 

 

 

 

100

97

VSS1

Digital negative power supply (1.5 V spec.)

 

 

 

 

 

 

Bias output for LCD driver (3.0 V spec.)

 

 

 

 

 

 

 

 

99

96

VSS2

Digital negative power supply (3.0 V spec.)

 

 

 

 

 

Bias output for LCD driver (1.5 V spec.)

 

 

98

95

VSS3

Bias output for LCD driver (–4.5 V)

 

 

97

94

C1

For connection to capacitors that generate bias for the

 

96

93

C2

LCD driver

 

 

4

2

VSSL

Negative power supply voltage pin for internal logic

 

 

 

 

 

(An internally generated constant voltage is present at this pin.)

 

 

 

 

 

 

 

Oscillation

2

99

OSC0

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.

 

3

1

OSC1

O

 

 

 

 

 

 

 

Test

30

28

TST1

I

Input pins for test

 

29

27

TST2

I

 

 

 

 

 

 

 

 

 

 

28

26

TST3

I

 

 

RESET

1

98

RESET

I

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 VSS1 or VSS2 through a

 

 

 

 

 

pull-down resistor.

 

 

 

 

 

 

 

6/26

¡ Semiconductor

 

 

MSM64155A/64155AL

Basic Functions (continued)

 

 

 

 

 

 

 

 

 

 

Function

Pin

Pad

Symbol

Type

Description

 

 

 

 

 

 

 

Ports

8

6

P2.0

I

4-bit input port (port 2) :

 

 

 

 

 

Select between pull-down resistor input and high impedance

 

7

5

P2.1

 

 

 

input for each bit with the port 2 control register (P2CON).

 

6

4

P2.2

 

 

 

When configured for secondary functions, an external

 

5

3

P2.3

 

 

 

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.

 

 

10

8

P3.0

I

2-bit input port (port 3) :

 

 

 

 

 

Select between pull-down resistor input and high impedance

 

9

7

P3.1

 

 

 

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.

 

 

14

12

P4.0

O

4-bit output port (port 4) :

 

13

11

P4.1

 

4-bit CMOS output port.

 

 

 

 

 

12

10

P4.2

 

 

 

 

11

9

P4.3

 

 

 

 

18

16

P6.0

I/O

4-bit input-output port (port 6) :

 

 

 

 

 

Select between input and output, between pull-down resistor

 

17

15

P6.1

 

 

 

input and high impedance input, and between open-drain

 

16

14

P6.2

 

 

 

output and CMOS output with the port 6 control register

 

15

13

P6.3

 

(P6CON). When configured for a secondary function, an

 

 

 

 

 

external interrupt is allocated.

 

 

 

 

 

 

 

 

22

20

P7.0

I/O

4-bit input-output port (port 7) :

 

 

 

 

 

Select between input and output, between pull-down

 

21

19

P7.1

 

 

 

resistor input and high impedance input, and between

 

20

18

P7.2

 

 

 

open-drain output and CMOS output with the port 7 control

 

19

17

P7.3

 

register (P7CON). When configured for a secondary

 

 

 

 

 

function, an external interrupt is allocated.

 

 

 

 

 

 

 

Melody

25

23

MD0

O

Output pin of melody driver 0.

 

Drivers

24

22

MD0

O

Inverted output pin of MD0 output.

 

 

 

 

 

 

 

 

26

24

MD1

O

Output pin of melody driver 1.

 

 

27

25

MD1

O

Inverted output pin of MD1 output.

 

LCD

95

92

COM1

O

LCD common signal output pins.

Drivers

 

 

 

 

 

 

94

91

COM2

O

 

 

 

93

90

COM3

O

 

 

 

92

89

COM4

O

 

 

7/26

¡ Semiconductor

 

 

MSM64155A/64155AL

Basic Functions (continued)

 

 

 

 

 

 

 

 

 

 

Function

Pin

Pad

Symbol

Type

Description

 

 

 

 

 

 

 

LCD

91

88

SEG0

O

LCD segment signal output pins.

Drivers

 

 

 

 

 

 

90

87

SEG1

O

 

 

 

 

 

 

89

86

SEG2

O

 

 

 

 

 

 

 

 

 

 

88

85

SEG3

O

 

 

 

87

84

SEG4

O

 

 

 

 

 

 

 

 

 

 

86

83

SEG5

O

 

 

 

85

82

SEG6

O

 

 

 

 

 

 

 

 

 

 

84

81

SEG7

O

 

 

 

83

80

SEG8

O

 

 

 

 

 

 

 

 

 

 

82

79

SEG9

O

 

 

 

 

 

 

 

 

 

 

81

78

SEG10

O

 

 

 

 

 

 

 

 

 

 

80

77

SEG11

O

 

 

 

 

 

 

 

 

 

 

79

76

SEG12

O

 

 

 

 

 

 

 

 

 

 

78

75

SEG13

O

 

 

 

77

74

SEG14

O

 

 

 

 

 

 

 

 

 

 

76

73

SEG15

O

 

 

 

 

 

 

 

 

 

 

75

72

SEG16

O

 

 

 

 

 

 

 

 

 

 

74

71

SEG17

O

 

 

 

 

 

 

 

 

 

 

73

70

SEG18

O

 

 

 

72

69

SEG19

O

 

 

 

 

 

 

 

 

 

 

71

68

SEG20

O

 

 

 

 

 

 

 

 

 

 

70

67

SEG21

O

 

 

 

 

 

 

 

 

 

 

69

66

SEG22

O

 

 

 

68

65

SEG23

O

 

 

 

 

 

 

 

 

 

 

67

64

SEG24

O

 

 

 

 

 

 

 

 

 

 

66

63

SEG25

O

 

 

 

 

 

 

 

 

 

 

65

62

SEG26

O

 

 

 

 

 

 

 

 

 

 

64

61

SEG27

O

 

 

 

 

 

 

 

 

 

 

63

60

SEG28

O

 

 

 

 

 

 

 

 

 

 

62

59

SEG29

O

 

 

 

 

 

 

 

 

 

 

61

58

SEG30

O

 

 

 

60

57

SEG31

O

 

 

 

 

 

 

 

 

 

 

59

56

SEG32

O

 

 

 

 

 

 

 

 

 

 

58

55

SEG33

O

 

 

 

 

 

 

 

 

 

 

57

54

SEG34

O

 

 

 

 

 

 

 

 

 

 

56

53

SEG35

O

 

 

 

 

 

 

 

 

 

 

55

52

SEG36

O

 

 

 

54

51

SEG37

O

 

 

 

 

 

 

 

 

 

 

53

50

SEG38

O

 

 

 

 

 

 

 

 

 

 

52

49

SEG39

O

 

 

8/26

Loading...
+ 18 hidden pages