E2E1014-27-Y4
¡ Semiconductor
MSM65516/65P516
¡ Semiconductor
High performance 8-Bit Microcontroller
This
MSM65516/65P516
version: Jan. 1998
Previous version: Nov. 1996
GENERAL DESCRIPTION
The MSM65516 is a high-performance 8-bit microcontroller that employs OKI original nX-8/50
CPU core. With a minimum instruction execution time of 400 ns (10MHz clock), the MSM65516
is capable of high-speed processing, and includes 32K bytes of program memory, 640 bytes of
data memory, timers and serial ports. Also available are the MSM65P516, which replaces the on-
chip program memory with one-time PROM, and the MSM65X516, which uses external
program memory.
FEATURES
• Operating range
Operating frequency
Operating voltage
Operating temperature
• Memory space
Internal program memory
Internal data memory
• Minimum instruction execution time
• Powerful instruction set
: 0 to 10MHz (V
DD
=4.5 to 5.5V)
0 to 5MHz (V
DD
=2.7 to 5.5V)
: 2.7 to 5.5V
: –40 to +85°C
: 64K bytes
: 32K bytes
: 640 bytes
: 400ns @ 10MHz
: 83 basic instructions
8/16-bit operation instructions
Bit manipulation instructions
Compound function instructions
: 8
¥
8
Æ
16
16
÷
8
Æ
16... 8
: 6 ports
¥
8 bits
: 1 port
¥
8 bits
: 8-bit auto-reload timer
¥
2
16-bit auto-reload timer
¥
1
Watchdog timer
¥
1
: Time base counter
¥
1
16-bit free-running counter
¥
1
: 1 channel
: 2 channels
: Shift register
¥
1
Serial port with baud rate generator
(UART/Synchronous)
¥
1
: 3
: 15
: (MSM65516-¥¥¥SS, MSM65P516-¥¥¥SS)
: (MSM65516-¥¥¥GS-BK, MSM65P516-¥¥¥GS-
BK)
: (MSM65516-¥¥¥JS, MSM65P516-¥¥¥JS)
¥¥¥
indicates the code number.
1/23
• Abundant addressing modes
• Multiplication/division operation functions
• I/O port
Input-output port
Input port
• Timers
• Counters
• Capture input
• Compare output
• Serial ports
• External interrupts
• Interrupt sources
• Package
64-pin plastic shrink DIP (SDIP64-P-750-1.78)
64-pin plastic QFP (QFP64-P-1414-0.80-BK)
68-pin plastic QFJ (PLCC) (QFJ68-P-S950-1.27)
BLOCK DIAGRAM
¡ Semiconductor
RAM
(256 bytes)
OSC0
OSC1
RESET
HSTOP*
ROM
(32K bytes)
OSC
CONT.
CPU CORE
INST.
DEC.
V
DD
GND
ALU
IR
8
EXT.MEM.
CONT.
8
8
AD0-7*
A8-15*
RD
WR*
ALE
EA
GMAR
PC
BUS
CONT.
8
RAM
(384 bytes)
TBC
WDT
T/C
8
16-bit TIMER
T2CK*
CAP*
CMP0*
CMP1*
TXD*
RXD*
T1OUT*
T0CK*
GATE*
SFTO*
SFTI*
SFTCK*
INT0*
INT1*
INT2*
AR
BR
PSW
SP
LMAR
16-bit FRC
CAP¥1, CMP¥2
SIO
8-bit TIMER¥3**
MUL/DIV
I/O PORT
8-bit SHIFT-REG.
MSM65516/65P516
INTERRUPT CONT.
P0 P1 P2 P3 P4 P5 P6
* Secondary functions of ports
** One timer is used for the SIO baud rate
generator.
2/23
¡ Semiconductor
MSM65516/65P516
PIN CONFIGURATION (TOP VIEW)
P5.0
P5.1
P5.2
P5.3
P4.0
P4.1
P4.2
P4.3
P4.4
P4.5
P4.6
P4.7
P3.0/T2CK
P3.1/CAP
P3.2/CMP0
P3.3/CMP1
P3.4/INT2
P3.5/SFTO
P3.6/SFTI
P3.7/SFTCK
RESET
P2.0/RXD
P2.1/TXD
P2.2/INT0
P2.3/INT1/GATE
P2.4/T0CK
P2.5/HSTOP
P2.6/WR
P2.7/T1OUT
OSC1
OSC0
GND
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
V
DD
P6.7
P6.6
P6.5
P6.4
P6.3
P6.2
P6.1
P6.0
P5.7
P5.6
P5.5
P5.4
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA
ALE
RD
P1.7/A15
P1.6/A14
P1.5/A13
P1.4/A12
P1.3/A11
P1.2/A10
P1.1/A9
P1.0/A8
64-Pin Plastic Shrink DIP
3/23
¡ Semiconductor
PIN CONFIGURATION (TOP VIEW) (Continued)
P4.4
P4.5
P4.6
P4.7
P3.0/T2CK
P3.1/CAP
P3.2/CMP0
P3.3/CMP1
P3.4/INT2
P3.5/SFTO 10
P3.6/SFTI 11
P3.7/SFTCK 12
RESET
13
P2.0/RXD 14
P2.1/TXD 15
P2.2/INT0 16
,
64 P4.3
63 P4.2
62 P4.1
61 P4.0
60 P5.3
59 P5.2
1
2
3
4
5
6
7
8
9
P2.3/INT1/GATE 17
P2.4/T0CK 18
P2.5/HSTOP 19
P2.6/WR 20
P2.7/T1OUT 21
OSC1
22
MSM65516/65P516
55 P6.7
54 P6.6
53 P6.5
52 P6.4
54 P6.3
50 P6.2
49 P6.1
48 P6.0
47 P5.7
46 P5.6
45 P5.5
44 P5.4
43 P0.0/AD0
42 P0.1/AD1
41 P0.2/AD2
40 P0.3/AD3
39 P0.4/AD4
38 P0.5/AD5
37 P0.6/AD6
36 P0.7/AD7
35
EA
34 ALE
33
RD
P1.7/A15 32
58 P5.1
OSC0 23
57 P5.0
GND 24
P1.0/A8 25
56 V
DD
P1.1/A9 26
P1.2/A10 27
P1.3/A11 28
P1.4/A12 29
P1.5/A13 30
64-Pin Plastic QFP
P1.6/A14 31
4/23
¡ Semiconductor
MSM65516/65P516
PIN CONFIGURATION (TOP VIEW) (Continued)
56 P5.4
55 P0.0/AD0
54 P0.1/AD1
53 P0.2/AD2
52 NC
51 P0.3/AD3
50 P0.4/AD4
49 P0.5/AD5
48 P0.6/AD6
47 P0.7/AD7
60 P6.0
59 P5.7
58 P5.6
57 P5.5
46
EA
45 ALE
P6.1 61
P6.2 62
P6.3 63
P6.4 64
P6.5 65
P6.6 66
P6.7 67
NC 68
V
DD
1
P5.0 2
P5.1 3
P5.2 4
P5.3 5
P4.0 6
P4.1 7
P4.2 8
P4.3 9
44
RD
43 P1.7/A15
42 P1.6/A14
41 P1.5/A13
40 P1.4/A12
39 P1.3/A11
38 P1.2/A10
37 P1.1/A9
36 P1.0/A8
35 NC
34 GND
33 OSC0
32
OSC1
31 P2.7/T1OUT
30 P2.6/WR
29 P2.5/HSTOP
28 P2.4/T0CK
27 P2.3/INT1/GATE
P4.4 10
P4.5 11
P4.6 12
P4.7 13
P3.0/T2CK 14
P3.1/CAP 15
P3.2/CMP0 16
P3.3/CMP1 17
NC 18
P3.4/INT2 19
P3.5/SFTO 20
P3.6/SFTI 21
P3.7/SFTCK 22
RESET
23
P2.0/RXD 24
P2.1/TXD 25
NC: No-connection pin
68-Pin Plastic QFJ (PLCC)
P2.2/INT0 26
5/23