SyncMOS Technologies International, Inc.
SM5964
8-Bits Micro-controller
64KB ISP flash & 1KB RAM embedded
Product List
Features
SM5964C25, 25MHz 64KB internal flash MCU
SM5964C40, 40MHz 64KB internal flash MCU
Description
The SM5964 series product is an 8 - bit single chip
micro controller with 64KB flash & 1K byte RAM
embedded. It has In-System Programming (ISP)
function and is a derivative of the 8052 micro controller
family. It has 5-channel SPWM build-in. With its
hardware features and powerful instruction set, it’s
straight forward to make it a versatile and cost effective
controller for those applications which demand up to 32
I/O pins for PDIP package or up to 36 I/O pins for
PLCC/QFP package, or applications which need up to
64K byte flash memory either for program or for data or
mixed.
To program the on-chip flash memory, a commercial
writer is available to do it in parallel programming
method. The on-chip flash memory can be programmed
in either parallel or serial interface with its ISP feature.
Ordering Information
yymmv
SM5964ihhkL
yy: year, ww: month
v: version identifier{ , A, B,…}
i: process identifier {L=3.0V~3.6V,C=4.5V~ 5.5V}
hh: working clock in MHz {25, 40}
k: package type postfix {as below table}
L:PB Free identifier
{No text is Non-PB Free,”P”is PB Free}
Postfix
P
J
Q
Package
40L PDIP
44L PLCC
44L QFP
Pin / Pad
Configuration
Page 2
Page 2
Page 2
Dimension
Page 23
Page 24
Page 25
Working Voltage:4.5V through 5.5V
General 8052 family compatible
12 clocks per machine cycle
64K byte on chip program flash with
in-System Programming(ISP) capability
1024 bytes on chip data RAM
Three 16 bit Timers/Counters
One Watch Dog Timer
Four 8-bit I/O ports for PDIP package
Four 8-bit I/O ports + one 4-bit I/O ports for
PLCC or QFP package
Full duplex serial channel
Bit operation instruction
Industrial Level
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
Low EMI (inhibit ALE)
Reset with address $0000 blank initiate ISP
service program
ISP service program space configurable in
N*512 byte (N=0 to 8) size
Five channel Specific PWM(SPWM) build-in
with P1.3~P1.7
Taiwan
6F, No.10-2 Li- Hsin 1st Road ,
Science-based Industrial Park,
Hsinchu, Taiwan 30078
TEL: 886-3-567-1820
886-3-567-1880
FAX: 886-3-567-1891
886-3-567-1894
Specifications subject to change without notice contact your sales representatives for the most recent information.
Ver 2.2 SM5964 08/2006
1
SyncMOS Technologies International, Inc.
SM5964
8-Bits Micro-controller
64KB ISP flash & 1KB RAM embedded
Pin Configuration
Specifications subject to change without notice contact your sales representatives for the most recent information.
Ver 2.2 SM5964 08/2006
2
SyncMOS Technologies International, Inc.
SM5964
8-Bits Micro-controller
64KB ISP flash & 1KB RAM embedded
Block Diagram
Specifications subject to change without notice contact your sales representatives for the most recent information.
3
Ver 2.2 SM5964 08/2006
SyncMOS Technologies International, Inc.
SM5964
8-Bits Micro-controller
64KB ISP flash & 1KB RAM embedded
Pin Description
40L
PDIP
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
44L
QFP
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
17
28
39
6
44L
PLCC
Pin#
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
23
34
1
12
Symbol
P1.0/T2
P1.1/T2EX
P1.2
P1.3/SPWM0
P1.4/SPWM1
P1.5/SPWM2
P1.6/SPWM3
P1.7/SPWM4
RES
P3.0/RXD
P3.1/TXD
P3.2/#INT0
P3.3/#INT1
P3.4/T0
P3.5/T1
P3.6/#WR
P3.7/#RD
XTAL2
XTAL1
VSS
P2.0/A8
P2.1/A9
P2.2/A10
P2.3/A11
P2.4/A12
P2.5/A13
P2.6/A14
P2.7/A15
#PSEN
ALE
#EA
P0.7/AD7
P0.6/AD6
P0.5/AD5
P0.4/AD4
P0.3/AD3
P0.2/AD2
P0.1/AD1
P0.0/AD0
VDD
P4.0
P4.1
P4.2
P4.3
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
o
I
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
i/o
Names
bit 0 of port 1 & timer 2 clock out
bit 1 of port 1 & timer 2 control
bit 2 of port 1
bit 3 of port 1 & SPWM channel 0
bit 4 of port 1 & SPWM channel 1
bit 5 of port 1 & SPWM channel 2
bit 6 of port 1 & SPWM channel 3
bit 7 of port 1 & SPWM channel 4
Reset
bit 0 of port 3 & Receiver data
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 & ext. memory write
bit 7 of port 3 & ext. memory read
Crystal out
Crystal in
Sink Voltage, Ground
bit 0 of port 2 & bit 8 of ext. memory address
bit 1 of port 2 & bit 9 of ext. memory address
bit 2 of port 2 & bit 10 of ext. memory address
bit 3 of port 2 & bit 11 of ext. memory address
bit 4 of port 2 & bit 12 of ext. memory address
bit 5 of port 2 & bit 13 of ext. memory address
bit 6 of port 2 & bit 14 of ext. memory address
bit 7 of port 2 & bit 15 of ext. memory address
program storage enable
address latch enable
external access
bit 7 of port 0 & data/address bit 7 of ext. memory
bit 6 of port 0 & data/address bit 6 of ext. memory
bit 5 of port 0 & data/address bit 5 of ext. memory
bit 4 of port 0 & data/address bit 4 of ext. memory
bit 3 of port 0 & data/address bit 3 of ext. memory
bit 2 of port 0 & data/address bit 2 of ext. memory
bit 1 of port 0 & data/address bit 1 of ext. memory
bit 0 of port 0 & data/address bit 0 of ext. memory
Drive Voltage
bit 0 of Port 4
bit 1 of Port 4
bit 2 of Port 4
bit 3 of port 4
H
L/-
L/-
L
-
L
Specifications subject to change without notice contact your sales representatives for the most recent information.
4
Ver 2.2 SM5964 08/2006
SyncMOS Technologies International, Inc.
SM5964
8-Bits Micro-controller
64KB ISP flash & 1KB RAM embedded
Special Function Register (SFR)
The address $80 to $FF can be accessed by direct addressing mode only.
Address $80 to $FF is SFR area.
The following table lists the SFRs which are identical to general 8052 as well as SM5964 Extension SFRs .
Special Function Register (SFR) Memory Map
$F8
$F0
$E8
$E0
$D8
$D0
$C8
$C0
$B8
$B0
$A8
$A0
$98
$90
$88
$80
$FF
$F7
$EF
$E7
$DF
$D7
$CF
$C7
$BF
$B7
$AF
$A7
$9F
$97
$8F
$87
B
ACC
P4
PSW
T2CON
IP
P3
IE
P2
SCON
P1
TCON
P0
ISPFAH
ISPFAL
ISPFD
ISPC
T2MOD
RCAP2L
RCAP2H
TL2
TH2
SCONF
SBUF
TMOD
SP
TL0
DPL
SPWMC
P1CON
TL1
DPH
SPWMD4
SPWMD0
TH0
SPWMD1
TH1
RCON
SPWMD2
SPWMD3
WDTC
PCON
Note: The text of SFRs with bold type characters are Extension Special Function Registers for SM5964
Addr
85H
9BH
9FH
A3H
A4H
A5H
A6H
A7H
ACH
BFH
C9H
D8H
F4H
F5H
F6H
F7H
SFR
RCON
P1CON
WDTC
SPWMC
SPWMD0
SPWMD1
SPWMD2
SPWMD3
SPWMD4
SCONF
T2MOD
P4
ISPFAH
ISPFAL
ISPFD
ISPC
Reset
******00
00000***
0*0**000
******00
00H
00H
00H
00H
00H
0****010
******00
****1111
00H
00H
00H
0*****00
FA15
FA7
FD7
START
FA14
FA6
FD6
FA13
FA5
FD5
FA12
FA4
FD4
SPWMD04
SPWMD14
SPWMD24
SPWMD34
SPWMD44
WDR
*
*
*
*
*
P4.3
FA11
FA3
FD3
SPWMD03
SPWMD13
SPWMD23
SPWMD33
SPWMD43
SPWMD02
SPWMD12
SPWMD22
SPWMD32
SPWMD42
SPWMD01
SPWMD11
SPWMD21
SPWMD31
SPWMD41
SPWMD00
SPWMD10
SPWMD20
SPWMD30
SPWMD40
BRM02
BRM12
BRM22
BRM32
BRM42
ISPE
*
P4.2
FA10
FA2
FD2
SPWM4E
WDTE
SPWM3E
Reserved**
SPWM2E
CLEAR
SPWM1E
SPWM0E
PS2
PS1
PDIV1
BRM01
BRM11
BRM21
BRM31
BRM41
OME
T2OE
P4.1
FA9
FA1
FD1
F1
PS0
PDIV0
BRM00
BRM10
BRM20
BRM30
BRM40
ALEI
DCEN
P4.0
FA8
FA0
FD0
F0
7
6
5
4
3
2
1
RAMS1
0
RAMS0
** Keep to “0” when write WDTC (9FH).
Specifications subject to change without notice contact your sales representatives for the most recent information.
5
Ver 2.2 SM5964 08/2006