1   G e n e r a l   D e s c r i p t i o n 
 
 	 S C 9 5 F 8 6 1 7 B / 8 6 1 6 B / 8 6 1 5 B / 8 6 1 3 B / 8 6 1 2 B   ( h e r e i n a f t e r   r e f e r r e d   t o   a s   t h e   S C 9 5 F 8 6 1 X B )   i s   a   s e r i e s   o f   e n h a n c e d   1 T   8 0 5 1   c o r e   i n d u s t r y - s t a n d a r d   F l a s h   M i c r o c o n t r o l l e r     u n i t   ( M C U )   w i t h   i n t e g r a t e d   T o u c h K e y     f u n c t i o n ,   t h e   i n s t r u c t i o n   s e t   i s   c o m p a t i b l e   w i t h   t h e   s t a n d a r d   8 0 5 1   s e r i e s . 
 
 	 T h e   S C 9 5 F 8 6 1 X B   h a s   a   S u p e r - h i g h - s p e e d   1 T   8 0 5 1   C P U   c o r e   w i t h   a n   o p e r a t i n g   f r e q u e n c y   o f   u p   t o   3 2   M H z . 
 
 	 T h e   S C 9 5 F 8 6 1 X   i n t e g r a t e s   a   h a r d w a r e   m u l t i p l i e r   a n d   d i v i d e r   h a r d w a r e   C R C   a n d   d u a l   D P T R   d a t a   p o i n t e r s   t o   a c c e l e r a t e   d a t a   o p e r a t i o n s   a n d   m o v e m e n t   s p e e d .   T h e   h a r d w a r e   m u l t i p l i e r   a n d   d i v i d e r   a n d   h a r d w a r e   C R C   d o e s   n o t   o c c u p y   C P U   c y c l e s ,   a n d   t h e   o p e r a t i o n   i s   i m p l e m e n t e d   b y   h a r d w a r e ,   a n d   t h e   s p e e d   i s   f a s t e r   t h a n   t h e   m u l t i p l i c a t i o n   a n d   d i v i s i o n   s p e e d   r e a l i z e d   b y   s o f t w a r e ;   d u a l   D P T R   d a t a   p o i n t e r s   c a n   b e   u s e d   t o   a c c e l e r a t e   d a t a   s t o r a g e   a n d   m o v e m e n t . 
 
 	 T h e   S C 9 5 F 8 6 1 X B   h a s   h i g h   p e r f o r m a n c e   a n d   r e l i a b i l i t y ,   w i t h   a   w i d e   o p e r a t i n g   v o l t a g e   o f   2 . 0 V ~ 5 . 5 V ,   a   s u p e r - w i d e   o p e r a t i n g   t e m p e r a t u r e   o f   - 4 0  C   t o   1 0 5  C ,   a n d   h a s   g o o d   E S D   p e r f o r m a n c e   a n d   E F T   a n t i - i n t e r f e r e n c e   a b i l i t y .   U s i n g   t h e   i n d u s t r y - l e a d i n g   e F l a s h   p r o c e s s ,   t h e   F l a s h   c a n   b e   w r i t t e n   m o r e   t h a n   1 0 0 , 0 0 0   t i m e s ,   a n d   c a n   b e   s t o r e d   f o r   1 0 0   y e a r s   a t   r o o m   t e m p e r a t u r e . 
 
 	 T h e   S C 9 5 F 8 6 1 X B   h a s   a   b u i l t - i n   l o w   p o w e r   c o n s u m p t i o n   W D T   W a t c h d o g   T i m e r .   I t   h a s   a   4 - l e v e l   s e l e c t a b l e   v o l t a g e   L V R   l o w   v o l t a g e   r e s e t   f u n c t i o n   a n d   a   s y s t e m   c l o c k   m o n i t o r i n g   f u n c t i o n .   I t   h a s   l o w   p o w e r   c o n s u m p t i o n   c a p a b i l i t y   i n   o p e r a t i o n   a n d   p o w e r - d o w n   m o d e s .   U n d e r   n o r m a l   o p e r a t i n g   m o d e :   a b o u t   6 m A @ 3 2 M   a t   5 V . 
 
 	 T h e   S C 9 5 F 8 6 1 X B   s e r i e s   i s   a l s o   i n t e g r a t e d   w i t h   s u p e r   r i c h   h a r d w a r e   r e s o u r c e s :   b u i l t - i n   3 1 - c h a n n e l   ( h i g h   s e n s i t i v i t y )   t o u c h k e y   c i r c u i t s ,   6 4   K b y t e s F l a s h   R O M ,   S R A M :   i n t e r n a l   2 5 6   b y t e s +   e x t e r n a l   8   K b y t e s +   P W M & L C D   8 0   b y t e s 06 	 K b y t e s   E E P R O M , ;   u p   t o   4 6   G P   I / O   ( p a r t i a l l y   g r a d a b l e   c o n t r o l ) ,   1 6   I O   c a n   b e   e x t e r n a l l y   i n t e r r u p t e d ,   5   1 6 - b i t   t i m e r s ,   1 4 - c h a n n e l   1 6 - b i t   P W M : 8 - c h a n n e l   m u l t i - f u n c t i o n   d e a d   z o n e   c o m p l e m e n t a r y   P W M , 6   c h a n n e l   P W M   o u t p u t   o f   t i m e r , 1   U A R T , 6   U S C I ( U A R T / S P I / I I C ) ,   B u i l t - i n   L C D / L E D   h a r d w a r e   d r i v e r ,   i n t e r n a l    2 %   h i g h - p r e c i s i o n   h i g h -   f r e q u e n c y   3 2 / 1 6 / 8 / 4   M H z   o s c i l l a t o r   a n d    4 %   p r e c i s i o n   l o w - f r e q u e n c y   3 2   k H z   o s c i l l a t o r ,   e x t e r n a l   3 2 . 7 6 8   k H z   r e s o u r c e s   s u c h   a s   c r y s t a l   o s c i l l a t o r s .   1   a n a l o g   c o m p a r a t o r ,   1 7   c h a n n e l s   1 2 - b i t   h i g h   p r e c i s i o n   A D C . 
 
 	 T h e   S C 9 5 F 8 6 1 X B   i s   v e r y   c o n v e n i e n t   f o r   d e v e l o p m e n t   a n d   d e b u g g i n g ,   w i t h   I S P   ( I n - S y s t e m   P r o g r a m m i n g ) ,   I C P   ( I n - C i r c u i t   P r o g r a m m i n g )   a n d   I A P   ( I n - A p p l i c a t i o n   P r o g r a m m i n g ) .   A l l o w   t h e   c h i p   t o   d e b u g   a n d   u p g r a d e   t h e   p r o g r a m   m e m o r y   d i r e c t l y   o n   t h e   c i r c u i t   b o a r d   w h e n   t h e   c h i p   i s   o n l i n e   o r   p o w e r e d . 
 
 	 T h e   S C 9 5 F 8 6 1 X B   h a s   v e r y   e x c e l l e n t   a n t i - j a m m i n g   p e r f o r m a n c e   a n d   e x c e l l e n t   t o u c h k e y   p e r f o r m a n c e .   I t   i s   v e r y   s u i t a b l e   f o r   v a r i o u s   a p p l i c a t i o n s   a b o u t   t o u c h k e y   a n d   m a i n   c o n t r a l   s y s t e m ,   s u c h   a s   I n t e l l i g e n t   h o m e   a p p l i a n c e s   a n d   I n t e l l i g e n t   H o u s e   S y s t e m ,   I n t e r n e t   o f   t h i n g s ,   w i r e l e s s   c o m m u n i c a t i o n ,   g a m e   c o n s o l e s   a n d   o t h e r   i n d u s t r i a l   c o n t r o l s ,   a n d   C o n s u m e r   a p p l i c a t i o n   a r e a s . 
 
 
 
 2   F e a t u r e s 
 
 O p e r a t i n g   C o n d i t i o n s 
 
 	 V o l t a g e   R a n g e :   2 . 0 V ~ 5 . 5 V 
 
 	 T e m p e r a t u r e   R a n g e :   - 4 0 !  ~   + 1 0 5 !
 
 E M S 
 
 	 E S D 
 
 	 	 H B M M I L - S T D - 8 8 3 J   C l a s s   3 A 
 
 	 	 M M J E D E C   E I A / J E S D 2 2 - A 1 1 5   C l a s s   C 
 
 	 	 C D M A N S I / E S D A / J E D E C   J S - 0 0 2 - 2 0 1 8   C l a s s   C 3 
 
 	 E F T 
 
 	 	 E N 6 1 0 0 0 - 4 - 4   L e v e l   4 
 
 P a c k a g e 
 
 	 2 0   P I N :   S O P 2 0   /   T S S O P 2 0 
 
 	 2 8   P I N :   S O P 2 8   /   T S S O P 2 8 
 
 	 3 2   P I N :   L Q F P 3 2   ( 7 X 7 ) 
 
 	 4 4   P I N :   L Q F P 4 4   ( 1 0 X 1 0 ) 
 
 	 4 8   P I N :   L Q F P 4 8   ( 7 X 7 ) 
 
 C P U 
 
 	 S u p e r - h i g h - s p e e d   1 T   8 0 5 1   c o r e 
 
 	 T h e   i n s t r u c t i o n   s e t   c o m p a t i b l e   w i t h   8 0 5 1 
 
 	 T h e   e x e c u t i o n   s p e e d   i s   a b o u t   t w i c e   t h a t   o f   o t h e r   1 T   8 0 5 1 
 
 	 D o u b l e   d a t a   p o i n t e r s   ( D P T R s ) 
 
 	 F l a s h   R O M 6 4   K b y t e s   F l a s h   R O M 
 
 	 M O V C   d i s a b l e s   a d d r e s s i n g   0 0 0 0 H   ~   0 0 F F H 
 
 	 C a n   b e   r e w r i t t e n   1 0 0 , 0 0 0   t i m e s 
 
 	 A P R O M   a r e a   a l l o w e d   I A P   o p e r a t i o n   i n   F l a s h   c a n   b e   s e t   t o   0 K / 1 K / 2 K / A l l   A P R O M   b y   C o d e   O p t i o n . 
 
 L D R O M 
 
 	 B o o t L o a d e r   c o d e   m e m o r y 
 
 	 L D R O M   a r e a   c a n   b e   s e t   t o   0 K / 1 K / 2 K / 4 K   b y   C o d e   O p t i o n 
 
 E E P R O M 
 
 	 I n d e p e n d e n t   6   K b y t e s   E E P R O M 
 
 	 C a n   b e   r e w r i t t e n   1 0 0 , 0 0 0   t i m e s ,   h a s   m o r e   t h a n   1 0 0 - y e a r   p r e s e r v a t i o n   l i f e   i n   t h e   a m b i e n t   t e m p e r a t u r e   o f   2 5 !
 
 S R A M 
 
 	 2 5 6   b y t e s   o n - c h i p   d i r e c t   a c c e s s   R A M 
 
 	 8   K b y t e s   o n - c h i p   I n d i r e c t   a c c e s s   R A M 
 
 	 8 0   b y t e s   P W M & L C D   R A M 
 
 F l a s h   P r o g r a m m i n g   a n d   E m u l a t i o n 
 
 	 2 - w i r e   J T A G   p r o g r a m m i n g   a n d   e m u l a t i o n   i n t e r f a c e 
 
 S y s t e m   c l o c k   ( f S Y S ) 
 
 	 B u i l t - i n   h i g h   f r e q u e n c y   3 2   M H z   o s c i l l a t o r   ( f H R C ) 
 
 	 	 c a n   b e   s e l e c t e d   a n d   s e t   b y   t h e   p r o g r a m m e r   a s :   3 2 / 1 6 / 8 / 4   M H z @ 2 . 0 ~ 5 . 5 V 
 
 	 	 F r e q u e n c y   E r r o r :   W i t h i n    1 %   @   - 4 0   ~   8 5 !  @   2 . 0   ~   5 . 5 V 
 
 	 	 F r e q u e n c y   E r r o r :   W i t h i n    2 %   @   - 4 0   ~   1 0 5 !  @   2 . 0   ~   5 . 5 V 
 
 	 	 T h e   s y s t e m   c l o c k   c a n   b e   a u t o m a t i c a l l y   c a l i b r a t e d   b y   3 2 . 7 6 8   k H z   e x t e r n a l   c r y s t a l   o s c i l l a t o r ,   a f t e r   c a l i b r a t i o n   H R C   a c c u r a c y   c a n   b e   i n f i n i t e l y   c l o s e   t o   t h e   a c c u r a c y   o f   e x t e r n a l   3 2 . 7 6 8   k H z   c r y s t a l   o s c i l l a t o r . 
 
 B u i l t - i n   l o w - f r e q u e n c y   c r y s t a l   o s c i l l a t o r   c i r c u i t : 
 
 	 3 2 . 7 6 8 k   o s c i l l a t o r   c a n   b e   c o n n e c t e d   e x t e r n a l l y   a s   a   B a s e   T i m e r   c l o c k   s o u r c e . 
 
 B u i l t - i n   l o w - f r e q u e n c y   3 2   k H z   o s c i l l a t o r   ( L R C ) : 
 
 	 u s e d   a s   t h e   c l o c k   s o u r c e   f o r   B a s e   T i m e r   a n d   W D T   a n d   w a k e   u p   S T O P 
 
 	 F r e q u e n c y   E r r o r :   A f t e r   t h e   r e g i s t e r   c o r r e c t i o n ,   w i t h i n    4 %   @   - 2 0   ~   8 5 !  @   4 . 0   ~   5 . 5 V 
 
 L o w - v o l t a g e   R e s e t   ( L V R ) 
 
 	 4   o p t i o n s   o f   r e s e t   v o l t a g e :   4 . 3 / 3 . 7 /   2 . 9 / 1 . 9 V , 
 
 	 t h e   d e f a u l t   v a l u e   c a n   b e   s e l e c t e d   b y   t h e   C o d e   O p t i o n 
 
 I n t e r r u p t s   ( I N T ) 
 
 	 T i m e r   0 ~ T i m e r   4 ,   I N T 0 ~ 2 ,   A D C ,   P W M ,   U A R T ,   U S C I 0 ~ 5 ,   B a s e   T i m e r ,   T K ,   C M P   2 0   i n t e r r u p t   s o u r c e s 
 
 	 E x t e r n a l   i n t e r r u p t   c o n t a i n s   3   i n t e r r u p t   v e c t o r s ,   1 6   i n t e r r u p t   p o r t s .   A l l   c a n   s e t   u p   r i s i n g   e d g e ,   f a l l i n g   e d g e ,   d u a l   e d g e   i n t e r r u p t . 
 
 	 T w o - l e v e l   i n t e r r u p t   p r i o r i t y   c a p a b i l i t y 
 
 D i g i t a l   P e r i p h e r a l 
 
 	 G P I O :   U p   t o   4 6   b i d i r e c t i o n a l   i n d e p e n d e n t l y   c o n t r o l l a b l e   I / O   p o r t s 
 
 	 	 I n d e p e n d e n t   s e t t i n g   o f   p u l l - u p   r e s i s t o r s 
 
 	 	 P 0 ~ P 3 L ( P 3 . 0 / 1 / 2 / 3 )   p o r t   s o u r c e   d r i v e   c a p a c i t y   i s   c o n t r o l l e d   b y   f o u r   l e v e l s 
 
 	 	 A l l   I O   p o r t s   h a v e   l a r g e   s i n k   c u r r e n t   d r i v e   c a p a b i l i t y   ( 5 0 m A ) 
 
 	 B u i l t - i n   W D T ,   o p t i o n a l   c l o c k   f r e q u e n c y   d i v i s i o n   r a t i o 
 
 	 5   T i m e r s :   T i m e r 0 ~ 4 0T i m e r 1 0T i m e 2 0T i m e r 3   a n d   T i m e r 4 
 
 	 	 T i m e 2 0T i m e r 3   a n d   T i m e r 4   h a v e   C a p t u r e   f u n c t i o n 
 
 	 	 T i m e 2 0T i m e r 3   a n d   T i m e r 4   e a c h   c a n   p r o v i d e   t w o   c o n v e n t i o n a l   P W M 
 
 	 6 - c h a n n e l   1 6 - b i t   c o n v e n t i o n a l   P W M 
 
 	 	 T i m e 2 0T i m e r 3   a n d   T i m e r 4   e a c h   c a n   p r o v i d e   t w o   c o n v e n t i o n a l   P W M 
 
 	 8 - c h a n n e l   1 6 - b i t   m u l t i - f u n c t i o n   P W M 
 
 	 	 P u b l i c   c y c l e   a n d   t h e   d u t y   c y c l e   c a n   b e   s e t   s e p a r a t e l y 
 
 	 	 C o m p l e m e n t a r y   P W M   w a v e f o r m s   w i t h   d e a d   z o n e s   c a n   b e   o u t p u t 
 
 	 O n e   i n d e p e n d e n t   U A R T   c o m m u n i c a t i o n   p o r t   U A R T 0 
 
 	 S i x   U A R T / S P I / T W I   c o m m u n i c a t i o n   i n t e r f a c e s   ( U S C I ) 
 
 	 	 W h e n   U S C I 0   i s   s e t   t o   S P I 0 ,   t h e   d r i v i n g   c a p a b i l i t y   o f   t h e   p i n s   c o r r e s p o n d i n g   t o   i t s   s i g n a l   p o r t   w i l l   b e   e n h a n c e d 
 
 	 B u i l t - i n   C R C   c h e c k   m o d u l e 
 
 	 I n t e g r a t e d   w i t h   1 6   *   1 6 - b i t   h a r d w a r e   M u l t i p l i e r - D i v i d e   U n i t   ( M D U ) 
 
 L C D / L E D   d r i v e r 
 
 	 C h o o s e   o n e   o f   t w o   L C D / L E D ,   s h a r e   r e g i s t e r s   a n d   I O   p o r t s 
 
 	 8   X   2 4 ,   6   X   2 6 ,   5   X   2 7 ,   o r   4 X   2 8   s e g m e n t s   L E D   d r i v e r 
 
 	 L E D   s e g m e n t   p o r t   s o u r c e   d r i v e   c a p a b i l i t y   i s   s e l e c t a b l e   i n   f o u r   l e v e l s 
 
 	 8   X   2 4 ,   6   X   2 6 ,   5   X   2 7 ,   o r   4 X   2 8   s e g m e n t s   L C D   d r i v e r 
 
 A n a l o g   P e r i p h e r a l 
 
 	 3 1 - c h a n n e l   h i g h   s e n s i t i v i t y   T o u c h K e y   ( T K )   c i r c u i t . 
 
 	 	 A p p l i c a b l e   t o   T o u c h K e y   s e n s o r ,   p r o x i m i t y   i n d u c t i o n   a n d   o t h e r   T o u c h K e y   a p p l i c a t i o n s   f e a t u r i n g   h i g h   r e q u i r e m e n t s   o n   s e n s i t i v i t y 
 
 	 	 H a v e   v e r y   s t r o n g   a n t i - i n t e r f e r e n c e   a b i l i t y   w h i c h   i s   a b l e   t o   p a s s   1 0 V   d y n a m i c   C S   t e s t 
 
 	 	 S u p p o r t   s e l f - c a p a c i t a n c e a n d   r e c i p r o c a l -   c a p a c i t a n c e   m o d e . 
 
 	 	 S u p p o r t   l o w   p o w e r   c o n s u m p t i o n   m o d e . 
 
 	 	 C o m p l e t e   d e v e l o p m e n t   s u p p o r t :   H i g h - f l e x i b l e   t o u c h   s o f t w a r e   l i b r a r y ,   i n t e l l i g e n t   s o f t w a r e   o f   d e b u g g i n g . 
 
 	 1 7 - c h a n n e l   1 2 - b i t  2 L S B   A D C 
 
 	 	 B u i l d - i n   r e f e r e n c e   v o l t a g e   o f   2 . 0 4 8 V ,   1 . 0 2 4 V   a n d   2 . 4 V 
 
 	 	 T h e   A D C   r e f e r e n c e   v o l t a g e s   i s   o p t i o n a l :   V D D ,   i n t e r n a l   2 . 0 4 8 V ,   i n t e r n a l   1 . 0 2 4 V   a n d   2 . 4 V 
 
 	 	 1   i n t e r n a l   c h a n n e l   c a n   m e a s u r e   t h e   v o l t a g e   o f   t h e   p o w e r   s u p p l y 
 
 	 	 A D C   c o n v e r s i o n   c o m p l e t e   i n t e r r u p t i o n   c a n   b e   s e t 
 
 	 1   A n a l o g   C o m p a r a t o r 
 
 	 	 4 - c h a n n e l   i n p u t   a n d   1 - c h a n n e l   r e f e r e n c e   v o l t a g e   i n p u t 
 
 	 	 1 6 - l e v e l   o p t i o n a l   c o m p a r i s o n   v o l t a g e 
 
 P o w e r   S a v i n g   M o d e 
 
 	 I D L E   M o d e :   c a n   b e   w o k e n   u p   b y   a n y   i n t e r r u p t 
 
 S T O P   M o d e :   c a n   b e   w o k e n   u p   b y   I N T 0 ~ 2 ,   B a s e   T i m e r   T K   a n d   C M P . 