SyncMOS Technologies International, Inc.
SM894051
8-Bits Micro-controller
With 4KB Flash ROM embedded
Product List
SM894051L25, 25 MHz 4KB internal memory MCU
SM894051C25, 25 MHz 4KB internal memory MCU
Feature
Working voltage: 3.0V ~ 3.6V For L Version
4.5V ~ 5.5V For C Version
General 8051 family compatible
12 clocks per machine cycle
4 KB internal flash memory
128 bytes internal RAM
Two 16 bits timers/counters
15 programmable I/O lines
Full duplex serial UART channel
Bit operation instruction
Industrial Level
8-bits unsigned division
8-bits unsigned multiply
BCD arithmetic
Direct addressing
Indirect addressing
Two priority level interrupt
Power save modes:
Idle mode
Power down mode (provide H/W wake-up
function)
Code protection function
One watch dog timer (WDT)
On-chip Analog Comparator
Direct LED Drive Output (Default = 1)
General Description
The SM894051 series product is an 8-bits single
chip micro controller with 4KB 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 15 I/O pins or need up to 4KB flash
memory either for program or for data or mixed.
To program the flash block, a commercial
programmer is capable to do it.
Ordering Information
SM894051ihhkL
yymmv
i: process identifier {L=3.0V~3.6V,C=4.5V~ 5.5V}
hh: working clock in MHz {25}
k: package type postfix {as below table}
yy: year, mm: month
v: version identifier {, A, B,...}
L: PB free identifier {no text is Non-PB free, “P” is PB free}
Postfix
P
S
Package
20L PDIP
20L SOIC
Pin / Pad
Configuration
Page 2
Page 2
Dimension
Page 14
Page 15
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.
SM894051 V1.4 09 /2006
1
SyncMOS Technologies International, Inc.
SM894051
8-Bits Micro-controller
With 4KB Flash ROM embedded
Pin Configuration
Figure 1 20L PDIP Package
P1.1/AIN1
P1.0/AIN0
P1.0/AIN0
T1/P3.5
T1/P3.5
VDD
P1.7
P1.3
P1.2
P1.6
P1.5
20
P1.4
SM894051ihhPP
20L PDIP
(Top View)
10
XTAL2
TXD/P3.1
XTAL1
#INT0/P3.2
#INT1/P3.3
RXD/P3.0
P1.1/AIN1
P1.7
P1.3
P1.2
T0/P3.4
P1.6
P1.5
P1.4
1
Figure 2 20L SOIC Package
VDD
RST
20
SM894051ihhSP
20L SOIC
(Top View)
10
XTAL2
TXD/P3.1
XTAL1
#INT0/P3.2
#INT1/P3.3
RXD/P3.0
T0/P3.4
VSS
1
Specifications subject to change without notice contact your sales representatives for the most recent information.
RST
11
P3.7
VSS
11
P3.7
SM894051 V1.4 09 /2006
2
SyncMOS Technologies International, Inc.
SM894051
8-Bits Micro-controller
With 4KB Flash ROM embedded
Block Diagram
RAM Address Decoder
&
Register
128 bytes
Timer 0
Timer 1
RAM
UART
Interrupt
Buffer
WDT
Stack
Point
Acc
B
PC
Incrementer
RES
Reset
Circuit
TMP1
TMP2
Program
Counter
Timing
Control
Instruction
Register
ALU
DPTR
Program
XTAL2
XTAL1
OSC
PSW
Register
4K
Port 1
Latch
+
-
Analog Comparator
Port 1
Driver & Mux
Port 3
Driver & Mux
Port 3
Latch
bytes
Flash
Memory
P1.0
P1.1
P3.0 ~ p3.5 & p3.7
Specifications subject to change without notice contact your sales representatives for the most recent information.
3
SM894051 V1.4 09 /2006
SyncMOS Technologies International, Inc.
SM894051
8-Bits Micro-controller
With 4KB Flash ROM embedded
Pin Description (20L PDIP / 20L SOIC)
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$F8
$F0
$E8
$E0
$D8
$D0
$C8
$C0
$B8
$B0
$A8
$A0
$98
$90
$88
$80
SCON
0000 0000
P1
1111 1111
TCON
0000 0000
SBUF
xxxx xxxx
LEDENP1
0000 0000
TL1
0000 0000
DPH
0000 0000
LEDENP3
0000 0000
TH1
0000 0000
WDTC
0x0x x000
WDTKEY
0000 0000
IP
0000 0000
P3
1111 1111
IE
0000 0000
SCONF
0xxx xxxx
PSW
0000 0000
ACC
0000 0000
B
0000 0000
Symbol
RST
P3.0/RXD
P3.1/TXD
XTAL2
XTAL1
P3.2/#INT0
P3.3/#INT1
P3.4/T0
P3.5/T1
VSS
P3.7
P1.0/AIN0
P1.1/AIN1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
VDD
Active
H
-/L
-/L
I/O
i
i/o
i/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
i/o
Names
Reset
bit 0 of port 3 & receive data
bit 1 of port 3 & transmit data
Crystal out
Crystal in
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
Sink Voltage, Ground
bit 7 of port 3
bit 0 of port 1 & positive 0 of the on chip analog comparator
bit 1 of port 1 & positive 1 of the on chip analog comparator
bit 2 of port 1
bit 3 of port 1
bit 4 of port 1
bit 5 of port 1
bit 6 of port 1
bit 7 of port 1
Drive voltage, +5 Vcc
$FF
$F7
$EF
$E7
$DF
$D7
$CF
$C7
$BF
$B7
$AF
$A7
$9F
$97
$8F
PCON
0000 0000
$87
Special Function Register (SFR) Memory Map
TMOD
0000 0000
SP
0000 0111
TL0
0000 0000
DPL
0000 0000
TH0
0000 0000
(Reserved)
Note: The text of SFRs with bold type characters are Extension Special Function Registers for SM894051
Specifications subject to change without notice contact your sales representatives for the most recent information.
4
SM894051 V1.4 09 /2006
SyncMOS Technologies International, Inc.
Addr
93H
95H
97H
9FH
BFH
SFR
LEDENP1
LEDENP3
WDTKEY
WDTC
SCONF
Reset
00H
00H
00H
0*0**000
0******0
7
LEDEN
P17
LEDEN
P37
WDT
KEY7
WDTE
WDR
6
LEDEN
P16
Unused
WDT
KEY6
Reserve
Unused
5
LEDEN
P15
LEDEN
P35
WDT
KEY5
CLEAR
Unused
4
LEDEN
P14
LEDEN
P34
WDT
KEY4
Unused
Unused
3
LEDEN
P13
LEDEN
P33
WDT
KEY3
Unused
Unused
2
LEDEN
P12
LEDEN
P32
WDT
KEY2
PS2
Reserve
SM894051
8-Bits Micro-controller
With 4KB Flash ROM embedded
1
LEDEN
P11
LEDEN
P31
WDT
KEY1
PS1
Unused
0
LEDEN
P10
LEDEN
P30
WDT
KEY0
PS0
ALEI
Operating Conditions
Symbol
TA
VCC5
VCC3.3
Fosc 25
Description
Operating temperature
Supply voltage
Supply voltage
Oscillator Frequency
Min.
-40
4.5
3.0
Typ.
25
5.0
3.3
Max.
85
5.5
3.6
25
Unit.
℃
V
V
MHz
Remarks
Ambient temperature under bias
DC Characteristic
VCC = 5V (±10%), VSS=0V TA= -40
℃
to 85℃
SYMBOL
VCC
ICC
IID
IPD
VIL1
VIL2
VIH1
VIH2
IIL
ITL
ILI
VOL1
VOL2
VOH1
ISK1
ISK2
ISR1
RRST
CIO
Supply Voltage
Supply current operating
Supply current IDLE Mode
Supply current Power-Down MODE
Input LOW voltage, P1, P3
Input LOW voltage, RES, XTAL1
Input HIGH voltage, P1, P3
Input HIGH voltage, RES, XTAL1
Input current LOW level, P3.0~P3.5, P3.7
Transition current High to Low, P3.0~P3.5,
P3.7
Input leakage current, P1.0~P1.1
Output LOW voltage, P1.2~P1.7, P3.0~P3.5,
P3.7
Output LOW voltage, P1.0~P1.1
Output High voltage, P3.0~P3.5, P3.7
Output High voltage, P1.2~P1.7
Sink Current P1, P3
Sink Current P1, P3 (LEDD Enable)
Source Current P1, P3
Internal RESET pull-down resistor
Pin capacitance
See notes 1
f
CLK
= 12MHz VCC = 5.5V
See note 2
f
CLK
= 12MHz VCC = 5.5V
P1.0 & P1.1 =0V
See note 3;VCC (= 5.5V)
P1.0 & P1.1 =0V
INPUT
-0.5
0
2.0
70%VCC
VIN = 0.45V
VIN = 2.0 V
0.45V < VIN < VCC-0.3V
OUTPUT
IOL = 8mA,VCC=5.0V
IOL = 6.5mA,VCC =5.0V
IOH = -80uA,VCC =5.0V
IOH = -80uA,VCC =5.0V
VCC = 5.0V, VIN = 0.4 V
VCC = 5.0V, VIN = 0.4 V
VCC = 5.0V, VIN = 2.4 V
VIN = 5.0 V
Test freq=1MHz, TA=25℃
2.4
2.4
6
20
-150
300
10
PARAMETER
TEST
CONDITIONS
4.5
LIMITS
MIN
5.5
15
5
20
0.8
0.8
Vcc+0.5
Vcc+0.5
-50
-650
±10
0.45
0.45
MAX
UNIT
V
mA
mA
μA
V
V
V
V
μA
μA
μA
V
V
V
V
mA
mA
uA
kΩ
pF
50
Specifications subject to change without notice contact your sales representatives for the most recent information.
SM894051 V1.4 09 /2006
5