SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 3
V1.7
Table of Content
AMENDENT
HISTORY ........................................................................................................................................ 2
1
11
PRODUCT OVERVIEW............................................................................................................................... 8
1.1
SELECTION
TABLE ................................................................................................................................ 8
1.2
MIGRATION
TABLEUART ..................................................................................................................... 8
1.3
FEATURES ............................................................................................................................................... 9
1.4
SYSTEM
BLOCK
DIAGRAM ................................................................................................................ 10
1.5
PIN
ASSIGNMENT ................................................................................................................................. 11
1.6
PIN
DESCRIPTIONS .............................................................................................................................. 15
1.7
PIN
CIRCUIT
DIAGRAMS..................................................................................................................... 16
2
22
CENTRAL PROCESSOR UNIT (CPU) ...................................................................................................... 17
2.1
MEMORY
MAP ...................................................................................................................................... 17
2.1.1
PROGRAM MEMORY (ROM) .......................................................................................................... 17
2.1.2
RESET VECTOR (0000H) .................................................................................................................. 18
2.1.3
CODE
OPTION
TABLE .......................................................................................................................... 26
2.1.4
DATA
MEMORY
(RAM) ....................................................................................................................... 27
2.1.5
SYSTEM REGISTER .......................................................................................................................... 28
2.1.6
ACCUMULATOR ............................................................................................................................... 31
2.1.7
PROGRAM FLAG .............................................................................................................................. 32
2.1.8
PROGRAM COUNTER ...................................................................................................................... 33
2.1.9
MULTI-ADDRESS JUMPING ........................................................................................................... 35
2.1.10
Y, Z REGISTERS ........................................................................................................................... 36
2.1.11
H, L REGISTERS ........................................................................................................................... 37
2.1.12
R REGISTERS ................................................................................................................................ 38
2.2
ADDRESSING
MODE ............................................................................................................................ 39
2.2.1
IMMEDIATE ADDRESSING MODE ................................................................................................ 39
2.2.2
DIRECTLY ADDRESSING MODE ................................................................................................... 39
2.2.3
INDIRECTLY ADDRESSING MODE ............................................................................................... 39
2.3
STACK
OPERATION ............................................................................................................................. 40
2.3.1
OVERVIEW ........................................................................................................................................ 40
2.3.2
STACK REGISTERS .......................................................................................................................... 41
2.3.3
STACK OPERATION EXAMPLE ..................................................................................................... 42
3
33
RESET ........................................................................................................................................................ 43
3.1
OVERVIEW ............................................................................................................................................ 43
3.2
POWER
ON
RESET ................................................................................................................................ 43
3.3
WATCHDOG
RESET ............................................................................................................................. 44
3.4
BROWN
OUT
RESET ............................................................................................................................. 44
3.4.1
BROWN OUT DESCRIPTION ........................................................................................................... 44
3.4.2
THE SYSTEM OPERATING VOLTAGE DECSRIPTION ............................................................... 45
3.4.3
BROWN OUT RESET IMPROVEMENT .......................................................................................... 45
4
44
SYSTEM CLOCK ....................................................................................................................................... 47