SN8P2604
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 4
Version 1.1
2.3.1
OVERVIEW .............................................................................................................................. 36
2.3.2
STACK REGISTERS ................................................................................................................. 37
2.3.3
STACK OPERATION EXAMPLE............................................................................................. 38
3
3
3
RESET ............................................................................................................................................. 39
3.1 OVERVIEW..................................................................................................................................... 39
3.2
POWER ON RESET ........................................................................................................................ 41
3.3 WATCHDOG
RESET...................................................................................................................... 41
3.4 EXTERNAL
RESET........................................................................................................................ 42
3.4.1
EXTERNAL RESET CIRCUIT.................................................................................................. 42
3.5
LOW VOLTAGE DETECTOR (LVD) ........................................................................................... 43
4
4
4
SYSTEM CLOCK .......................................................................................................................... 44
4.1 OVERVIEW..................................................................................................................................... 44
4.2 CLOCK
BLOCK
DIAGRAM .......................................................................................................... 44
4.3 OSCM
REGISTER........................................................................................................................... 45
4.4
SYSTEM HIGH CLOCK................................................................................................................. 46
4.4.1
EXTERNAL HIGH CLOCK...................................................................................................... 46
4.4.1.1 CRYSTAL/CERAMIC......................................................................................................... 47
4.4.1.2 RC......................................................................................................................................... 47
4.4.1.3
EXTERNAL CLOCK SIGNAL........................................................................................... 48
4.5 SYSTEM
LOW
CLOCK.................................................................................................................. 49
4.5.1
SYSTEM CLOCK MEASUREMENT ........................................................................................ 50
5
5
5
SYSTEM OPERATION MODE ................................................................................................... 51
5.1 OVERVIEW..................................................................................................................................... 51
5.2
SYSTEM MODE SWITCHING ...................................................................................................... 52
5.3 WAKEUP ......................................................................................................................................... 54
5.3.1
OVERVIEW .............................................................................................................................. 54
5.3.2
WAKEUP TIME........................................................................................................................ 54
5.3.3
P1W WAKEUP CONTROL REGISTER ................................................................................... 55