The MSM65X227 is a high-performance, 8-bit microcontroller that employs OKI original
CPU core, the nX-8/50. The MSM65X227 includes a minimum instruction execution time of
667 ns (@6 MHz) that enables high-speed processing. It has 60K-byte program memory
space, internal 4K bytes of EEPROM (general memory space), 1K-byte data memory (384
bytes for local memory space and 640 bytes for general memory space), a timer, a serial port
and an A/D converter. The MSM65X227, which has no internal program ROM, is provided
with the special time-division data/address bus that can be connected to an extrernal
program ROM.
FEATURES
• Operating range
Operating frequency:0 to 6MHz
Operating voltage:4.5 to 5.5V
Operating temperature:– 40 to +85°C
• Memory space:128K bytes
Program memory space:60K bytes
Internal EEPROM:4K bytes
Internal data memory:1K bytes
• Minimum instruction execution time:667ns @ 6MHz
• Ample instruction set:81 basic instructions
8/16-bit operation instructions
Bit manipulation instructions
Complex function instructions
• Ample addressing modes
• Timer:8-bit auto-reload timer ¥ 2 (one is shared
with the baud rate generator)
Watchdog timer ¥ 1
• Counter:Time base counter ¥ 1
• Serial port:Serial port ¥ 1 (UART/clock synchronous
Digital power supply (5V)
Digital ground
Analog power supply (5V)—
Analog reference voltage (5V)—
Analog reference voltage (ground)—
System reset input:
When this pin goes into the "L" state, the internal state is
I
initialized and the execution of an instruction starts from address
0040H. The input is pulled up to V
with an internal pull-up
DD
resistor.
External write enable pin :
Sampled at a system reset and enables external EEPROM write
and read during the "L" level.
Control
RDO
WRO
ALEO
AD0 - AD7I/O
A8 - A16O
Read signal at external memory access:
Read cycle in memory is indicated when the signal goes into the
"L" level during external memory access.
Write-signal during external memory access:
Write cycle in memory is indicated when the signal goes into the
"L" level during external memory access.
Address latch signal at external memory access:
The MSM65X227 uses a time dividing address/data bus. This
signal uses the lower 8 bits of the address as a strobe signal to
latch the external latch circuit.
8-bit address/data bus:
Address/data bus performs lower 8-bit address output,
instruction fetch or data read/write along with the ALE, RD and
WR pins.
9-bit address bus:
Address bus for the upper 9 bits.
4/18
Basic Functions (Continued)
MSM65X227¡ Semiconductor
Function
Port
SymbolTypeDescription
8-bit input-output port (Port 0):
P0.0 - P0.7
P1.0 - P1.7
I/O
I/O
I/OP2.0 - P2.7
I/OP3.0 - P3.7
Users can specify input or output at each bit with the port 0
direction register (P0DIR).
8-bit input-output port (Port 1):
Users can specify input or output at each bit with the port 1
direction register (P1DIR).
In the input mode, ports can be set as inputs with a pull-up
resistor at each bit.
A secondary function shown in the next table is assigned at the
P1.7 pin.
8-bit input-output port ( Port 2):
Users can specify input or output at each bit by the port 2
direction register (P2DIR).
Each pin of Port 2 is assigned a secondary function shown in the
next table.
8-bit input-output port (Port 3):
Users can specify input or output at each bit by the port 3
direction register (P3DIR).
A secondary function shown in the next table is assigned at the
P3.0 pin.
8-bit input-output port (Port 4):
I/OP4.0 - P4.7
I/OP5.0 - P5.3
IP6.0 - P6.3
Users can specify input or output at each bit with the port 4
direction register (P4DIR).
4-bit input-output port (Port 5):
Users can specify input or output at each bit with the port 5
direction register (P5DIR).
4-bit input port (Port 6):
Each pin of Port 6 functions as an analog input channel during
A/D conversion.
5/18
Secondary Functions
FunctionSymbolTypeDescription
Secondary function of P1.7:
External
Interrupt
Control
INT0I
INT1I
HSTOPI
Input pin of external interrupt 0. "Receive" is enabled at
rising/falling edges or at the "L" level.
Secondary function of P2.0:
Input pin of external interrupt 1. "Receive" is enabled at
rising/falling edges or at the "L" level. Can also be used as a gate
signal input pin that enables/disables the count of Timer 0.
Secondary function of P3.0:
Hardware stop mode input pin. Changes to hardware stop mode
by setting this pin to the "L" level when the HSTP bit of SBYCON
is 1. In hardware stop mode, the oscillation of OSC is halted to
reduce power consumption.
MSM65X227¡ Semiconductor
Timer 0
Timer 1
Serial Port
A/D Converter
T0CK
T1OUT
RXD
O
I/O
OTXD
I
IAI0 - AI3
Secondary function of P 2.1:
External clock input pin of Timer 0.
Secondary function of P 2.2:
This pin outputs a waveform with a period equal to two times of
overflow of Timer 1.
Secondary function of P 2.3:
As UART: Receive data input pin of asynchronous
communication.
As clock synchronization: Send/receive data input-output pin of
clock synchronous communication.
Secondary function of P 2.4:
As UART: Send data output pin of asynchronous
communication.
As clock synchronization: Synchronized clock output pin of
clock synchronous communication.
Secondary function of P 6.0 to P 6.3:
Functions as an analog input channel at A/D conversion.
6/18
Loading...
+ 12 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.