Product List ......................................................................................................................................................................... 3
Ordering Information ........................................................................................................................................................... 3
Features .............................................................................................................................................................................. 3
Special Function Register (SFR) ........................................................................................................................................ 8
Function Description ......................................................................................................................................................... 12
1.
General Features ..................................................................................................................................................... 12
The Clock Out Selection .................................................................................................................................. 13
1.5.1 Hardware RESET function .......................................................................................................................... 13
1.5.2 Software RESET function ........................................................................................................................... 13
1.5.3 Reset status ................................................................................................................................................ 14
1.5.4 Time Access Key register (TAKEY)............................................................................................................. 14
1.5.6 Example of software reset........................................................................................................................... 15
Instruction Set .......................................................................................................................................................... 16
Program Memory ............................................................................................................................................. 20
3.2
Data Memory ................................................................................................................................................... 21
3.3
Data memory - lower 128 byte (00h to 7Fh) ................................................................................................... 21
3.4
Data memory - higher 128 byte (80h to FFh) .................................................................................................. 21
3.5
Data memory - Expanded 256 bytes ($00 to $FF) .......................................................................................... 21
4.
CPU Engine ............................................................................................................................................................. 22
B Register ........................................................................................................................................................ 22
4.3
Program Status Word ...................................................................................................................................... 23
Data Pointer ..................................................................................................................................................... 23
4.6
Data Pointer 1.................................................................................................................................................. 24
4.7
Clock control register ....................................................................................................................................... 24
4.8
Interface control register .................................................................................................................................. 25
Mode 3 (Timer 0 acts as two independent 8 bit Timers / Counters)................................................................ 33
7.
Timer 2 and Capture Compare Unit ......................................................................................................................... 34
7.1
Timer 2 function ............................................................................................................................................... 37
7.1.4 Reload of Timer 2 ........................................................................................................................................ 38
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M063
Ver F SM39R08A3 06/30/2015
-1-
SM39R08A3
8-Bit Micro-controller
with 8KB+1KB ISP Flash
& 512B RAM embedded
7.2
Compare function ............................................................................................................................................ 38
Capture function .............................................................................................................................................. 40
Serial interface ......................................................................................................................................................... 41
8.1
Serial interface................................................................................................................................................. 42
8.4.1 Serial interface modes 1 and 3 ................................................................................................................... 44
Power Management Unit ..................................................................................................................................... 55
IIC function ........................................................................................................................................................... 59
14.
SPI Function - Serial Peripheral Interface ........................................................................................................... 64
ISP service program ........................................................................................................................................ 77
18.2
Lock Bit (N) ...................................................................................................................................................... 77
18.3
Program the ISP Service Program .................................................................................................................. 78
18.4
Initiate ISP Service Program ........................................................................................................................... 78
DC Characteristics ............................................................................................................................................................ 85