High speed and High performance 4-Bit Microcontroller
GENERAL DESCRIPTION
The MSM6408 microcontroller is a low-power, single-chip device implemented in complementary
metal-oxide semiconductor technology.
The MSM6408 is optimized for high-speed processing and complicated-control applications, in
which conventional microcontrollers are difficult to use.
FEATURES
• Mask ROM: 8096 words ¥ 8 bits
• RAM (including the stack area): 256 words ¥ 4 bits
• I/O port
Input-output port: 8 ports ¥ 4 bits
Input port: 1 port ¥ 4 bits
4 bits are for input ports having a latch; the other 32 bits are for input/output ports that
allow bit manipulation
• Three built-in counters: 12-bit time-base counter
• Built-in 8-bit serial I/O register (with 3-bit counter)
• Five interrupts with five priority levels (4 internal, 1 external)
• 32 stack levels (in RAM)
• Power down features
• Minimum instruction execution time : 1.0 ms @ 4.0 MHz clock
• Instruction systems suitable for control
• Fully static operation
• Low power consumption
• Single 5 V power supply
• Package options:
42-pin plastic DIP (DIP42-P-600-2.54) (Product name : MSM6408-¥¥¥RS)
44-pin plastic QFP (QFP44-P-910-0.80-K) (Product name : MSM6408-¥¥¥GS-K)
44-pin plastic QFP (QFP44-P-910-0.80-2K) (Product name : MSM6408-¥¥¥GS-2K)
¥¥¥ indicates a code number.
1/19
Page 2
BLOCK DIAGRAM
MSM6408¡ Semiconductor
P8
3210
16 ¥ 16 ¥ 4 bits
P7
3210
P6
3210
RAM
DEC
HSPL
P5
3210
P9 8-bit T/C12-bit Timer
P4
3210
P3
3210
C
PA 8-bit SR
P2
3210
INT
P1
3210
TCK
ACC
ALU
CIN
TMO
P0
3210
SCK, CTO, CLK
SO
SI
INSTR
Interrupt
Control
12-bit TBC
DEC
F
PC INTE
PD IRQ
ROM
8096 ¥ 8 bits
DEC
120
PC
PB
Timing
&
Control
OSC
0
OSC
1
TEST
RESET
V
DD
GND
2/19
Page 3
PIN CONFIGURATION (TOP VIEW)
MSM6408¡ Semiconductor
P4.0
P4.1
P4.2
P4.3
P3.0
P3.1
P3.2
P3.3
OSC
OSC
RESET
TEST
P2.0
P2.1
P2.2
P2.3
P0.0
P0.1
P0.2
P0.3
1
2
3
4
5
6
7
8
9
0
10
1
11
12
13
14
15
16
17
18
19
20
21GNDP1.022
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
V
DD
P5.3
P5.2
P5.1
P5.0
P6.3
P6.2
P6.1
P6.0
P7.3
P7.2
P7.1
P7.0
P8.3
P8.2
P8.1
P8.0
P1.3
P1.2
P1.1
42-Pin Plastic DIP
3/19
Page 4
PIN CONFIGURATION (TOP VIEW) (continued)
MSM6408¡ Semiconductor
P3.1
P3.2
P3.3
OSC
OSC
RESET
TEST
P2.0
P2.1
P2.2
P2.3
P3.0
P4.3
P4.2
P4.1
44
43
42
41
1
2
3
4
0
5
1
6
7
8
9
10
11
12
13
14
15
P0.0
P0.1
P0.2
P0.3
P4.0
40
16
GND
DD
V
39
17
NC
P5.3
38
18
P1.0
P5.2
37
19
P1.1
P5.1
36
20
P1.2
P5.0
35
21
P1.3
P6.3
34
22
P8.0
33
32
31
30
29
28
27
26
25
24
23
P6.2
P6.1
P6.0
NC
P7.3
P7.2
P7.1
P7.0
P8.3
P8.2
P8.1
NC : No-connection pin
44-Pin Plastic QFP
4/19
Page 5
MSM6408¡ Semiconductor
PIN DESCRIPTIONS
SymbolTypeDescriptionDuring reset
P0.0
P0.1/SCK
P0.2/SO
I/O
P0.3/SI
P1.0/CIN
P1.1/TMOP1.1 is shared with timer output (TMO).
P1.2/TCK
I/O
P1.3
P2.0/INT
P2.1
I
P2.3
P3.0 to 3.3
P4.0 to 4.3
P5.0 to 5.3
P6.0 to 6.3
P7.0 to 7.3
OSC
0
OSC
1
I/O
I/O
I/O
I/O
I/O
I/O
I
O
P0.1 is shared with serial clock (SLK) input/output.
P0.2 is shared with serial data (SO) output.
P0.3 is shared with serial data (SI) input.
P1.0 is shared with counter input (CIN).
P1.2 is shared with timer clock input (TCK).
P2.0 is shared with external interrupt input (INT).
Input ports with a latch, with built-in pull-up resistor.P2.2
—
—
—
—
—
—
Crystal connection pins for clock oscillation.
The latch is
reset.
Oscillation
waveform
"1"
"1"
"1"
"0"
"0"
"0"
"0"
"0"P8.0 to 8.3
TEST
RESET
V
DD
—
O
I
Input pin for system reset.
Power supply voltage pins.
GND
Note:1. The pins except for pins P2.0 to P2.3 are pseudo bidirectional ports.
2. When each port is used for output, the MSM6408 can drive one TTL (one input).
Pulse output(Test pin for manufacturer)
—
—
5/19
Page 6
INSTRUCTION LIST
MnemonicByteDescriptionCodeCycle
LAI n1A¨n9n1
LLI n1L¨n8n1
LHLI nn2HL¨nn15nn2
LMI nn2M(w)¨nn14nn2
LAL1A¨L211
LLA1L¨A2D1
LAH1A¨H221
LHA1H¨A2E1
LAM1A¨M381
LMA1M¨A2F1
LAM+1A¨M, L¨L + 1,Skip if L = 0241
LAM–1A¨M, L¨L – 1,Skip if L = F251
LMA+1M¨A, L¨L + 1,Skip if L = 0261
LMA–1M¨A, L¨L – 1,Skip if L = F271
Load, Push, PopExchange
LAMM n
LAMD mm2A¨Md10mm2
LMAD mm2Md¨A11mm2
LMTD mm2Md(w)¨T (M(w), A), T = ROM table19mm3
LMCT2M(w)¨CT3E592
LCTM2CT¨M(w)3E512
LMSR2M(w)¨SR3E5A2
LSRM2SR¨M(w)3E522
LTMM2TM¨(M(w), A)3E502
PUSH1ST¨C, A, H, L, SP¨SP – 41C3
POP1C, A, H, L, ¨ST SP¨SP + 41D3
X1A´M281
XM n
X+1A´M, L¨L+1, Skip if L = 03C1
X–12C1
INA1A¨A + 1, Skip if A = 0301
INM1A¨M + 1, Skip if M = 0331
INL1L¨L + 1, Skip if L = 0311
Decrement
Increment/
2
2
39-3B1
29-2B1
1A¨M, H¨H n
1A´M, H¨H n
MSM6408¡ Semiconductor
2
2
A´M, L¨L–1, Skip if L = F
6/19
Page 7
INSTRUCTION LIST (continued)
MnemonicByteDescriptionCodeCycle
INH1H¨H + 1, Skip if M = 0321
INMD mm2Md¨Md + 1, Skip if Md = 012mm2
DCA1A¨A – 1, Skip if A = F341
DCM1M¨M – 1, Skip if M = F371
DCL1L¨L – 1, Skip if L = F351
DCH1H¨H – 1, Skip if H = F361
Increment/DecrementBit manipulation
DCMD mm2Md¨Md – 1, Skip if Md = F13mm2
ADS1A¨A + M, Skip if Cy = 1021
ADCS1A, C¨A + M + C, Skip if Cy =1011
ADC1A, C¨A + M + C031
AIS n2A¨A + n, Skip if Cy = 13E4n2
DAA1A¨A + 6061
DAS1A¨A + 100A1
AND1A¨A M0D1
OR1A¨A M051
EOR1A¨A M041
ArithmeticCompare
CMA1A¨A0B1
CIA1A¨A + 10C1
RAL1Rotate left with C0E1
RAR1Rotate right with C0F1
TC1Skip if C = 1091
SC1C¨1071
RC1C¨0081
CAI n2Skip if A = n3E0n2
CLI n2Skip if L = n3E2n2
CPI p, n2Skip if Pp = n17pn2
CMI n2Skip if M = n3E1n2
CAM1Skip if A = M161
TAB n
2
RAB n
2
SAB n
2
TMB n
2
RMB n
2
154-571
1Abit (n2)¨064-671
1Abit (n2)¨174-771
1Skip if Mbit (n2) = 158-5B1
1Mbit (n2)¨068-6B1
MSM6408¡ Semiconductor
Skip if Abit (n2) = 1
7/19
Page 8
INSTRUCTION LIST (continued)
MnemonicByteDescriptionCodeCycle
SMB n1Mbit (n
TFB n
2
RFB n
2
SFB n
2
TPB n
2
RPB n
2
SPB n
Bit manipulation
Interrupt
2
TPBD pn
RPBD pn
SPBD pn
2
2
2
0-3
4-7
MEI2MEIF¨13E602
MDI2MEIF¨03E612
EITB2EITBF¨13DC92
EITM2EITMF¨13DCA2
EICT2EICTF¨13DCB2
EIEX2EIEXF¨13DC82
DITB2EITBF¨03DC52
DITM2EITMF¨03DC62
DICT2EICTF¨03DC72
DIEX2EIEXF¨03DC42
TITB2Skip if EITBF = 13DC12
TITM2Skip if EITMF = 13DC22
TICT2Skip if EICTF = 13DC32
TIEX2Skip if EIEXF = 13DC02
TQEX2Skip if IRQEX = 13D202
TQTB2Skip if IRQTB = 13DD02
TQTM2Skip if IRQTM = 13DD12
TQCT2Skip if IRQCT = 13DD22
TQSR23DD32
RQEX23D242
RQTB23DD42
RQTM23DD52
RQCT23DD62
RQSR23DD72
)¨178-7B1
2
1Skip if Fbit (n2) = 15C-5F1
1Fbit (n2)¨06C-6F1
1Fbit (n2)¨17C-7F1
1Skip if Pbit (n2) = 150-531
1Pbit (n2)¨060-631
1Pbit (n2)¨170-731
2Skip if Ppbit (n2) = 130 p
2Ppbit (n2) = 03D p
2
2
2Ppbit (n2) = 13D p8-B2
Skip if IRQSR = 1
IRQ EX¨0
IRQ TB¨0
IRQ TM¨0
IRQ CT¨0
IRQ SR¨0
MSM6408¡ Semiconductor
8/19
Page 9
INSTRUCTION LIST (continued)
MnemonicByteDescriptionCodeCycle
ECT2CTF¨1 (start)3DBB2
ESR2SRF¨1 (start)3DBA2
DCT2CTF¨0 (stop)3DB72
control
DSR2SRF¨0 (stop)3DB62
TCT2Skip if CTF = 13DB32
TSR2Skip if SRF = 13DB22
Counter/Shift register
JCP a
6
JP a
12
LJP a
13
CZP a1ST¨PC + 1, PC¨2a, SP¨SP – 4Ba4
CAL a
Branch
12
RT1PC¨ST, SP¨SP + 4IE4
RTS1PC¨ST, SP¨SP + 4, Unconditional skipIF4
JA1PC¨(PC¨A) + 1IA1
JM1PC¨(M(w), A)IB2
IP1A¨P201
IPD p2A¨Pp3DpD2
OP1P¨A231
Input/Output
OPD p2Pp¨A3DpC2
NOP1No operation001
HALT2Halt CPU3DB82
CPU
control
STOP2Stop clock3DB92
C0-FF1
4a
12
3F4
12
1PC¨a
2PC¨a
2
3PC¨a
2ST¨PC + 2, PC¨a12, SP¨SP – 4Aa
4
MSM6408¡ Semiconductor
6
12
13
Notes: a: ROM address data
m : RAM address data
n : Immediate data
p : Port address data
9/19
Page 10
ABSOLUTE MAXIMUM RATINGS
ParameterSymbolConditionRatingUnit
Power Supply VoltageV
Input VoltageV
Output VoltageV
DD
I
O
Ta = 25°C
Ta = 25°C per package200mW
Power DissipationP
Storage TemperatureT
D
STG
Ta = 25°C per output50mW
—–55 to +150°C
RECOMMENDED OPERATING CONDITIONS
ParameterSymbolConditionRangeUnit
f
£ 1 MHz3 to 6V
Power Supply VoltageV
Data-Hold VoltageV
DDH
Operating TemperatureT
Fan OutN
DD
op
OSC
f
£ 4.0 MHz
OSC
f
= 0 Hz2 to 6
OSC
—
MOS load15
TTL load1
MSM6408¡ Semiconductor
–0.3 to +7V
–0.3 to V
–0.3 to V
4.5 to 5.5V
–40 to +85°C
DD
DD
V
V
V
—
10/19
Page 11
ELECTRICAL CHARACTERISTICS
DC Characteristics
(V
= 5 V ±10%, Ta = –40 to +85°C)
DD
ParameterSymbolConditionMin.Typ.Max.Unit
"H" Input VoltageV
"H" Input VoltageV
"L" Input VoltageV
"H" Output VoltageV
"L" Output Voltage
"L" Output Voltage
Input CurrentI
Input Current——1/–30
"H" Output CurrentI
"H" Output Current
Input CapacitanceC
Output CapacitanceC
Power Supply Current
(In Stopped State)
Power Supply CurrentI
*1,*2
*3,*4
*1,*5
*1
*5
*3
*2,*4
*1
*1
V
V
IH/IIL
I
IH/IIL
OH
I
OH
I
DDS
DD
IH
IH
IL
OH
OL
OL
—2.4—V
—3.6—V
—–0.3—+0.8V
IO = –15 mA4.2——V
IO = 1.6 mA——0.4V
IO = 15 mA——0.4V
VI = VDD/0 V——15/–15mA
VI = VDD/0 VmA
VO = 2.4 V–0.1——mA
VO = 0.4 V——–1.2mA
I
O
f = 1 MHz, Ta = 25°C
V
= 2 V, no load, Ta = 25°C
DD
—5—
—7—
—0.25mA
No load—1100mA
Crystal oscillation
f = 4 MHz, no load
—612mA
DD
DD
MSM6408¡ Semiconductor
V
V
pF
*1 Applied to P0, P1, P3, P4, P5, P6, P7 and P8
*2 Applied to P2
*3 Applied to OSC
0
*4 Applied to RESET
*5 Applied to OSC
1
11/19
Page 12
AC Characteristics
ParameterSymbolConditionMin.Typ.Max.Unit
Clock (OSC
Cycle Timet
Input Data Setup Timet
Input Data Hold Timet
SR/TM Clock Pulse Widtht
CT Clock Pulse Width
P2 Input Data Clock Pulse Widtht
SR Data Setup Timet
SR Data Hold Timet
Data Delay Timet
Data Delay Time at Mode
Switching
Data Delay Time at OPT
Instruction
Data Delay Time at OPT
Instruction
CT/TM Data Delay Time Using
TBC Clock
SR/TM Data Delay Time Using
PORT Clock
CT Data Delay Time Using
PORT Clock
CT Data Delay Time Using
External Clock
SR/TM Data Delay Time Using
External Clock
SR Clock Invalid Time
INT Invalid Time
) Pulse Widtht
0
f
W
CY
DS
DH
WS/tWT
t
WC
WP
SS
SH
DR
t
DCR
t
DI1
t
DI2
t
CT/tTT
t
SR/tTR
t
CR
t
CP
t
SP/tTP
t
SINH
t
IINH
MSM6408¡ Semiconductor
= 5 V ±10%, Ta = –40 to +85°C)
(V
DD
—125——ns
CY
m
ns
ns
ns
ns
ns
ns
—1——
—120——ns
—120——ns
—120——ns
2/8 t
—
+ 120
CY
——ns
—120——ns
—120——ns
—120——ns
CL = 15 pF——t
CL = 15 pF——
CL = 15 pF——
CL = 15 pF——
CL = 15 pF——
+ 300ns
CY
7/8 t
CY
+ 300
6/8 t
CY
+ 300
7/8 t
CY
+ 300
2/8 t
CY
+ 360
CL = 15 pF——tCY + 480ns
10/8 t
CL = 15 pF——
CL = 15 pF——
+ 480
2/8 t
+ 360
CY
CL = 15 pF——360ns
—2/8 t
—1/8 t
CY
CY
——ns
——ns
s
12/19
Page 13
Timing Diagrams
Output Conditions
OSC
MSM6408¡ Semiconductor
1MC
0
t
CY
P0, P1, P3
P4, P5, P6 PA =
P7, P8
P0.1
PA = 9 or A
P0.2
P1.1
P4 OPT INST.
P5 OPT INST.
P0.1
TBC clock
P1.1
P0.1 clock*
P0.2
P1.2 clock* SRTM
P1.1
0, 1, 3
4
, 5, 6
7 or 8
CT
TM
t
DR
t
DCR
t
DI1
t
DI2
t
CT
t
TT
t
SR
t
TR
P1.0
P0.1
P0.1
P1.0
clock*CT
EXT clock
P1.2 EXT clock
P0.1 CT
P0.2 SR
P1.1 TM
t
SP
t
TP
*Output data to port is clock for SR, TM or CT.
t
CR
t
CP
13/19
Page 14
Input Conditions
OSC
MSM6408¡ Semiconductor
1MC
0
P0, P1, P2
P3, P4, P5
P6, P7, P8
P0.1 SR clock
P1.2 TM clock
P2
P1.0 CT clock
P0.1 SR clock
P0.3 SI
tfWtf
W
INPUT
DATA
tDSt
DH
t
DW1
t
DW2
INPUT
DATA
tSSt
SH
t
SINH
t
IINH
1MC
OSC
0
t
IINH
t
SINH
: P0.1 (SR clock) INH period during LMSR INST.
(Note: P0.1 is used for clock of SR.)
: P2.0 (interrupt) INH period during RPB and RPBD INST.
14/19
Page 15
Operating Characteristics
MSM6408¡ Semiconductor
Typ. Current (IOH) vs Voltage (VOH) for High
State Output
–1.0
–0.9
–0.8
–0.7
V
= 6 V
DD
–0.6
(mA)
–0.5
OH
I
–0.4
–0.3
–0.2
5 V
4 V
3 V
–0.1
0
012345678910
VOH (V)VOL (V)
Typ. Maximum Oscillator Frequnecy (f
Ta = 25°C
OSC
vs Supply Voltage (VDD)
10
(MHz)
OSC
f
9
8
7
6
5
4
3
2
1
0
012345678910
Ta = 25°C, CL = 15 pF
VDD (V)
Typ. Current (IOL) vs Voltage (VOL) for Low
State Output
20
18
6 V
V
DD
16
14
12
(mA)
10
OL
I
8
6
4 V
3 V
4
2
0
012345678910
)
Typ. Maximum Oscillator Frequnecy (f
= 5 V
Ta = 25°C
OSC
)
vs Temperature (Ta)
V
DD
CL = 15 pF
= 5 V
100
10
9
8
7
6
(MHz)
5
OSC
4
f
3
2
1
0
–40 –20 0 20 40 60 80120
Ta (°C)
15/19
Page 16
Operating Characteristics (continued)
Typ. Supply Current (IDD) vs Supply Voltage (VDD)
MSM6408¡ Semiconductor
10 m
100 m
(A)
DD
I
10 m
100 n
Ta = 25°C, no load
f
OSC
2 MHz
1 MHz
1 m
500 kHz
100 kHz
0 Hz
1 m
012345678910
V
(V)
DD
= 4 MHz
16/19
Page 17
PACKAGE DIMENSIONS
DIP42-P-600-2.54
MSM6408¡ Semiconductor
(Unit : mm)
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
6.20 TYP.
17/19
Page 18
QFP44-P-910-0.80-K
Mirror finish
MSM6408¡ Semiconductor
(Unit : mm)
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
0.35 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).
18/19
Page 19
QFP44-P-910-0.80-2K
Mirror finish
MSM6408¡ Semiconductor
(Unit : mm)
Package material
Lead frame material
Pin treatment
Solder plate thickness
Package weight (g)
Epoxy resin
42 alloy
Solder plating
5 mm or more
0.41 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).
19/19
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.