English
Language : 

SM39R08A5 Datasheet, PDF (1/58 Pages) SyncMOS Technologies,Inc – Additional Baud Rate Generator
SM39R08A5
8-Bit Micro-controller
with 8KB Flash
& 256B RAM embedded
Table of Contents
Product List .......................................................................................................................................................................... 3
Description ........................................................................................................................................................................... 3
Features ............................................................................................................................................................................... 3
Pin Configuration ................................................................................................................................................................. 4
Block Diagram...................................................................................................................................................................... 5
Pin Description..................................................................................................................................................................... 6
Special Function Register (SFR) ......................................................................................................................................... 7
Function Description .......................................................................................................................................................... 10
1. General Features ........................................................................................................................................................ 10
1.1. Embedded Flash .......................................................................................................................................... 10
1.2. IO Pads ........................................................................................................................................................ 10
1.3. Instruction timing Selection .......................................................................................................................... 10
1.4. The Clock Output Selection ..........................................................................................................................11
1.5. RESET ..........................................................................................................................................................11
1.5.1. Hardware RESET function ...............................................................................................................11
1.5.2. Software RESET function ................................................................................................................11
1.5.3. Reset status .....................................................................................................................................11
1.5.4. Time Access Key register (TAKEY)................................................................................................. 12
1.5.5. Software Reset register (SWRES).................................................................................................. 12
1.5.6. Example of software reset .............................................................................................................. 12
1.6. Clocks .......................................................................................................................................................... 12
2. Instruction Set ............................................................................................................................................................. 14
3. Memory Structure ........................................................................................................................................................ 18
3.1. Program Memory ......................................................................................................................................... 18
3.2. Data Memory................................................................................................................................................ 19
3.2.1. Data memory - lower 128 byte (00h to 7Fh) ................................................................................... 19
3.2.2. Data memory - higher 128 byte (80h to FFh) ................................................................................. 19
4. CPU Engine................................................................................................................................................................. 20
4.1. Accumulator ................................................................................................................................................. 20
4.2. B Register .................................................................................................................................................... 20
4.3. Program Status Word................................................................................................................................... 21
4.4. Stack Pointer ................................................................................................................................................ 21
4.5. Data Pointer ................................................................................................................................................. 21
4.6. Data Pointer 1 .............................................................................................................................................. 22
4.7. Interface control register .............................................................................................................................. 22
5. GPIO............................................................................................................................................................................ 23
5.1. SFR Setting Method..................................................................................................................................... 23
5.2. Software of Writer Setting Method ............................................................................................................... 23
6. Timer 0 and Timer 1 .................................................................................................................................................... 24
6.1. Timer/counter mode control register (TMOD) .............................................................................................. 24
6.2. Timer/counter control register (TCON) ........................................................................................................ 25
6.3. Enhance Interrupt Trigger SFR(ENHIT)....................................................................................................... 25
6.4. T0、T1 signal swapping .............................................................................................................................. 26
7. Serial interface ............................................................................................................................................................ 27
7.1. Mode 0 ......................................................................................................................................................... 28
7.2. Mode 1 ......................................................................................................................................................... 28
7.3. Mode 2 ......................................................................................................................................................... 29
7.4. Mode 3 ......................................................................................................................................................... 29
7.5. Multiprocessor communication .................................................................................................................... 29
7.6. Baud rate generator ..................................................................................................................................... 30
8. Watchdog timer ........................................................................................................................................................... 31
9. Interrupt ....................................................................................................................................................................... 35
10. Power Management Unit............................................................................................................................................. 40
10.1. Idle mode ..................................................................................................................................................... 40
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M067
Ver E SM39R08A5 06/30/2015
-1-