Document
E2E1015-27-Y4
¡ Semiconductor MSM65522/65P522
¡ Semiconductor 8-Bit Microcontroller with A/D Converter
ThisMSM65522/65P522 version: Jan. 1998 Previous version: Nov. 1996
GENERAL DESCRIPTION
The MSM65522 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 MSM65522 is capable of high-speed processing, and includes 8K bytes of program memory, 384 bytes of data memory (RAM), timers, serial ports and an A/D converter on chip. Also available is the MSM65P522, which replaces the on-chip program memory with one-time PROM.
www.DataSheet4U.com
FEATURES
: 1 to 10MHz (VDD=4.5 to 5.5V) 1 to 5MHz (VDD=2.7 to 5.5V) : 2.7 to 5.5V : – 40 to +85°C : : : : 8K bytes 384 bytes 400ns @ 10 MHz 81 basic instructions 8/16-bit operation instructions Bit manipulation instructions Compound function instructions
• Operating range Operating frequency Operating voltage Operating temperature • Memory space Internal program memory Internal data memory • Minimum instruction execution time • Powerful instruction set
• Abundant addressing modes • I/O ports Input only port • Timers
• Counters • Serial ports • A/D converter • External interrupts • Interrupt sources • Package Options 42-pin plastic shrink DIP (SDIP42-P-600-1.78)
: 8-bit ¥ 3 4-bit ¥ 1 : 8-bit ¥ 1 : 8-bit auto-reload timer ¥ 3 (One timer is shared by the baud rate generator. Combining the 8-bit timers, it is possible to use the timers as a 16-bit timer (1 channel).) Watchdog timer ¥ 1 : Time base counter (14-bit) ¥ 1 : Shift register ¥ 1 Serial port with baud rate generator (UART/Synchronous) ¥ 1 : 8 bits ¥ 8 channels : 3 : 11
: (Product name:MSM65522-¥¥¥SS, MSM65P522-¥¥¥SS) 42-pin plastic DIP (DIP42-P-600-2.54) : (Product name:MSM65522-¥¥¥RS, MSM65P522-¥¥¥RS) 44-pin plastic QFP (QFP44-P-910-0.80-2K) : (Product name:MSM65522-¥¥¥GS-2K, MSM65P522-¥¥¥GS-2K) 44-pin plastic QFJ (QFJ44-P-S650-1.27) : (Product name:MSM65522-¥¥¥JS, MSM65P522-¥¥¥JS) ¥¥¥ indicates the code number. * Specifications are subject to change without notice. 1/22
www.DataSheet4U.com
BLOCK DIAGRAM
¡ Semiconductor
ROM (8K bytes)
OSC0 OSC1 RESET HSTOP*
8
OSC. CONT. INST. DEC.
CPU CORE
8
VDD GND TEST
T
ALU C IR
GMAR PC BUS CONT.
RAM (384bytes)
TBC
WDT
8
SIO AR BR PSW SP LMAR
TXD* RXD*
8bit TIMER¥3**
T1OUT* T0CK* GATE* SFTO* SFTI* SFTCK*
8bit ADC ¥8ch
I
O PORT
8bit SHIFT-REG.
MSM65522/65P522
INTERRUPT CONT.
AI0* to AI7* PO P1 P2 P3 P6
INT0* INT1* INT2*
* Indicates the secondary function of the port. ** One of the asterisked items is used in the SIO baud rate generator.
2/22
¡ Semiconductor
MSM65522/65P522
PIN CONFIGURATION (TOP VIEW)
P3.0 P3.1 P3.2 P3.3 P3.4 / INT2 P3.5 / SFT0 P3.6 / SFTI P3.7 / SFTCK RESET
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22
VDD P6.0 / AI0 P6.1 / AI1 P6.2 / AI2 P6.3 / AI3 P6.4 / AI4 P6.5 / AI5 P6.6 / AI6 P6.7 / AI7 TEST P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P1.0 P1.1 P1.2
www.DataSheet4U.com
P2.0 / RXD P2.1 / TXD P2.2 / INT0 P2.3 / INT1/ GATE P2.4 / TOCK P2.5 / HSTOP P2.6 P2.7 / T1OUT P1.3 OSC1 OSC0 GND
42-Pin Plastic Shrink DIP
P3.0 P3.1 P3.2 P3.3 P3.4 / INT2 P3.5 / SFT0 P3.6 / SFTI P3.7 / SFTCK RESET P2.0 / RXD P2.1 / TXD P2.2 / INT0 P2.3 / INT1/ GATE P2.4 / TOCK P2.5 / HSTOP P2.6 P2.7 / T1OUT P1.3 OSC1 OSC0 GND
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22
VDD P6.0 / AI0 P6.1 / AI1 P6.2 / AI2 P6.3 / AI3 P6.4 / AI4 P6.5 / AI5 P6.6 / AI6 P6.7 / AI7 TEST P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P1.0 P1.1 P1.2
42-Pin Plastic DIP 3/22
¡ Semiconductor
MSM65522/65P522
PIN CONFIGURATION (TOP VIEW) (Continued)
44 P3.4 / INT2 34 P6.3 / AI3 35 P6.2 / AI2 37 P6.0 / AI0 36 P6.1 / AI1
39 GND
43 P3.3
42 P3.2
41 P3.1
40 P3.0
P3.5 / SFT0 P3.6 / SFTI P3.7 / SFTCK RESET
1 2 3 4 5 6 7 8 9 10 11
38
VDD
33 32 31 30 29 28 27 26 25 24 23
P6.4 / AI4 P6.5 / AI5 P6.6 / AI6 P6.7 / AI7 TEST P0.0 P0.1 P0.2 P0.3 P0.4 P0.5
www.DataSheet4U.com
P2.0 / RXD P2.1 / TXD P2.2 / INT0 P2.3 / INT1/ GATE P2.4 / TOCK P2.5 / HSTOP P2.6
P2.7 / T1OUT 12
13
15
16
17
18
19
P0.7 21
OSC1 14
OSC0
P1.3
P1.2
NC: No-connection pin 44-Pin Plastic QFP
GND
P1.1
P0.6 22
P1.0 20
NC
4/22
¡ Semiconductor
MSM65522/65P522
PIN CONFIGURATION (TOP VIEW) (Continued)
P6.4 / AI4
P6.5 / AI5
P6.6 / AI6
P6.7 / AI7
TEST
P0.0
P0.1
P0.2
P0.3
P0.4
39 38 37 36 35 34 33 32 31 30 29 P6.3 / AI3 P6.2 / AI2 P6.1 / AI1 40 41 42 43 44 1 2 3 4 5 6 7 P3.5 / SFT0 8 P3.6 / SFTI 9 P3.7 / SFTCK 10 11 12 13 14 15 16 17 P2.3 / INT1/ GATE P2.0 / RXD P2.1 / TXD P2.2 / INT0 P2.4 / TOCK RESET P2.5 / HSTOP P2.6 28 27 26 25 24 23 22 21 20 19 18 NC P0.6 P0.7 P1.0 P1.1 P1.2 GND OSC0 OSC1 P1.3 P2.7 / T1OUT
www.DataSheet4U.com
P6.0 / AI0 VDD P3.0 P3.1 P3.2 P3.3 P3.4 / INT2 NC
NC: No-connection pin 44-Pin Plastic QFJ
P0.5
5/22
¡ Semiconduct.