English
Language : 

SM39A16M1 Datasheet, PDF (1/104 Pages) SyncMOS Technologies,Inc – Additional Baud Rate Generator for Serial port
SM39A16M1
8-Bit Micro-controller
16KB with ISP Flash
& 1K+256B RAM embedded
Product List ......................................................................................................................................................................... 3
Description ..........................................................................................................................................................................3
Ordering Information...........................................................................................................................................................3
Features .............................................................................................................................................................................. 3
Pin Configuration ................................................................................................................................................................4
Block Diagram.....................................................................................................................................................................5
Special Function Register (SFR) ........................................................................................................................................7
Function Description .........................................................................................................................................................14
1.
General Features .................................................................................................................................................14
1.1
Embedded Flash .........................................................................................................................................14
1.2
IO Pads .......................................................................................................................................................14
1.3
Instruction timing Selection .........................................................................................................................14
1.4
Clock Out Selection.....................................................................................................................................15
1.5
RESET ........................................................................................................................................................15
1.5.1 Hardware RESET function .................................................................................................................15
1.5.2 Software RESET function...................................................................................................................15
1.5.3 Reset status........................................................................................................................................16
1.5.4 Time Access Key register (TAKEY) ....................................................................................................16
1.5.5 Software Reset register (SWRES) .....................................................................................................17
1.5.6 Example of software reset..................................................................................................................17
1.6
Clocks .........................................................................................................................................................17
2.
Instruction Set ......................................................................................................................................................18
3.
Memory Structure ................................................................................................................................................22
3.1
Program Memory ........................................................................................................................................22
3.2
Data Memory...............................................................................................................................................23
3.3
Data memory - lower 128 byte (00h to 7Fh) ...............................................................................................23
3.4
Data memory - higher 128 byte (80h to FFh)..............................................................................................23
3.5
Data memory - Expanded 1K Bytes ( 0000h ~ 03FFh)...............................................................................23
4.
CPU Engine .........................................................................................................................................................24
4.1
Accumulator ................................................................................................................................................24
4.2
B Register ...................................................................................................................................................24
4.3
Program Status Word..................................................................................................................................25
4.4
Stack Pointer ...............................................................................................................................................25
4.5
Data Pointer ................................................................................................................................................25
4.6
Data Pointer 1 .............................................................................................................................................26
4.7
Clock control register ..................................................................................................................................26
4.8
Interface control register .............................................................................................................................27
4.9
PAGESEL (Page Select) .............................................................................................................................27
5.
GPIO ....................................................................................................................................................................29
6.
Multiplication Division unit....................................................................................................................................31
6.1
Operating registers of the MDU ..................................................................................................................31
6.2
Operation of the MDU .................................................................................................................................32
6.2.1 First phase: Loading the MDx registers. ............................................................................................32
6.2.2 Second phase: Executing calculation. ...............................................................................................32
6.2.3 Third phase: Reading the result from the MDx registers. ..................................................................33
6.3
Normalizing .................................................................................................................................................33
6.4
Shifting ........................................................................................................................................................33
7.
Timer 0 and Timer 1.............................................................................................................................................34
7.1
Timer/counter mode control register (TMOD) .............................................................................................34
7.2
Timer/counter control register (TCON) .......................................................................................................35
7.3
Peripheral Frequency control register.........................................................................................................36
7.4
Mode 0 (13-bit Counter/Timer)....................................................................................................................36
7.5
Mode 1 (16-bit Counter/Timer)....................................................................................................................37
7.6
Mode 2 (8-bit auto-reload Counter/Timer) ..................................................................................................37
7.7
Mode 3 (Timer 0 acts as two independent 8 bit Timers / Counters) ...........................................................38
8.
Timer 2 and Capture Compare Unit.....................................................................................................................39
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M069
Ver E SM39A16M1 04/20/2015
-1-