The MSM66507/66P507 is a high-performance 16-bit microcontroller that employs OKI
original nXThe MSM66507/66P507 includes a 16-bit CPU, ROM, RAM, a 10-bit A/D converter, serial ports,
flexible timers, a pulse-width modulator (PWM), and I/O ports.
FEATURES
• Program memory space: 64K bytes
Internal ROM: 48K bytes
• Data memory space: 64K bytes
Internal RAM: 1.5K bytes
• High-speed execution
Minimum instruction execution time:167ns (@24MHz)
• Powerful instruction set: Instruction set superior in orthogonal matrix
• Abundant addressing modes: Register addressing
• I/O port
Analog input port: 1 port ¥ 10 bits
Input-output port: 7 ports ¥ 8 bits, 1 port ¥ 3 bits
(Each bit can be assigned to input or output.)
• Flexible timers
Free run counters: 19-bit ¥ 1, 16-bit ¥ 1
19-bit CAP with a divider: 4
16-bit double buffer RTO: 4
16-bit RTO/PWM: 2
16-bit CAP/RTO: 2
• 8-bit general timer: 1
8-bit event counter: 1
• 16-bit PWM: 4
Input clock divider: 2
• Serial ports
UART mode with BRG: 1
Synchronous/UART switchable mode
with BRG: 1
• 10-bit A/D converter: 10 channels
8/500 CPU core.
8/16-bit data transfer instructions
8/16-bit arithmetic instructions
Multiplication and division operation instructions
Bit manipulation instructions
Bit logic operation instructions
ROM table reference instructions
P0: 8-bit Input-output port. Each bit can be assigned to input or output.
AD: When an external memory is used, these pins output the lower 8 bits of the
address. These pins also input or output the data.
P1: 8-bit Input-output port. Each bit can be assigned to input or output.
A: When an external memory is used, these pins output the upper 8 bits of the
address.
P2: 8-bit Input-output port. Each bit can be assigned to input or output.
RTO: Output pin for real time output
FTM10: Capture input pin or real time output pin
P3: 8-bit Input-output port. Each bit can be assigned to input or output.
FTM11A: Capture input pin or real time output pin
FTM11B-D: 4-port real time output pin
CAP : Capture input pin
P4: 8-bit Input-output port. Each bit can be assigned to input or output.
ETMCK: External clock input pin of 8-bit general timer
ECTCK: External clock input pin of 8-bit event counter
TRNS: Transition detector input pin
P5: 3-bit Input-output port. Each bit can be assigned to input or output.
P6.0/INT0
P6.1/INT1
P6.2/RXD1
P6.3/TXD1
P6.4/RXC1
P6.5/TXC1
P6.6/RXD0
P6.7/TXD0
P7.0/WR
P7.1/RD
P7.2/WAIT
P7.3/CLKOUT
P7.4-P7.7/
PWM0-PWM3
AI0-AI9Analog signal input only pin for A/D converter
AV
DD
V
REF
AGNDGND input pin for A/D converter
I/O
I/O
I
I
I
I
P6: 8-bit Input-output port. Each bit can be assigned to input or output.
INT0, 1: External interrupt request input pin
RXD1 : SCI1 Receiver data input pin
TXD1 : SCI1 Transmitter data output pin
RXC1 : SCI1 Receiver circuit clock pin
TXC1 : SCI1 Transmitter circuit clock pin
RXD0 : SCI0 Receiver data input pin
TXD0 : SCI0 Transmitter data output pin
P7: 8-bit Input-output port. Each bit can be assigned to input or output.
WR: Write strobe output pin for external data memory
RD: Road strobe output pin for external data memory
WAIT: CPU wait request input pin when accessing external data memory
CLKOUT: Output pin for supplying a clock to peripheral circuits
PWM: PWM output pin
Power supply input pin for A/D converter
Reference voltage input pin for A/D converter
OSC0Basic clock oscillation pin
OSC1Basic clock oscillation pin
I
O
5/24
¡ SemiconductorMSM66507/66P507
PIN DESCRIPTION (Continued)
SymbolTypeDescription
ALE
O
Timing pulse output pin to latch the lower 8 bits of the address output from port
0 when the CPU accesses the external memory
PSENStrobe pulse output pin to fetch to external program memory
OE
NMINonmaskable interrupt request input pin
RES
EA
V
DD
GNDGround pin
O
Normally, when P0, P1, and P7.4-P7.7 are in an output state and the OE pin is
"H" level, the ports go to a high impedance state. When OE pin is "L" level,
I
I
I
I
I
I
the ports output "H" or "L" level. However, when P0, P1, and P7.4-P7.7 are in
an input state, these ports are not under the influence of OE pin.
RESET input pin
Low-active reset input pin
Normally set to "H" level. If set to "L" level, the program memory goes to external
access mode and accesses external program memory.
Power supply pin
6/24
¡ SemiconductorMSM66507/66P507
REGISTERS
Accumulator
Control Register (CR)
Program Status Word
Program Counter
Local Register Base
150
ACC
150
PSW
Bit 15 : Carry flag (CY)
Bit 14 : Zero flag (ZF)
Bit 13 : Half carry flag (HC)
Bit 12 : Data descriptor (DD)
Bit 11 : Sign flag (S)
Bit 10 : Master interrupt priority flag (MIP)
Bit 9 : Overflow flag (OV)
Bit 8 : Master interrupt enable flag (MIE)
Bit 7-3 : User flag
Bit 2-0 : System control base 2-0 (SCB2-0)
150
PC
LRB
System Stack Pointer
Pointing Register (PR)
Index Register 1
Index Register 2
Data pointer
User Stack Pointer
RAM ready control register
ROM ready control register ROMRDYFF
Stop code acceptor
Standby control registerSBYCONC8
Peripheral control registerPRPHF*
Watchdog timerWDT
TBC Clock dividing counter
TBC Clock dividing registerTBCKDVRF0
Port 0 data register
Port 1 data register
Port 2 data register
Port 3 data register
Port 4 data register
Port 5 data register
Port 6 data register
Port 7 data register
Port 0 mode register
Port 1 mode register
Port 2 mode register
Port 3 mode register
Port 4 mode register
Port 5 mode register
Port 6 mode register
Port 7 mode register
Note:A I mark in the address column shows that there is a bit that does not exist in its register.
*The initial values of PRPHF (SFR=18H) are as follows :
When RES pin is reset : VBFF (bit 6) is set to "1" and CKOUT1 and 0 are set to "0".
When reset by the WDT or BRK instruction or by operation code trap : VBFF (bit 6) keeps the
value just before reset and CKOUT 1 and 0 are set to "0". In any cases, the state of the OE pin
is read for OERD (bit 7).
8/24
Loading...
+ 16 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.