The OKI MSM80C31F/MSM80C51F microcontroller is a low-power, 8-bit device implemented
in OKI's silicon-gate complementary metal-oxide semiconductor process technology. The
device
data RAM, 32 I/O lines, two 16-bit timer/counters, a five-source two-level interrupt
structure, a full duplex
has two software selectable modes for further power reduction — Idle and Power Down. Idle
mode freezes the CPU's in-struction execution while maintaining RAM and allowing the timers,
serial port and interrupt system to continue functions. Power Down mode saves the RAM
contents but freezes the oscillator causing all other device functions to be inoperative.
includes 4K bytes of mask programmable ROM (MSM80C51F only), 128 bytes of
serial port, and an oscillator and clock circuitry. In addition, the device
FEATURES
• Low power consumption by 2 mm silicon gate CMOS process technology
• Fully static circuit
• Internal program memory:4K bytes (MSM80C51F)
• External program memory space:64K bytes
• Internal data memory (RAM):128 bytes
• External data memory (RAM) space:64K bytes
• I/O ports:8-bit ¥ 4 ports
• Two 16-bit timer/counters
• Multifunctional serial port (UART)
• Five interrupt sources (Priority can be set)
• Four sets of working registers (R0-7 ¥ 4)
• Stack:Internal data memory (RAM)
128-byte area can be used arbitrarily (by SP specified)
• Two CPU power-down modes
(1) Idle mode:CPU stopped while oscillation continued.
(Software setting)
(2) PD mode:CPU and oscillation all stopped.
(Software setting)
(Setting I/O ports to floating status possible)
• Emulation mode
Output impedance of ALE and PSEN pins becomes about 20 kW while CPU is being reset in
MSM80C31F/MSM80C51F.
Any other functions and electrical characteristics of MSM80C31F/MSM80C51F except for
above three differences are the same as those of MSM80C31/MSM80C51.
Ground potential
Supply voltage during Normal, Idle and Power Down operation
Port 0 is an 8-bit open-drain bidirectional I/O port. It is also the mutiplexed low-order address
and data bus during accesses to external memory.
Port 1 is an 8-bit bidirectional I/O port with internal pull-ups. It can drive CMOS inputs without
external pull-ups.
Port 2 is an 8-bit bidirectional I/O port with internal pull-ups. It outputs the high-order address
byte during accesses to external memory. It can drive CMOS inputs without external pull-ups.
Port 3 is an 8-bit bidirectional I/O port with internal pull-ups. It also provides various special
Port 3 can drive CMOS inputs without external pull-ups.
Reset input pin. A reset is accomplished by holding the RESET pin high for at least 1ms.
even if the oscillator has been stopped. The CPU responds by executing an internal reset. An
internal pull-down resistor permits Power-On reset using only a capacitor connected to V
CC
.
This pin does not receive the power down voltage since the function has been transferred to the
pin.
V
CC
Address Latch Enable. This output latches for latching the low byte of the address during
accesses to external memory. For this purpose, ALE is activated twice every machine cycle or
at a constant rate of 1/6th the oscillator frequency, except during an external memory access at
which time one ALE pulse is skipped. ALE can drive CMOS inputs without an external pull-up.
Program Store Enable output. This output is the read strobe to external program memory.
For this purpose, PSEN is activated twice every machine cycle. (However, when executing out
of external program memory, two activations of PSEN are skipped during each access to
external data memory.) PSEN is not activated during fetches from internal program memory.
It can drive CMOS inputs without an external pull-up.
External Access input pin. When EA is held high, the CPU executes out of internal program
memory (unless the program counter exceeds 0FFFH).
When EA is held low, the CPU executes only out of external program memory.
EA must not be floated.
Crystal 1 pin. It is an input to the inverting amplifier which forms the internal oscillator.
Crystal 2 pin. It is an output of the inverting amplifier that forms the internal oscillator.
8/38
¡ SemiconductorMSM80C31F/80C51F
DATA MEMORY AND SPECIAL FUNCTION REGISTER LAYOUT DIAGRAM
Not Bit Addressable
Not Bit Addressable8CHTH0
Not Bit Addressable
Not Bit Addressable
Not Bit Addressable
Not Bit Addressable87HPCON
Not Bit Addressable83HDPH
Not Bit Addressable
Not Bit Addressable
11/38
¡ SemiconductorMSM80C31F/80C51F
INSTRUCTION LIST
List of Instruction Symbols
A: Accumulator
AB: Register pair
AC: Auxiliary carry flag
B: Arithmetic operation register
C: Carry flag
DPTR: Data pointer
PC: Program counter
Rr: Register indicator (r = 0 to 7)
SP: Stack pointer
AND: Logical product
OR: Logical sum
XOR: Exclusive-OR
+: Addition
–: Subtraction
X: Multiplication
/: Division
(X): Denotes the contents of X
((X)): Denotes the contents of address determined by the contents of X
#: Denotes the immediate data
@: Denotes the indirect address
=: Equality
⫽: Non-equality
¨: Substitution
Æ: Substitution
—: Negation
<: Smaller than
>: Larger than
bit address: RAM and the special function register bit specifier address (b0 to b7)
code address : Absolute address (A0 to A15)
data: Immediate data (I0 to I7)
relative offset : Relative jump address offset value (R0 to R7)
direct address : RAM and the special function register byte specifier address (a0 to a7)
12/38
Loading...
+ 27 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.