The MSM66101 is a high performance microcontroller that employs OKI original nX-8/100 CPU
core. This chip includes a 16-bit CPU, ROM, RAM, I/O ports, multifunction 16-bit timers, 10bit A/D converter, serial I/O port, and pulse width modulator (PWM).
FEATURES
• 64K address space for program memory:Internal ROM : 12K bytes
• 64K address space for data memory:Internal RAM : 384 bytes
• High-speed execution
Minimum cycle for instruction:400ns @ 10MHz
• Powerful instruction set:Instruction set superior in orthogonal matrix
8/16-bit data transfer instructions
8/16-bit arithmetic instructions
Multiplication and division operation
instructions
Bit manipulation instructions
Bit logic instrucitons
ROM table reference instructions
P0: 8-bit input-output port. Each bit can be assigned to input or output.
AD: Outputs the lower 8 bits of program counter during external program memory
fetch, and receives the addressed instruction under the control of PSEN.
Also outputs the address and outputs or inputs data during an external data
memory access instruction under the control of ALE, RD, and WR.
P1.0–P1.7/
A8–A15
I/O
P1: 8-bit input-output port. Each bit can be assigned to input or output.
A: Outputs the upper 8 bits of program counter (PC
memory fetch. Also this pin outputs the upper 8 bits of address during external data
memory access instructions.
P2.0–P2.2
P2.3/CLKOUTCLKOUT:
I/O
P2: 8-bit input-output port. Each bit can be assigned to input or output.
Output pin for supplying a clock to peripheral circuits. Output frequency
range is equal to or twice the system clock.
P2.4/HOLD
P2.5/HLDA
HOLD: Input pin to request the CPU to enter the hardware power-down state.
HLDA: HOLD ACKNOWLEDGE: the HLDA signal appears in response to the HOLD
signal and indicates that the CPU has entered the power-down state.
P2.6
P2.7
P3.0/T
P3.1/R
D
X
D
X
I/O
P3.2/INT0R
P3: 8-bit input-output port. Each bit can be assigned to be an input or an output.
TXD: Serial port transmitter data output pin.
D: Serial port receiver data input pin with high impedance.
Standby control register
Watchdog timer
Peripheral control register
Stop code acceptor
Interrupt request register
Interrupt enable register
External Iinterrupt control register
Port 0 data register
Port 0 mode register
Port 1 data register
Port 1 mode register
Port 2 data register
Port 2 mode register
Port 2 secondary function control register
Port 3 data register
Port 3 mode register
Port 3 secondary function control register
Port 4 data register
Port 4 mode register
Port 4 secondary function control register
Port 5
Timer 0 counter
Timer 0 register
Timer 1 counter
Timer 1 register
SSP
(ASSP)
LRB
(ALRB)
PSWL
(APSW)
PSWH
ACC
SBYCON
WDT
PRPHF
STPACP
IRQ
IE
EXICON
P0
P0IO
P1
P1IO
P2
P2IO
P2SF
P3
P3IO
P3SF
P4
P4IO
P4SF
P5
TM0
TMR0
TM1
TMR1
8/16-bit
Operation
R/W
8/16
W
R/W
W
8/16
R/W
R
R/W16
Reset
FFH
FFH
undefined
C8H
0CH
00H
00H
F8H
00H/WDT
8
is stopped
FDH
"0"
08H
0FH
08H
0FH
FCH
undefined
00H
undefined
00H
undefined
8
00H
C7H
undefined
00H
C0H
undefined
00H
00H
—
00H
00H
00H
00H
00H
00H
00H
00H
I indicates that the register has a nonexistent bit.
Timer 0 control register
Timer 1 control register
Transition detector register
Serial port transmission baud rate generator counter
Serial port transmission baud rate generator register
Serial port transmission baud rate generator control
register
Serial port transmission mode control register
Serial port transmission data buffer register
Serial port receiving mode control register
Serial port receiving data buffer register
Serial port receiving error register
A/D scan mode register
A/D conversion result register 0
A/D conversion result register 1
A/D conversion result register 2
A/D conversion result register 3
A/D conversion result register 4
A/D conversion result register 5
A/D conversion result register 6
A/D conversion result register 7
Symbol
TCON0
TCON1
TRNSIT
STTM
STTMR
STTMC
STCON
STBUF
SRCON
SRBUF
SRSTAT
ADSCAN
ADCR0
ADCR1
ADCR2
ADCR3
ADCR4
ADCR5
ADCR6
ADCR7
R/W
W
R/W
R
R/W
R
8/16-bit
Operation
undefined
8
undefined
undefined
8/16undefined
Reset
00H
00H
00H
00H
0FH
82H
12H
F0H
80H
I indicates that the register has a nonexistent bit.
I indicates that the register has a nonexistent bit.
Symbol
PWMC0
PWMR0
PWMC1
PWMR1
PWCON0
PWCON1
R/W
8/16-bit
operation
8/16
8
Reset
00H
F0H
00H
F0H
00H
F0H
00H
F0H
0CH
0CH
12/28
Page 13
¡ SemiconductorMSM66101
ADDRESSING MODES
The MSM66101 provides independent 64K-byte data and 64K-byte program spaces with
various types of addressing modes. These modes are shown below, for both RAM (for data
space) and ROM (for program space).
1.RAM Addressing Mode (for data space)
1.1Register Direct Addressing
1.2Page Addressing
a) Zero Page
b) Direct Page
Example
Example
Example
ROR
L
ST
A,
DP
18H
A,
off 10H
DP
0000H
SFR
0018H
xx00H
RAM
xx10H
1.3Pointing Register (PR) Indirect Addressing
a) Data Point (DP) Indirect
Example
SLL
[DP]
DP
b) User Stack Pointer (USP) Indirect
Example
SRL
10H
[USP]
–128 to +127
RAM
RAM
USP
13/28
Page 14
¡ SemiconductorMSM66101
c) Index Register (X1, X2) Indirect
Example
INC 300H
[X1]
RAM
X1
0–65535
1.4Immediate Addressing
Example
MOV
#27FHSSP,
2.ROM Addressing Mode (for program space)
2.1Direct Addressing
Example
LC A,
2.2Simple Indirect Addressing
Example
2.3Double Indirect Addressing
Example
DP
LC
200H
[DP]
A,
DP
A, [[DP]]LC
RAM
ROM
0200H
ROM
ROM
2.4Indirect Addressing with 16-bit Offset
Example
CMPC A, [300H [X1]]
0–65535
X1
ROM
14/28
Page 15
¡ SemiconductorMSM66101
MEMORY MAPS
Program Memory Space
0000H
2FFFH
FFFFH
Internal
ROM Area
External
Memory
0000H
0027H
0028H
0037H
0038H
2FFFH
Vector
Table
Area
(40 bytes)
VCAL
Table
Area
(16 bytes)
Data Memory Space
0000H
007FH
Zero
Page
Area
Internal
RAM
Area
External
Memory
Area
0080H
00BFH
00C0H
00FFH
01FFH
FFFFH
0000H
SFR areaSpecial
PR area
007FH
0080H
00BFH
00C0H
Function
Registers
PORT, A/D C,
TIMER, PWM,
etc....
PR0
PR1
PR2
PR3
PR4
PR5
PR6
PR7
80
82
84
86
X1
X2
DP
USP
Low-Order
High-Order
01FFH
15/28
Page 16
¡ SemiconductorMSM66101
ABSOLUTE MAXIMUM RATINGS
(Ta = 25°C)
Parameter
Symbol
Supply Voltage
Input Voltage
Output Voltage
Analog Ref. VoltageV
Analog Input Voltage
Power Dissipation
V
V
V
P
DD
V
REF
AI
I
O
D
per package
Condition
GND = AGND = 0V
64-pin shrink DIP
Ta=85°C
64-pin QFP565
68-pin QFJ1120
Rating
–0.3 to 7.0
–0.3 to V
–0.3 to V
DD
DD
+0.3
+0.3
–0.3 to VDD+0.3
–0.3 to V
REF
930
Unit
V
mW
Ta = 85°C per output
Storage Temperature
T
STG
—
RECOMMENDED OPERATING CONDITIONS
Parameter
Supply Voltage
Memory Hold Voltage
Operating Frequency
Ambient Temperature
Fan Out
Symbol
V
DD
V
DDH
f
OSC
Ta–40 to +85°C
N
TTL load
ConditionRange
f
£ 10MHz
OSC
= 0Hz
f
OSC
V
= 5V ±10%
DD
—
MOS load
P0
P1, P2, P3, P41
50
–55 to +150
4.5 to 5.5
2.0 to 5.5
0 to 10
20
2
°C
Unit
V
MHz
—
16/28
Page 17
¡ SemiconductorMSM66101
ELECTRICAL CHARACTERISTICS
DC Characteristics
= 5V ± 10%, Ta = –40 to +85°C)
(V
DD
ParameterSymbolConditionMin.Max.Unit
"H" Input Voltage 1, 3, 6
"H" Input Voltage 5, 7
"H" Input Voltage 8
"H" Input Voltage 2
"L" Input Voltage 1, 2, 3, 6
"L" Input Voltage 8
"H" Output Voltage 1, 4
"H" Output Voltage 2
"L" Output Voltage 1, 4
"L" Output Voltage 2
Input Leakage Current 3, 6, 7
Input Current 8
"H" Output Current 1
"H" Output Current 2
"L" Output Current 1
"L" Output Current 2
Output Leakage Current 1, 2, 4
Input Capacitance
Output Capacitance
Analog Reference Power
Supply Current
Current Consumption
(during STOP) *
V
V
V
V
IIH/I
I
OH
I
I
C
C
I
REF
I
DDS
OH
OL
OL
LO
IH
IL
IL
I
O
—
—
= –400mA
I
O
= –200mA
I
O
= 3.2mA
I
O
= 1.6mA
I
O
= 2.4V
V
O
VO = V
DD
f = 1MHz
Ta = 25°C
/
0V
A/D in operation
A/D stopped
= 2V
V
DD
—
2.4
4.0
4.2
3.6
–0.3
–0.3
–0.3
4.2
4.2
—
—
—
—
—
–2
–1
10
5
—±2mA
—
—
—
—
—
—
Typ.
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
5
7
0.3
0.5
0.2
1
VDD+0.3
+0.3
V
DD
+0.3
V
DD
+0.3
V
DD
0.8
0.8
0.4
—
—
0.4
0.4
1/–1
1/–20
10/–10
—
—
—
—
—
—
2
10
10
100
V"L" Input Voltage 5, 7
mAVI = VDD/0VInput Current 5
mA
pF
mA
mA
mA
Current Consumption
(during HALT)
I
DDH
f
OSC
= 10MHz
—10
6
No load
Current Consumption
I
DD
—35
20
1 : Applied to P0
2 : Applied to P1, P2,P3 and P4
3 : Applied to P5
4 : Applied to ALE, PSEN, RD, WR and RESOUT
5 : Applied to RES and NMI
6 : Applied to READY and EA
7 : Applied to FLT
8 : Applied to OSC0
* : VDD or GND for ports serving as the input pin. No-load for any other.
mA
17/28
Page 18
¡ SemiconductorMSM66101
AC Characteristics
• External program memory control
=5V±10%, Ta=–40 to +85°C)
(V
DD
ParameterSymbolConditionMin.Max.Unit
Clock (OSC) Pulse
ALE Pulse Width
PSEN Pulse Width
PSEN Pulse Delay Time
Low Address Setup time
Low Address Hold Time
High Address Delay Time
High Address Hold Time
Instruction Setup Time
Instruction Hold Time
t
t
t
t
PAD
t
AAS
t
AAH
t
AAD
t
APH
fW
AW
PW
t
t
—
C
= 50pF
L
IS
IH
3t
4t
2t
t
t
t
t
fW
fW
fW
fW
fW
fW
fW
50
–20
–20
–20
–35
–20
–20
–20
100
0
2t
t
t
t
t
t
fW
fW
fW
fW
fW
fW
—
—
—
—
+20
+20
+40
+40
+40
–20
ns
• External data memory control
ParameterSymbolConditionMin.Max.Unit
Clock (OSC) Pulse
ALE Pulse Width
RD Pulse Width
WR Pulse Width
RD Pulse Delay Time
WR Pulse Delay Time
Low Address Setup Time
Low Address Hold Time
High Address Setup Time
High Address Hold Timet
High Address Hold Timet
Memory Data Setup Timet
Memory Data Hold Timet
Data Delay Timet
Data Hold Time
t
t
t
t
WW
t
RAD
t
WAD
t
AAS
t
AAH
t
AAD
ARH
AWH
t
fW
AW
RW
MS
MH
DD
DH
C
L
—
= 50pF
=5V±10%, Ta=–40 to +85°C)
(V
DD
50
3t
fW
–20
4t
fW
–20
4t
fW
–20
2t
t
t
t
t
t
t
fW
fW
fW
fW
fW
fW
fW
–20
–20
–35
–20
–20
–20
–20
2t
t
t
t
t
t
t
fW
fW
fW
fW
fW
fW
fW
100
0t
t
fW
–20
t
fW
–20
fW
t
fW
t
fW
—
—
—
—
—
+20
+20
+20
+40
+40
+40
+40
–20
+40
+40
ns
18/28
Page 19
¡ SemiconductorMSM66101
CLK
t
t
∆W
ALE
PSEN
∆W
t
AW
t
PAD
t
PW
AD0–7
AD8–15
RD
AD0–7
AD8–15
t
AAD
PC0–7INST0–7
t
AAS
t
AAH
PC8–15
t
RAD
t
RW
RAP0–7
t
AAS
t
AAH
RAP8–15
t
IS
DIN0–7
t
MS
t
t
IH
APH
t
MH
WR
AD0–7
AD8–15
t
t
AAD
AAD
t
WAD
t
WW
RAP0–7DOUT0–7
t
AAS
t
AAH
t
DD
RAP8–15
t
t
t
AWH
APH
DH
19/28
Page 20
¡ SemiconductorMSM66101
• Serial port control
Master mode
(V
=5V±10%, Ta=–40 to +85°C)
DD
ParameterSymbolConditionMin.Max.Unit
Clock (OSC) Pulse Width
Serial Clock Pulse Width
Output Data Setup Time
Output Data Hold Time
Input Data Setup Time
Input Data Hold Time
t
fW
t
SCKW
t
STMXS
t
STMXH
t
SRMXS
t
SRMXH
—50
—
8t
fW
8tfW+40
–20
6t
C
L
=50pF
2t
fW
fW
+10
50
—
—
—
ns
—
—
—
Slave mode
=5V±10%, Ta=–40 to +85°C)
(V
DD
ParameterSymbolConditionMin.Max.Unit
Clock (OSC) Pulse Width
Serial Clock Pulse Width
Output Data Setup Time
Output Data Hold Time
Input Data Setup Time
Input Data Hold Time
t
fW
t
SCKW
t
STSXS
t
STSXH
t
SRSXS
t
SRSXH
—50
—
8t
fW
6tfW+40
–20
6t
C
L
=50pF
fW
100
100
—
—
—
ns
—
—
—
20/28
Page 21
¡ SemiconductorMSM66101
OSC
SCK
SDOUT
(TXD)
SDIN
(RXD)
t
∆W
t
∆W
t
STMXH
t
SCKW
t
STMXS
t
SCKW
ValidValid
t
SRMXH
t
SRMXS
SCK
SDOUT
(TXD)
SDIN
(RXD)
t
SCKW
t
STSXH
t
SCKW
t
STSXS
ValidValid
t
SRSXH
t
SRSXS
21/28
Page 22
¡ SemiconductorMSM66101
A/D Converter Characteristics
• Operating range
ParameterSymbolConditionMin.Max.Unit
f
Power Supply Voltage
Analog Reference Voltage
Analog Input Voltage
Analog Reference Power
Voltage Resistance
Operating Temperature
V
DD
V
R
V
AI
R
R
T
op
£ 10MHz4.5
OSC
V
= GND = 0V
AG
= 5V ± 10%
DD
4.5
V
AG
—
–40
Typ.
—
—
—
16
—V
5.5
V
DD
V
—
+85
R
• A/D Converter accuracy
Normal operation mode
ParameterSymbolCondition
Resolution
Absolute Error
Relative Error
Full Scale Error–1.0——–3.5–3.5
Differential Linearity ErrorE
Crosstalk
See the
n
recommended
E
A
circuit.
V
E
R
E
Z
E
D
E
C
R=VDD
VAG=GND=0V
Analog input source
impedance
F
£5kW
One channel
conversion time
=64ms
t
C
(VDD=5V±10%, f
Min.
*
—
—
—
—
—
—
—
—
—
=10MHz, Ta=–40 to +85°C)
OSC
Typ.Max.
*
—
—
—
10
+3.0
–3.5
±1.5
0Zero Point Error0——+3.0+2.0
–0.5
————
—
—
±0.5
±0.5
+3.0+2.0
——
*
10
+2.0
–3.5
±1.0
V
kW
°C
Unit
Bit
LSB
* V
=5V, Ta=25°C
DD
HALT/HOLD operation mode
(VDD=5V±10%, f
Min.
ParameterSymbolCondition
*
Resolution
Absolute Error
Relative Error
E
E
E
Full Scale Error–1.5——–3.5–2.0
Differential Linearity ErrorE
Crosstalk
* V
DD
=5V, Ta=25°C
E
See the
n
recommended
A
circuit.
V
R
Z
E
F
D
C
R=VDD
VAG=GND=0V
Analog input source
impedance
£5kW
One channel
conversion time
=64ms
t
C
—
—
—
—
—
—
—
—
—
+0.5Zero Point Error+0.5——+2.0+1.0
–1.0
————
—
—
±0.5
=10MHz, Ta=–40 to +85°C)
OSC
Typ.Max.
*
—
—
—
10
+2.0
–3.5
±1.0
+2.0+1.0
±0.5
——
*
10
+1.0
–2.0
±0.5
Unit
Bit
LSB
22/28
Page 23
¡ SemiconductorMSM66101
• Recommended circuit
Reference
Voltage
+
47
0.1
µF
R
I
µF
–
+
~
Analog Input
0.1
µF
RI (Analog input source impedance) £ 5kW
• A/D Converter conversion characteristics 1
V
REF
AI0–7
AGND
V
DD
GND
0.1
µF
+5V
+
47
µF
0V
Conversion Code
[HEX]
3FF
000
E
F
MAX
Actual Conversion (center line)
E
Z
MIN
E
Z
MAX
Analog Input
Conversion Characteristics Diagram 1
E
F
MIN
Ideal Conversion (center line)
Actual Conversion width
REF
[V]
V
23/28
Page 24
¡ SemiconductorMSM66101
Absolute error (EA)
The absolute error indicates a difference between actual conversion and ideal conversion,
excluding a quantizing error. The absolute error of the A/D converter gets larger as it
approaches the zero point or full scale. (See to Conversion Characteristics Diagram 1.)
Relative error (ER)
The relative error indicates a deviation from a line which connects the center point of the zero
point conversion width with that of the full scale conversion width, excluding a quantizing
error.
The relative error of this A/D converter is almost due to a differential linearity error.
Zero point error (EZ) and full scale error (EF)
The zero point error and full scale error indicate a difference between actual conversion and
ideal conversion at the zero point and full scale, respectively. (See Conversion Characteristics
Diagram 1.)
The differential linearity error indicates a difference between the actual conversion width
(actual step width) and ideal value (1LSB).
With this A/D converter, a voltage for actual conversion is shifted and the inclination of a
voltage is changed, with changes of temperature (see Conversion Characteristics Diagram
2-1). Specifications described in the foregoing tables are established from Eta shown in
Conversion Characteristics Diagram 2-1. Conversion Characteristics Diagram 2-2 shows
temperature characteristics of differential linearity error of ES.
24/28
Page 25
¡ SemiconductorMSM66101
PACKAGE DIMENSIONS
(Unit : mm)
SDIP64-P-750-1.78
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
Cu alloy
Solder plating
5 mm or more
8.70 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
25/28
Page 26
¡ SemiconductorMSM66101
(Unit : mm)
QFP64-P-1414-0.80-BK
Mirror finish
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
0.87 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
26/28
Page 27
¡ SemiconductorMSM66101
(Unit : mm)
QFJ68-P-S950-1.27
Mirror finish
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
Cu alloy
Solder plating
5 mm or more
4.50 TYP.
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
27/28
Page 28
¡ SemiconductorMSM66101
(Unit : mm)
ADIP64-C-750-1.78
Notes for Mounting the Surface Mount Type Package
The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which
are very susceptible to heat in reflow mounting and humidity absorbed in storage.
Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the
product name, package name, pin number, package code and desired mounting conditions
(reflow method, temperature and times).
28/28
Loading...
+ 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.