ChipFind - документация

Электронный компонент: SN8A1702B

Скачать:  PDF   ZIP

Document Outline

Preliminary SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 1
Revision 0.5
*-
SN8P1700A Series
USER'S MANUAL
Preliminary

SN8P1702A
SN8P1703A

S
S
O
O
N
N
i
i
X
X
8
8
-
-
B
B
i
i
t
t
M
M
i
i
c
c
r
r
o
o
-
-
C
C
o
o
n
n
t
t
r
r
o
o
l
l
l
l
e
e
r
r













SONIX reserves the right to make change without further notice to any products herein to improve reliability, function or design. SONIX does not
assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under its patent
rights nor the rights of others. SONIX products are not designed, intended, or authorized for us as components in systems intended, for surgical
implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the SONIX product
could create a situation where personal injury or death may occur. Should Buyer purchase or use SONIX products for any such unintended or
unauthorized application. Buyer shall indemnify and hold SONIX and its officers, employees, subsidiaries, affiliates and distributors harmless against
all claims, cost, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unauthorized use even if such claim alleges that SONIX was negligent regarding the design or manufacture of
the part.
Preliminary SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 2
Revision 0.5
AMENDMENT HISTORY
Version Date
Description
VER 0.1
Jul. 2003
V1.0 Preliminary Version
VER 0.2
Jul. 2003
Change watchdog overflow table
VER 0.3
Jul. 2003
Aug. 2003
1. Modify selection table
2. DC current chars. Change
3. Feature change
4. Change SN8P1703 part number to SN8P1703A
5. Code option table has been relocated after pin description section.
6. Modify QTP approval sheet
7. Change Register description.
8. Add LVD typical value=1.8V in Elec. Char.
9. Add "Noise Filter" code option
VER 0.4
Sep. 2003
1. Add SN8P1702A SSOP20 for Mask Mass production.
2. Add TC1 Timer in Update table.
3. Modify Chap. 8 table/figure no.
4. Modify TC0/TC1 timer description and table.
5. Modify PWM description and table.
6. Modify electrical characteristic table
VER 0.5
Sep. 2003
1. Modify ADC convert time table
2. Modify the description of PEDGE register.
3. Modify the description of INTRQ register.
3. Remove approval sheet.
4. Separate the pin description section of SN8P1702A and SN8P1703A.
5. Remove PCB layout section
6. Add P-DIP 20 and Sop 20 package information.
7. Add SN8A1702B and SN8A1703A related description.
Preliminary SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 3
Revision 0.5
Table of Contents
AMENDMENT HISTORY .............................................................................................................. 2
1
1
1
PRODUCT OVERVIEW ..................................................................................................... 8
GENERAL DESCRIPTION ........................................................................................................... 8
FEATURES SELECTION TABLE ................................................................................................. 8
MASK/OTP R
ELATIVE
T
ABLE
.......................................................................................................... 8
ADC GRADE TABLE .................................................................................................................... 8
UPGRADE FROM SN8P1702 (O
LD VERSION
OTP) ....................................................................... 9
SN8P1702A/SN8P1703A FEATURES ....................................................................................... 10
SYSTEM BLOCK DIAGRAM ...................................................................................................... 11
PIN ASSIGNMENT ..................................................................................................................... 12
SN8P1702A Pin Assignment................................................................................................... 12
SN8P1703A Pin Assignment................................................................................................... 14
PIN DESCRIPTIONS .................................................................................................................. 15
PIN CIRCUIT DIAGRAMS .......................................................................................................... 15
2
2
2
CODE OPTION TABLE ................................................................................................... 16
3
3
3
ADDRESS SPACES ........................................................................................................ 17
PROGRAM MEMORY (ROM)..................................................................................................... 17
OVERVIEW ............................................................................................................................. 17
USER RESET VECTOR ADDRESS (0000H) ......................................................................... 18
INTERRUPT VECTOR ADDRESS (0008H)............................................................................ 18
CHECKSUM CALCULATION.................................................................................................. 20
GENERAL PURPOSE PROGRAM MEMORY AREA ............................................................. 21
LOOKUP TABLE DESCRIPTION............................................................................................ 21
JUMP TABLE DESCRIPTION................................................................................................. 23
DATA MEMORY (RAM) .............................................................................................................. 25
Preliminary SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 4
Revision 0.5
OVERVIEW ............................................................................................................................. 25
WORKING REGISTERS............................................................................................................. 26
Y, Z REGISTERS .................................................................................................................... 26
R REGISTERS ........................................................................................................................ 27
PROGRAM FLAG ....................................................................................................................... 27
CARRY FLAG ......................................................................................................................... 27
DECIMAL CARRY FLAG......................................................................................................... 27
ZERO FLAG ............................................................................................................................ 27
ACCUMULATOR ........................................................................................................................ 28
STACK OPERATIONS................................................................................................................ 29
OVERVIEW ............................................................................................................................. 29
STACK REGISTERS............................................................................................................... 30
STACK OPERATION EXAMPLE ............................................................................................ 31
PROGRAM COUNTER............................................................................................................... 32
ONE ADDRESS SKIPPING .................................................................................................... 33
MULTI-ADDRESS JUMPING .................................................................................................. 34
4
4
4
ADDRESSING MODE...................................................................................................... 35
OVERVIEW................................................................................................................................. 35
IMMEDIATE ADDRESSING MODE ........................................................................................ 35
DIRECTLY ADDRESSING MODE .......................................................................................... 35
INDIRECTLY ADDRESSING MODE....................................................................................... 35
TO ACCESS DATA in RAM BANK 0....................................................................................... 36
5
5
5
SYSTEM REGISTER ....................................................................................................... 37
OVERVIEW................................................................................................................................. 37
SYSTEM REGISTER ARRANGEMENT (BANK 0) ..................................................................... 37
BYTES of SYSTEM REGISTER.............................................................................................. 37
BITS of SYSTEM REGISTER ................................................................................................. 38
6
6
6
POWER ON RESET ........................................................................................................ 39
Preliminary SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 5
Revision 0.5
OVERVIEW................................................................................................................................. 39
EXTERNAL RESET DESCRIPTION........................................................................................... 40
7
7
7
OSCILLATORS................................................................................................................ 42
OVERVIEW................................................................................................................................. 42
CLOCK BLOCK DIAGRAM ..................................................................................................... 42
OSCM REGISTER DESCRIPTION......................................................................................... 43
EXTERNAL HIGH-SPEED OSCILLATOR............................................................................... 44
OSCILLATOR MODE CODE OPTION .................................................................................... 44
OSCILLATOR DEVIDE BY 2 CODE OPTION......................................................................... 44
OSCILLATOR SAFE GUARD CODE OPTION ....................................................................... 44
SYSTEM OSCILLATOR CIRCUITS ........................................................................................ 45
External RC Oscillator Frequency Measurement .................................................................... 46
INTERNAL LOW-SPEED OSCILLATOR .................................................................................... 47
SYSTEM MODE DESCRIPTION ................................................................................................ 48
OVERVIEW ............................................................................................................................. 48
NORMAL MODE ..................................................................................................................... 48
SLOW MODE .......................................................................................................................... 48
GREEN MODE........................................................................................................................ 48
POWER DOWN MODE........................................................................................................... 48
SYSTEM MODE CONTROL ....................................................................................................... 49
SYSTEM MODE BLOCK DIAGRAM ....................................................................................... 49
SYSTEM MODE SWITCHING ................................................................................................ 50
WAKEUP TIME........................................................................................................................... 51
OVERVIEW ............................................................................................................................. 51
HARDWARE WAKEUP ........................................................................................................... 51
EXTERNAL WAKEUP TRIGGER CONTROL ......................................................................... 52
8
8
8
TIMERS COUNTERS....................................................................................................... 53
WATCHDOG TIMER (WDT) ....................................................................................................... 53
T0M R
EGISTER
............................................................................................................................. 54
TIMER COUNTER 0 (TC0) ......................................................................................................... 55
OVERVIEW ............................................................................................................................. 55
TC0M MODE REGISTER........................................................................................................ 56