SM59D04G2
8-Bits Micro-controller
16KB+ ISP Flash & 1KB RAM embedded
Product List
Features
SM59D04G2L25, 25MHz 16KB internal Flash MCU
SM59D04G2C25, 25MHz 16KB internal Flash MCU
Operating Voltage: 2.7V ~ 3.6V or 4.5V ~ 5.5V
General 8052 family compatible
12 or 6 clocks per machine cycle
Frequency runs up to 25MHz
16K byte on chip program Flash with In-System
Programming(ISP) and EEPROM capability
768 Bytes on-chip expanded RAM with disable
function
256 Bytes for standard 8052 RAM.
External RAM address up to 64KB
Dual 16-bit Data Pointers (DPTR0 & DPTR1)
One channel serial peripheral interface (UART)
Three 16 bit Timers/Counters(Timer 0 , 1, 2)
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
Programmable Watchdog Timer (WDT)
Programmable Counter Array (PCA) for Pulse
Width Modulation (PWM), capture and compare
External interrupt 0, 1 with two priority level
Expanded External Interrupt (EEI) interface for
eight more external interrupts.
ISP service program space configurable in N*512
byte (N=0 to 8) size for IAP application
Direct and simple ICP programming without
service program
ALE output select for low EMI
Clock output as the source for next MCU
Power Management Unit ( IDLE and STOP mod)
Code protection function
Flash Memory Endurance : 100K erase and write
cycles each byte at TA=25℃
Flash Memory Data Retention :10 years
Description
The SM59D04G2 series product is an 8-bit single chip
macro-controller with 16KB Flash & 1K byte RAM
embedded. It is a derivative of the 8052 micro-controller
family with a fully compatible instruction sets.
The 16K embedded Flash can be programmed via a
commercial writer or ISP (In-System Programming) or ICP
(In-Circuit Programming) function. The unused Flash can
be the memory space for the EEPROM application through
the ISP. After programming, the code can be protected to
prevent illegal read and write.
Its plentiful peripherals can make many applications easier
and more efficient, such as dual DPTR, UART, WDT,
Timers, PCA and EEI which are functionally compatible
with most other chips.
SM59D04G2 also provides power saving modes (IDLE and
STOP), low EMI characteristics, etc. All of the
requirements are considered to achieve the ideal MCU.
Ordering Information
yymmv
SM59D04G2ihhkL
yy: year, mm: month
v: version identifier{ A, B,…}
i: process identifier {L=2.7V~3.6V,C=4.5V~ 5.5V}
hh: working clock in MHz {25}
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 3
Page 4
Contact SyncMOS : www.syncmos.com.tw
6F, No.10-2 Li- Hsin 1st Road , SBIP,
Hsinchu, Taiwan 30078
TEL: 886-3-567-1820 FAX: 886-3-567-1891
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
1
Ver.D SM59D04G2 12/2009
SM59D04G2
8-Bits Micro-controller
16KB+ ISP Flash & 1KB RAM embedded
Pin Configuration
T2/P1.0
T2EX/P1.1
CCCI/P1.2
CC0/P1.3
CC1/P1.4
CC2/P1.5
CC3/P1.6
CC4/P1.7
RESET
RXD/P3.0
TXD/P3.1
INT0/P3.2
INT1/P3.3
T0/P3.4
T1/P3.5
WR/P3.6
RD/P3.7
XTAL2
XTAL1
VSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
VDD
P0.0/AD0
P0.1/AD1
P0.2/AD2
P0.3/AD3
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA
ALE
PSEN
P2.7/A15
P2.6/A14
P2.5/A13
P2.4/A12
P2.3/A11
P2.2/A10
P2.1/A9
P2.0/A8
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
2
Ver.D SM59D04G2 12/2009
SyncMOS
SM59D04G2
8-Bits Micro-controller
16KB+ ISP Flash & 1KB RAM embedded
P1.1/T2EX
P1.2/CCCI
P0.0/AD0
P0.1/AD1
42
P0.2/AD2
41
6
5
4
3
2
1
44
43
40
39
38
37
36
35
34
33
32
31
30
29
CC2/P1.5
CC3/P1.6
CC4/P1.7
RESET
RXD/P3.0
P4.3
TXD/P3.1
INT0/P3.2
INT1/P3.3
T0/P3.4
T1/P3.5
P0.3/AD3
P1.4/CC1
P1.3/CC0
P1.0/T2
VDD
P4.2
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
EA
P4.1
ALE
PSEN
P2.7/A15
P2.6/A14
P2.5/A13
17
18
16
15
14
13
12
11
10
9
8
7
19
20
21
22
23
24
25
26
27
28
A10/P2.2
A11/P2.3
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
3
Ver.D SM59D04G2 12/2009
A12/P2.4
WR/P3.6
RD/P3.7
XTAL2
XTAL1
VSS
P4.0
A8/P2.0
A9/P2.1
SM59D04G2
8-Bits Micro-controller
16KB+ ISP Flash & 1KB RAM embedded
P0.4/AD4
P0.5/AD5
P0.6/AD6
P0.7/AD7
P2.7/A15
25
P2.6/A14
24
33
32
31
30
29
28
27
26
AD3/P0.3
AD2/P0.2
AD1/P0.1
AD0/P0.0
VDD
P4.2
T2/P1.0
T2EX/P1.1
CCCI/P1.2
CC0/P1.3
CC1/P1.4
34
35
36
37
38
39
40
41
42
43
44
23
P2.5/A13
22
21
20
19
18
17
16
15
14
13
12
PSEN
ALE
P4.1
EA
P2.4/A12
P2.3/A11
P2.2/A10
P2.1/A9
P2.0/A8
P4.0
VSS
XTAL1
XTAL2
P3.7/RD
P3.6/WR
10
RXD/P3.0
TXD/P3.1
CC2/P1.5
CC3/P1.6
CC4/P1.7
RESET
P4.3
INT0/P3.2
INT1/P3.3
T0/P3.4
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
4
Ver.D SM59D04G2 12/2009
T1/P3.5
11
1
2
3
4
5
6
7
8
9
SM59D04G2
8-Bits Micro-controller
16KB+ ISP Flash & 1KB RAM embedded
Block Diagram
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
5
Ver.D SM59D04G2 12/2009