No Preview Available !
SN8P2602B
USER’S MANUAL
Preliminary Specification Version 0.4
www.DataSheet4U.com
SN8P2602B
8-Bit Micro-Controller
SONiX 8-Bit Micro-Controller
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.
SONiX TECHNOLOGY CO., LTD
Page 1
Preliminary Version 0.4
SN8P2602B
8-Bit Micro-Controller
6.6 INT0 (P0.0) INTERRUPT OPERATION......................................................................................... 62
6.7 T0 INTERRUPT OPERATION ....................................................................................................... 63
6.8 TC0 INTERRUPT OPERATION..................................................................................................... 64
6.9 MULTI-INTERRUPT OPERATION............................................................................................... 65
77 I/O PORT ................................................................................................................................................ 66
7.1 I/O PORT MODE ............................................................................................................................. 66
7.2 I/O PULL UP REGISTER ................................................................................................................ 67
7.3 I/O OPEN-DRAIN REGISTER........................................................................................................ 68
7.4 I/O PORT DATA REGISTER .......................................................................................................... 69
88 TIMERS .................................................................................................................................................. 70
www.Data8S.1heet4WUA.cTomCHDOG TIMER...................................................................................................................... 70
8.2 TIMER 0 (T0) ................................................................................................................................... 72
8.2.1 OVERVIEW .............................................................................................................................. 72
8.2.2 T0M MODE REGISTER........................................................................................................... 72
8.2.3 T0C COUNTING REGISTER................................................................................................... 73
8.2.4 T0 TIMER OPERATION SEQUENCE ..................................................................................... 74
8.3 TIMER/COUNTER 0 (TC0) ............................................................................................................ 75
8.3.1 OVERVIEW .............................................................................................................................. 75
8.3.2 TC0M MODE REGISTER ........................................................................................................ 76
8.3.3 TC0C COUNTING REGISTER ................................................................................................ 77
8.3.4 TC0R AUTO-LOAD REGISTER .............................................................................................. 78
8.3.5 TC0 CLOCK FREQUENCY OUTPUT (BUZZER) .................................................................. 79
8.3.6 TC0 TIMER OPERATION SEQUENCE .................................................................................. 80
8.4 PWM0 MODE .................................................................................................................................. 82
8.4.1 OVERVIEW .............................................................................................................................. 82
8.4.2 TCxIRQ and PWM Duty ........................................................................................................... 83
8.4.3 PWM Duty with TCxR Changing.............................................................................................. 84
8.4.4 PWM PROGRAM EXAMPLE .................................................................................................. 85
99 INSTRUCTION TABLE ....................................................................................................................... 86
1100 ELECTRICAL CHARACTERISTIC .............................................................................................. 87
10.1 ABSOLUTE MAXIMUM RATING ................................................................................................ 87
10.2 ELECTRICAL CHARACTERISTIC............................................................................................... 87
1111 OTP PROGRAMMING PIN............................................................................................................. 88
11.1.1 The pin assignment of Easy Writer transition board socket: ................................................... 88
11.1.2 Programming Pin Mapping: .................................................................................................... 89
1122 PACKAGE INFORMATION ........................................................................................................... 90
SONiX TECHNOLOGY CO., LTD
Page 5
Preliminary Version 0.4