SyncMOS Technologies Inc.
December 1998
SM2964
8 - Bit Micro-controller
with 64KB flash embedded
Product List
SM2964C16, 16 MHz 64KB internal flash MCU
SM2964C25, 25 MHz 64KB internal flash MCU
SM2964C40, 40 MHz 64KB internal flash MCU
Features
Working voltage:4.5V through 5.5V
General 8051 family compatible
12 clocks per machine cycle
64K byte internal flash memory
256 byte data RAM
Three 16 bit Timers/Counters
Four 8-bit I/O ports
Full duplex serial channel
Bit operation instructions
Page free jumps
8-bit Unsigned Division
8-bit Unsigned Multiply
BCD arithmetic
Direct Addressing
Indirect Addressing
Nested Interrupt
Two priority level interrupt
A serial I/O port
Power save modes:
Idle mode and Power down mode
Code protection function
Description
The SM2964 series product is an 8 - bit single
chip micro controller with 64KB flash embedded.It
provides hardware features and a powerful instruction
set, necessary to make it a versatile and cost effective
controller for those applications demand up to 32 I/O
pins or need up to 64 K byte memory either for program
or for data or mixed.
To program the flash block, a commercial programmer
is capable to do it.
Ordering Information
yyww
SM2964ihhk
yy: year, ww:week
v: version identifier { , A, B, ...}
i: process identifier {C}
hh: working clock in MHz {16, 25, 40}
k: package type postfix {as below table}
Pin/Pad
Package
Configuration
40L PDIP
page 2
44L PLCC
page 2
44L PQFP
page 2
44L LQFP
page 2
Logo Size at
Top Marking
5.0 x 4.2 mm
4.5 x 3.8 mm
2.8 x 2.4 mm
2.8 x 2.4 mm
Postfix
P
J
Q
U
Dimension
page 11
page 12
-
-
Taiwan
4F, No.1 Creation Road 1,
Science-Based Industrial Park,
Hsinchu, Taiwan 30077
TEL: 886-3-578-3344
FAX: 886-3-579-2960
886-3-578-0493
Specifications subject to change without notice,contact your sales representatives for the most recent information.
1/15
Ver1.0
PID 2964 08/00
SyncMOS Technologies Inc.
December 1998
SM2964
Pin Configurations
T2EX/P1.1/FD1
T2/P1.0/FD0
NC
VDD
P0.0/FA0
P1.4/FD4
P1.3/FD3
P1.2/FD2
P0.1/FA1
T2EX/P1.1/FD1
T2/P1.0/FD0
NC
VDD
P0.0/FA0
P0.1/FA1
P1.4/FD4
P0.2/FA2
P0.3/FA3
P1.3/FD3
P1.2/FD2
P1.5/FD5
P0.4/FA4
P0.5/FA5
P0.6/FA6
P0.7/FA7
#EA
NC
ALE/#FCE
#PSEN/#FOE
P2.7/FA15
P2.6/FA14
P2.5/FA13
P1.6/FD6
P1.5/FD7
RES
RXD/P3.0
NC
TXD/P3.1
#INT0/P3.2
#INT1/P3.3
T0/P3.4
T1/P 3.5
6
5
4
3
2
P1.5/FD5
P1.6/FD6
P1.7/FD7
RES
RXD/P3.0
NC
TXD/P3.1
#INT0/P3.2
#INT1/P3.3
T0/P3.4
T1/P3.5
7
8
9
10
11
12
13
1 44 43 42 41 40
39
38
37
36
35
34
33
1
2
3
4
5
6
7
8
9
10
11
44 43 42 41 40 39 38 37 36 35 34
33
32
31
P0.2/FA2
P0.3/FA3
P0.4/FA4
P0.5/FA5
P0.6/FA6
P0.7/FA7
#EA
NC
ALE/#FCE
#PSEN/#FOE
P2.7/FA15
P2.6/FA14
P2.5/FA13
SM2964 ihh-yyyJ
44L PLCC
(Top View)
SM2964 ihh-yyyQ
44L PQFP
(Top View)
30
29
28
27
26
25
24
23
32
14
15
31
16
30
17
29
18 19 20 21 22 23 24 25 26 27 28
12 13 14 15 16 17 18 19 20 21 22
P2.1/FA9
P2.2/FA10
P0.1/FA1
#WR/P3.6
#RD/P3.7/#FWE
T2EX/P1.1/FD1
T2/P1.0/FA0
NC
VDD
#RD/P3.7/#FWE
XTAL2
XTAL1
P2.1/FA9
P2.2/FA10
P2.3/FA11
P2.4/FA12
P2.0/FA8
P1.4/FD4
T2/P1.0/FD0
T2EX/P1.1/FD1
P1.2/FD2
P1.3/FD3
P1.4/FD4
P1.5/FD5
P1.6/FD6
P1.7/FD7
RES
RXD/P3.0
TXD/P3.1
#INT0/P3.2
#INT1/P3.3
T0/P3.4
T1/P3.5
#WR/P3.6
#RD/P3.7/#FWE
XTAL2
XTAL1
VSS
1
2
3
4
5
6
7
8
9
10
11
40
39
38
37
36
35
34
VDD
P0.0/FA0
P0.1/FA1
P0.2/FA2
P0.3/FA3
P0.4/FA4
P0.5/FA5
P0.6/FA6
P0.7/FA7
#EA
ALE/#FCE
#PSEN/#FOE
P2.7/FA15
P2.6/FA14
P2.5/FA13
P1.5/FD5
P1.6/FD6
P1.5/FD7
RES
RXD/P3.0
NC
TXD/P3.1
#INT0/P3.2
#INT1/P3.3
T0/P3.4
T1/P 3.5
1
2
3
4
5
6
7
8
9
10
11
44 43 42 41 40 39 38 37 36 35 34
33
32
31
P1.2/FD2
P0.2/FA2
P0.3/FA3
P1.3/FD3
P0.0/FA0
P2.4/FA12
#WR/P3.6
P2.3/FA11
XTAL2
P2.0/FA8
XTAL1
VSS
NC
VSS
NC
P0.4/FA4
P0.5/FA5
P0.6/FA6
P0.7/FA7
#EA
NC
ALE/#FCE
#PSEN/#FOE
P2.7/FA15
P2.6/FA14
P2.5/FA13
SM2964ihh-yyyP
33
32
31
30
29
28
27
26
25
24
23
22
21
SM2964 ihh-yyyU
44L LQFP
(Top View)
30
29
28
27
26
25
24
23
40L PDIP
(Top View)
12
13
14
15
16
17
18
19
20
12 13 14 15 16 17 18 19 20 21 22
P2.1/FA9
P2.2/FA10
#RD/P3.7/#FWE
XTAL2
XTAL1
P2.3/FA11
P2.2/FA10
P2.1/FA9
P2.0/FA8
Specifications subject to change without notice,contact your sales representatives for the most recent information.
2/15
Ver1.0
P2.4/FA12
#WR/P3.6
P2.3/FA11
P2.0/FA8
VSS
NC
P2.4/FA12
PID 2964 08/00
SyncMOS Technologies Inc.
December 1998
Block Diagram
Stack
Pointer
Decoder &
Register
256 bytes
RAM
SM2964
Timer 2
Timer 1
Timer 0
Buffer
RES
Reset
Circuit
to pertinent blocks
Acc
to whole chip
Buffer2
Buffer1
DPTR
Vdd
Vss
Power
Circuit
PC
Incrementer
Interrupt
Circuit
to pertinent blocks
ALU
Program
Counter
XTAL2
XTAL1
#EA
ALE
#PSEN
Timing
Generator
to whole system
PSW
Register
Instruction
Register
Port 0
Latch
Port 1
Latch
Port 2
Latch
Port 3
Latch
64K
bytes
Flash
Memory
Port 0
Driver & Mux
8
Port 2
Port 3
Driver & Mux Driver & Mux Driver & Mux
8
8
8
Port 1
Specifications subject to change without notice,contact your sales representatives for the most recent information.
3/15
Ver1.0
PID 2964 08/00
SyncMOS Technologies Inc.
December 1998
Pin Descriptions
40L 44L
PDIP LQFP
Pin# Pin#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
40
41
42
43
44
1
2
3
4
5
7
8
9
10
11
12
13
14
15
16
18
19
20
21
22
23
24
25
26
27
29
30
31
32
33
34
35
36
37
38
SM2964
44L
44L
PQFP PLCC
Pin#
Pin#
40
41
42
43
44
1
2
3
4
5
7
8
9
10
11
12
13
14
15
16
18
19
20
21
22
23
24
25
26
27
29
30
31
32
33
34
35
36
37
38
2
3
4
5
6
7
8
9
10
11
13
14
15
16
17
18
19
20
21
22
24
25
26
27
28
29
30
31
32
33
35
36
37
38
39
40
41
42
43
44
Symbol
T2/P1.0/FD0
T2EX/P1.1/FD1
P1.2/FD2
P1.3/FD3
P1.4/FD4
P1.5/FD5
P1.6/FD6
P1.7/FD7
RES
RXD/P3.0
TXD/P3.1
#INT0/P3.2
#INT1/P3.3
T0/P3.4
T1/P3.5
#WR/P3.6
#RD/P3.7/#FWE
XTAL2
XTAL1
VSS
P2.0/FA8
P2.1/FA9
P2.2/FA10
P2.3/FA11
P2.4/FA12
P2.5/FA13
P2.6/FA14
P2.7/FA15
#PSEN/#FOE
ALE/#FCE
#EA
P0.7/FA7
P0.6/FA6
P0.5/FA5
P0.4/FA4
P0.3/FA3
P0.2/FA2
P0.1/FA1
P0.0/FA0
VDD
Active I/O
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
o
i
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
o/i
o/i
i
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
Names
bit 0 of port 1 & timer 2 & bit 0 of flash block address
bit 1 of port 1 & timer control & bit 1 of flash block address
bit 2 of port 1 & bit 2 of flash/ext. memory address
bit 3 of port 1 & bit 3 of flash/ext. memory address
bit 4 of port 1 & bit 4 of flash/ext. memory address
bit 5 of port 1 & bit 5 of flash/ext. memory address
bit 6 of port 1 & bit 6 of flash/ext. memory address
bit 7 of port 1 & bit 7 of flash/ext. memory address
Reset
bit 0 of port 3 & Receive data & flash block enable
bit 1 of port 3 & Transmit data
bit 2 of port 3 & low true interrupt 0
bit 3 of port 3 & low true interrupt 1
bit 4 of port 3 & Timer 0
bit 5 of port 3 & Timer 1
bit 6 of port 3 & o/p enable to flash block (low enable)
bit 7 of port 3 & write enable to flash block (low enable)
Crystal out
Crystal in
Sink Voltage, Ground
bit 0 of port 2 & bit 8 of flash block address
bit 1 of port 2 & bit 9 of flash block address
bit 2 of port 2 & bit 10 of flash block address
bit 3 of port 2 & bit 11 of flash block address
bit 4 of port 2 & bit 12 of flash block address
bit 5 of port 2 & bit 13 of flash block address
bit 6 of port 2 & bit 14 of flash block address
bit 7 of port 2 & bit 15 of flash block address
program storage enable
address latch enable
external access
bit 7 of port 0 & data bit 7 of flash block
bit 6 of port 0 & data bit 6 of flash block
bit 5 of port 0 & data bit 5 of flash block
bit 4 of port 0 & data bit 4 of flash block
bit 3 of port 0 & data bit 3 of flash block
bit 2 of port 0 & data bit 2 of flash block
bit 1 of port 0 & data bit 1 of flash block
bit 0 of port 0 & data bit 0 of flash block
Drive Voltage, +5 Vcc
H
L/ -
L/ -
L/ -
L/ - /L
L/L
- /L
L
Specifications subject to change without notice,contact your sales representatives for the most recent information.
4/15
Ver1.0
PID 2964 08/00
SyncMOS Technologies Inc.
December 1998
Operating Conditions
Symbol
TA
VCC5
Fosc 16
Fosc 25
Fosc 40
Description
Ambient temperature under bias
Supply voltage
Oscillator Frequency
Min.
0
4.5
3.0
16
25
Typ.
25
5.0
16
25
40
Max.
70
5.5
16
25
40
Unit.
degree C
V
MHz
MHz
MHz
SM2964C
SM2964C16
SM2964C25
SM2964C40
Remarks
SM2964
AC Characteristics
(16/25/40 MHZ, operating conditions; CL for Port 0, ALE and PSEN Outputs=150uF; CL for all Other Output=80pF)
Valid
f osc 16
Variable f osc
Unit
Symbol
Parameter
Cycle
Min. Typ. Max
Min.
Typ.
Max
T LHLL
ALE pulse width
RD/WRT 115
2xT - 10
nS
T AVLL
Address Valid to ALE low
RD/WRT
43
T - 20
nS
T LLAX
Address Hold after ALE low
RD/WRT
53
T - 10
nS
T LLIV
ALE low to Valid Instruction In
RD
240
4xT - 10 nS
T LLPL
ALE low to #PSEN low
RD
53
T - 10
nS
T PLPH
#PSEN pulse width
RD
173
3xT - 15
nS
T PLIV
#PSEN low to Valid Instruction In
RD
177
3xT - 10 nS
T PXIX
Instruction Hold after #PSEN
RD
0
0
nS
T PXIZ
Instruction Float after #PSEN
RD
87
T + 25 nS
T AVIV
Address to Valid Instruction In
RD
292
5xT - 20 nS
T PLAZ
#PSEN low to Address Float
RD
10
10 nS
T RLRH
#RD pulse width
RD
365
6xT - 10
nS
T WLWH
#WR pulse width
WRT
365
6xT - 10
nS
T RLDV
#RD low to Valid Data In
RD
302
5xT - 10 nS
T RHDX
Data Hold after #RD
RD
0
0
nS
T RHDZ
Data Float after #RD
RD
145
2xT + 20 nS
T LLDV
ALE low to Valid Data In
RD
590
8xT - 10 nS
T AVDV
Address to Valid Data In
RD
542
9xT - 20 nS
T LLYL
ALE low to #WR High or #RD low
RD/WRT
178
197 3xT - 10
3xT + 10 nS
T AVYL
Address Valid to #WR or #RD low
RD/WRT
230
4xT - 20
nS
T QVWH
Data Valid to #WR High
WRT
403
7xT - 35
nS
T QVWX
Data Valid to #WR transition
WRT
38
T - 25
nS
T WHQX
Data hold after #WR
WRT
73
T + 10
nS
T RLAZ
#RD low to Address Float
RD
5 nS
T YALH
#WR or #RD high to ALE high
RD/WRT
53
72
T -10
T + 10 nS
T CHCL
clock fall time
nS
T CLCX
clock low time
nS
T CLCH
clock rise time
nS
T CHCX
clock high time
nS
T , TCLCL clock period
63
1/fosc
nS
Remarks
Specifications subject to change without notice,contact your sales representatives for the most recent information.
5/15
Ver1.0
PID 2964 08/00