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 ......................................................................................................................... 10
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.
1.5.5.
1.5.6.
Example of software reset .............................................................................................................. 12
1.6.
Clocks .......................................................................................................................................................... 12
2.
Instruction Set ............................................................................................................................................................. 13
3.
Memory Structure ........................................................................................................................................................ 17
3.1.
Program Memory ......................................................................................................................................... 17
3.2.
Data Memory................................................................................................................................................ 18
3.2.1.
3.2.2.
4.
CPU Engine................................................................................................................................................................. 19
4.1.
Accumulator ................................................................................................................................................. 19
4.2.
B Register .................................................................................................................................................... 19
4.3.
Program Status Word................................................................................................................................... 20
4.4.
Stack Pointer ................................................................................................................................................ 20
4.5.
Data Pointer ................................................................................................................................................. 20
4.6.
Data Pointer 1 .............................................................................................................................................. 21
4.7.
Interface control register .............................................................................................................................. 21
5.
GPIO............................................................................................................................................................................ 22
6.
Timer 0 and Timer 1 .................................................................................................................................................... 23
6.1.
6.2.
6.3.
T0、T1 signal swapping............................................................................................................................... 24
7.
Serial interface ............................................................................................................................................................ 25
7.1.
Mode 0 ......................................................................................................................................................... 26
7.2.
Mode 1 ......................................................................................................................................................... 26
7.3.
Mode 2 ......................................................................................................................................................... 27
7.4.
Mode 3 ......................................................................................................................................................... 27
7.5.
Multiprocessor communication .................................................................................................................... 27
7.6.
Baud rate generator ..................................................................................................................................... 28
8.
Watchdog timer ........................................................................................................................................................... 29
9.
Interrupt ....................................................................................................................................................................... 32
10.
Power Management Unit............................................................................................................................................. 37
10.1.
Idle mode ..................................................................................................................................................... 37
10.2.
Stop mode .................................................................................................................................................... 37
11.
PWM - Pulse Width Modulation .................................................................................................................................. 38
12.
IIC function .................................................................................................................................................................. 41
Specifications subject to change without notice contact your sales representatives for the most recent information.
Table of Contents
- 1 -
SM39R08A5
8-Bit Micro-controller
with 8KB Flash
& 256B RAM embedded
Ver.A SM39R08A5 02/2013
Need help?
Do you have a question about the SM39R08A5 and is the answer not in the manual?
Questions and answers