SyncMOS Technologies International, Inc.
SM8951A/8952A
8-Bits Micro-controller With 4/8KB flash embedded
Product List
SM8951A/8952AL25, 25MHz 4/8KB internal flash MCU SM8951A/8952AC25, 25MHz 4/8KB internal flash MCU SM8951A/8952AC40, 40MHz 4/8KB internal flash MCU
Features
Working Voltage: 3.0V ~ 3.6V For L Version. 4.5V ~ 5.5V For C Version. General 8052 family compatible 12 clocks per machine cycle 4/8K internal flash memory 256 bytes data RAM 2/3 16 bit timers/counters Four 8-bit I/O ports 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 One watch dog timer(WDT) Low EMI (inhibit ALE)
Description
The SM8951A/8952A series product is an 8-bit single chip micro controller with 4/8 KB flash embedded. It provides hard-ware 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 4/8 KB 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
yymmv SM8951A/8952AihhkL 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 13 Page 14 Page 15/16
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.
1
Ver 2.1
SM8951A/8952A 08/2006
SyncMOS Technologies International, Inc.
SM8951A/8952A
8-Bits Micro-controller With 4/8KB flash embedded
Pin Configuration
Specifications subject to change without notice contact your sales representatives for the most recent information.
2
Ver 2.1
SM8951A/8952A 08/2006
SyncMOS Technologies International, Inc.
SM8951A/8952A
8-Bits Micro-controller With 4/8KB flash embedded
Block Diagram
Specifications subject to change without notice contact your sales representatives for the most recent information.
3
Ver 2.1
SM8951A/8952A 08/2006
SyncMOS Technologies International, Inc.
SM8951A/8952A
8-Bits Micro-controller With 4/8KB flash 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
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
Symbol
P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 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
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
Names
bit 0 of port 1 bit 1 of port 1 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 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 & external memory write bit 7 of port 3 & external memory Read Crystal out Crystal in Sink Voltage, Ground bit 0 of port 2 & bit 8 of external memory address bit 1 of port 2 & bit 9 of external memory address bit 2 of port 2 & bit 10 of external memory address bit 3 of port 2 & bit 11 of external memory address bit 4 of port 2 & bit 12 of external memory address bit 5 of port 2 & bit 13 of external memory address bit 6 of port 2 & bit 14 of external memory address bit 7 of port 2 & bit 15 of external memory address program storage enable address latch enable external access bit 7 of port 0 & data/address bit 7 of external memory bit 6 of port 0 & data/address bit 6 of external memory bit 5 of port 0 & data/address bit 5 of external memory bit 4 of port 0 & data/address bit 4 of external memory bit 3 of port 0 & data/address bit 3 of external memory bit 2 of port 0 & data/address bit 2 of external memory bit 1 of port 0 & data/address bit 1 of external memory bit 0 of port 0 & data/address bit 0 of external memory Drive Voltage, +5 Vcc
H
L/L/-
L/L/-
L L
Specifications subject to change without notice contact your sales representatives for the most recent information.
4
Ver 2.1
SM8951A/8952A 08/2006
SyncMOS Technologies International, Inc.
SM8951A/8952A
8-Bits Micro-controller With 4/8KB flash embedded
SFR Memory Map
$F8 $F0 $E8 $E0 $D8 $D0 $C8 $C0 $B8 $B0 $A8 $A0 $98 $90 $88 $80 B ACC PSW T2CON IP P3 IE P2 SCON P1 TCON P0 RC2L RC2H TL2 TH2 SCONF $FF $F7 $EF $E7 $DF $D7 $CF $C7 $BF $B7 $AF $A7 $9F $97 $8F $87
SBUF TMOD SP TL0 DPL TL1 DPH TH0 TH1
WDTC PCON
Note: The text of SFRs with bold type characters are Extension Special Function Registers for SM8951A/8952A
Extension Function Description
Watch Dog Timer
The Watch Dog Timer (WDT) is a 16-bit free-running counter that generate reset signal if the counter overflows. The WDT is useful for systems which are susceptible to noise, power glitches, or electronics discharge which causing software dead loop or runaway. The WDT function can help user software recover from abnormal software condition. The WDT is different from Timer0, Timer1 and Timer2 of general 8052. To prevent a WDT reset can be done by software periodically clearing the WDT counter. The SM8951/8952 WDT has selectable divider input for the time base source clock. To select the divider input, the setting of bit2~bit0 (PS2~PS0) OF Watch Dog Timer Control Register (WDTC) should be set accordingly. To enable the WDT is done by setting 1 to the bit 7 (WDTE) of WDTC. After WDTE set to 1, the 16-bit counter starts to count with the RC oscillator. It will generate a reset signal when overflows. The WDTE bit will be cleared to 0 automatically when SM8958A been reset, either hardware reset or WDT reset. To reset the WDT is done by setting 1 to the CLEAR bit of WDTC before the counter overflow. This will clear the content of the 16-bit counter and let the counter re-start to count from the beginning.
Specifications subject to change without notice contact your sales representatives for the most recent information.
5
Ver 2.1
SM8951A/8952A 08/2006
SyncMOS Technologies International, Inc.
SM8951A/8952A
8-Bits Micro-controller With 4/8KB flash embedded
Watch Dog Timer Registers - WDT Control Register (WDTC, $9F)
WDTE Read / Write: Reset value: R/W 0 MSB WDTE : Watch Dog Timer enable bit CLEAR : Watch Dog Timer reset bit If CLEAR bit set to 1 , Watch Dog Timer will be reset . User don’t reset value to 0 . PS2~PS0:clock source divider bit PS [2:0] 000 001 010 011 100 101 110 111 Divider (OSC in) 8 16 32 64 128 256 512 1024 Time Period (ms) @40MHZ 13.1 26.21 52.42 104.8 209.71 419.43 838.86 1677.72 R * Clear 0 Unused * Unused * PS2 R/W 0 PS1 R/W 0 PS0 R/W 0 LSB
Watch Dog Timer Register - System Control Register (SCONF, $BFH)
bit-7 WDR Read / Write: Reset value: R/W 0 Unused * Unused * Unused * Unused * Unused * Unused * bit-0 ALEI R/W 0
WDR : Watch Dog Timer Reset. When system reset by Watch Dog Timer overflow, WDR will be set to 1 ALEI : ALE output inhibit bit, to reduce EMI The bit 7(WDR) of SCONF is Watch Dog Timer Reset bit. It will be set to 1 when reset signal generated by WDT overflow. User should check WDR bit whenever un-predicted reset happened.
Reduce EMI Function
The SM8951A/8952A allows user to reduce the EMI emission by setting 1 to the bit 0 (ALEI) of SCONF register. This function will inhibit the clock signal in Fosc/6Hz output to the ALE pin. This function is available when there is no external pro gram memory or no external data RAM in the system.
Specifications subject to change without notice contact your sales representatives for the most recent information.
6
Ver 2.1
SM8951A/8952A 08/2006
SyncMOS Technologies International, Inc.
SM8951A/8952A
8-Bits Micro-controller With 4/8KB flash embedded
Operating Conditions
Symbol TA VCC5 VCC3 Fosc 25 Fosc 40 Description Operating temperature Supply voltage Supply voltage Oscillator Frequency Oscillator Frequency Min. -40 4.5 3 3.0 3.0 Typ. 25 5.0 3.3 25 40 Max. 85 5.5 3.6 25 40 Unit.
℃
Remarks Ambient temperature under bias For C Version For L Version For 5V, 3.3V application For 5V application
V V MHz MHz
DC Characteristics
(TA = -40 degree C to 85 degree C, Vcc = 3.0V to 5.5V) Symbol
VIL1 VIL2 VIH1 VIH2 VOL1 VOL2 VOH1 VOH2 IIL ITL ILI R RES C IO I CC
Parameter
Input Low Voltage Input Low Voltage Input High Voltage Input High Voltage Output Low Voltage Output Low Voltage Output High Voltage Output High Voltage Logical 0 Input Current Logical Transition Current Input Leakage Current Reset Pull-down Resistance Pin Capacitance Power Supply Current
Valid
port 0,1,2,3,#EA RES, XTAL1 port 0,1,2,3,#EA RES, XTAL1 port 0, ALE, #PSEN port 1,2,3 port 0 port 1,2,3,ALE,#PSEN port 1,2,3,4 port 1,2,3,4 port 0, #EA RES Vdd
Min. -0.5 0 2.0 70%Vcc
Max. 0.8 0.8 Vcc+0.5 Vcc+0.5 0.45 0.45
Unit V V V V V V V V V V
Test Conditions
2.4 90%Vcc 2.4 90%Vcc -75 -650 ±10 50 300 10 20 6.5 50
IOL=8mA (5V) / IOL=6mA (3.3V) IOL=6.5mA (5V) / IOL=5mA (3.3V) IOH=-800uA (only for VCC =5V) IOH=-80uA IOH=-60uA (only for VCC =5 V) IOH=-10uA Vin=0.45V Vin=2.0V 0.45V