SM5953
8-Bit Micro-controller
15KB with ISP Flash
& 256B RAM embedded
FOSVOS TEL: 021-58998693
Product List...................................................................................................................................................................3
Description....................................................................................................................................................................3
Ordering Information.....................................................................................................................................................3
Features........................................................................................................................................................................3
Pin Configuration ..........................................................................................................................................................3
Block Diagram...............................................................................................................................................................6
Special Function Register (SFR) ..................................................................................................................................8
Function Description...................................................................................................................................................10
1.
General Features...........................................................................................................................................10
Embedded Flash...................................................................................................................................10
IO Pads .................................................................................................................................................10
System Control Register (SCONF).......................................................................................................10
Instruction Set................................................................................................................................................11
Memory Structure ..........................................................................................................................................15
Program Memory ..................................................................................................................................15
Data Memory.........................................................................................................................................16
Data memory - lower 128 byte (00h to 7Fh) .........................................................................................16
Data memory - higher 128 byte (80h to FFh)........................................................................................16
CPU Engine ...................................................................................................................................................17
Accumulator ..........................................................................................................................................17
B Register .............................................................................................................................................17
Program Status Word............................................................................................................................18
Stack Pointer.........................................................................................................................................18
Data Pointer ..........................................................................................................................................18
GPIO..............................................................................................................................................................19
Timer 0 and Timer 1.......................................................................................................................................20
Timer/counter mode control register (TMOD).......................................................................................20
Timer/counter control register (TCON) .................................................................................................21
Mode 0 (13-bit Counter/Timer)..............................................................................................................21
Mode 1 (16-bit Counter/Timer)..............................................................................................................22
Mode 2 (8-bit auto-reload Counter/Timer) ............................................................................................22
Mode 3 (Timer 0 acts as two independent 8 bit Timers / Counters) .....................................................22
Timer 2...........................................................................................................................................................24
Capture mode .......................................................................................................................................25
Auto-reload (Up or Down Counter) .......................................................................................................26
Programmable clock out .......................................................................................................................27
Serial interface – UART .................................................................................................................................29
Serial interface ......................................................................................................................................29
1.1
1.2
1.3
2.
3.
3.1
3.2
3.3
3.4
4.
4.1
4.2
4.3
4.4
4.5
5.
6.
6.1
6.2
6.3
6.4
6.5
6.6
7.
8.
7.1
7.2
7.3
8.1
8.1.1
8.1.2
8.1.3
8.1.4
Mode 0..........................................................................................................................................30
Mode 1..........................................................................................................................................30
Mode 2..........................................................................................................................................31
Mode 3..........................................................................................................................................31
8.2
8.3
Multiprocessor Communication of Serial Interface ...............................................................................31
Baud Rate Generator............................................................................................................................32
8.3.1
8.3.2
8.3.3
Serial interface Mode 0 ................................................................................................................32
Serial interface Mode 2 ................................................................................................................32
Serial interface Mode 1 and 3 ......................................................................................................32
9.
10.
11.
Interrupt..........................................................................................................................................................33
Watch Dog Timer ...........................................................................................................................................35
Power Management Unit ...............................................................................................................................37
11.1
11.2
Idle mode ..............................................................................................................................................37
Power Down mode................................................................................................................................37
12.
In-System Programming (Internal ISP)..........................................................................................................38
12.1
12.2
12.3
ISP service program..............................................................................................................................38
Lock Bit (N) ...........................................................................................................................................38
Program the ISP Service Program........................................................................................................39
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M074 Ver B SM5953 12/27/2013
- 1 -