Document
SN8F2270B Series
USB 2.0 Low-Speed 8-Bit Micro-Controller
SN8F2270B Series
USER’S MANUAL
SN8F2271B SN8F22711B SN8F22721B
SONiX 8-Bit Micro-Controller
www.DataSheet4U.com 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
Version 1.2
SN8F2270B Series
USB 2.0 Low-Speed 8-Bit Micro-Controller
AMENDMENT HISTORY
Version VER1.0 VER1.1 VER1.2 Date 2009/3/23 2009/6/17 2009/7/9 Description version 1.0 Modify SN8F22721S/X/K to SN8F22721S/X/P Modify PWM output pin to p5.3.
www.DataSheet4U.com
SONiX TECHNOLOGY CO., LTD
Page 2
Version 1.2
SN8F2270B Series
USB 2.0 Low-Speed 8-Bit Micro-Controller
Table of Content
AMENDMENT HISTORY .......................................................................................................................... 2 1 PRODUCT OVERVIEW......................................................................................................................... 7 1.1 FEATURES .............................................................................................................................................. 7 1.2 SYSTEM BLOCK DIAGRAM ................................................................................................................ 8 1.3 PIN ASSIGNMENT ................................................................................................................................. 9 1.4 PIN DESCRIPTIONS ............................................................................................................................. 10 1.5 PIN CIRCUIT DIAGRAMS ................................................................................................................... 11 2 CENTRAL PROCESSOR UNIT (CPU) .............................................................................................. 12 2.1 MEMORY MAP ..................................................................................................................................... 12 2.1.1 PROGRAM MEMORY (ROM) ........................................................................................................ 12 2.1.1.1 RESET VECTOR (0000H) ...................................................................................................... 12 2.1.1.2 INTERRUPT VECTOR (0008H)............................................................................................. 13 2.1.1.3 LOOK-UP TABLE DESCRIPTION........................................................................................ 15 2.1.1.4 JUMP TABLE DESCRIPTION ............................................................................................... 17 2.1.1.5 CHECKSUM CALCULATION .............................................................................................. 19 2.1.2 CODE OPTION TABLE .................................................................................................................. 20 2.1.3 DATA MEMORY (RAM).................................................................................................................. 21 2.1.4 SYSTEM REGISTER........................................................................................................................ 22 2.1.4.1 SYSTEM REGISTER TABLE ................................................................................................ 22 2.1.4.2 SYSTEM REGISTER DESCRIPTION ................................................................................... 22 2.1.4.3 BIT DEFINITION of SYSTEM REGISTER........................................................................... 23 2.1.4.4 ACCUMULATOR ................................................................................................................... 25 2.1.4.5 PROGRAM FLAG ................................................................................................................... 26 2.1.4.6 PROGRAM COUNTER .................