SM59R16A5/SM59R09A5/SM59R05A5
8-Bit Micro-controller
64KB/36KB/20KB with ISP Flash
& 2KB RAM embedded
8.3.2.
Capture Mode 1 .............................................................................................................................41
9.
Serial interface 0 and 1 ............................................................................................................................................42
9.1.
Serial interface 0 .........................................................................................................................................43
9.1.1.
Mode 0 ...........................................................................................................................................43
Mode 1 ...........................................................................................................................................44
Mode 2 ...........................................................................................................................................44
Mode 3 ...........................................................................................................................................45
9.1.2.
9.1.3.
9.1.4.
9.2.
Serial interface 1 .........................................................................................................................................45
9.2.1.
9.2.2.
Mode A...........................................................................................................................................45
Mode B...........................................................................................................................................46
9.3.
9.4.
Multiprocessor communication of Serial Interface 0 and 1.........................................................................46
Baud rate generator ....................................................................................................................................46
9.4.1.
9.4.2.
Serial interface 0 modes 1 and 3 ...................................................................................................46
Serial interface 1 modes A and B...................................................................................................47
9.5.
Clock source for baud rate..........................................................................................................................47
Watchdog timer ...............................................................................................................................................48
Interrupt ...........................................................................................................................................................51
Power Management Unit.................................................................................................................................56
Idle mode................................................................................................................................................56
Stop mode...............................................................................................................................................56
Pulse Width Modulation (PWM) ......................................................................................................................57
IIC function ......................................................................................................................................................60
SPI function .....................................................................................................................................................64
KBI – Keyboard Interface ................................................................................................................................68
LVI – Low Voltage Interrupt .............................................................................................................................71
10-bit Analog-to-Digital Converter (ADC) ........................................................................................................72
In-System Programming (Internal ISP) ...........................................................................................................75
ISP service program ...............................................................................................................................75
Lock Bit (N).............................................................................................................................................75
Program the ISP Service Program .........................................................................................................76
Initiate ISP Service Program...................................................................................................................76
ISP register – TAKEY, IFCON, ISPFAH, ISPFAL, ISPFD and ISPFC ....................................................76
RTC(Real Time Clock) function.......................................................................................................................79
OPA/Comparator .............................................................................................................................................83
10.
11.
12.
12.1.
12.2.
13.
14.
15.
16.
17.
18.
19.
19.1.
19.2.
19.3.
19.4.
19.5.
20.
21.
Operating Conditions ........................................................................................................................................................86
DC Characteristics............................................................................................................................................................86
OPA / Comparator Characteristics....................................................................................................................................88
FOSVOS TEL: 021-58998693
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M047
2
Ver.G SM59R16A5 01/2014