Part Number Hot Search : 
MC33184 TB330SEV BSM151 KTC3198 NCP4561 SBM1F 12011 BD45245G
Product Description
Full Text Search
 

To Download NCN5120 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
   s e m i c o n d u c t o r c o m p o n e n t s i n d u s t r i e s , l l c , 2 0 1 3 a p r i l , 2 0 1 3 ? r e v . 2 1 p u b l i c a t i o n o r d e r n u m b e r : n c n 5 1 2 0 / d n c n 5 1 2 0 t r a n s c e i v e r f o r k n x t w i s t e d p a i r n e t w o r k s i n t r o d u c t i o n n c n 5 1 2 0 i s a r e c e i v e r ? t r a n s m i t t e r i c s u i t a b l e f o r u s e i n k n x t w i s t e d p a i r n e t w o r k s ( k n x t p 1 ? 2 5 6 ) . i t s u p p o r t s t h e c o n n e c t i o n o f a c t u a t o r s , s e n s o r s , m i c r o c o n t r o l l e r s , s w i t c h e s o r o t h e r a p p l i c a t i o n s i n a b u i l d i n g n e t w o r k . n c n 5 1 2 0 h a n d l e s t h e t r a n s m i s s i o n a n d r e c e p t i o n o f d a t a o n t h e b u s . i t g e n e r a t e s f r o m t h e u n r e g u l a t e d b u s v o l t a g e s t a b i l i z e d v o l t a g e s f o r i t s o w n p o w e r n e e d s a s w e l l a s t o p o w e r e x t e r n a l d e v i c e s , f o r e x a m p l e , a m i c r o c o n t r o l l e r . n c n 5 1 2 0 a s s u r e s s a f e c o u p l i n g t o a n d d e c o u p l i n g f r o m t h e b u s . b u s m o n i t o r i n g w a r n s t h e e x t e r n a l m i c r o c o n t r o l l e r f o r l o s s o f p o w e r s o t h a t c r i t i c a l d a t a c a n b e s t o r e d i n t i m e . k e y f e a t u r e s ? 9 6 0 0 b a u d k n x c o m m u n i c a t i o n s p e e d ? s u p e r v i s i o n o f k n x b u s v o l t a g e ? s u p p o r t s b u s c u r r e n t c o n s u m p t i o n u p t o 1 3 a n d 2 6 m a ? s e l e c t a b l e k n x b u s c u r r e n t ( 0 . 5 m a / m s a n d 1 . 0 m a / m s ) ? h i g h e f f i c i e n t d c ? d c c o n v e r t e r s  3 . 3 v f i x e d  3 . 3 v t o 2 1 v s e l e c t a b l e ? c o n t r o l a n d m o n i t o r i n g o f p o w e r r e g u l a t o r s ? l i n e a r 2 0 v r e g u l a t o r ? p r e p a r e d f o r s l e e p m o d e ? b u f f e r i n g o f s e n t d a t a f r a m e s ( e x t e n d e d f r a m e s s u p p o r t e d ) ? s e l e c t a b l e u a r t o r s p i i n t e r f a c e t o h o s t c o n t r o l l e r ? s e l e c t a b l e u a r t a n d s p i b a u d r a t e t o h o s t c o n t r o l l e r ? o p t i o n a l c r c o n u a r t t o t h e h o s t ? o p t i o n a l r e c e i v e d f r a m e ? e n d w i t h m a r k e r s e r v i c e ? o p t i o n a l d i r e c t c o u p l i n g o f r x d a n d t x d t o h o s t ( a n a l o g m o d e ) ? o p e r a t e s w i t h i n d u s t r y s t a n d a r d l o w c o s t 1 6 m h z q u a r t z ? g e n e r a t e s c l o c k o f 8 o r 1 6 m h z f o r e x t e r n a l d e v i c e s ? a u t o a c k n o w l e d g e ( o p t i o n a l ) ? a u t o p o l l i n g ( o p t i o n a l ) ? t e m p e r a t u r e m o n i t o r i n g ? o p e r a t i n g t e m p e r a t u r e r a n g e ? 2 5 c t o + 8 5 c ? t h e s e d e v i c e s a r e p b ? f r e e a n d a r e r o h s c o m p l i a n t h t t p : / / o n s e m i . c o m q f n 4 0 m n s u f f i x c a s e 4 8 5 a u s e e d e t a i l e d o r d e r i n g a n d s h i p p i n g i n f o r m a t i o n i n t h e p a c k a g e d i m e n s i o n s s e c t i o n o n p a g e 5 3 o f t h i s d a t a s h e e t . o r d e r i n g i n f o r m a t i o n a = a s s e m b l y l o c a t i o n w l = w a f e r l o t y y = y e a r w w = w o r k w e e k g = p b ? f r e e p a c k a g e x x x = p r o d u c t v a r i a n t = ( c o n t a c t o n s e m i c o n d u c t o r i f = p r o d u c t v a r i a n t i s 0 0 1 ) m a r k i n g d i a g r a m 4 0 1 n c n 5 1 2 0 2 1 2 4 5 ? x x x a w l y y w w g
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 b l o c k d i a g r a m f i g u r e 1 . b l o c k d i a g r a m n c n 5 1 2 0 p o r t w t s d u v d d c / d c c o n v e r t e r 1 d c / d c c o n v e r t e r 2 o s c n c n 5 1 2 0 c a v v b u s 1 c c p t x o f a n i n / w a k e v b u s 2 v 2 0 v x t a l 1 x t a l 2 x s e l x c l k s a v e b r e s e t b t e s t o u t v s s 2 v d d 2 v d d 2 m v v d d 2 m c v s w 2 v s s 1 v d d 1 v d d 1 m v s w 1 v i n m o d e 2 m o d e 1 t r e q c s b / u c 1 s d o / t x d s d i / r x d s c k / u c 2 v s s d v d d d v d d a v s s a v f i l t c e q 2 c e q 1 2 0 v l d o f a n ? i n c o n t r o l v a u x b u s c o u p l e r i m p e d a n c e c o n t r o l t r a n s m i t t e r o s c r e c e i v e r u a r t s p i k n x d l l m o d e i n t e r f a c e c o n t r o l l e r r c o s c d i a g n o s t i c s w a k e ? u p p i n o u t v s s a v b u s 2 t x o c c p c a v v b u s 1 c e q 1 c e q 2 v f i l t v d d 2 m v v d d 2 m c v d d 2 v s s 2 v s w 2 v s w 1 v s s 1 v d d 1 v d d 1 m n c n c m o d e 1 m o d e 2 t r e q c s b / u c 1 s d i / r x d s d o / t x d s c k / u c 2 v d d d v s s d x c l k x s e l x t a l 2 x t a l 1 s a v e b r e s e t b f a n i n / w a k e t e s t o u t v d d a 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 4 0 3 9 3 8 3 7 3 6 3 5 3 4 3 3 3 2 3 1 n c n 5 1 2 0 v 2 0 v f i g u r e 2 . p i n o u t n c n 5 1 2 0 ( t o p v i e w ) v i n
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 p i n d e s c r i p t i o n t a b l e 1 . p i n l i s t a n d d e s c r i p t i o n n a m e p i n d e s c r i p t i o n t y p e e q u i v a l e n t s c h e m a t i c v s s a 1 a n a l o g s u p p l y v o l t a g e g r o u n d s u p p l y v b u s 2 2 g r o u n d f o r k n x t r a n s m i t t e r s u p p l y t x 0 3 k n x t r a n s m i t t e r o u t p u t a n a l o g o u t p u t t y p e 1 c c p 4 a c c o u p l i n g e x t e r n a l c a p a c i t o r c o n n e c t i o n a n a l o g i / o t y p e 2 c a v 5 c a p a c i t o r c o n n e c t i o n t o a v e r a g e b u s d c v o l t a g e a n a l o g i / o t y p e 3 v b u s 1 6 k n x p o w e r s u p p l y i n p u t s u p p l y t y p e 5 c e q 1 7 c a p a c i t o r c o n n e c t i o n 1 f o r d e f i n i n g e q u a l i z a t i o n p u l s e a n a l o g i / o t y p e 4 c e q 2 8 c a p a c i t o r c o n n e c t i o n 2 f o r d e f i n i n g e q u a l i z a t i o n p u l s e a n a l o g i / o t y p e 4 v f i l t 9 f i l t e r e d b u s v o l t a g e s u p p l y t y p e 5 v 2 0 v 1 0 2 0 v s u p p l y o u t p u t s u p p l y t y p e 5 v d d 2 m v 1 1 v o l t a g e m o n i t o r o f v o l t a g e r e g u l a t o r 2 a n a l o g i n p u t t y p e 8 v d d 2 m c 1 2 c u r r e n t m o n i t o r i n p u t 1 o f v o l t a g e r e g u l a t o r 2 a n a l o g i n p u t t y p e 9 v d d 2 1 3 c u r r e n t m o n i t o r i n p u t 2 o f v o l t a g e r e g u l a t o r 2 a n a l o g i n p u t t y p e 8 v s s 2 1 4 v o l t a g e r e g u l a t o r 2 g r o u n d s u p p l y v s w 2 1 5 s w i t c h o u t p u t o f v o l t a g e r e g u l a t o r 2 a n a l o g o u t p u t t y p e 6 v i n 1 6 v o l t a g e r e g u l a t o r 1 a n d 2 p o w e r s u p p l y i n p u t s u p p l y t y p e 5 v s w 1 1 7 s w i t c h o u t p u t o f v o l t a g e r e g u l a t o r 1 a n a l o g o u t p u t t y p e 6 v s s 1 1 8 v o l t a g e r e g u l a t o r 1 g r o u n d s u p p l y v d d 1 1 9 c u r r e n t i n p u t 2 a n d v o l t a g e m o n i t o r i n p u t o f v o l t a g e r e g u l a t o r 1 a n a l o g i n p u t t y p e 8 v d d 1 m 2 0 c u r r e n t m o n i t o r i n p u t 1 o f v o l t a g e m o n i t o r 1 a n a l o g i n p u t t y p e 9 n c 2 1 , 2 2 n o t c o n n e c t e d ( d o n o t c o n n e c t ) m o d e 1 2 3 m o d e s e l e c t i o n i n p u t 1 d i g i t a l i n p u t t y p e 1 2 m o d e 2 2 4 m o d e s e l e c t i o n i n p u t 2 d i g i t a l i n p u t t y p e 1 2 t r e q 2 5 t r a n s m i t r e q u e s t i n p u t d i g i t a l i n p u t t y p e 1 2 c s b / u c 1 2 6 c h i p s e l e c t o u t p u t ( s p i ) o r c o n f i g u r a t i o n i n p u t ( u a r t ) d i g i t a l o u t p u t o r d i g i t a l i n p u t t y p e 1 3 o r 1 4 s d i / r x d 2 7 s e r i a l d a t a i n p u t ( s p i ) o r r e c e i v e i n p u t ( u a r t ) d i g i t a l i n p u t t y p e 1 4 s d o / t x d 2 8 s e r i a l d a t a o u t p u t ( s p i ) o r t r a n s m i t o u t p u t ( u a r t ) d i g i t a l o u t p u t t y p e 1 3 s c k / u c 2 2 9 s e r i a l c l o c k o u t p u t ( s p i ) o r c o n f i g u r a t i o n i n p u t ( u a r t ) d i g i t a l o u t p u t o r d i g i t a l i n p u t t y p e 1 3 o r 1 4 v d d d 3 0 d i g i t a l s u p p l y v o l t a g e i n p u t s u p p l y t y p e 7 v s s d 3 1 d i g i t a l s u p p l y v o l t a g e g r o u n d s u p p l y x c l k 3 2 o s c i l l a t o r c l o c k o u t p u t d i g i t a l o u t p u t t y p e 1 3 x s e l 3 3 c l o c k s e l e c t i o n ( q u a r t z o r d i g i t a l c l o c k ) d i g i t a l i n p u t t y p e 1 2 x t a l 2 3 4 c l o c k g e n e r a t o r o u t p u t ( q u a r t z ) o r i n p u t ( d i g i t a l c l o c k ) a n a l o g o u t p u t o r d i g i t a l i n p u t t y p e 1 0 o r 1 4 x t a l 1 3 5 c l o c k g e n e r a t o r i n p u t ( q u a r t z ) a n a l o g i n p u t t y p e 1 0 s a v e b 3 6 s a v e s i g n a l ( o p e n d r a i n w i t h p u l l ? u p ) d i g i t a l o u t p u t t y p e 1 5 r e s e t b 3 7 r e s e t s i g n a l ( o p e n d r a i n w i t h p u l l ? u p ) d i g i t a l o u t p u t t y p e 1 5 f a n i n / w a k e 3 8 f a n ? i n a n d w a k e ? u p i n p u t d i g i t a l i n p u t t y p e 1 1 t e s t o u t 3 9 t e s t o u t p u t ( d o n o t c o n n e c t ) a n a l o g o u t p u t v d d a 4 0 a n a l o g s u p p l y v o l t a g e i n p u t s u p p l y t y p e 7 n o t e : t y p e o f c s b / u c 1 a n d s c k / u c 2 i s d e p e n d i n g o n s t a t u s m o d e 1 ? m o d e 2 p i n t y p e o f x t a l 1 a n d x t a l 2 p i n i s d e p e n d i n g o n s t a t u s x s e l p i n .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 e q u i v a l e n t s c h e m a t i c s f o l l o w i n g f i g u r e g i v e s t h e e q u i v a l e n t s c h e m a t i c s o f t h e u s e r r e l e v a n t i n p u t s a n d o u t p u t s . t h e d i a g r a m s a r e s i m p l i f i e d r e p r e s e n t a t i o n s o f t h e c i r c u i t s u s e d . t x o 6 0 v c c p 6 0 v 6 0 v c a v 7 v c e q x 6 0 v t y p e 1 : t x o ? p i n t y p e 2 : c c p ? p i n t y p e 3 : c a v ? p i n t y p e 4 : c e q 1 a n d c e q 2 ? p i n v b u s 1 6 0 v v b u s 1 v f i l t 6 0 v v f i l t v 2 0 v 6 0 v v 2 0 v v i n 6 0 v v i n v s w x v i n 6 0 v t y p e 5 : v b u s 1 ? , v f i l t ? , v 2 0 v a n d v i n ? p i n t y p e 6 : v s w 1 a n d v s w 2 ? p i n v d d a v d d a 7 v v d d d v d d d 7 v v d d 2 m v 7 v v d d 2 6 0 v v d d 1 7 v t y p e 7 : v d d d ? a n d v d d a ? p i n t y p e 8 : v d d 1 ? , v d d 2 ? a n d v d d 2 m v ? p i n v d d 1 m v d d 1 7 v 7 v v d d 2 m c v d d 2 7 v 6 0 v x t a l 2 v d d d x t a l 1 v d d d t y p e 9 : v d d 1 m ? a n d v d d 2 m c ? p i n t y p e 1 0 : x t a l 1 ? a n d x t a l 2 ? p i n i n v d d d r d o w n o u t v d d d i n v d d d o u t v d d d r u p t y p e 1 2 : m o d e 1 ? , m o d e 2 ? , t r e q ? a n d x s e l ? p i n t y p e 1 3 : c s b / u c 1 ? , s d o / t x d ? , s c k / u c 2 ? a n d x c l k ? p i n t y p e 1 4 : c s b / u c 1 ? , s d i / r x d ? , s c k / u c 2 a n d x t a l 2 ? p i n t y p e 1 5 : r e s e t b ? a n d s a v e b ? p i n f a n i n / w a k e r u p 7 v v a u x t y p e 1 1 : f a n i n / w a k e ? p i n n o t e : t y p e o f c s b / u c 1 a n d s c k / u c 2 i s d e p e n d i n g o n s t a t u s m o d e 1 ? m o d e 2 p i n t y p e o f x t a l 1 a n d x t a l 2 p i n i s d e p e n d i n g o n s t a t u s x s e l p i n . f i g u r e 3 . i n ? a n d o u t p u t e q u i v a l e n t d i a g r a m s
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 5 e l e c t r i c a l s p e c i f i c a t i o n t a b l e 2 . a b s o l u t e m a x i m u m r a t i n g s ( n o t e s 1 a n d 2 ) s y m b o l p a r a m e t e r m i n m a x u n i t v t x o k n x t r a n s m i t t e r o u t p u t v o l t a g e ? 0 . 3 + 4 5 v i t x o k n x t r a n s m i t t e r o u t p u t c u r r e n t ( n o t e 3 ) 2 5 0 m a v c c p v o l t a g e o n c c p ? p i n ? 1 0 . 5 + 1 4 . 5 v v c a v v o l t a g e o n c a v ? p i n ? 0 . 3 + 3 . 6 v v b u s 1 v o l t a g e o n v b u s 1 ? p i n ? 0 . 3 + 4 5 v i b u s 1 c u r r e n t c o n s u m p t i o n v b u s 1 ? p i n 0 6 0 m a v c e q v o l t a g e o n p i n s c e q 1 a n d c e q 2 ? 0 . 3 + 4 5 v v f i l t v o l t a g e o n v f i l t ? p i n ? 0 . 3 + 4 5 v v 2 0 v v o l t a g e o n v 2 0 v ? p i n ? 0 . 3 + 2 5 v v d d 2 m v v o l t a g e o n v d d 2 m v ? p i n ? 0 . 3 + 3 . 6 v v d d 2 m c v o l t a g e o n v d d 2 m c ? p i n ? 0 . 3 + 2 5 v v d d 2 v o l t a g e o n v d d 2 ? p i n ? 0 . 3 + 2 5 v v s w v o l t a g e o n v s w 1 ? a n d v s w 2 ? p i n ? 0 . 3 + 4 5 v v i n v o l t a g e o n v i n ? p i n ? 0 . 3 + 4 5 v v d d 1 v o l t a g e o n v d d 1 ? p i n ? 0 . 3 + 3 . 6 v v d d 1 m v o l t a g e o n v d d 1 m ? p i n ? 0 . 3 + 3 . 6 v v d i g v o l t a g e o n p i n s m o d e 1 , m o d e 2 , t r e q , c s b / u c 1 , s d i / t x d , s d o / r x d , s c k / u c 2 , x c l k , x s e l , s a v e b , r e s e t b a n d f a n i n / w a k e ? 0 . 3 + 3 . 6 v v d d v o l t a g e o n v d d d ? a n d v d d a ? p i n ? 0 . 3 + 3 . 6 v v x t a l v o l t a g e o n x t a l 1 ? a n d x t a l 2 ? p i n ? 0 . 3 + 3 . 6 v t s t s t o r a g e t e m p e r a t u r e ? 5 5 + 1 5 0 c t j j u n c t i o n t e m p e r a t u r e ( n o t e 4 ) ? 2 5 + 1 5 5 c v h b m h u m a n b o d y m o d e l e l e c t r o n i c d i s c h a r g e i m m u n i t y ( n o t e 5 ) ? 2 + 2 k v s t r e s s e s e x c e e d i n g m a x i m u m r a t i n g s m a y d a m a g e t h e d e v i c e . m a x i m u m r a t i n g s a r e s t r e s s r a t i n g s o n l y . f u n c t i o n a l o p e r a t i o n a b o v e t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s i s n o t i m p l i e d . e x t e n d e d e x p o s u r e t o s t r e s s e s a b o v e t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s m a y a f f e c t d e v i c e r e l i a b i l i t y . 1 . c o n v e n t i o n : c u r r e n t s f l o w i n g i n t h e c i r c u i t a r e d e f i n e d a s p o s i t i v e . 2 . v b u s 2 , v s s 1 , v s s 2 , v s s a a n d v s s d f o r m t h e c o m m o n g r o u n d . t h e y a r e h a r d c o n n e c t e d t o t h e p c b g r o u n d l a y e r . 3 . r o o m t e m p e r a t u r e , 2 7  s h u n t r e s i s t o r f o r t r a n s m i t t e r , 2 5 0 m a o v e r t e m p e r a t u r e r a n g e . 4 . n o r m a l p e r f o r m a n c e w i t h i n t h e l i m i t a t i o n s i s g u a r a n t e e d u p t o t h e t h e r m a l w a r n i n g l e v e l . b e t w e e n t h e r m a l w a r n i n g a n d t h e r m a l s h u t d o w n t e m p o r a r y l o s s o f f u n c t i o n o r d e g r a d a t i o n o f p e r f o r m a n c e ( w h i c h c e a s e s a f t e r t h e d i s t u r b a n c e c e a s e s ) i s p o s s i b l e . 5 . a c c o r d i n g t o j e d e c j e s d 2 2 ? a 1 1 4 .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 6 r e c o m m e n d o p e r a t i o n c o n d i t i o n s o p e r a t i n g r a n g e s d e f i n e t h e l i m i t s f o r f u n c t i o n a l o p e r a t i o n a n d p a r a m e t r i c c h a r a c t e r i s t i c s o f t h e d e v i c e . n o t e t h a t t h e f u n c t i o n a l i t y o f t h e c h i p o u t s i d e t h e s e o p e r a t i n g r a n g e s i s n o t g u a r a n t e e d . o p e r a t i n g o u t s i d e t h e r e c o m m e n d e d o p e r a t i n g r a n g e s f o r e x t e n d e d p e r i o d s o f t i m e m a y a f f e c t d e v i c e r e l i a b i l i t y . t a b l e 3 . o p e r a t i n g r a n g e s s y m b o l p a r a m e t e r m i n m a x u n i t v b u s 1 v b u s 1 v o l t a g e ( n o t e 6 ) + 2 0 + 3 3 v v d d d i g i t a l a n d a n a l o g s u p p l y v o l t a g e ( v d d d ? a n d v d d a ? p i n ) + 3 . 1 3 + 3 . 4 7 v v i n i n p u t v o l t a g e d c ? d c c o n v e r t e r 1 a n d 2 ( n o t e 7 ) + 8 . 4 7 + 3 3 v v c c p i n p u t v o l t a g e a t c c p ? p i n ? 1 0 . 5 + 1 4 . 5 v v d d 1 i n p u t v o l t a g e o n v d d 1 ? p i n + 3 . 1 3 + 3 . 4 7 v v d d 1 m i n p u t v o l t a g e o n v d d 1 m ? p i n + 3 . 1 3 + 3 . 5 7 v v d d 2 i n p u t v o l t a g e o n v d d 2 ? p i n + 3 . 1 + 2 1 v v d d 2 m c i n p u t v o l t a g e o n v d d 2 m c ? p i n + 3 . 1 + 2 1 . 1 v v d d 2 m v i n p u t v o l t a g e o n v d d 2 m v ? p i n + 1 . 2 v d d v v d i g i n p u t v o l t a g e o n p i n s m o d e 1 , m o d e 2 , t r e q , c s b / u c 1 , s d i / r x d , s c k / u c 2 , a n d x s e l 0 v d d v v w a k e i n p u t v o l t a g e o n f a n i n / w a k e ? p i n 0 3 . 6 v f c l k c l o c k f r e q u e n c y e x t e r n a l q u a r t z 1 6 m h z t a a m b i e n t t e m p e r a t u r e ? 2 5 + 8 5 c t j j u n c t i o n t e m p e r a t u r e ( n o t e 8 ) ? 2 5 + 1 2 5 c 6 . v o l t a g e i n d i c a t e s d c v a l u e . w i t h e q u a l i z a t i o n p u l s e b u s v o l t a g e m u s t b e b e t w e e n 1 1 v a n d 4 5 v . 7 . m i n i m u m o p e r a t i n g v o l t a g e o n v i n ? p i n s h o u l d b e e q u a l t o t h e l o w e s t v a l u e o f v d d 1 a n d v d d 2 . 8 . h i g h e r j u n c t i o n t e m p e r a t u r e c a n r e s u l t i n r e d u c e d l i f e t i m e . t a b l e 4 . d c p a r a m e t e r s t h e d c p a r a m e t e r s a r e g i v e n f o r a d e v i c e o p e r a t i n g w i t h i n t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s u n l e s s o t h e r w i s e s p e c i f i e d . c o n v e n t i o n : c u r r e n t s f l o w i n g i n t h e c i r c u i t a r e d e f i n e d a s p o s i t i v e . s y m b o l p i n ( s ) p a r a m e t e r r e m a r k / t e s t c o n d i t i o n s m i n t y p m a x u n i t p o w e r s u p p l y v b u s 1 v b u s 1 b u s d c v o l t a g e e x c l u d i n g a c t i v e a n d e q u a l i z a t i o n p u l s e 2 0 3 3 v i b u s 1 _ i n t b u s c u r r e n t c o n s u m p t i o n n o r m a l o p e r a t i n g m o d e . n o e x t e r n a l l o a d , d c 1 a n d d c 2 e n a b l e d , c o n t i n u o u s t r a n s ? m i s s i o n o f ? 0 ? o n t h e k n x b u s b y a n o t h e r k n x d e v i c e ( 5 0 % b u s l o a d ) , b a s e d o n f i g u r e 1 4 5 m a i s l e e p s l e e p m o d e c u r r e n t c o n s u m p t i o n 1 . 3 5 1 . 8 m a v b u s h u n d e r v o l t a g e r e l e a s e l e v e l v b u s 1 r i s i n g , s e e f i g u r e 4 1 7 . 1 1 8 . 0 1 8 . 9 v v b u s l u n d e r v o l t a g e t r i g g e r l e v e l v b u s 1 f a l l i n g , s e e f i g u r e 4 1 5 . 9 1 6 . 8 1 7 . 7 v v b u s _ h y s t u n d e r v o l t a g e h y s t e r e s i s 0 . 6 v v d d d v d d d d i g i t a l p o w e r s u p p l y 3 . 1 3 3 . 3 3 . 4 7 v v d d a v d d a a n a l o g p o w e r s u p p l y 3 . 1 3 3 . 3 3 . 4 7 v v a u x a u x i l i a r y s u p p l y 2 . 8 3 . 3 3 . 6 v k n x b u s c o u p l e r i c o u p l e r _ l i m b u s c o u p l e r c u r r e n t l i m i t a t i o n f a n i n / w a k e = 1 , v f i l t > v f i l t h 1 3 3 0 m a f a n i n / w a k e = 0 , v f i l t > v f i l t h 2 6 6 0 m a
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 7 t a b l e 4 . d c p a r a m e t e r s t h e d c p a r a m e t e r s a r e g i v e n f o r a d e v i c e o p e r a t i n g w i t h i n t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s u n l e s s o t h e r w i s e s p e c i f i e d . c o n v e n t i o n : c u r r e n t s f l o w i n g i n t h e c i r c u i t a r e d e f i n e d a s p o s i t i v e . s y m b o l u n i t m a x t y p m i n r e m a r k / t e s t c o n d i t i o n s p a r a m e t e r p i n ( s ) k n x b u s c o u p l e r v c o u p l e r _ d r o p v b u s 1 , v f i l t c o u p l e r v o l t a g e d r o p i b u s 1 = 1 2 m a v c o u p l e r _ d r o p = v b u s 1 ? v f i l t 3 . 5 6 . 5 v i b u s 1 = 2 4 m a v c o u p l e r _ d r o p = v b u s 1 ? v f i l t 4 . 5 8 v v f i l t h v f i l t u n d e r v o l t a g e r e l e a s e l e v e l v f i l t r i s i n g , s e e f i g u r e 5 1 0 . 1 1 0 . 6 1 1 . 2 v v f i l t l u n d e r v o l t a g e t r i g g e r l e v e l v f i l t f a l l i n g , s e e f i g u r e 5 8 . 4 8 . 9 9 . 4 v f i x e d d c ? d c c o n v e r t e r v i n v i n i n p u t v o l t a g e 8 . 4 7 3 3 v v d d 1 v d d 1 o u t p u t v o l t a g e 3 . 1 3 3 . 3 3 . 4 7 v v d d 1 _ r i p o u t p u t v o l t a g e r i p p l e v i n = 2 5 v , i d d 1 = 4 0 m a 4 0 m v i d d 1 _ l i m o v e r c u r r e n t t h r e s h o l d r 2 = 1  , s e e f i g u r e 1 4 ? 1 0 0 ? 2 0 0 m a  v d d 1 p o w e r e f f i c i e n c y ( d c c o n v e r t e r o n l y ) v i n = 2 5 v , i d d 1 = 3 5 m a , l 1 = 2 2 0  h ( 1 . 2 6  e s r ) , s e e f i g u r e 1 3 9 0 % r d s ( o n ) _ p 1 r d s ( o n ) o f p o w e r s w i t c h s e e f i g u r e 1 7 8  r d s ( o n ) _ n 1 r d s ( o n ) o f f l y b a c k s w i t c h s e e f i g u r e 1 7 4  v d d 1 m v d d 1 m i n p u t v o l t a g e v d d 1 m ? p i n 3 . 5 7 v a d j u s t a b l e d c ? d c c o n v e r t e r v i n v i n i n p u t v o l t a g e v d d 2 3 3 v v d d 2 v d d 2 o u t p u t v o l t a g e v i n  v d d 2 3 . 3 2 1 v v d d 2 h u n d e r v o l t a g e r e l e a s e l e v e l v d d 2 r i s i n g , s e e f i g u r e 6 0 . 9 x v d d 2 v v d d 2 l u n d e r v o l t a g e t r i g g e r l e v e l v d d 2 f a l l i n g , s e e f i g u r e 6 0 . 8 x v d d 2 v v d d 2 _ r i p o u t p u t v o l t a g e r i p p l e v i n = 2 5 v , v d d 2 = 3 . 3 v , i d d 2 = 4 0 m a 4 0 m v i d d 2 _ l i m o v e r c u r r e n t t h r e s h o l d r 3 = 1  , s e e f i g u r e 1 4 ? 1 0 0 ? 2 0 0 m a  v d d 2 p o w e r e f f i c i e n c y ( d c c o n v e r t e r o n l y ) v i n = 2 5 v , v d d 2 = 3 . 3 v , i d d 2 = 3 5 m a , l 2 = 2 2 0  h ( 1 . 2 6  e s r ) , s e e f i g u r e 1 4 9 0 % r d s ( o n ) _ p 2 r d s ( o n ) o f p o w e r s w i t c h s e e f i g u r e 1 7 8  r d s ( o n ) _ n 2 r d s ( o n ) o f f l y b a c k s w i t c h s e e f i g u r e 1 7 4  v d d 2 m v d d 2 m c i n p u t v o l t a g e v d d 2 m c ? p i n 2 1 . 1 v r v d d 2 m v d d 2 m v i n p u t r e s i s t a n c e v d d 2 m v ? p i n 6 0 1 0 0 1 4 0 k  v 2 0 v r e g u l a t o r v 2 0 v v 2 0 v v 2 0 v o u t p u t v o l t a g e i 2 0 v < 4 m a , v f i l t  2 1 v 1 8 2 0 2 2 v i 2 0 v v 2 0 v o u t p u t c u r r e n t 0 ? 4 m a i 2 0 v _ l i m v 2 0 v o u t p u t c u r r e n t l i m i t a t i o n ? 1 1 m a v 2 0 v h v 2 0 v u n d e r v o l t a g e r e l e a s e l e v e l v 2 0 v r i s i n g , s e e f i g u r e 7 1 2 . 6 1 3 . 4 1 4 . 2 v v 2 0 v l v 2 0 v u n d e r v o l t a g e t r i g g e r l e v e l v 2 0 v f a l l i n g , s e e f i g u r e 7 1 1 . 8 1 2 . 6 1 3 . 4 v v 2 0 v _ h y s t v 2 0 v u n d e r v o l t a g e h y s t e r e s i s v 2 0 v _ h y s t = v 2 0 v h ? v 2 0 v l 0 . 8 v
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 8 t a b l e 4 . d c p a r a m e t e r s t h e d c p a r a m e t e r s a r e g i v e n f o r a d e v i c e o p e r a t i n g w i t h i n t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s u n l e s s o t h e r w i s e s p e c i f i e d . c o n v e n t i o n : c u r r e n t s f l o w i n g i n t h e c i r c u i t a r e d e f i n e d a s p o s i t i v e . s y m b o l u n i t m a x t y p m i n r e m a r k / t e s t c o n d i t i o n s p a r a m e t e r p i n ( s ) x t a l o s c i l l a t o r v x t a l x t a l 1 , x t a l 2 v o l t a g e o n x t a l ? p i n v d d d v f a n ? i n a n d w a k e ? u p c o n t r o l v w a k e _ h f a n i n / w a k e f a n i n / w a k e ? p i n r e l e a s e l e v e l s e e f i g u r e 8 1 . 5 1 . 8 2 . 1 v v w a k e _ l f a n i n / w a k e ? p i n a c t i v e l e v e l s e e f i g u r e 8 0 . 9 1 . 2 1 . 4 v v w a k e _ h y s t h y s t e r e s i s o n f a n i n / w a k e ? p i n s e e f i g u r e 8 0 . 6 v r w a k e p u l l ? u p r e s i s t o r f a n i n / w a k e ? p i n p u l l ? u p c o n n e c t e d t o v a u x 8 0 1 6 5 2 7 0  d i g i t a l i n p u t s v i l s c k / u c 2 , s d i / r x d , c s b / u c 1 , t r e q , m o d e 1 , m o d e 2 , x s e l l o g i c l o w t h r e s h o l d 0 0 . 7 v v i h l o g i c h i g h t h r e s h o l d 2 . 6 5 v d d d v r d o w n i n t e r n a l p u l l ? d o w n r e s i s t o r s c k / u c 2 ? , s d i / r x d ? a n d c s b / u c 1 p i n e x c l u d e d . o n l y v a l i d i n n o r m a l s t a t e . 5 1 0 2 8 k  d i g i t a l o u t p u t s v o l s c k / u c 2 , s d o / t x d , c s b / u c 1 , x c l k l o g i c l o w o u t p u t l e v e l 0 0 . 4 v v o h l o g i c h i g h o u t p u t l e v e l v d d d ? 0 . 4 5 v d d d v i l s c k / u c 2 , x c l k l o a d c u r r e n t ? 8 m a s d o / t x d , c s b / u c 1 ? 4 m a v o l s a v e b , r e s e t b l o g i c l o w l e v e l o p e n d r a i n i o l = 4 m a 0 . 4 v r u p i n t e r n a l p u l l ? u p r e s i s t o r 2 0 4 0 8 0 k  t e m p e r a t u r e m o n i t o r t t w t h e r m a l w a r n i n g r i s i n g t e m p e r a t u r e s e e f i g u r e 9 1 0 5 1 1 5 1 3 5 c t t s d t h e r m a l s h u t d o w n r i s i n g t e m p e r a t u r e s e e f i g u r e 9 1 2 5 1 4 0 1 5 5 c t h y s t t h e r m a l h y s t e r e s i s s e e f i g u r e 9 5 1 1 1 5 c  t d e l t a t t s d a n d t t w s e e f i g u r e 9 2 5 c p a c k a g e t h e r m a l r e s i s t a n c e v a l u e r t h j a t h e r m a l r e s i s t a n c e j u n c t i o n ? t o ? a m b i e n t s i m u l a t e d c o n f o r m j e d e c j e s d ? 5 1 , ( 2 s 2 p ) 3 0 k / w s i m u l a t e d c o n f o r m j e d e c j e s d ? 5 1 , ( 1 s 0 p ) 6 0 k / w r t h j p t h e r m a l r e s i s t a n c e j u n c t i o n ? t o ? e x p o s e d p a d 0 . 9 5 k / w
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 9 t a b l e 5 . a c p a r a m e t e r t h e a c p a r a m e t e r s a r e g i v e n f o r a d e v i c e o p e r a t i n g w i t h i n t h e r e c o m m e n d e d o p e r a t i n g c o n d i t i o n s u n l e s s o t h e r w i s e s p e c i f i e d . s y m b o l p i n ( s ) p a r a m e t e r r e m a r k / t e s t c o n d i t i o n s m i n t y p m a x u n i t p o w e r s u p p l y t b u s _ f i l t e r v b u s 1 v b u s 1 f i l t e r t i m e s e e f i g u r e 4 2 m s f i x e d d c ? d c c o n v e r t e r t v s w 1 _ r i s e v s w 1 r i s i n g s l o p e a t v s w 1 ? p i n 0 . 4 5 v / n s t v s w 1 _ f a l l f a l l i n g s l o p e a t v s w 1 ? p i n 0 . 6 v / n s a d j u s t a b l e d c ? d c c o n v e r t e r t v s w 2 _ r i s e v s w 2 r i s i n g s l o p e a t v s w 2 ? p i n 0 . 4 5 v / n s t v s w 2 _ f a l l f a l l i n g s l o p e a t v s w 2 ? p i n 0 . 6 v / n s x t a l o s c i l l a t o r f x t a l x t a l 1 , x t a l 2 x t a l o s c i l l a t o r f r e q u e n c y 1 6 m h z f a n ? i n a n d w a k e ? u p c o n t r o l t w a k e f a n i n / w a k e d e b o u n c e t i m e o n f a n i n / w a k e ? p i n s e e f i g u r e 8 1 0 0 m s w a t c h d o g t w d p r p r o h i b i t e d w a t c h d o g a c k n o w l e d g e d e l a y s e e w a t c h d o g , p 1 8 2 3 3 m s t w d t o w a t c h d o g t i m e o u t i n t e r v a l s e l e c t a b l e o v e r u a r t o r s p i 3 3 5 2 4 m s t w d t o _ a c c w a t c h d o g t i m e o u t i n t e r v a l a c c u r a c y = x t a l a c c u r a c y t w d r d w a t c h d o g r e s e t d e l a y 0 n s t r e s e t r e s e t d u r a t i o n 8  s m a s t e r s e r i a l p e r i p h e r a l i n t e r f a c e ( m a s t e r s p i ) t s c k s c k s p i c l o c k p e r i o d s p i b a u d r a t e d e p e n d i n g o n c o n f i g u r a t i o n i n p u t b i t s ( s e e i n t e r f a c e m o d e , p 2 3 ) . t o l e r a n c e i s e q u a l t o x t a l o s c i l l a t o r t o l e r a n c e . s e e a l s o f i g u r e 1 1 2  s 8  s t s c k _ h i g h s p i c l o c k h i g h t i m e t s c k / 2 t s c k _ l o w s p i c l o c k l o w t i m e t s c k / 2 t s d i _ s e t s d i s p i d a t a i n p u t s e t u p t i m e 1 2 5 n s t s d i _ h o l d s p i d a t a i n p u t h o l d t i m e 1 2 5 n s t s d o _ v a l i d s d o s p i d a t a o u t p u t v a l i d t i m e c l = 2 0 p f , s e e f i g u r e 1 1 1 0 0 n s t c s _ h i g h c s b s p i c h i p s e l e c t h i g h t i m e s e e f i g u r e 1 1 0 . 5 x t s c k t c s _ s e t s p i c h i p s e l e c t s e t u p t i m e 0 . 5 x t s c k t c s _ h o l d s p i c h i p s e l e c t h o l d t i m e 0 . 5 x t s c k t t r e q _ l o w t r e q t r e q l o w t i m e s e e f i g u r e 1 2 1 2 5 n s t t r e q _ h i g h t r e q h i g h t i m e 1 2 5 n s t t r e q _ s e t t r e q s e t u p t i m e 1 2 5 n s t t r e q _ h o l d t r e q h o l d t i m e 1 2 5 n s u n i v e r s a l a s y n c h r o n o u s r e c e i v e r / t r a n s m i t t e r ( u a r t ) f u a r t t x d , r x d u a r t i n t e r f a c e b a u d r a t e b a u d r a t e d e p e n d i n g o n c o n f i g u r a t i o n i n p u t p i n s ( s e e i n t e r f a c e m o d e , p 2 3 ) . t o l e r a n c e i s e q u a l t o t o l e r a n c e o f x t a l o s c i l l a t o r t o l e r a n c e . 1 9 2 0 0 b a u d 3 8 4 0 0 b a u d
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 0 v b u s t v b u s h v b u s l t b u s _ f i l t e r < v b u s > c o m m e n t s : < v b u s > i s a n i n t e r n a l s i g n a l w h i c h c a n b e v e r i f i e d w i t h t h e i n t e r n a l s t a t e s e r v i c e . t b u s _ f i l t e r f i g u r e 4 . b u s v o l t a g e u n d e r v o l t a g e t h r e s h o l d t v f i l t v f i l t l v f i l t h < v f i l t > c o m m e n t s : < v f i l t > i s a n i n t e r n a l s i g n a l w h i c h c a n b e v e r i f i e d w i t h t h e s y s t e m s t a t e s e r v i c e f i g u r e 5 . v f i l t u n d e r v o l t a g e t h r e s h o l d t v d d 2 v d d 2 l v d d 2 h < v d d 2 > c o m m e n t s : < v d d 2 > i s a n i n t e r n a l s i g n a l w h i c h c a n b e v e r i f i e d w i t h t h e s y s t e m s t a t e s e r v i c e f i g u r e 6 . v d d 2 u n d e r v o l t a g e t h r e s h o l d s
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 1 t v 2 0 v v 2 0 v l v 2 0 v h < v 2 0 v > c o m m e n t s : < v 2 0 v > i s a n i n t e r n a l s i g n a l w h i c h c a n b e v e r i f i e d w i t h t h e s y s t e m s t a t e s e r v i c e . v 2 0 v _ h y s t f i g u r e 7 . v 2 0 v u n d e r v o l t a g e t h r e s h o l d l e v e l s t v f a n i n / w a k e < w a k e > c o m m e n t s : ? < w a k e > i s a n i n t e r n a l s i g n a l i n d i c a t i n g a w a k e u p ? w a k e f u n c t i o n a l i t y o n l y p o s s i b l e w h e n f a n i n / w a k e ? p i n i s h i g h d u r i n g n o r m a l o p e r a t i o n  t w a k e v w a k e _ h v w a k e _ l v w a k e _ h y s t t w a k e f i g u r e 8 . w a k e ? u p t h r e s h o l d l e v e l s a n d t i m i n g f i g u r e 9 . t e m p e r a t u r e m o n i t o r i n g l e v e l s < t w > s a v e b r e s e t b c o m m e n t s : - < t w > i s a n i n t e r n a l s i g n a l w h i c h c a n b e v e r i f i e d w i t h t h e s y s t e m s t a t e s e r v i c e . - n o s p i / u a r t c o m m u n i c a t i o n p o s s i b l e w h e n r e s e t b i s l o w ! - i t ' s a s s u m e d a l l v o l t a g e s u p p l i e s a r e w i t h i n t h e i r o p e r a t i n g c o n d i t i o n . t t t t w t t s d t h y s t t h y s t  t n o r m a l s t a n d - b y r e s e t s t a r t - u p n o r m a l s t a n d - b y a n a l o g s t a t e
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 2 < w d e n > w d t i m e r r e s e t b r e m a r k s : ? w d t i m e r i s a n i n t e r n a l t i m e r ? t w d t o = < w d t [ 3 : 0 ] > ? < w d e n > a n d < w d t [ 3 : 0 ] > a r e w a t c h d o g r e g i s t e r b i t s e n a b l e w a t c h d o g r e ? e n a b l e w a t c h d o g t w d p r t w d t o > t w d p r a n d < t w d t o  t w d p r a n d  t w d t o t w d r d tt t t r e s e t f i g u r e 1 0 . w a t c h d o g t i m i n g d i a g r a m d o c l k d i c s t s c k t s d i _ s e t t s d i _ h o l d t c s _ s e t t s c k _ h i g h t s c k _ l o w t c s _ h o l d t c s _ h i g h t s d o _ v a l i d f i g u r e 1 1 . s p i b u s t i m i n g d i a g r a m d o c l k d i c s t r e q t t r e q _ s e t l s b 1 7 2 d u m m y d u m m y d u m m y d u m m y t t r e q _ l o w t t r e q _ h i g h t t r e q _ h o l d f i g u r e 1 2 . t r e q t i m i n g d i a g r a m
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 3 t y p i c a l a p p l i c a t i o n s c h e m a t i c s f i g u r e 1 3 . t y p i c a l a p p l i c a t i o n s c h e m a t i c n c n 5 1 2 0 , 9 ? b i t u a r t m o d e ( 1 9 2 0 0 b p s ) , s i n g l e s u p p l y n c n 5 1 2 0 v s s a 1 v b u s 2 2 t x o 3 c c p 4 c a v 5 v b u s 1 6 c e q 1 7 c e q 2 8 v f i l t 9 v d d 2 m v 1 1 v d d 2 m c 1 2 v d d 2 1 3 v s s 2 1 4 v s w 2 1 5 v i n 1 6 v s w 1 1 7 v s s 1 1 8 v d d 1 1 9 v d d 1 m 2 0 n c 2 1 n c 2 2 m o d e 1 2 3 t r e q 2 5 m o d e 2 2 4 c s b / u c 1 2 6 s d i / r x d 2 7 s d o / t x d 2 8 v 2 0 v 1 0 s c k / u c 2 2 9 v d d d 3 0 v s s d 3 1 x c l k 3 2 x s e l 3 3 x t a l 2 3 4 x t a l 1 3 5 s a v e b 3 6 r e s e t b 3 7 f a n i n / w a k e 3 8 t e s t o u t 3 9 v d d a 4 0 3 . 3 c 5 d 1 d 2 r 1 c 1 c 3 c 4 c 7 c 2 l 1 c 1 0 3 . 3 3 . 3 c 9 c 8 a b g n d v c c 3 . 3 t x d r x d s a v e b r e s e t b r 2 x 1 u c c l k 3 . 3 c 6 f i g u r e 1 4 . t y p i c a l a p p l i c a t i o n s c h e m a t i c n c n 5 1 2 0 , s p i ( 5 0 0 k b p s ) , d u a l s u p p l y a n d w a k e ? u p n c n 5 1 2 0 v s s a 1 v b u s 2 2 t x o 3 c c p 4 c a v 5 v b u s 1 6 c e q 1 7 c e q 2 8 v f i l t 9 v d d 2 m v 1 1 v d d 2 m c 1 2 v d d 2 1 3 v s s 2 1 4 v s w 2 1 5 v i n 1 6 v s w 1 1 7 v s s 1 1 8 v d d 1 1 9 v d d 1 m 2 0 n c 2 1 n c 2 2 m o d e 1 2 3 t r e q 2 5 m o d e 2 2 4 c s b / u c 1 2 6 s d i / r x d 2 7 s d o / t x d 2 8 v 2 0 v 1 0 s c k / u c 2 2 9 v d d d 3 0 v s s d 3 1 x c l k 3 2 x s e l 3 3 x t a l 2 3 4 x t a l 1 3 5 s a v e b 3 6 r e s e t b 3 7 f a n i n / w a k e 3 8 t e s t o u t 3 9 v d d a 4 0 3 . 3 c 5 d 1 d 2 r 1 c 1 c 3 c 4 c 7 c 2 l 1 c 1 0 3 . 3 3 . 3 c 6 c 9 c 8 a b g n d v c c 3 . 3 s d o s d i s a v e b r e s e t b r 2 l 2 r 3 r 4 r 5 c 1 1 v 2 v 2 v c c 2 s c k s c b s 1 u c c l k x 1 t r e q
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 4 t y p i c a l a p p l i c a t i o n s c h e m a t i c s f i g u r e 1 5 . t y p i c a l a p p l i c a t i o n s c h e m a t i c n c n 5 1 2 0 , a n a l o g m o d e , s i n g l e s u p p l y , 1 . 0 m a / m s c u r r e n t s l o p e ( f a n i n / w a k e ? p i n p u l l e d t o g r o u n d ) n c n 5 1 2 0 v s s a 1 v b u s 2 2 t x o 3 c c p 4 c a v 5 v b u s 1 6 c e q 1 7 c e q 2 8 v f i l t 9 v d d 2 m v 1 1 v d d 2 m c 1 2 v d d 2 1 3 v s s 2 1 4 v s w 2 1 5 v i n 1 6 v s w 1 1 7 v s s 1 1 8 v d d 1 1 9 v d d 1 m 2 0 n c 2 1 n c 2 2 m o d e 1 2 3 t r e q 2 5 m o d e 2 2 4 c s b / u c 1 2 6 s d i / r x d 2 7 s d o / t x d 2 8 v 2 0 v 1 0 s c k / u c 2 2 9 v d d d 3 0 v s s d 3 1 x c l k 3 2 x s e l 3 3 x t a l 2 3 4 x t a l 1 3 5 s a v e b 3 6 r e s e t b 3 7 f a n i n / w a k e 3 8 t e s t o u t 3 9 v d d a 4 0 3 . 3 c 5 d 1 d 2 r 1 c 1 c 3 c 4 c 7 c 2 l 1 c 1 0 3 . 3 3 . 3 c 6 c 9 c 8 a b g n d v c c 3 . 3 t x d r x d s a v e b r e s e t b r 2 x 1 u c c l k 3 . 3 t a b l e 6 . e x t e r n a l c o m p o n e n t s l i s t a n d d e s c r i p t i o n ( n o t e 9 ) c o m p . f u n c t i o n v a l u e t o l e r a n c e r e m a r k s n o t e s c 1 a c c o u p l i n g c a p a c i t o r 4 7 n f 2 0 % 5 0 v , c e r a m i c c 2 e q u a l i z a t i o n c a p a c i t o r 4 . 7 n f 1 0 % 2 5 v , c e r a m i c c 3 c a p a c i t o r t o a v e r a g e b u s d c v o l t a g e 1 0 0 n f 2 0 % 5 0 v , c e r a m i c c 4 s t o r a g e a n d f i l t e r c a p a c i t o r v f i l t 1 0 0  f 2 0 % 3 5 v c 5 v d d a h f r e j e c t i o n c a p a c i t o r 1 0 0 n f 2 0 % 6 . 3 v , c e r a m i c c 6 v d d d h f r e j e c t i o n c a p a c i t o r 1 0 0 n f 2 0 % 6 . 3 v , c e r a m i c c 7 l o a d c a p a c i t o r v 2 0 v 1  f 1 0 % 3 5 v , c e r a m i c , e s r < 2  c 8 , c 9 p a r a l l e l c a p a c i t o r x ? t a l 1 0 p f 2 0 % 6 . 3 v , c e r a m i c c 1 0 l o a d c a p a c i t o r v d d 1 1 0  f 2 0 % 6 . 3 v , c e r a m i c , e s r < 0 . 1  c 1 1 l o a d c a p a c i t o r v d d 2 1 0  f 2 0 % 1 0 v , c e r a m i c , e s r < 0 . 1  n o t e 1 0 r 1 s h u n t r e s i s t o r f o r t r a n s m i t t i n g 2 2  1 0 % 1 w r 2 d c 1 s e n s i n g r e s i s t o r 1  5 % 0 . 0 6 2 5 w r 3 d c 2 s e n s i n g r e s i s t o r 1  5 % 0 . 0 6 2 5 w r 4 v o l t a g e d i v i d e r t o s p e c i f y v d d 2 1 0 k  5 % 0 . 0 6 2 5 w s e e p 1 6 t o c a l c u l a t e t h e v a l u e n o t e 1 0 r 5 2 7 k  l 1 , l 2 d c 1 / d c 2 i n d u c t o r 2 2 0  h 1 0 % c o i l s e l e c t r o n i c d a 5 4 n p ? 2 2 1 k d 1 r e v e r s e p o l a r i t y p r o t e c t i o n d i o d e s s 1 6 o n s e m i c o n d u c t o r d 2 v o l t a g e s u p p r e s s o r 1 s m a 4 0 c a o n s e m i c o n d u c t o r x 1 c r y s t a l o s c i l l a t o r f a ? 2 3 8 e p s o n t o y o c o m , 1 6 m h z , 5 0 p p m , 1 0 p f s 1 p u s h b u t t o n 9 . c o m p o n e n t s b a s e d o n a b s o l u t e m a x i m u m r a t i n g s ! 1 0 . c 1 1 , r 4 a n d r 5 a r e b a s e d o n 5 v v d d 2 v o l t a g e .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 5 a n a l o g f u n c t i o n a l d e s c r i p t i o n b e c a u s e n c n 5 1 2 0 f o l l o w s t h e k n x s t a n d a r d o n l y a b r i e f d e s c r i p t i o n o f t h e k n x r e l a t e d b l o c k s i s g i v e n i n t h i s d a t a s h e e t . d e t a i l e d i n f o r m a t i o n o n t h e k n x b u s c a n b e f o u n d o n t h e k n x w e b s i t e ( w w w . k n x . o r g ) a n d i n t h e k n x s t a n d a r d s . k n x b u s i n t e r f a c i n g e a c h b i t p e r i o d i s 1 0 4  s . l o g i c 1 i s s i m p l y t h e d c l e v e l o f t h e b u s v o l t a g e w h i c h i s b e t w e e n 2 0 v a n d 3 3 v . l o g i c 0 i s e n c o d e d a s a d r o p i n t h e b u s v o l t a g e w i t h r e s p e c t t o t h e d c l e v e l . l o g i c 0 i s k n o w n a s t h e a c t i v e p u l s e . t h e a c t i v e p u l s e i s p r o d u c e d b y t h e t r a n s m i t t e r a n d i s i d e a l l y r e c t a n g u l a r . i t h a s a d u r a t i o n o f 3 5  s a n d a d e p t h b e t w e e n 6 a n d 9 v ( v a c t ) . e a c h a c t i v e p u l s e i s f o l l o w e d b y a n e q u a l i z a t i o n p u l s e w i t h a d u r a t i o n o f 6 9  s . t h e l a t t e r i s a n a b r u p t j u m p o f t h e b u s v o l t a g e a b o v e t h e d c l e v e l f o l l o w e d b y a n e x p o n e n t i a l d e c a y d o w n t o t h e d c l e v e l . t h e e q u a l i z a t i o n p u l s e i s c h a r a c t e r i z e d b y i t s h e i g h t v e q a n d t h e v o l t a g e v e n d r e a c h e d a t t h e e n d o f t h e e q u a l i z a t i o n p u l s e . s e e t h e k n x t w i s t e d p a i r s t a n d a r d ( k n x t p 1 ? 2 5 6 ) f o r m o r e d e t a i l e d k n x i n f o r m a t i o n . d c l e v e l v b u s t 1 0 4  s 3 5  s 6 9  s a c t i v e p u l s e e q u a l i z a t i o n p u l s e 1 0 4  s 0 1 v e q v a c t v e n d f i g u r e 1 6 . k n x b u s v o l t a g e v e r s u s d i g i t a l v a l u e k n x b u s t r a n s m i t t e r t h e p u r p o s e o f t h e t r a n s m i t t e r i s t o p r o d u c e a n a c t i v e p u l s e ( s e e f i g u r e 1 6 ) b e t w e e n 6 v a n d 9 v r e g a r d l e s s o f t h e b u s i m p e d a n c e ( n o t e 1 ) . i n o r d e r t o d o t h i s t h e t r a n s m i t t e r w i l l s i n k a s m u c h c u r r e n t a s n e c e s s a r y u n t i l t h e b u s v o l t a g e d r o p s b y t h e d e s i r e d a m o u n t . k n x b u s r e c e i v e r t h e r e c e i v e r d e t e c t s t h e b e g i n n i n g a n d t h e e n d o f t h e a c t i v e p u l s e . t h e d e t e c t i o n t h r e s h o l d f o r t h e s t a r t o f t h e a c t i v e p u l s e i s ? 0 . 4 5 v ( t y p . ) b e l o w t h e a v e r a g e b u s v o l t a g e . t h e d e t e c t i o n t h r e s h o l d f o r t h e e n d o f t h e a c t i v e p u l s e i s ? 0 . 2 v ( t y p . ) b e l o w t h e a v e r a g e b u s v o l t a g e g i v i n g a h y s t e r e s i s o f 0 . 2 5 v ( t y p . ) . b u s c o u p l e r t h e r o l e o f t h e b u s c o u p l e r i s t o e x t r a c t t h e d c v o l t a g e f r o m t h e b u s a n d p r o v i d e a s t a b l e v o l t a g e s u p p l y f o r t h e p u r p o s e o f p o w e r i n g t h e n c n 5 1 2 0 . t h i s s t a b l e v o l t a g e s u p p l i e d b y t h e b u s c o u p l e r w i l l f o l l o w t h e a v e r a g e b u s v o l t a g e . t h e b u s c o u p l e r a l s o m a k e s s u r e t h a t t h e c u r r e n t d r a w n f r o m t h e b u s c h a n g e s v e r y s l o w l y . f o r t h i s a l a r g e f i l t e r c a p a c i t o r i s u s e d o n t h e v f i l t ? p i n . a b r u p t l o a d c u r r e n t s t e p s a r e a b s o r b e d b y t h e f i l t e r c a p a c i t o r . l o n g ? t e r m s t a b i l i t y r e q u i r e s t h a t t h e a v e r a g e b u s c o u p l e r i n p u t c u r r e n t i s e q u a l t o t h e a v e r a g e ( b u s c o u p l e r ) l o a d c u r r e n t t h e b u s c o u p l e r i s i m p l e m e n t e d a s a l i n e a r v o l t a g e r e g u l a t o r . f o r e f f i c i e n c y p u r p o s e , t h e v o l t a g e d r o p o v e r t h e b u s c o u p l e r i s k e p t m i n i m a l ( s e e t a b l e 4 ) . k n x i m p e d a n c e c o n t r o l t h e i m p e d a n c e c o n t r o l c i r c u i t d e f i n e s t h e i m p e d a n c e o f t h e b u s d e v i c e d u r i n g t h e a c t i v e a n d e q u a l i z a t i o n p u l s e s . t h e i m p e d a n c e c a n b e d i v i d e d i n t o a s t a t i c a n d a d y n a m i c c o m p o n e n t , t h e l a t t e r b e i n g a f u n c t i o n o f t i m e . t h e s t a t i c i m p e d a n c e d e f i n e s t h e l o a d f o r t h e a c t i v e p u l s e c u r r e n t a n d t h e e q u a l i z a t i o n p u l s e c u r r e n t . t h e d y n a m i c i m p e d a n c e i s p r o d u c e d b y a b l o c k , c a l l e d a n e q u a l i z a t i o n p u l s e g e n e r a t o r , t h a t r e d u c e s t h e d e v i c e c u r r e n t c o n s u m p t i o n ( i . e . i n c r e a s e s t h e d e v i c e i m p e d a n c e ) a s a f u n c t i o n o f t i m e d u r i n g t h e e q u a l i z a t i o n p h a s e s o a s t o r e t u r n e n e r g y t o t h e b u s . 1 . m a x i m u m b u s i m p e d a n c e i s s p e c i f i e d i n t h e k n x t w i s t e d p a i r s t a n d a r d
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 6 f i x e d a n d a d j u s t a b l e d c ? d c c o n v e r t e r t h e d e v i c e c o n t a i n s t w o d c ? d c b u c k c o n v e r t e r s , b o t h s u p p l i e d f r o m v f i l t . d c 1 p r o v i d e s a f i x e d v o l t a g e o f 3 . 3 v . t h i s v o l t a g e i s u s e d a s a n i n t e r n a l l o w v o l t a g e s u p p l y ( v d d a a n d v d d d ) b u t c a n a l s o b e u s e d t o p o w e r e x t e r n a l d e v i c e s ( v d d 1 ? p i n ) . d c 1 i s a u t o m a t i c a l l y e n a b l e d d u r i n g t h e p o w e r ? u p p r o c e d u r e ( s e e a n a l o g s t a t e d i a g r a m , p 1 9 ) . d c 2 p r o v i d e s a p r o g r a m m a b l e v o l t a g e b y m e a n s o f a n e x t e r n a l r e s i s t o r d i v i d e r . i t i s n o t u s e d a s a n i n t e r n a l v o l t a g e s u p p l y m a k i n g i t n o t m a n d a t o r y t o u s e t h i s d c ? d c c o n v e r t e r ( i f n o t n e e d e d , t i e t h e v d d 2 m v p i n t o v d d 1 , s e e a l s o f i g u r e 1 3 ) . d c 2 c a n b e m o n i t o r e d ( < v d d 2 > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) , a n d / o r d i s a b l e d b y a c o m m a n d f r o m t h e h o s t c o n t r o l l e r ( < d c 2 e n > , s e e a n a l o g c o n t r o l r e g i s t e r 0 , p 5 0 ) . d c 2 w i l l o n l y b e e n a b l e d w h e n v f i l t ? b i t i s s e t ( < v f i l t > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . t h e s t a t u s o f d c 2 c a n b e m o n i t o r e d ( < v d d 2 > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . t h e v o l t a g e d i v i d e r c a n b e c a l c u l a t e d a s n e x t : r 4  r 5  r v d d 2 m r 5  r v d d 2 m  v d d 2  3 . 3 3 . 3 ( e q . 1 ) b o t h d c ? d c c o n v e r t e r s m a k e u s e o f s l o p e c o n t r o l t o i m p r o v e e m c p e r f o r m a n c e ( s e e t a b l e 5 ) . t o o p e r a t e d c 1 a n d d c 2 c o r r e c t l y , t h e v o l t a g e o n t h e v i n ? p i n s h o u l d b e h i g h e r t h a n t h e h i g h e s t v a l u e o f d c 1 a n d d c 2 . a l t h o u g h b o t h d c ? d c c o n v e r t e r s a r e c a p a b l e o f d e l i v e r i n g 1 0 0 m a , t h e m a x i m u m c u r r e n t c a p a b i l i t y w i l l n o t a l w a y s b e u s a b l e . o n e a l w a y s n e e d s t o m a k e s u r e t h a t t h e k n x b u s p o w e r c o n s u m p t i o n s t a y s w i t h i n t h e k n x s p e c i f i c a t i o n . t h e m a x i m u m a l l o w e d c u r r e n t f o r t h e d c ? d c c o n v e r t e r s a n d v 2 0 v r e g u l a t o r c a n b e e s t i m a t e d a s n e x t : v b u s   i b u s  i 2 0 v 2 
 v d d 1  i d d 1   v d d 2  i d d 2  1 ( e q . 2 ) i b u s w i l l b e l i m i t e d b y t h e k n x s t a n d a r d a n d s h o u l d b e l o w e r o r e q u a l t o i c o u p l e r ( s e e t a b l e 4 ) . m i n i m u m v b u s i s 2 0 v ( s e e k n x s t a n d a r d ) . v d d 1 a n d v d d 2 c a n b e f o u n d b a c k i n t a b l e 4 . i d d 1 , i d d 2 a n d i 2 0 v m u s t b e c h o s e n i n a c o r r e c t w a y t o b e i n l i n e w i t h t h e k n x s p e c i f i c a t i o n ( n o t e 2 ) . v 2 0 v r e g u l a t o r t h i s i s t h e 2 0 v l o w d r o p l i n e a r v o l t a g e r e g u l a t o r u s e d t o s u p p l y e x t e r n a l d e v i c e s . a s i t d r a w s c u r r e n t f r o m v f i l t , t h i s c u r r e n t i s s e e n w i t h o u t a n y p o w e r c o n v e r s i o n d i r e c t l y a t t h e v b u s 1 p i n . t h e v 2 0 v r e g u l a t o r s t a r t s u p b y d e f a u l t b u t c a n b e d i s a b l e d b y a c o m m a n d f r o m t h e h o s t c o n t r o l l e r ( < v 2 0 v e n > , s e e a n a l o g c o n t r o l r e g i s t e r 0 , p 5 0 ) . w h e n t h e v 2 0 v r e g u l a t o r i s n o t u s e d , n o l o a d c a p a c i t o r n e e d s t o b e c o n n e c t e d ( s e e c 7 o f f i g u r e s 1 3 , 1 4 a n d 1 5 ) . c o n n e c t v 2 0 v ? p i n w i t h v f i l t ? p i n i n t h i s c a s e . v 2 0 v r e g u l a t o r w i l l o n l y b e e n a b l e d w h e n v f i l t ? b i t i s s e t ( < v f i l t > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . t h e h o s t c o n t r o l l e r c a n a l s o m o n i t o r t h e s t a t u s o f t h e r e g u l a t o r ( < v 2 0 v > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . x t a l o s c i l l a t o r a n a n a l o g o s c i l l a t o r c e l l g e n e r a t e s t h e m a i n c l o c k o f 1 6 m h z . t h i s c l o c k i s d i r e c t l y p r o v i d e d t o t h e d i g i t a l b l o c k t o g e n e r a t e a l l n e c e s s a r y c l o c k d o m a i n s . a n i n p u t p i n x s e l i s f o r e s e e n t o e n a b l e t h e u s e o f a q u a r t z c r y s t a l ( s e e f i g u r e 1 8 ) o r a n e x t e r n a l c l o c k g e n e r a t o r ( s e e f i g u r e 1 9 ) t o g e n e r a t e t h e m a i n c l o c k . t h e x c l k ? p i n c a n b e u s e d t o s u p p l y a c l o c k s i g n a l o f 8 m h z t o t h e h o s t c o n t r o l l e r . t h e f r e q u e n c y o f t h i s c l o c k s i g n a l c a n b e d o u b l e d o r s w i t c h e d o f f b y a c o m m a n d f r o m t h e h o s t c o n t r o l l e r ( < x c l k f r e q > a n d < x c l k e n > , s e e a n a l o g c o n t r o l r e g i s t e r 0 , p 5 0 ) . a f t e r p o w e r ? u p , a 4 m h z ( n o t e 3 ) c l o c k s i g n a l w i l l b e p r e s e n t o n t h e x c l k ? p i n d u r i n g s t a n d ? b y . w h e n n o r m a l s t a t e i s e n t e r e d , a 8 o r 1 6 m h z c l o c k s i g n a l w i l l b e p r e s e n t o n t h e x c l k ? p i n . s e e a l s o f i g u r e 2 1 . w h e n n o r m a l s t a t e i s l e f t a n d s t a n d ? b y s t a t e i s e n t e r e d d u e t o a n i s s u e d i f f e r e n t t h a n a n x t a l i s s u e , t h e 8 o r 1 6 m h z c l o c k s i g n a l w i l l s t i l l b e p r e s e n t o n t h e x c l k ? p i n d u r i n g t h e s t a n d ? b y s t a t e . i f h o w e v e r s t a n d ? b y i s e n t e r e d f r o m n o r m a l s t a t e d u e t o a n x t a l i s s u e , t h e 4 m h z c l o c k s i g n a l w i l l b e p r e s e n t o n t h e x c l k ? p i n . s e e a l s o t a b l e 7 . f a n i n / w a k e ? p i n t h e f a n i n / w a k e ? p i n h a s a d o u b l e p u r p o s e . f i r s t o f a l l i t d e f i n e s t h e m a x i m u m a l l o w e d b u s c u r r e n t a n d b u s c u r r e n t s l o p e s . i f t h e f a n i n / w a k e ? p i n i s k e p t f l o a t i n g o r p u l l e d h i g h , n c n 5 1 2 0 w i l l l i m i t t h e k n x b u s c u r r e n t s l o p e s t o 0 . 5 m a / m s a t a l l t i m e s . n c n 5 1 2 0 w i l l a l s o l i m i t t h e k n x b u s c u r r e n t t o 3 0 m a d u r i n g s t a r t ? u p . d u r i n g n o r m a l o p e r a t i o n , n c n 5 1 2 0 i s c a p a b l e o f t a k i n g u p t o 1 3 m a ( = i c o u p l e r ) f r o m t h e k n x b u s f o r s u p p l y i n g e x t e r n a l l o a d s ( d c 1 , d c 2 a n d v 2 0 v ) . b e c a u s e n c n 5 1 2 0 w i l l n o t l i m i t t h e k n x b u s c u r r e n t t o 1 3 m a d u r i n g n o r m a l o p e r a t i o n , i t ? s u p t o t h e u s e r t o m a k e s u r e t h a t t h e i c o u p l e r b u s c u r r e n t d o e s n o t g o a b o v e 1 3 m a ( f o r f a n i n / w a k e ? p i n f l o a t i n g o r h i g h ) . i f t h e f a n i n / w a k e ? p i n i s p u l l e d t o g r o u n d t h e o p e r a t i o n i s s i m i l a r a s a b o v e w i t h t h e e x c e p t i o n t h a t t h e k n x b u s c u r r e n t s l o p e s w i l l b e l i m i t e d t o 1 m a / m s a t a l l t i m e s , t h e k n x b u s c u r r e n t w i l l b e l i m i t e d t o 6 0 m a d u r i n g s t a r t ? u p a n d t h e u p t o 2 6 m a ( i c o u p l e r ) c a n b e t a k e n f r o m t h e k n x b u s d u r i n g n o r m a l o p e r a t i o n . d e f i n i t i o n s f o r s t a r t ? u p a n d n o r m a l o p e r a t i o n ( a s g i v e n a b o v e ) c a n b e f o u n d i n t h e k n x s p e c i f i c a t i o n . 2 . t h e f o r m u l a i s f o r a t y p i c a l k n x a p p l i c a t i o n . i t ? s o n l y g i v e n a s g u i d a n c e a n d d o e s n o t g u a r a n t e e c o m p l i a n c e w i t h t h e k n x s t a n d a r d . 3 . t h e 4 m h z c l o c k s i g n a l i s i n t e r n a l l y g e n e r a t e d a n d w i l l b e l e s s a c c u r a t e a s t h e c r y s t a l g e n e r a t e d c l o c k s i g n a l o f 8 o r 1 6 m h z .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 7 t h e f a n i n / w a k e ? p i n c a n a l s o b e u s e d t o e x i t f r o m s l e e p m o d e ( s e e p 1 8 ) . w h e n i n s l e e p m o d e , a l o w l e v e l o n t h e f a n i n / w a k e ? p i n i n i t i a t e s t h e p o w e r ? u p p r o c e d u r e o f t h e d e v i c e . b e c a u s e f a n i n / w a k e ? p i n h a s a n i n t e r n a l p u l l ? u p a s i m p l e p u s h b u t t o n c a n b e u s e d t o e x i t s l e e p m o d e ( s e e a l s o f i g u r e 1 4 ) . t h i s f u n c t i o n a l i t y i s n o t a v a i l a b l e w h e n t h e f a n i n / w a k e ? p i n i s p u l l e d t o g r o u n d . w h e n u s i n g t h e f a n i n / w a k e ? p i n , t i m i n g s m u s t b e r e s p e c t e d ( s e e t a b l e 5 a n d f i g u r e 8 ) . r e s e t b ? a n d s a v e b ? p i n t h e r e s e t b s i g n a l c a n b e u s e d t o k e e p t h e h o s t c o n t r o l l e r i n a r e s e t s t a t e . w h e n r e s e t b i s l o w t h i s i n d i c a t e s t h a t t h e b u s v o l t a g e i s t o o l o w f o r n o r m a l o p e r a t i o n a n d t h a t t h e f i x e d d c ? d c c o n v e r t e r h a s n o t s t a r t e d u p . i t c o u l d a l s o i n d i c a t e a t h e r m a l s h u t d o w n ( t s d ) . t h e r e s e t b s i g n a l a l s o i n d i c a t e s i f c o m m u n i c a t i o n b e t w e e n h o s t a n d n c n 5 1 2 0 i s p o s s i b l e . t h e s a v e b s i g n a l i n d i c a t e s c o r r e c t o p e r a t i o n . w h e n s a v e b g o e s l o w , t h i s i n d i c a t e s a p o s s i b l e i s s u e ( l o s s o f b u s p o w e r o r t o o h i g h t e m p e r a t u r e ) w h i c h c o u l d t r i g g e r t h e h o s t c o n t r o l l e r t o s a v e c r i t i c a l d a t a o r g o t o a s a v e s t a t e . r e s e t b ? a n d s a v e b ? p i n a r e o p e n ? d r a i n p i n s w i t h a n i n t e r n a l p u l l ? u p r e s i s t o r t o v d d d . v o l t a g e s u p e r v i s o r s n c n 5 1 2 0 h a s d i f f e r e n t v o l t a g e s u p e r v i s o r s m o n i t o r i n g v b u s , v f i l t , v d d 2 a n d v 2 0 v . t h e g e n e r a l f u n c t i o n o f a v o l t a g e s u p e r v i s o r i s t o d e t e c t w h e n a v o l t a g e i s a b o v e o r b e l o w a c e r t a i n l e v e l . t h e l e v e l s f o r t h e d i f f e r e n t v o l t a g e s m o n i t o r e d c a n b e f o u n d b a c k i n t a b l e 4 ( s e e a l s o f i g u r e s 4 , 5 , 6 a n d 7 ) . t h e s t a t u s o f t h e v o l t a g e s u p e r v i s o r s c a n b e m o n i t o r e d b y t h e h o s t c o n t r o l l e r ( s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . d e p e n d i n g o n t h e v o l t a g e s u p e r v i s o r o u t p u t s , t h e d e v i c e c a n e n t e r d i f f e r e n t s t a t e s ( s e e a n a l o g s t a t e d i a g r a m , p 1 9 ) . v s w 1 v i n v s s 1 v d d 1 m v d d 1 v s w 2 v s s 2 v d d 2 m v v d d 2 m c v d d 2 c o m p s w i t c h c o n t r o l l e r c o m p s w i t c h c o n t r o l l e r f r o m v f i l t 1  1 0  f v d d 1 = 3 . 3 v 1  1 0  f v d d 2 = 3 . 3 v ? 2 1 v n c n 5 1 2 0 r 5 r 4 l 2 l 1 p 2 n 2 p 1 n 1 f i g u r e 1 7 . f i x e d ( v d d 1 ) a n d a d j u s t a b l e ( v d d 2 ) d c ? d c c o n v e r t e r r d o w n o s c 1 6 m h z 8 m h z n c n 5 1 2 0 x c l k x t a l 1 x t a l 2 x s e l f i g u r e 1 8 . x t a l o s c i l l a t o r f i g u r e 1 9 . e x t e r n a l c l o c k g e n e r a t o r o r 1 6 m h z r d o w n o s c 8 m h z o r 1 6 m h z n c n 5 1 2 0 3 . 3 v x t a l 2 x t a l 1 x c l k x s e l c l k o u t 3 . 3 v v c c g n d m i c r o ? c o n t r o l l e r
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 8 t a b l e 7 . s t a t u s o f s e v e r a l b l o c k s d u r i n g t h e d i f f e r e n t ( a n a l o g ) s t a t e s s t a t e o s c x c l k v d d 1 v d d 2 / v 2 0 v s p i / u a r t k n x r e s e t o f f o f f o f f o f f i n a c t i v e i n a c t i v e s t a r t ? u p o f f o f f s t a r t ? u p o f f i n a c t i v e i n a c t i v e s t a n d ? b y ( n o t e 1 1 ) o f f 4 m h z o n s t a r t ? u p a c t i v e i n a c t i v e ( n o t e 1 6 ) s t a n d ? b y ( n o t e 1 2 ) o n ( n o t e 1 4 ) o n ( n o t e 1 4 ) o n o n ( n o t e 1 5 ) a c t i v e i n a c t i v e ( n o t e 1 6 ) n o r m a l o n o n ( n o t e 1 3 ) o n o n a c t i v e a c t i v e s l e e p o f f o f f o f f o f f i n a c t i v e i n a c t i v e 1 1 . o n l y v a l i d w h e n e n t e r i n g s t a n d ? b y f r o m s t a r t ? u p s t a t e . 1 2 . o n l y v a l i d w h e n e n t e r i n g s t a n d ? b y f r o m n o r m a l s t a t e . 1 3 . 8 m h z 1 4 . 4 m h z s i g n a l i f s t a n d ? b y s t a t e w a s e n t e r e d d u e t o o s c i l l a t o r i s s u e . o t h e r w i s e 8 m h z c l o c k s i g n a l . 1 5 . o n l y o p e r a t i o n a l i f s t a n d ? b y s t a t e w a s n o t e n t e r e d d u e t o v d d 2 o r v 2 0 v i s s u e . 1 6 . u n d e r c e r t a i n c o n d i t i o n s k n x b u s i s ( p a r t l y ) a c t i v e . s e e d i g i t a l s t a t e d i a g r a m f o r m o r e d e t a i l s . t e m p e r a t u r e m o n i t o r t h e d e v i c e p r o d u c e s a n o v e r ? t e m p e r a t u r e w a r n i n g ( t w ) a n d a t h e r m a l s h u t d o w n w a r n i n g ( t s d ) . w h e n e v e r t h e j u n c t i o n t e m p e r a t u r e r i s e s a b o v e t h e t h e r m a l w a r n i n g l e v e l ( t t w ) , t h e s a v e b ? p i n w i l l g o l o w t o s i g n a l t h e i s s u e t o t h e h o s t c o n t r o l l e r . b e c a u s e t h e s a v e b ? p i n w i l l n o t o n l y g o l o w o n a t h e r m a l w a r n i n g ( t w ) , t h e h o s t c o n t r o l l e r n e e d s t o v e r i f y t h e i s s u e b y r e q u e s t i n g t h e s t a t u s ( < t w > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . w h e n t h e j u n c t i o n t e m p e r a t u r e i s a b o v e t w , t h e h o s t c o n t r o l l e r s h o u l d u n d e r t a k e a c t i o n s t o r e d u c e t h e j u n c t i o n t e m p e r a t u r e a n d / o r s t o r e c r i t i c a l d a t a . w h e n t h e j u n c t i o n t e m p e r a t u r e r e a c h e s t h e r m a l s h u t d o w n ( t t s d ) , t h e d e v i c e w i l l g o t o t h e r e s e t s t a t e . t h e t h e r m a l s h u t d o w n w i l l b e s t o r e d ( < t s d > , s e e a n a l o g s t a t u s r e g i s t e r , p 5 1 ) a n d t h e a n a l o g a n d d i g i t a l p o w e r s u p p l y w i l l b e s t o p p e d ( t o p r o t e c t t h e d e v i c e ) . t h e d e v i c e w i l l s t a y i n t h e r e s e t s t a t e a s l o n g a s t h e t e m p e r a t u r e s t a y s a b o v e t t s d . i f t h e t e m p e r a t u r e d r o p s b e l o w t t s d , s t a r t ? u p s t a t e w i l l b e e n t e r e d ( s e e a l s o f i g u r e 2 0 ) . a t t h e m o m e n t v d d 1 i s b a c k u p a n d t h e o t p m e m o r y i s r e a d , s t a n d ? b y s t a t e w i l l b e e n t e r e d a n d r e s e t b w i l l g o h i g h . t h e x t a l o s c i l l a t o r w i l l b e s t a r t e d . o n c e t h e t e m p e r a t u r e h a s d r o p p e d b e l o w t t w a n d a l l v o l t a g e s a r e h i g h e n o u g h , n o r m a l s t a t e w i l l b e e n t e r e d . s a v e b w i l l g o h i g h a n d k n x c o m m u n i c a t i o n i s b a c k p o s s i b l e . t h e t w ? b i t w i l l b e r e s e t a t t h e m o m e n t t h e j u n c t i o n t e m p e r a t u r e d r o p s b e l o w t t w . t h e t s d ? b i t w i l l o n l y b e r e s e t w h e n t h e j u n c t i o n t e m p e r a t u r e i s b e l o w t t s d a n d t h e < t s d > b i t i s r e a d ( s e e a n a l o g s t a t u s r e g i s t e r , p 5 1 ) . f i g u r e 9 g i v e s a b e t t e r v i e w o n t h e t e m p e r a t u r e m o n i t o r . s l e e p m o d e s l e e p m o d e c a n b e e n t e r e d b y s e t t i n g t h e s l p ? b i t ( < s l p > , s e e a n a l o g c o n t r o l r e g i s t e r 1 , p 5 1 ) . l e a v i n g s l e e p m o d e c a n o n l y b e d o n e b y m e a n s o f a ( w a k e ) p u l s e o n t h e f a n i n / w a k e ? p i n ( o r a p o r ) . a n e x i t f r o m s l e e p m o d e c a n b e v e r i f i e d b y t h e h o s t c o n t r o l l e r ( < s l p > , s e e a n a l o g s t a t u s r e g i s t e r , p 5 1 ) . i t ? s n o t p o s s i b l e t o e n t e r s l e e p m o d e w h e n t h e f a n i n / w a k e ? p i n i s p u l l e d l o w ( s e e p 1 6 ) . s e e t a b l e 7 f o r t h e s t a t u s o f s e v e r a l b l o c k s d u r i n g s l e e p m o d e . w a t c h d o g n c n 5 1 2 0 p r o v i d e s a w a t c h d o g f u n c t i o n t o t h e h o s t c o n t r o l l e r . t h e w a t c h d o g f u n c t i o n c a n b e e n a b l e d b y m e a n s o f t h e w d e n ? b i t ( < w d e n > , s e e w a t c h d o g r e g i s t e r , p 5 0 ) . o n c e t h i s b i t i s s e t t o ? 1 ? , t h e h o s t c o n t r o l l e r n e e d s t o r e ? w r i t e t h i s b i t t o c l e a r t h e i n t e r n a l t i m e r b e f o r e t h e w a t c h d o g t i m e o u t i n t e r v a l e x p i r e s ( w a t c h d o g t i m e o u t i n t e r v a l = < w d t > , s e e w a t c h d o g r e g i s t e r , p 5 0 ) . i n c a s e t h e w a t c h d o g i s a c k n o w l e d g e d t o o e a r l y ( b e f o r e t w d p r ) o r n o t w i t h i n t h e w a t c h d o g t i m e o u t i n t e r v a l ( t w d t o ) , t h e r e s e t b ? p i n w i l l b e m a d e l o w ( = r e s e t h o s t c o n t r o l l e r ) . t a b l e 8 g i v e s t h e w a t c h d o g t i m i n g s t w d t o a n d t w d p r . d e t a i l s o n < w d t > c a n b e f o u n d i n t h e w a t c h d o g r e g i s t e r , p 5 0 .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 1 9 t a b l e 8 . w a t c h d o g t i m i n g s w d t [ 3 : 0 ] t w d t o [ m s ] t w d p r [ m s ] 0 0 0 0 3 3 2 0 0 0 1 6 6 4 0 0 1 0 9 8 6 0 0 1 1 1 3 1 8 0 1 0 0 1 6 4 1 0 0 1 0 1 1 9 7 1 2 0 1 1 0 2 2 9 1 4 0 1 1 1 2 6 2 1 6 1 0 0 0 2 9 5 1 8 1 0 0 1 3 2 8 2 0 1 0 1 0 3 6 0 2 3 1 0 1 1 3 9 3 2 5 1 1 0 0 4 2 6 2 7 1 1 0 1 4 5 9 2 9 1 1 1 0 4 9 2 3 0 1 1 1 1 5 2 4 3 1 a n a l o g s t a t e d i a g r a m t h e a n a l o g s t a t e d i a g r a m o f n c n 5 1 2 0 i s g i v e n i n f i g u r e 2 0 . t h e s t a t u s o f t h e o s c i l l a t o r , x c l k ? p i n , d c ? d c c o n v e r t e r s , v 2 0 v r e g u l a t o r , s e r i a l a n d k n x c o m m u n i c a t i o n d u r i n g t h e d i f f e r e n t ( a n a l o g ) s t a t e s i s g i v e n i n t a b l e 7 . f i g u r e 2 1 g i v e s a d e t a i l e d v i e w o n t h e s t a r t ? u p b e h a v i o r o f n c n 5 1 2 0 . a f t e r a p p l y i n g t h e b u s v o l t a g e , t h e f i l t e r c a p a c i t o r s t a r t s t o c h a r g e . d u r i n g t h i s r e s e t s t a t e , t h e c u r r e n t d r a w n f r o m t h e b u s i s l i m i t e d t o i c o u p l e r ( f o r d e t a i l s s e e t h e k n x s t a n d a r d s ) . o n c e t h e v o l t a g e o n t h e f i l t e r c a p a c i t o r r e a c h e s 1 0 v ( t y p . ) , t h e f i x e d d c ? d c c o n v e r t e r ( p o w e r i n g v d d a ) w i l l b e e n a b l e d a n d t h e d e v i c e e n t e r s t h e s t a r t ? u p s t a t e . w h e n v d d 1 g e t s a b o v e 2 . 8 v ( t y p . ) , t h e o t p m e m o r y i s r e a d o u t t o t r i m s o m e a n a l o g p a r a m e t e r s ( o t p m e m o r y i s n o t a c c e s s i b l e b y t h e u s e r ) . w h e n d o n e , t h e s t a n d ? b y s t a t e i s e n t e r e d a n d t h e r e s e t b ? p i n i s m a d e h i g h . i f a t t h i s m o m e n t v b u s i s a b o v e v b u s h , t h e v b u s ? b i t w i l l b e s e t ( < v b u s > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . a f t e r a p r o x . 2 m s t h e x t a l o s c i l l a t o r w i l l s t a r t . w h e n v f i l t i s a b o v e v f i l t h d c 2 a n d v 2 0 v w i l l b e s t a r t e d . w h e n t h e x t a l o s c i l l a t o r h a s s t a r t e d , n o t h e r m a l w a r n i n g ( t w ) o r t h e r m a l s h u t d o w n ( t s d ) w a s d e t e c t e d a n d t h e v b u s ? , v f i l t ? , v d d 2 ? a n d v 2 0 v ? b i t s a r e s e t , t h e n o r m a l s t a t e w i l l b e e n t e r e d a n d s a v e b ? p i n w i l l g o h i g h . f i g u r e 2 2 g i v e s a d e t a i l e d v i e w o n t h e s h u t ? d o w n b e h a v i o r . i f t h e k n x b u s v o l t a g e d r o p s b e l o w v b u s l f o r m o r e t h a n t b u s _ f i l t e r , t h e v b u s ? b i t w i l l b e r e s e t ( < v b u s > , s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) a n d t h e s t a n d y ? b y s t a t e i s e n t e r e d . s a v e b w i l l g o l o w t o s i g n a l t h i s . w h e n v f i l t d r o p s b e l o w v f i l t l , d c 2 a n d t h e v 2 0 v r e g u l a t o r w i l l b e s w i t c h e d o f f . w h e n v f i l t d r o p s b e l o w 6 . 5 v ( t y p ) , d c 1 w i l l b e s w i t c h e d o f f a n d v d d 1 d r o p s b e l o w 2 . 8 v ( t y p . ) t h e d e v i c e g o e s t o r e s e t s t a t e ( r e s e t b l o w ) .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 0 f i g u r e 2 0 . a n a l o g s t a t e d i a g r a m r e s e t r e s e t b = ? 0 ? s a v e b = ? 0 ? s t a r t ? u p r e s e t b = ? 0 ? s a v e b = ? 0 ? s t a n d ? b y r e s e t b = ? 1 ? s a v e b = ? 0 ? n o r m a l r e s e t b = ? 1 ? s a v e b = ? 1 ? s l e e p r e s e t b = ? 0 ? s a v e b = ? 0 ? v f i l t > 1 0 v a n d t e m p < t s d v f i l t < 6 . 5 v v d d a o k a n d o t p r e a d d o n e < t s d > = ? 1 ? o r v d d a n o k r e m a r k s : ? < t w > , < t s d > , < x t a l , < v b u s > a n d < v f i l t > a r e i n t e r n a l s t a t u s b i t s w h i c h c a n b e v e r i f i e d w i t h t h e s y s t e m s t a t e s e r v i c e ( w i t h e x c e p t i o n o f < t s d > f o r w h i c h i n t e r n a l r e g i s t e r r e a d s h o u l d b e u s e d ) . ? a l t h o u g h r e s e t s t a t e c o u l d b e e n t e r e d f r o m n o r m a l s t a t e o n a t s d , s t a n d ? b y s t a t e w i l l b e e n t e r e d f i r s t d u e t o a t w . ? e n a b l i n g o f d c 2 a n d v 2 0 v w i l l d e p e n d o n t h e < d c 2 e n > a n d < v 2 0 v e n > b i t s i n a n a l o g c o n t r o l r e g i s t e r 0 . e n a b l e d c 1 d i s a b l e d c 1 e n a b l e d c 2 a n d v 2 0 v v f i l t > v f i l t h d i s a b l e d c 2 a n d v 2 0 v v f i l t < v f i l t l d i s a b l e d c 1 v f i l t < 6 . 5 v < t w > = ? 1 ? o r < x t a l > = ? 0 ? o r < v b u s > = ? 0 ? o r < v f i l t > = ? 0 ? d i s a b l e d c 1 , d c 2 a n d v 2 0 v < t w > = ? 0 ? a n d < t s d > = ? 0 ? a n d < x t a l > = ? 1 ? a n d < v b u s > = ? 1 ? a n d < v f i l t > = ? 1 ? e n a b l e d c 1 d i s a b l e d c 1 , d c 2 a n d v 2 0 v < t s d > = ? 1 ? o r v d d a n o k v f i l t < 6 . 5 v w a k e p u l s e s l e e p c o m m a n d a n d w a k e ? p i n = ? 1 ?
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 1 f i g u r e 2 1 . s t a r t ? u p b e h a v i o r < v f i l t > < v d d 2 > < v 2 0 v > r e s e t b s a v e b x c l k v b u s v f i l t i b u s i c o u p l e r _ l i m v d d 1 1 0 v v f i l t h 2 . 8 v v x t a l x t a l o s c i l l a t o r < v b u s > v b u s h v d d 2 0 . 9 x v d d 2 v 2 0 v v 2 0 v h r e s e t s t a r t - u p s t a n d - b y n o r m a l t r e m a r k s : v d d 1 d i r e c t l y c o n n e c t e d t o v d d a . 3 m s s l o p e m a x i m u m 0 . 5 m a / m s ( f a n i n / w a k e ? p i n = h i g h ) o r 1 m a / m s ( f a n i n / w a k e ? p i n = l o w ) m a x i m u m 3 0 m a ( f a n i n / w a k e ? p i n = h i g h ) o r 6 0 m a ( f a n i n / w a k e ? p i n = l o w ) s h o u l d b e l i m i t e d t o 1 3 m a ( f a n i n / w a k e ? p i n = h i g h ) o r 2 6 m a ( f a n i n / w a k e ? p i n = l o w )
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 2 f i g u r e 2 2 . s h u t ? d o w n b e h a v i o r < v f i l t > < v d d 2 > < v 2 0 v > r e s e t b s a v e b x c l k v b u s v f i l t i b u s v d d 1 6 . 5 v v f i l t l 2 . 8 v v x t a l x t a l o s c i l l a t o r < v b u s > v b u s h v d d 2 0 . 9 x v d d 2 v 2 0 v r e s e t s t a n d - b y n o r m a l t r e m a r k s : v d d 1 d i r e c t l y c o n n e c t e d t o v d d a . v b u s l t b u s _ f i l t e r t b u s _ f i l t e r n o r m a l s t a n d - b y
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 3 i n t e r f a c e m o d e t h e d e v i c e c a n c o m m u n i c a t e w i t h t h e h o s t c o n t r o l l e r b y m e a n s o f a u a r t i n t e r f a c e o r a n s p i i n t e r f a c e . t h e s e l e c t i o n o f t h e i n t e r f a c e i s d o n e b y t h e p i n s m o d e 1 , m o d e 2 , t r e q , s c k / u c 2 a n d c s b / u c 1 . t a b l e 9 . i n t e r f a c e s e l e c t i o n t r e q m o d e 2 m o d e 1 s c k / u c 2 c s b / u c 1 s d i / r x d s d o / t x d d e s c r i p t i o n 0 0 0 0 0 r x d t x d 9 ? b i t u a r t ? m o d e , 1 9 2 0 0 b p s 0 0 0 0 1 9 ? b i t u a r t ? m o d e , 3 8 4 0 0 b p s 0 0 0 1 0 8 ? b i t u a r t ? m o d e , 1 9 2 0 0 b p s 0 0 0 1 1 8 ? b i t u a r t ? m o d e , 3 8 4 0 0 b p s 1 0 0 x x d r i v e r r e c e i v e r a n a l o g m o d e t r e q 0 1 s c k ( o u t ) c s b ( o u t ) s d i s d o s p i m a s t e r , 1 2 5 k b p s t r e q 1 0 s p i m a s t e r , 5 0 0 k b p s n o t e : x = d o n ? t c a r e u a r t i n t e r f a c e t h e u a r t i n t e r f a c e i s s e l e c t e d b y p u l l i n g p i n s t r e q , m o d e 1 a n d m o d e 2 t o g r o u n d . p i n u c 2 i s u s e d t o s e l e c t t h e u a r t m o d e ( ? 0 ? = 9 ? b i t , ? 1 ? = 8 ? b i t ) a n d p i n u c 1 i s u s e d t o s e l e c t t h e b a u d r a t e ( ? 0 ? = 1 9 2 0 0 b p s , ? 1 ? = 3 8 4 0 0 b p s ) . t h e u a r t i n t e r f a c e a l l o w s f u l l d u p l e x , a s y n c h r o n o u s c o m m u n i c a t i o n . t h e d i f f e r e n c e b e t w e e n 8 ? b i t m o d e a n d 9 ? b i t m o d e i s t h a t i n 9 ? b i t a n a d d i t i o n a l p a r i t y b i t i s t r a n s m i t t e d . i n 8 ? b i t m o d e o n e e x t r a s e r v i c e i s a v a i l a b l e ( u _ f r a m e s t a t e . i n d ) . t h e s d i / r x d ? p i n i s t h e n c n 5 1 2 0 u a r t r e c e i v e p i n a n d i s u s e d t o s e n d d a t a f r o m t h e h o s t c o n t r o l l e r t o t h e d e v i c e . p i n s d o / t x d i s t h e n c n 5 1 2 0 u a r t t r a n s m i t p i n a n d i s u s e d t o t r a n s m i t d a t a b e t w e e n t h e d e v i c e a n d t h e h o s t c o n t r o l l e r . f i g u r e 1 3 g i v e s a n u a r t a p p l i c a t i o n e x a m p l e ( 9 ? b i t , 1 9 2 0 0 b p s ) . d a t a i s t r a n s m i t t e d l s b f i r s t . s t a r t ( = 0 ) b i t 0 b i t 1 b i t 2 b i t 3 b i t 4 b i t 5 b i t 6 b i t 7 s t o p ( = 1 ) f i g u r e 2 3 . 8 ? b i t u a r t m o d e s t a r t ( = 0 ) b i t 0 b i t 1 b i t 2 b i t 3 b i t 4 b i t 5 b i t 6 b i t 7 p a r i t y s t o p ( = 1 ) f i g u r e 2 4 . 9 ? b i t u a r t m o d e o n e s p e c i a l u a r t m o d e i s f o r e s e e n c a l l e d a n a l o g m o d e . w h e n t h i s m o d e i s s e l e c t e d ( t r e q = ? 1 ? , m o d e x = ? 0 ? ) a n i m m e d i a t e c o n n e c t i o n i s m a d e w i t h t h e k n x t r a n s m i t t e r r e c e i v e r ( s e e f i g u r e 2 5 ) . b i t l e v e l c o d i n g / d e c o d i n g h a s t o b e d o n e b y t h e h o s t c o n t r o l l e r . k e e p i n m i n d t h a t t h e s i g n a l s o n t h e s d i / r x d ? a n d s d o / t x d ? p i n a r e i n v e r t e d . f i g u r e 1 5 g i v e s a n a n a l o g m o d e a p p l i c a t i o n e x a m p l e . f i g u r e 2 5 . a n a l o g u a r t m o d e p o r t w / t s d u v d d c / d c c o n v e r t e r 1 d c / d c c o n v e r t e r 2 o s c n c n 5 1 2 0 c a v v b u s 1 c c p t x o f a n i n / w a k e v b u s 2 v 2 0 v x t a l 1 x t a l 2 x s e l x c l k s a v e b r e s e t b t e s t o u t v s s 2 v d d 2 v d d 2 m v v d d 2 m c v s w 2 v s s 1 v d d 1 v d d 1 m v s w 1 v i n m o d e 2 m o d e 1 t r e q ( t r e q = 1 ) c s b / u c 1 s d o / t x d s d i / r x d s c k / u c 2 v s s d v d d d v d d a v s s a v f i l t c e q 2 c e q 1 2 0 v l d o f a n ? i n c o n t r o l v a u x b u s c o u p l e r i m p e d a n c e c o n t r o l t r a n s m i t t e r o s c r e c e i v e r r c o s c d i a g n o s t i c s w a k e ? u p
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 4 s p i i n t e r f a c e t h e s p i i n t e r f a c e i s s e l e c t e d b y m o d e 1 ? a n d m o d e 2 ? p i n . t h e b a u d r a t e i s d e t e r m i n e d b y w h i c h m o d e ? p i n i s p u l l e d h i g h ( m o d e 1 p u l l e d h i g h = 1 2 5 k b p s , m o d e 2 p u l l e d h i g h = 5 0 0 k b p s ) . t h e s p i i n t e r f a c e a l l o w s f u l l d u p l e x s y n c h r o n o u s c o m m u n i c a t i o n b e t w e e n t h e d e v i c e a n d t h e h o s t c o n t r o l l e r . t h e i n t e r f a c e o p e r a t e s i n m o d e 0 ( c p o l a n d c p h a = ? 0 ? ) m e a n i n g t h a t t h e d a t a i s c l o c k e d o u t o n t h e f a l l i n g e d g e a n d s a m p l e d o n t h e r i s i n g e d g e . t h e l s b i s t r a n s m i t t e d f i r s t . s c k s d i c s b l s b 1 2 3 4 5 6 m s b s d o 1 0 3 2 5 4 7 6 l s b 1 2 3 4 5 6 m s b f i g u r e 2 6 . s p i t r a n s f e r d u r i n g s p i t r a n s m i s s i o n , d a t a i s t r a n s m i t t e d ( s h i f t e d o u t s e r i a l l y ) o n t h e s d o / t x d ? p i n a n d r e c e i v e d ( s h i f t e d i n s e r i a l l y ) o n t h e s d i / r x d ? p i n s i m u l t a n e o u s l y . s c k / u c 2 i s s e t a s o u t p u t a n d i s u s e d a s t h e s e r i a l c l o c k ( s c k ) t o s y n c h r o n i z e s h i f t i n g a n d s a m p l i n g o f t h e d a t a o n t h e s d i ? a n d s d o ? p i n . t h e s p e e d o f t h i s c l o c k s i g n a l i s s e l e c t a b l e ( s e e t a b l e 9 ) . t h e s l a v e s e l e c t l i n e ( c s b / u c 1 ? p i n ) w i l l g o l o w d u r i n g e a c h t r a n s m i s s i o n a l l o w i n g t o s e l e c t i o n t h e h o s t c o n t r o l l e r ( c s b ? p i n i s h i g h w h e n s p i i s i n i d l e s t a t e ) . s h i f t r e g i s t e r c o n t r o l n c n 5 1 2 0 s d o / t x d s d i / r x d s c k / u c 2 c s b / u c 1 s h i f t r e g i s t e r h o s t c o n t r o l l e r m i s o m o s i s c l k s s c o n t r o l f i g u r e 2 7 . s p i m a s t e r i n a n s p i n e t w o r k o n l y o n e s p i m a s t e r i s a l l o w e d ( i n t h i s c a s e n c n 5 1 2 0 ) . t o a l l o w t h e h o s t c o n t r o l l e r t o c o m m u n i c a t e w i t h t h e d e v i c e t h e t r e q ? p i n c a n b e u s e d ( t r a n s m i t r e q u e s t ) . w h e n n c n 5 1 2 0 d e t e c t s a n e g a t i v e e d g e o n t r e q , t h e d e v i c e w i l l i s s u e d u m m y t r a n s m i s s i o n o f 8 b i t s w h i c h w i l l r e s u l t i n a t r a n s m i s s i o n o f d a t a b y t e f r o m t h e h o s t c o n t r o l l e r t o t h e d e v i c e . s e e f i g u r e 1 2 f o r d e t a i l s o n t h e t i m i n g s . s e e f i g u r e 1 4 f o r a n s p i a p p l i c a t i o n e x a m p l e . s c k s d i c s b s d o t r e q 0 1 2 3 4 5 6 7 d d d d d d d d 0 1 2 3 4 d d d d d d u m m y s t a r t d u m m y t r a n s m i s s i o n f i g u r e 2 8 . t r a n s m i s s i o n r e q u e s t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 5 d i g i t a l f u n c t i o n a l d e s c r i p t i o n t h e i m p l e m e n t a t i o n o f t h e d a t a l i n k l a y e r a s s p e c i f i e d i n t h e k n x s t a n d a r d i s d i v i d e d i n t w o p a r t s . a l l f u n c t i o n s r e l a t e d t o c o m m u n i c a t i o n w i t h t h e p h y s i c a l l a y e r a n d m o s t o f t h e d a t a l i n k l a y e r s e r v i c e s a r e i n s i d e n c n 5 1 2 0 , t h e r e s t o f t h e f u n c t i o n s a n d t h e u p p e r c o m m u n i c a t i o n l a y e r s a r e i m p l e m e n t e d i n t o t h e h o s t c o n t r o l l e r ( s e e f i g u r e 2 9 ) . t h e h o s t c o n t r o l l e r i s r e s p o n s i b l e f o r h a n d l i n g : ? c h e c k s u m ? p a r i t y ? a d d r e s s i n g ? l e n g t h t h e n c n 5 1 2 0 i s r e s p o n s i b l e f o r h a n d l i n g : ? c h e c k s u m ? p a r i t y ? a c k n o w l e d g e ? r e p e t i t i o n ? t i m i n g d i g i t a l s t a t e d i a g r a m t h e d i g i t a l s t a t e d i a g r a m i s g i v e n i n f i g u r e 3 0 . t h e c u r r e n t m o d e o f o p e r a t i o n c a n b e r e t r i e v e d b y t h e h o s t c o n t r o l l e r a t a n y t i m e ( w h e n r e s e t b ? p i n i s h i g h ) b y i s s u i n g t h e u _ s y s t e m s t a t . r e q s e r v i c e a n d p a r s i n g b a c k u _ s y s t e m s t a t . i n d s e r v i c e ( s e e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . t a b l e 1 0 . n c n 5 1 2 0 d i g i t a l s t a t e s s t a t e e x p l a n a t i o n r e s e t e n t e r e d a f t e r p o w e r o n r e s e t ( p o r ) o r i n r e s p o n s e t o a u _ r e s e t . r e q s e r v i c e i s s u e d b y t h e h o s t c o n t r o l l e r . i n t h i s s t a t e n c n 5 1 2 0 g e t s i n i t i a l i z e d , a l l f e a t u r e s d i s a b l e d a n d s e r v i c e s a r e i g n o r e d a n d n o t e x e c u t e d . p o w e r ? u p / p o w e r ? u p s t o p e n t e r e d a f t e r r e s e t s t a t e o r w h e n v b u s , v f i l t o r x t a l a r e n o t o p e r a t i n g c o r r e c t l y ( o p e r a t i o n o f v b u s , v f i l t a n d x t a l c a n b e v e r i f i e d b y m e a n s o f t h e s y s t e m s t a t u s s e r v i c e , p 3 3 ) . c o m m u n i c a t i o n w i t h k n x b u s i s n o t a l l o w e d . u _ s y s t e m s t a t . i n d c a n b e u s e d t o v e r i f y t h i s s t a t e ( c o d e 0 0 ) . s y n c n c n 5 1 2 0 r e m a i n s i n t h i s s t a t e u n t i l i t d e t e c t s s i l e n c e o n t h e k n x b u s f o r a t l e a s t 4 0 t b i t s . a l t h o u g h t h e r e c e i v e r o f n c n 5 1 2 0 i s o n , n o f r a m e s a r e t r a n s m i t t e d t o t h e h o s t c o n t r o l l e r . u _ s y s t e m s t a t . i n d c a n b e u s e d t o v e r i f y t h i s s t a t e ( c o d e 0 1 ) . s t o p t h i s s t a t e i s u s e f u l f o r s e t t i n g ? u p n c n 5 1 2 0 s a f e l y o r t e m p o r a r i l y i n t e r r u p t i n g r e c e p t i o n f r o m t h e k n x b u s . u _ s y s t e m s t a t . i n d c a n b e u s e d t o v e r i f y t h i s s t a t e ( c o d e 1 0 ) . n o r m a l i n t h i s s t a t e t h e d e v i c e i s f u l l y f u n c t i o n a l . c o m m u n i c a t i o n w i t h t h e k n x b u s i s a l l o w e d . u _ s y s t e m s t a t . i n d c a n b e u s e d t o v e r i f y t h i s s t a t e ( c o d e 1 1 ) .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 6 a p p l i c a t i o n l a y e r p r e s e n t a t i o n l a y e r s e s s i o n l a y e r t r a n s p o r t l a y e r n e t w o r k l a y e r d a t a l i n k l a y e r l o g i c l i n k c o n t r o l m e d i a a c c e s s c o n t r o l p h y s i c a l l a y e r 7 6 5 4 3 2 1 n c n 5 1 2 0 h o s t c o n t r o l l e r f i g u r e 2 9 . o s i m o d e l r e f e r e n c e r e s e t i n i t i a l i z e d e v i c e d e a c t i v a t e a l l f e a t u r e s p o r o r u _ r e s e t . r e q p o w e r ? u p c o d e : 0 0 k n x r x = o f f k n x t x = o f f s y n c c o d e : 0 1 k n x r x = o n k n x t x = o f f s t o p c o d e : 1 0 k n x r x = o f f k n x t x = o f f n o r m a l c o d e : 1 1 k n x r x = o n k n x t x = o n p o w e r ? u p s t o p c o d e : 0 0 k n x r x = o f f k n x t x = o f f < x t a l > = ? 1 ? a n d < v b u s > = ? 1 ? a n d < v f i l t > = ? 1 ? < x t a l > = ? 0 ? o r < v b u s > = ? 0 ? o r < v f i l t > = ? 0 ? < x t a l > = ? 1 ? a n d < v b u s > = ? 1 ? a n d < v f i l t > = ? 1 ? < x t a l > = ? 0 ? o r < v b u s > = ? 0 ? o r < v f i l t > = ? 0 ? < x t a l > = ? 0 ? o r < v b u s > = ? 0 ? o r < v f i l t > = ? 0 ? s e n d u _ r e s e t . i n d t o h o s t k n x b u s i d l e f o r  4 0 t b i t s u _ e x i t s t o p m o d e . r e q s e n d u _ s t o p m o d e . i n d t o h o s t u _ s t o p m o d e . r e q u _ s t o p m o d e . r e q a n d n o a c t i v i t y f o r  3 0 t b i t s u _ e x i t s t o p m o d e . r e q s e n d u _ s t o p m o d e . i n d t o h o s t u _ s t o p m o d e . r e q f i g u r e 3 0 . d i g i t a l s t a t e d i a g r a m
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 7 s e r v i c e s e x e c u t i o n o f s e r v i c e s d e p e n d s o n t h e d i g i t a l s t a t e ( f i g u r e 3 0 ) . c e r t a i n s e r v i c e s a r e r e j e c t e d i f r e c e i v e d o u t s i d e t h e n o r m a l s t a t e . t h e f o l l o w i n g t a b l e g i v e s a v i e w o f a l l s e r v i c e s a n d t h e r e a c c e p t a n c e d u r i n g t h e d i f f e r e n t d i g i t a l s t a t e s . t a b l e 1 1 . a c c e p t a n c e o f s e r v i c e s s e r v i c e s t a t e n o r m a l s t o p s y n c p o w e r ? u p b u s m o n i t o r u _ r e s e t . r e q e e e e e u _ s t a t e . r e q e e e e i u _ s e t b u s y . r e q e e e e i u _ q u i t b u s y . r e q e e e e i u _ b u s m o n . r e q e e e e i u _ s e t a d d r e s s . r e q e e e e i u _ s e t r e p e t i t i o n . r e q e e e e i u _ l _ d a t a o f f s e t . r e q e e e e i u _ s y s t e m s t a t . r e q e e e e i u _ s t o p m o d e . r e q e i e e e u _ e x i t s t o p m o d e . r e q i e i i e u _ a c k n . r e q e r r r i u _ c o n f i g u r e . r e q e e e e i u _ i n t r e g w r . r e q e e e e e u _ i n t r e g r d . r e q e e e e e u _ l _ d a t a s t a r t . r e q e r r r i u _ l _ d a t a c o n t . r e q e r r r i u _ l _ d a t a e n d . r e q e r r r i u _ p o l l i n g s t a t e . r e q e e e e i n o t e : b u s m o n i t o r s t a t e i s n o t a s e p a r a t e s t a t e . i t i s a p p l i e d o n t o p o f n o r m a l , s t o p , s y n c o r p o w e r ? u p s t a t e . l e g e n d : e = s e r v i c e i s e x e c u t e d i = s e r v i c e i s i g n o r e d ( n o t e x e c u t e d a n d n o f e e d b a c k s e n t t o t h e h o s t c o n t r o l l e r ) r = s e r v i c e i s r e j e c t e d ( n o t e x e c u t e d , p r o t o c o l e r r o r i s s e n t b a c k t o t h e h o s t c o n t r o l l e r t h r o u g h u _ s t a t e . i n d ) s e e i n t e r n a l r e g i s t e r r e a d s e r v i c e ( p 3 5 ) f o r l i m i t a t i o n s o f u _ i n t r e g r d . r e q
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 8 t a b l e 1 2 . s e r v i c e s f r o m h o s t c o n t r o l l e r c o n t r o l f i e l d s e r v i c e n a m e h e x r e m a r k e x t r a f o l l o w i n g b y t e s t o t a l b y t e s 7 6 5 4 3 2 1 0 i n t e r n a l c o m m a n d s ? d e v i c e s p e c i f i c 0 0 0 0 0 0 0 1 u _ r e s e t . r e q 0 1 1 0 0 0 0 0 0 1 0 u _ s t a t e . r e q 0 2 1 0 0 0 0 0 0 1 1 u _ s e t b u s y . r e q 0 3 1 0 0 0 0 0 1 0 0 u _ q u i t b u s y . r e q 0 4 1 0 0 0 0 0 1 0 1 u _ b u s m o n . r e q 0 5 1 1 1 1 1 0 0 0 1 u _ s e t a d d r e s s . r e q f 1 a d d r h i g h a d d r l o w x ( d o n ? t c a r e ) 4 1 1 1 1 0 0 1 0 u _ s e t r e p e t i t i o n . r e q f 2 r e p c n t r s x ( d o n ? t c a r e ) x ( d o n ? t c a r e ) 4 0 0 0 0 1 i i i u _ l _ d a t a o f f s e t . r e q 0 8 ? 0 c i i i = m s b b y t e i n d e x ( 0 ? 4 ) 1 0 0 0 0 1 1 0 1 u _ s y s t e m s t a t e . r e q 0 d 1 0 0 0 0 1 1 1 0 u _ s t o p m o d e . r e q 0 e 1 0 0 0 0 1 1 1 1 u _ e x i t s t o p m o d e . r e q 0 f 1 0 0 0 1 0 n b a u _ a c k n . r e q 1 0 ? 1 7 n = n a c k b = b u s y a = a d d r e s s e d 1 0 0 0 1 1 p c m u _ c o n f i g u r e . r e q 1 8 ? 1 f p = a u t o ? p o l l i n g c = c r c ? c c i t t m = f r a m e e n d w i t h m a r k e r 1 0 0 1 0 1 0 a a u _ i n t r e g w r . r e q 2 8 ? 2 b a a = a d d r e s s o f i n t e r n a l r e g i s t e r d a t a t o b e w r i t t e n 2 0 0 1 1 1 0 a a u _ i n t r e g r d . r e q 3 8 ? 3 b 1 1 1 1 0 s s s s u _ p o l l i n g s t a t e . r e q e 0 ? e e s = s l o t n u m b e r ( 0 ? 1 4 ) p o l l a d d r h i g h p o l l a d d r l o w p o l l s t a t e 4 k n x t r a n s m i t d a t a c o m m a n d s 1 0 0 0 0 0 0 0 u _ l _ d a t a s t a r t . r e q 8 0 c o n t r o l o c t e t ( c t r l ) 2 1 0 i i i i i i u _ l _ d a t a c o n t . r e q 8 1 ? b f i = i n d e x ( 1 ? 6 3 ) d a t a o c t e t ( c t r l e , s a , d a , a t , n p c i , l g , t p d u ) 2 0 1 l l l l l l u _ l _ d a t a e n d . r e q 4 7 ? 7 f l = l a s t i n d e x + 1 ( 7 ? 6 3 ) c h e c k o c t e t ( f c s ) 2 w i t h r e s p e c t t o c o m m a n d l e n g t h , t h e r e a r e t w o t y p e s o f s e r v i c e s f r o m t h e h o s t c o n t r o l l e r : ? s i n g l e ? b y t e c o m m a n d s : t h e c o n t r o l b y t e i s t h e o n l y d a t a s e n t f r o m t h e h o s t c o n t r o l l e r t o n c n 5 1 2 0 . ? m u l t i p l e ? b y t e c o m m a n d s : t h e f o l l o w i n g d a t a b y t e ( s ) n e e d t o b e h a n d l e d a c c o r d i n g t o t h e a l r e a d y r e c e i v e d c o n t r o l b y t e . w i t h r e s p e c t t o c o m m a n d p u r p o s e t h e r e a r e t w o t y p e s o f s e r v i c e s f r o m t h e h o s t c o n t r o l l e r : ? i n t e r n a l c o m m a n d : d o e s n o t i n i t i a t e a n y c o m m u n i c a t i o n o n t h e k n x b u s . ? k n x t r a n s m i t d a t a c o m m a n d : i n i t i a t e s k n x c o m m u n i c a t i o n
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 2 9 t a b l e 1 3 . s e r v i c e s t o h o s t c o n t r o l l e r c o n t r o l f i e l d s e r v i c e n a m e r e m a r k e x t r a f o l l o w i n g b y t e s t o t a l b y t e s 7 6 5 4 3 2 1 0 d l l ( l a y e r 2 ) s e r v i c e s ( d e v i c e i s t r a n s p a r e n t ) 1 0 r 1 p 1 p 0 0 0 l _ d a t a _ s t a n d a r d . i n d r = n o t r e p e a t e d ( ? 1 ? ) o r r e p e a t e d l _ d a t a f r a m e ( ? 0 ? ) p 1 , p 0 = p r i o r i t y n 0 0 r 1 p 1 p 0 0 0 l _ d a t a _ e x t e n d e d . i n d n 1 1 1 1 0 0 0 0 l _ p o l l _ d a t a . i n d n a c k n o w l e d g e s e r v i c e s ( d e v i c e i s t r a n s p a r e n t i n b u s m o n i t o r m o d e ) x x 0 0 x x 0 0 l _ a c k n . i n d x = a c k n o w l e d g e f r a m e 1 z 0 0 0 1 0 1 1 l _ d a t a . c o n z = p o s i t i v e ( ? 1 ? ) o r n e g a t i v e ( ? 0 ? ) c o n f i r m a t i o n 1 c o n t r o l s e r v i c e s ? d e v i c e s p e c i f i c 0 0 0 0 0 0 1 1 u _ r e s e t . . i n d 1 s c r e t e p e t w 1 1 1 u _ s t a t e . i n d s c = s l a v e c o l l i s i o n r e = r e c e i v e e r r o r t e = t r a n s m i t e r r o r p e = p r o t o c o l e r r o r t w = t e m p e r a t u r e w a r n i n g 1 r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d r e = p a r i t y o r b i t e r r o r c e = c h e c k s u m o r l e n g t h e r r o r t e = t i m i n g e r r o r r e s = r e s e r v e d 1 0 b a a a p c m 0 1 u _ c o n f i g u r e . i n d b = r e s e r v e d a a = a u t o ? a c k n o w l e d g e a p = a u t o ? p o l l i n g c = c r c ? c c i t t m = f r a m e e n d w i t h m a r k e r 1 1 1 0 0 1 0 1 1 u _ f r a m e e n d . i n d 1 0 0 1 0 1 0 1 1 u _ s t o p m o d e . i n d 1 0 1 0 0 1 0 1 1 u _ s y s t e m s t a t . i n d v 2 0 v , v d d 2 , v b u s , v f i l t , x t a l , t w , m o d e 2 e a c h d a t a b y t e r e c e i v e d f r o m t h e k n x b u s i s t r a n s p a r e n t l y t r a n s m i t t e d t o t h e h o s t c o n t r o l l e r . a n e x c e p t i o n i s t h e a c k n o w l e d g e b y t e w h i c h i s t r a n s m i t t e d t o t h e h o s t c o n t r o l l e r o n l y i n b u s m o n i t o r i n g m o d e . o t h e r u s e f u l i n f o r m a t i o n c a n b e t r a n s m i t t e d t o t h e h o s t c o n t r o l l e r b y r e q u e s t u s i n g i n t e r n a l c o n t r o l s e r v i c e s . a d e t a i l e d d e s c r i p t i o n o f t h e s e r v i c e s i s g i v e n o n t h e n e x t p a g e s . f o r a l l f i g u r e s , t h e m s b b i t i s a l w a y s g i v e n o n t h e l e f t s i d e n o m a t t e r h o w t h e a r r o w i s d r a w n . h o s t c t r l n c n 5 1 2 0 k n x b u s m s b 6 5 4 3 2 1 l s b m s b 6 5 4 3 2 1 l s b m s b 6 5 4 3 2 1 l s b m s b 6 5 4 3 2 1 l s b f i g u r e 3 1 . b i t o r d e r o f s e r v i c e s
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 0 r e s e t s e r v i c e r e s e t t h e d e v i c e t o t h e i n i t i a l s t a t e . 0 0 0 0 0 0 0 1 u _ r e s e t . r e q 0 0 0 0 0 0 1 1 u _ r e s e t . i n d h o s t c t r l n c n 5 1 2 0 k n x b u s f i g u r e 3 2 . r e s e t s e r v i c e r e m a r k : u _ r e s e t . i n d w i l l b e s e n d w h e n e n t e r i n g n o r m a l s t a t e ( s e e d i g i t a l s t a t e d i a g r a m , p 2 5 ) . s t a t e s e r v i c e g e t i n t e r n a l c o m m u n i c a t i o n s t a t e o f t h e d e v i c e . 0 0 0 0 0 0 1 0 u _ s t a t e . r e q s c r e t e p e t w 1 1 1 u _ s t a t e . i n d h o s t c t r l n c n 5 1 2 0 k n x b u s f i g u r e 3 3 . s t a t e s e r v i c e s c ( s l a v e c o l l i s i o n ) : ? 1 ? i f c o l l i s i o n i s d e t e c t e d d u r i n g t r a n s m i s s i o n o f p o l l i n g s t a t e r e ( r e c e i v e e r r o r ) : ? 1 ? i f c o r r u p t e d b y t e s w e r e s e n t b y t h e h o s t c o n t r o l l e r . c o r r u p t i o n i n v o l v e s i n c o r r e c t p a r i t y ( 9 ? b i t u a r t o n l y ) a n d s t o p b i t o f e v e r y b y t e a s w e l l a s i n c o r r e c t c o n t r o l o c t e t , l e n g t h o r c h e c k s u m o f f r a m e f o r t r a n s m i s s i o n . t e ( t r a n s c e i v e r e r r o r ) : ? 1 ? i f e r r o r d e t e c t e d d u r i n g f r a m e t r a n s m i s s i o n ( s e n d i n g ? 0 ? b u t r e c e i v i n g ? 1 ? ) . p e ( p r o t o c o l e r r o r ) : ? 1 ? i f a n i n c o r r e c t s e q u e n c e o f c o m m a n d s s e n t b y t h e h o s t c o n t r o l l e r i s d e t e c t e d . t w ( t h e r m a l w a r n i n g ) : ? 1 ? i f t h e r m a l w a r n i n g c o n d i t i o n i s d e t e c t e d . s e t b u s y s e r v i c e a c t i v a t e b u s y m o d e . d u r i n g t h i s t i m e a n d w h e n a u t o a c k n o w l e d g e i s a c t i v e ( s e e s e t a d d r e s s s e r v i c e p 3 1 ) , n c n 5 1 2 0 r e j e c t s t h e f r a m e s w h o s e d e s t i n a t i o n a d d r e s s c o r r e s p o n d s t o t h e s t o r e d p h y s i c a l a d d r e s s b y s e n d i n g t h e b u s y a c k n o w l e d g e . t h i s s e r v i c e h a s n o e f f e c t i f a u t o a c k n o w l e d g e i s n o t a c t i v e . 0 0 0 0 0 0 1 1 u _ s e t b u s y . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s f i g u r e 3 4 . s e t b u s y s e r v i c e r e m a r k : b u s y m o d e i s d e a c t i v a t e d i m m e d i a t e l y i f t h e h o s t c o n t r o l l e r c o n f i r m s a f r a m e b y s e n d i n g u _ a c k n . r e q s e r v i c e . q u i t b u s y s e r v i c e d e a c t i v a t e t h e b u s y m o d e . r e s t o r e s b a c k t o t h e n o r m a l a u t o a c k n o w l e d g e b e h a v i o r w i t h a c k s e n t o n t h e b u s i n r e s p o n s e t o a d d r e s s i n g f r a m e ( o n l y i f a u t o a c k n o w l e d g e i s a c t i v e ) . t h i s s e r v i c e h a s n o e f f e c t i f a u t o a c k n o w l e d g e i s n o t a c t i v e o r b u s y m o d e w a s n o t s e t . 0 0 0 0 0 1 0 0 u _ q u i t b u s y . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s f i g u r e 3 5 . q u i t b u s y s e r v i c e
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 1 b u s m o n i t o r s e r v i c e a c t i v a t e b u s m o n i t o r i n g s t a t e . i n t h i s m o d e a l l d a t a r e c e i v e d f r o m t h e k n x b u s i s s e n t t o t h e h o s t c o n t r o l l e r w i t h o u t p e r f o r m i n g a n y f i l t e r i n g o n d a t a l i n k l a y e r . a c k n o w l e d g e f r a m e s a r e a l s o t r a n s m i t t e d t r a n s p a r e n t l y . t h i s s t a t e c a n o n l y b e e x i t e d b y t h e r e s e t s e r v i c e ( s e e p 3 0 ) . 0 0 0 0 0 1 0 1 u _ b u s m o n . r e q x x x x x x x x k n x m e s s a g e h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x k n x m e s s a g e x x x x x x x x k n x m e s s a g e x x x x x x x x k n x m e s s a g e 0 0 0 0 0 0 0 1 u _ r e s e t . r e q 0 0 0 0 0 0 1 1 u _ r e s e t . i n d x x 0 0 x x 0 0 a c k n o w l e d g e x x 0 0 x x 0 0 a c k n o w l e d g e f i g u r e 3 6 . b u s m o n i t o r s e r v i c e r e m a r k : x = d o n ? t c a r e s e t a d d r e s s s e r v i c e s e t s t h e p h y s i c a l a d d r e s s o f t h e d e v i c e a n d a c t i v a t e s t h e a u t o ? a c k n o w l e d g e f u n c t i o n . n c n 5 1 2 0 s t a r t s a c c e p t i n g a l l f r a m e s w h o s e d e s t i n a t i o n a d d r e s s c o r r e s p o n d s t o t h e s t o r e d p h y s i c a l a d d r e s s o r w h o s e d e s t i n a t i o n a d d r e s s i s t h e g r o u p a d d r e s s b y s e n d i n g i a c k o n t h e b u s . i n c a s e o f a n e r r o r d e t e c t e d d u r i n g s u c h f r a m e r e c e p t i o n , n c n 5 1 2 0 s e n d s n a c k i n s t e a d o f i a c k . w h e n i s s u e d s e v e r a l t i m e s a f t e r e a c h o t h e r , t h e f i r s t c a l l w i l l s e t t h e p h y s i c a l a d d r e s s a n d a c t i v a t e t h e a u t o ? a c k n o w l e d g e . f o l l o w i n g c a l l s w i l l o n l y s e t t h e p h y s i c a l a d d r e s s b e c a u s e a u t o ? a c k n o w l e d g e i s a l r e a d y a c t i v a t e d . n c n 5 1 2 0 c o n f i r m s a c t i v a t i o n o f a u t o ? a c k n o w l e d g e f u n c t i o n b y s e n d i n g t h e u _ c o n f i g u r e . i n d s e r v i c e t o t h e h o s t c o n t r o l l e r . 1 1 1 1 0 0 0 1 u _ s e t a d d r e s s . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x a d d r e s s h i g h b y t e x x x x x x x x a d d r e s s l o w b y t e 0 b a a a p c m 0 1 u _ c o n f i g u r e . i n d x x x x x x x x d u m m y f i g u r e 3 7 . s e t a d d r e s s s e r v i c e
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 2 b ( b u s y m o d e ) : ? 1 ? i f b u s y m o d e i s a c t i v e . c a n b e e n a b l e d w i t h u _ s e t b u s y . r e q ( s e e s e t b u s y s e r v i c e , p 3 0 ) a n d d i s a b l e d w i t h u _ q u i t b u s y . r e q s e r v i c e ( s e e q u i t b u s y s e r v i c e , p 3 0 ) o r u _ a c k n . r e q s e r v i c e ( s e e r e c e i v e f r a m e s e r v i c e , p 4 3 ) . a a ( a u t o ? a c k n o w l e d g e ) : ? 1 ? i f a u t o ? a c k n o w l e d g e f e a t u r e i s a c t i v e . c a n b e e n a b l e d w i t h u _ s e t a d d r e s s . r e q s e r v i c e ( s e e s e t a d d r e s s s e r v i c e , p 3 1 ) . a p ( a u t o ? p o l l i n g ) : ? 1 ? i f a u t o ? p o l l i n g f e a t u r e i s a c t i v e . t h i s f e a t u r e c a n b e e n a b l e d w i t h u _ c o n f i g u r e . r e q s e r v i c e ( s e e c o n f i g u r e s e r v i c e , p 3 4 ) . c ( c r c ? c c i t t ) : ? 1 ? i f c r c ? c c i t t f e a t u r e i s a c t i v e . t h i s f e a t u r e c a n b e e n a b l e d w i t h u _ c o n f i g u r e . r e q s e r v i c e ( s e e c o n f i g u r e s e r v i c e , p 3 4 ) . m ( f r a m e e n d w i t h m a r k e r ) : ? 1 ? w h e n f e a t u r e i s a c t i v e . t h i s f e a t u r e c a n b e e n a b l e d w i t h u _ c o n f i g u r e . r e q s e r v i c e ( s e e c o n f i g u r e s e r v i c e , p 3 4 ) . r e m a r k s : ? s e t a d d r e s s s e r v i c e c a n b e i s s u e d a n y t i m e b u t t h e n e w p h y s i c a l a d d r e s s a n d t h e a u t o a c k n o w l e d g e f u n c t i o n w i l l o n l y g e t a c t i v e a f t e r t h e k n x b u s b e c o m e s i d l e . ? a u t o a c k n o w l e d g e c a n o n l y b e d e a c t i v a t e d b y a r e s e t s e r v i c e ( p 3 0 ) ? x = d o n ? t c a r e ? d u m m y b y t e c a n b e a n y t h i n g . n c n 5 1 2 0 c o m p l e t e l y d i s r e g a r d s t h i s i n f o r m a t i o n . s e t r e p e t i t i o n s e r v i c e s p e c i f i e s t h e m a x i m u m r e p e t i t i o n c o u n t f o r t r a n s m i t t e d f r a m e s w h e n n o t a c k n o w l e d g e d w i t h i a c k . s e p a r a t e c o u n t e r s c a n b e s e t f o r n a c k a n d b u s y f r a m e s . i n i t i a l v a l u e o f b o t h c o u n t e r s i s 3 . i f t h e a c k n o w l e d g e f r o m r e m o t e d a t a l i n k l a y e r i s b u s y d u r i n g f r a m e t r a n s m i s s i o n , n c n 5 1 2 0 t r i e s t o r e p e a t a f t e r a t l e a s t 1 5 0 b i t t i m e s k n x b u s i d l e . t h e b u s y c o u n t e r d e t e r m i n e s t h e m a x i m u m a m o u n t o f t i m e s t h e f r a m e i s r e p e a t e d . i f t h e b u s y a c k n o w l e d g e i s s t i l l r e c e i v e d a f t e r t h e l a s t t r y , a n l _ d a t a . c o n w i t h a n e g a t i v e c o n f o r m a t i o n i s s e n t b a c k t o t h e h o s t c o n t r o l l e r . f o r a l l o t h e r c a s e s ( n a c k a c k n o w l e d g m e n t r e c e i v e d , i n v a l i d / c o r r u p t e d a c k n o w l e d g e r e c e i v e d o r t i m e ? o u t a f t e r 3 0 b i t t i m e s ) n c n 5 1 2 0 w i l l r e p e a t a f t e r 5 0 b i t t i m e s o f k n x b u s i d l e . t h e n a c k c o u n t e r d e t e r m i n e s t h e m a x i m u m r e t r i e s . l _ d a t a . c o n w i t h a n e g a t i v e c o n f i r m a t i o n i s s e n d b a c k t o t h e h o s t c o n t r o l l e r w h e n t h e m a x i m u m r e t r i e s w e r e r e a c h e d . i n w o r s t c a s e , t h e s a m e r e q u e s t i s t r a n s m i t t e d ( n a c k + b u s y + 1 ) t i m e s b e f o r e n c n 5 1 2 0 s t o p s r e t r a n s m i s s i o n . f i g u r e 3 8 . s e t r e p e t i t i o n s e r v i c e 1 1 1 1 0 0 1 0 u _ s e t r e p e t i t i o n . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s 0 b 0 n m a x i m u m r e p e t i t i o n s b b n n x x x x d u m m y x x x x x x x x d u m m y x x x x b b b : b u s y c o u n t e r ( a f r a m e w i l l b e r e t r a n s m i t t e d b b b ? t i m e s i f a c k n o w l e d g e w i t h b u s y ) . n n n : n a c k c o u n t e r ( a f r a m e w i l l b e r e t r a n s m i t t e d n n n ? t i m e s i f a c k n o w l e d g e w i t h n a c k ) . r e m a r k : b i t 3 a n d 7 o f t h e s e c o n d b y t e n e e d t o b e z e r o ( ? 0 ? ) !
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 3 s y s t e m s t a t u s s e r v i c e r e q u e s t t h e i n t e r n a l s y s t e m s t a t e o f t h e d e v i c e . 0 0 0 0 1 1 0 1 u _ s y s t e m s t a t . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s 0 1 0 0 1 0 1 1 u _ s y s t e m s t a t . i n d 2 n d b y t e x t a l v f i l t v b u s v d d 2 v 2 0 v t w m o d e f i g u r e 3 9 . s y s t e m s t a t e s e r v i c e v 2 0 v : ? 1 ? i f v 2 0 v l i n e a r v o l t a g e r e g u l a t o r i s w i t h i n n o r m a l o p e r a t i n g r a n g e v d d 2 : ? 1 ? i f d c 2 r e g u l a t o r i s w i t h i n n o r m a l o p e r a t i n g r a n g e v b u s : ? 1 ? i f k n x b u s v o l t a g e i s w i t h i n n o r m a l o p e r a t i n g r a n g e v f i l t : ? 1 ? i f v o l t a g e o n t a n k c a p a c i t o r i s w i t h i n n o r m a l o p e r a t i n g r a n g e s t a t e s e r v i c e x t a l : ? 1 ? i f c r y s t a l o s c i l l a t o r f r e q u e n c y i s w i t h i n n o r m a l o p e r a t i n g r a n g e t w : ? 1 ? i f t h e r m a l w a r n i n g c o n d i t i o n i s p r e s e n t ( c a n a l s o b e v e r i f i e d w i t h u _ s t a t e . i n d s e r v i c e ( s e e s t a t e s e r v i c e , p 3 0 ) m o d e : o p e r a t i o n m o d e ( s e e a l s o d i g i t a l s t a t e d i a g r a m , p 2 5 ) . b i t m o d e 1 0 0 0 p o w e r ? u p 0 1 s y n c 1 0 s t o p 1 1 n o r m a l n o t e : s a v e b ? p i n i s l o w i f a n y o f b i t s 3 t o 7 i s ? 0 ? ( z e r o ) o r b i t 2 i s ? 1 ? . s t o p m o d e s e r v i c e g o t o s t o p s t a t e . a c o n f i r m a t i o n i s s e n t t o i n d i c a t e t h a t d e v i c e h a s s w i t c h e d t o t h e s t o p s t a t e . s e e a l s o d i g i t a l s t a t e d i a g r a m , p 2 5 0 0 0 0 1 1 1 0 u _ s t o p m o d e . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s 0 0 1 0 1 0 1 1 u _ s t o p m o d e . i n d f i g u r e 4 0 . s t o p m o d e s e r v i c e
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 4 e x i t s t o p m o d e s e r v i c e r e q u e s t t r a n s i t i o n f r o m s t o p t o s y n c s t a t e . a n a c k n o w l e d g e s e r v i c e i s s e n d l a t e r t o c o n f i r m t h a t d e v i c e h a s s w i t c h e d f r o m s y n c t o n o r m a l s t a t e . s e e a l s o d i g i t a l s t a t e d i a g r a m , p 2 5 . 0 0 0 0 1 1 1 1 u _ e x i t s t o p m o d e . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s 0 0 0 0 0 0 1 1 u _ r e s e t . i n d f i g u r e 4 1 . e x i t s t o p m o d e s e r v i c e c o n f i g u r e s e r v i c e a c t i v a t e a d d i t i o n a l f e a t u r e s ( w h i c h a r e d i s a b l e d a f t e r r e s e t ) . u _ c o n f i g u r e . i n d s e r v i c e i s s e n d b a c k t o t h e h o s t c o n t r o l l e r a t t h e e x a c t m o m e n t w h e n t h e n e w f e a t u r e s g e t a c t i v a t e d . t h i s i s d o n e d u r i n g b u s i d l e o r o u t s i d e t h e n o r m a l s t a t e . i t c o n f i r m s t h e e x e c u t i o n o f t h e r e q u e s t s e r v i c e . h o s t c t r l n c n 5 1 2 0 k n x b u s 0 0 0 1 1 m u _ c o n f i g u r e . r e q c p 0 b a a a p c 1 u _ c o n f i g u r e . i n d 0 m f i g u r e 4 2 . c o n f i g u r e s e r v i c e p ( a u t o p o l l i n g ) : w h e n a c t i v e , n c n 5 1 2 0 a u t o m a t i c a l l y f i l l s i n c o r r e s p o n d i n g p o l l s l o t o f p o l l i n g t e l e g r a m s . h o s t c o n t r o l l e r i s r e s p o n s i b l e t o p r o v i d e a p p r o p r i a t e p o l l i n g i n f o r m a t i o n w i t h t h e u _ p o l l i n g s t a t e . r e q s e r v i c e ( s e e s l a v e p o l l i n g f r a m e s e r v i c e a n d m a s t e r p o l l i n g f r a m e s e r v i c e , p 4 6 a n d 4 7 ) . c ( c r c ? c c i t t ) : w h e n a c t i v e , n c n 5 1 2 0 a c c o m p a n i e s e v e r y r e c e i v e d f r a m e w i t h a 2 ? b y t e c r c ? c c i t t v a l u e . c r c ? c c i t t i s a l s o k n o w n a s c r c ? 1 6 ? c c i t t . m ( f r a m e e n d w i t h m a r k e r ) : e n d o f r e c e i v e d f r a m e s i s n o r m a l l y r e p o r t e d w i t h a s i l e n c e o f 2 . 6 m s o n t h e t x l i n e t o t h e h o s t c o n t r o l l e r . w i t h t h i s f e a t u r e a c t i v e , n c n 5 1 2 0 m a r k s e n d o f f r a m e w i t h u _ f r a m e e n d . i n d + u _ f r a m e s t a t e . i n d s e r v i c e s ( s e e s e n d f r a m e s e r v i c e a n d r e c e i v e f r a m e s e r v i c e , p 3 5 a n d 4 3 ) . b : ? 1 ? i f b u s y m o d e i s a c t i v e . c a n b e e n a b l e d w i t h u _ s e t b u s y . r e q ( s e e s e t b u s y s e r v i c e , p 3 0 ) a n d d i s a b l e d w i t h u _ q u i t b u s y . r e q s e r v i c e ( s e e q u i t b u s y s e r v i c e , p 3 0 ) o r u _ a c k n . r e q s e r v i c e ( s e e r e c e i v e f r a m e s e r v i c e , p 4 3 ) . a a : ? 1 ? i f a u t o ? a c k n o w l e d g e f e a t u r e i s a c t i v e . c a n b e e n a b l e d w i t h u _ s e t a d d r e s s . r e q s e r v i c e ( s e e s e t a d d r e s s s e r v i c e , p 3 1 ) . a p ( a u t o ? p o l l i n g ) : ? 1 ? i f a u t o ? p o l l i n g f e a t u r e i s a c t i v e . t h i s f e a t u r e c a n b e e n a b l e d w i t h u _ c o n f i g u r e . r e q s e r v i c e . c ( c r c ? c c i t t ) : ? 1 ? i f c r c ? c c i t t f e a t u r e i s a c t i v e . s e e p 4 9 f o r i n f o o n c r c ? c c i t t . t h i s f e a t u r e c a n b e e n a b l e d w i t h u _ c o n f i g u r e . r e q s e r v i c e . m ( f r a m e e n d w i t h m a r k e r ) : ? 1 ? w h e n f e a t u r e i s a c t i v e . t h i s f e a t u r e c a n b e e n a b l e d w i t h u _ c o n f i g u r e . r e q s e r v i c e . r e m a r k : a c t i v a t i o n o f t h e a d d i t i o n a l f e a t u r e s i s d o n e b y s e t t i n g t h e c o r r e s p o n d i n g b i t t o ? 1 ? . s e t t i n g t h e b i t t o ? 0 ? ( z e r o ) h a s n o e f f e c t ( w i l l n o t d e a c t i v a t e f e a t u r e ) . f e a t u r e s c a n o n l y b e d e a c t i v a t e d b y a r e s e t . s e t a l l b i t s ( m , c a n d p ) t o ? 0 ? ( z e r o ) t o p o l l t h e c u r r e n t c o n f i g u r a t i o n s t a t u s .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 5 i n t e r n a l r e g i s t e r w r i t e s e r v i c e w r i t e a b y t e t o a n i n t e r n a l d e v i c e ? s p e c i f i c r e g i s t e r ( s e e i n t e r n a l d e v i c e ? s p e c i f i c r e g i s t e r s , p 5 0 ) . t h e a d d r e s s o f t h e r e g i s t e r i s s p e c i f i e d i n t h e r e q u e s t . t h e d a t a t o b e w r i t t e n i s t r a n s m i t t e d a f t e r t h e r e q u e s t . 0 0 1 0 1 0 a a u _ i n t r e g w r . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x d a t a b y t e f i g u r e 4 3 . i n t e r n a l r e g i s t e r w r i t e s e r v i c e a a : a d d r e s s o f t h e i n t e r n a l r e g i s t e r r e m a r k : x = d o n ? t c a r e ( i n l i n e w i t h i n t e r n a l d e v i c e ? s p e c i f i c r e g i s t e r s , p 5 0 ) . i n t e r n a l r e g i s t e r r e a d s e r v i c e r e a d a b y t e f r o m a n i n t e r n a l d e v i c e ? s p e c i f i c r e g i s t e r ( s e e i n t e r n a l d e v i c e ? s p e c i f i c r e g i s t e r s , p 5 0 ) . t h e a d d r e s s o f t h e r e g i s t e r i s s p e c i f i e d i n t h e r e q u e s t . t h e n e x t b y t e r e t u r n s t h e d a t a o f t h e a d d r e s s e d r e g i s t e r . 0 0 1 1 1 0 a a u _ i n t r e g r d . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x d a t a b y t e f i g u r e 4 4 . i n t e r n a l r e g i s t e r r e a d s e r v i c e a a : a d d r e s s o f t h e i n t e r n a l r e g i s t e r r e m a r k s : ? x = d o n ? t c a r e ( i n l i n e w i t h i n t e r n a l d e v i c e ? s p e c i f i c r e g i s t e r s , p 5 0 ) . ? i t ? s a d v i s e d t o o n l y u s e t h i s s e r v i c e i n s t o p , p o w e r ? u p s t o p o r p o w e r ? u p s t a t e . i n t h e o t h e r s t a t e e r r o n e o u s b e h a v i o r c o u l d o c c u r . s e n d f r a m e s e r v i c e s e n d d a t a o v e r t h e k n x b u s . t h e u _ l _ d a t a s t a r t . r e q i s u s e d t o s t a r t t r a n s m i s s i o n o f a n e w f r a m e . t h e b y t e f o l l o w i n g t h i s r e q u e s t i s t h e c o n t r o l b y t e o f t h e k n x t e l e g r a m . t h e d i f f e r e n t b y t e s f o l l o w i n g t h e c o n t r o l b y t e a r e a s s e m b l e d b y u s i n g u _ l _ d a t a c o n t . r e q . t h e b y t e f o l l o w i n g u _ l _ d a t a c o n t . r e q i s t h e d a t a b y t e o f t h e k n x t e l e g r a m . u _ l _ d a t a c o n t . r e q c o n t a i n s t h e i n d e x w h i c h s p e c i f i e s t h e p o s i t i o n o f t h e d a t a b y t e i n s i d e t h e k n x t e l e g r a m . i t ? s a l l o w e d t o t r a n s m i t b y t e s i n r a n d o m o r d e r a n d e v e n o v e r w r i t e b y t e s ( = w r i t e s e v e r a l t i m e s i n t o t h e s a m e i n d e x ) . i t ? s u p t o t h e h o s t c o n t r o l l e r t o c o r r e c t l y p o p u l a t e a l l d a t a b y t e s o f t h e k n x t e l e g r a m . u _ l _ d a t a e n d . r e q i s u s e d t o f i n a l i z e t h e f r a m e a n d s t a r t t h e k n x t r a n s f e r . t h e b y t e f o l l o w i n g u _ l _ d a t a e n d . r e q i s t h e c h e c k s u m o f t h e k n x t e l e g r a m . i f t h e c h e c k s u m r e c e i v e d b y t h e d e v i c e c o r r e s p o n d s t o t h e c a l c u l a t e d c h e c k s u m , t h e d e v i c e s t a r t s t h e t r a n s m i s s i o n o n t h e k n x b u s . i f n o t , t h e d e v i c e r e t u r n s u _ s t a t e . i n d m e s s a g e t o t h e h o s t c o n t r o l l e r w i t h r e c e i v e e r r o r f l a g s e t ( s e e s t a t e s e r v i c e p 3 0 f o r u _ s t a t e . i n d ) . u _ l _ d a t a s t a r t / d a t a c o n t / d a t a e n d o n l y p r o v i d e s s p a c e f o r 6 i n d e x b i t s . b e c a u s e a n e x t e n d e d f r a m e c a n c o n s i s t o u t o f 2 6 3 b y t e s , a n i n d e x o f 9 b i t s l o n g i s n e e d e d . u _ d a t a o f f s e t . r e q p r o v i d e s t h e 3 m o s t s i g n i f i c a n t b i t s o f t h e d a t a b y t e i n d e x . t h e v a l u e i s s t o r e d i n t e r n a l l y u n t i l a n e w o f f s e t i s p r o v i d e d w i t h a n o t h e r c a l l . e a c h t r a n s m i t t e d d a t a o c t e t o n t h e k n x b u s w i l l a l s o b e t r a n s m i t t e d b a c k t o t h e h o s t c o n t r o l l e r . e a c h t r a n s m i s s i o n i s e n d e d w i t h a l _ d a t a . c o n s e r v i c e w h e r e t h e m s b i n d i c a t e s i f a n a c k n o w l e d g m e n t w a s r e c e i v e d o r n o t . w h e n o p e r a t i n g i n s p i o r u a r t 8 ? b i t m o d e , l _ d a t a . c o n i s p r e c e d e d w i t h u _ f r a m e s t a t e . i n d . d e p e n d i n g o n t h e a c t i v a t e d f e a t u r e s , a c r c ? c c i t t s e r v i c e a n d / o r a m a r k e r c o u l d b e i n c l u d e d . n e x t f i g u r e s g i v e d i f f e r e n t e x a m p l e s o f s e n d f r a m e s .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 6 1 0 0 0 0 0 0 0 u _ l _ d a t a s t a r t . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t 1 0 0 0 0 1 i i i u _ l _ d a t a o f f s e t . r e q 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t n 0 1 l l l l l l u _ l _ d a t a e n d . r e q x x x x x x x x c h e c k s u m x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d x 0 0 0 1 0 1 1 l _ d a t a . c o n  2 . 6 m s s i l e n c e f i g u r e 4 5 . s e n d f r a m e , s p i o r 8 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , n o c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 7 1 0 0 0 0 0 0 0 u _ l _ d a t a s t a r t . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t 1 0 0 0 0 1 i i i u _ l _ d a t a o f f s e t . r e q 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t n 0 1 l l l l l l u _ l _ d a t a e n d . r e q x x x x x x x x c h e c k s u m x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n x 0 0 0 1 0 1 1 l _ d a t a . c o n  2 . 6 m s s i l e n c e f i g u r e 4 6 . s e n d f r a m e , 9 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , n o c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 8 1 0 0 0 0 0 0 0 u _ l _ d a t a s t a r t . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t 1 0 0 0 0 1 i i i u _ l _ d a t a o f f s e t . r e q 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t n 0 1 l l l l l l u _ l _ d a t a e n d . r e q x x x x x x x x c h e c k s u m x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n x x x x x x x x c r c ? c c i t t l o w b y t e  2 . 6 m s s i l e n c e x x x x x x x x c r c ? c c i t t h i g h b y t e x 0 0 0 1 0 1 1 l _ d a t a . c o n f i g u r e 4 7 . s e n d f r a m e , 9 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , w i t h c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 3 9 1 0 0 0 0 0 0 0 u _ l _ d a t a s t a r t . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t 1 0 0 0 0 1 i i i u _ l _ d a t a o f f s e t . r e q 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t n 0 1 l l l l l l u _ l _ d a t a e n d . r e q x x x x x x x x c h e c k s u m x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n x x x x x x x x c r c ? c c i t t l o w b y t e  2 . 6 m s s i l e n c e x x x x x x x x c r c ? c c i t t h i g h b y t e r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d x 0 0 0 1 0 1 1 l _ d a t a . c o n f i g u r e 4 8 . s e n d f r a m e , s p i o r 8 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , w i t h c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 0 1 0 0 0 0 0 0 0 u _ l _ d a t a s t a r t . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t 1 0 0 0 0 1 i i i u _ l _ d a t a o f f s e t . r e q 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t n 0 1 l l l l l l u _ l _ d a t a e n d . r e q x x x x x x x x c h e c k s u m x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d x 0 0 0 1 0 1 1 l _ d a t a . c o n 1 1 0 0 1 0 1 1 u _ f r a m e e n d . i n d f i g u r e 4 9 . s e n d f r a m e , a l l m o d e s , f r a m e e n d w i t h m a r k e r , n o c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 1 1 0 0 0 0 0 0 0 u _ l _ d a t a s t a r t . r e q h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t 1 0 0 0 0 1 i i i u _ l _ d a t a o f f s e t . r e q 1 0 i i i i i i u _ l _ d a t a c o n t . r e q x x x x x x x x d a t a o c t e t n 0 1 l l l l l l u _ l _ d a t a e n d . r e q x x x x x x x x c h e c k s u m x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n x x x x x x x x c r c ? c c i t t l o w b y t e x x x x x x x x c r c ? c c i t t h i g h b y t e r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d x 0 0 0 1 0 1 1 l _ d a t a . c o n 1 1 0 0 1 0 1 1 u _ f r a m e e n d . i n d f i g u r e 5 0 . s e n d f r a m e , a l l m o d e s , f r a m e e n d w i t h m a r k e r a n d w i t h c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 2 r e ( r e c e i v e e r r o r ) : ? 1 ? i f n e w l y r e c e i v e d f r a m e c o n t a i n e d c o r r u p t e d b y t e s ( w r o n g p a r i t y , w r o n g s t o p b i t o r i n c o r r e c t b i t t i m i n g s ) c e ( c h e c k s u m o r l e n g t h e r r o r ) : ? 1 ? i f n e w l y r e c e i v e d f r a m e c o n t a i n e d w r o n g c h e c k s u m o r l e n g t h w h i c h d o e s n o t c o r r e s p o n d t o t h e n u m b e r o f r e c e i v e d b y t e s t e ( t i m i n g e r r o r ) : ? 1 ? i f n e w l y r e c e i v e d f r a m e c o n t a i n e d b y t e s w h o s e t i m i n g s d o n o t c o m p l y w i t h t h e k n x s t a n d a r d r e s ( r e s e r v e d ) : r e s e r v e d f o r f u t u r e u s e ( w i l l b e ? 0 ? ) . r e m a r k s : ? i f t h e r e p e a t f l a g i s n o t s e t ( s e e s e t r e p e t i t i o n s e r v i c e p 3 2 ) , t h e d e v i c e w i l l o n l y p e r f o r m o n e a t t e m p t t o s e n d t h e k n x t e l e g r a m . ? s e n d i n g o f t h e k n x t e l e g r a m o v e r t h e k n x b u s i s o n l y s t a r t e d a f t e r a l l d a t a b y t e s a r e r e c e i v e d a n d t h e t e l e g r a m i s a s s e m b l e d . ? w h e n s t a r t i n g t r a n s m i s s i o n o f a n e w f r a m e w i t h u _ l _ d a t a s t a r t . r e q , t h e d e v i c e a u t o m a t i c a l l y r e s e t s t h e i n t e r n a l o f f s e t o f t h e d a t a i n d e x t o z e r o . ? d a t a o f f s e t s o f 5 , 6 a n d 7 a r e f o r b i d d e n ( u _ l _ d a t a o f f s e t . r e q ) ! r e m a r k s o n f i g u r e s 4 5 t o 5 0 : ? x = d o n ? t c a r e ( i n r e s p e c t w i t h k n x s t a n d a r d ) ? s e e t a b l e s 1 2 a n d 1 3 f o r m o r e d e t a i l s o n a l l t h e b i t s ? c o d e o f u _ f r a m e e n d . i n d ( 0 x c b ) c a n a l s o b e p a r t o f t h e k n x f r a m e c o n t e n t ( d a t a o c t e t ) . w h e n n c n 5 1 2 0 t r a n s m i t s t h e d a t a o c t e t ( 0 x c b ) o n t h e k n x b u s , 2 b y t e s ( 2 t i m e s 0 x c b ) w i l l b e t r a n s m i t t e d b a c k t o t h e h o s t c o n t r o l l e r t o m a k e i t p o s s i b l e f o r t h e h o s t c o n t r o l l e r t o d i s t i n g u i s h b e t w e e n a d a t a o c t e t ( 0 x c b ) a n d u _ f r a m e e n d . i n d . t h i s r e m a r k i s o n l y v a l i d i f f r a m e e n d w i t h m a r k e r i s e n a b l e d . ? s e e p 4 9 f o r i n f o o n c r c ? c c i t t .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 3 r e c e i v e f r a m e s e r v i c e r e c e i v e d a t a o v e r t h e k n x b u s . u p o n r e c e p t i o n f r o m t h e c o n t r o l b y t e , t h e c o n t r o l b y t e i s c h e c k e d b y t h e d e v i c e . i f c o r r e c t , t h e c o n t r o l b y t e i s t r a n s m i t t e d b a c k t o t h e h o s t ( l _ d a t a _ s t a n d a r d . i n d o r l _ d a t a _ e x t e n d e d . i n d d e p e n d i n g i f s t a n d a r d o r e x t e n d e d f r a m e t y p e i s r e c e i v e d ) . a f t e r t h e c o n t r o l b y t e , a l l d a t a b y t e s a r e t r a n s p a r e n t l y t r a n s m i t t e d b a c k t o t h e h o s t c o n t r o l l e r . h a n d l i n g o f t h i s d a t a i s a t a s k f o r t h e d a t a l i n k l a y e r w h i c h s h o u l d b e i m p l e m e n t e d i n t h e h o s t c o n t r o l l e r . t h e h o s t c o n t r o l l e r c a n i n d i c a t e i f t h e d e v i c e i s a d d r e s s e d b y s e t t i n g t h e n a c k , b u s y o r a c k f l a g ( u _ a c k n . r e q ) . w h e n w o r k i n g i n s p i o r 8 ? b i t u a r t m o d e , e a c h f r a m e i s e n d e d w i t h a n u _ f r a m e s t a t e . i n d . d e p e n d i n g o n t h e a c t i v a t e d f e a t u r e s , a c r c ? c c i t t o r m a r k e r c o u l d b e a d d e d t o t h e c o m p l e t e f r a m e . b e l o w f i g u r e s g i v e d i f f e r e n t e x a m p l e s o f r e c e i v e f r a m e s . h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n r e c e t e 1 0 0 1 1 u _ f r a m e s t a t e . i n d 0 0 0 1 0 n b a u _ a c k n . r e q x x x x x x x x d a t a o c t e t n  2 . 6 m s s i l e n c e f i g u r e 5 1 . r e c e i v e f r a m e , s p i o r 8 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , n o c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 4 h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n 0 0 0 1 0 n b a u _ a c k n . r e q x x x x x x x x d a t a o c t e t n  2 . 6 m s s i l e n c e f i g u r e 5 2 . r e c e i v e f r a m e , 9 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , n o c r c ? c c i t t h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n 0 0 0 1 0 n b a u _ a c k n . r e q x x x x x x x x d a t a o c t e t n  2 . 6 m s s i l e n c e x x x x x x x x c r c ? c c i t t l o w b y t e x x x x x x x x c r c ? c c i t t h i g h b y t e f i g u r e 5 3 . r e c e i v e f r a m e , 9 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , w i t h c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 5 h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n 0 0 0 1 0 n b a u _ a c k n . r e q x x x x x x x x d a t a o c t e t n  2 . 6 m s s i l e n c e x x x x x x x x c r c ? c c i t t l o w b y t e x x x x x x x x c r c ? c c i t t h i g h b y t e r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d f i g u r e 5 4 . r e c e i v e f r a m e , s p i o r 8 ? b i t u a r t m o d e , f r a m e e n d w i t h s i l e n c e , w i t h c r c ? c c i t t h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n 0 0 0 1 0 n b a u _ a c k n . r e q x x x x x x x x d a t a o c t e t n r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d 1 1 0 0 1 0 1 1 u _ f r a m e e n d . i n d f i g u r e 5 5 . r e c e i v e f r a m e , a l l m o d e s , f r a m e e n d w i t h m a r k e r , n o c r c ? c c i t t
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 6 h o s t c t r l n c n 5 1 2 0 k n x b u s x x x x x x x x c o n t r o l b y t e x x x x x x x x d a t a o c t e t 1 x x x x x x x x c h e c k s u m x 0 r 1 p 1 p 0 0 0 l _ d a t a . i n d x x x x x x x x d a t a o c t e t 1 x x x x x x x x d a t a o c t e t n x x x x x x x x c h e c k s u m x x x x x x x x i m m e d i a t e a c k n 0 0 0 1 0 n b a u _ a c k n . r e q x x x x x x x x d a t a o c t e t n x x x x x x x x c r c ? c c i t t l o w b y t e x x x x x x x x c r c ? c c i t t h i g h b y t e r e c e t e 1 r e s 0 1 1 u _ f r a m e s t a t e . i n d 1 1 0 0 1 0 1 1 u _ f r a m e e n d . i n d f i g u r e 5 6 . r e c e i v e f r a m e , a l l m o d e s , f r a m e e n d w i t h m a r k e r , w i t h c r c ? c c i t t r e ( r e c e i v e e r r o r ) : ? 1 ? i f n e w l y r e c e i v e d f r a m e c o n t a i n e d c o r r u p t e d b y t e s ( w r o n g p a r i t y , w r o n g s t o p b i t o r i n c o r r e c t b i t t i m i n g s ) c e ( c h e c k s u m o r l e n g t h e r r o r ) : ? 1 ? i f n e w l y r e c e i v e d f r a m e c o n t a i n e d w r o n g c h e c k s u m o r l e n g t h w h i c h d o e s n o t c o r r e s p o n d t o t h e n u m b e r o f r e c e i v e d b y t e s t e ( t i m i n g e r r o r ) : ? 1 ? i f n e w l y r e c e i v e d f r a m e c o n t a i n e d b y t e s w h o s e t i m i n g s d o n o t c o m p l y w i t h t h e k n x s t a n d a r d r e s ( r e s e r v e d ) : r e s e r v e d f o r f u t u r e u s e ( w i l l b e ? 0 ? ) . r e m a r k s o n f i g u r e s 5 1 t o 5 6 : ? x = d o n ? t c a r e ( i n r e s p e c t w i t h k n x s t a n d a r d ) ? s e e t a b l e s 1 2 a n d 1 3 f o r m o r e d e t a i l s o n a l l t h e b i t s ? c o d e o f u _ f r a m e e n d . i n d ( 0 x c b ) c a n a l s o b e p a r t o f t h e k n x f r a m e c o n t e n t ( d a t a o c t e t ) . t o m a k e a d i s t i n g u i s h b e t w e e n a d a t a o c t e t a n d u _ f r a m e e n d . i n d , n c n 5 1 2 0 d u p l i c a t e s t h e d a t a c o n t e n t ( i f 0 x c b ) . t h i s w i l l r e s u l t i n 2 b y t e s t r a n s m i t t e d t o t h e h o s t c o n t r o l l e r ( t w o t i m e s 0 x c b ) c o r r e s p o n d i n g t o 1 b y t e r e c e i v e d o n t h e k n x b u s . a b o v e i s o n l y v a l i d i f f r a m e e n d w i t h m a r k e r i s e n a b l e d . ? s e e p 4 9 f o r i n f o o n c r c ? c c i t t . s l a v e p o l l i n g f r a m e s e r v i c e u p o n r e c e p t i o n a n d c o n s i s t e n c y c h e c k o f t h e p o l l i n g c o n t r o l b y t e , t h e c o n t r o l b y t e i s s e n d b a c k t o t h e h o s t c o n t r o l l e r ( l _ p o l l _ d a t a . i n d ) . t h e h o s t c o n t r o l l e r w i l l s e n d t h e s l o t n u m b e r t o t h e d e v i c e ( u _ p o l l i n g s t a t e . r e q ) , f o l l o w e d b y t h e p o l l i n g a d d r e s s a n d t h e p o l l i n g s t a t e . a t t h e s a m e t i m e t h e s o u r c e a d d r e s s , p o l l i n g a d d r e s s , s l o t c o u n t a n d c h e c k s u m i s r e c e i v e d o v e r t h e k n x b u s . i f t h e p o l l i n g a d d r e s s r e c e i v e d f r o m t h e k n x b u s i s e q u a l t o t h e p o l l i n g a d d r e s s r e c e i v e d f r o m t h e h o s t c o n t r o l l e r , n c n 5 1 2 0 w i l l s e n d t h e p o l l i n g d a t a i n t h e s l o t a s d e f i n e b y u _ p o l l i n g s t a t e . r e q ( o n l y i f t h e s l o t c o u n t i s h i g h e r a s t h e d e f i n e s l o t ) . u _ p o l l i n g s t a t e . r e q c a n b e s e n t a t a n y t i m e ( n o t o n l y d u r i n g a t r a n s m i s s i o n o f a p o l l i n g t e l e g r a m ) . t h e i n f o r m a t i o n i s s t o r e d i n t e r n a l l y i n n c n 5 1 2 0 a n d c a n b e r e u s e d f o r f u r t h e r p o l l i n g t e l e g r a m s i f a u t o ? p o l l i n g f u n c t i o n g e t s a c t i v a t e d .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 7 h o s t c t r l n c n 5 1 2 0 k n x b u s 1 1 1 1 0 0 0 0 c o n t r o l b y t e x x x x x x x x s o u r c e a d d r e s s x x x x x x x x c h e c k s u m 1 1 1 1 0 0 0 0 l _ p o l l _ d a t a . i n d 1 1 1 0 s s s s u _ p o l l i n g s t a t e . r e q x x x x x x x x s l o t 0 x x x x x x x x p o l l a d d r h i g h x x x x x x x x s o u r c e a d d r e s s x x x x x x x x p o l l a d d r l o w x x x x x x x x p o l l a d d r e s s x x x x x x x x p o l l a d d r e s s x x x x x x x x s l o t c o u n t x x x x x x x x p o l l s t a t e x x x x x x x x s l o t n f i g u r e 5 7 . s l a v e p o l l i n g f r a m e s e r v i c e r e m a r k s : x = d o n ? t c a r e ( i n r e s p e c t w i t h k n x s t a n d a r d ) s s s s = s l o t n u m b e r m a s t e r p o l l i n g f r a m e s e r v i c e w h e n n c n 5 1 2 0 r e c e i v e s t h e p o l l i n g f r a m e f r o m t h e h o s t c o n t r o l l e r , t h e p o l l i n g f r a m e w i l l b e t r a n s m i t t e d o v e r t h e k n x b u s .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 8 h o s t c t r l n c n 5 1 2 0 k n x b u s 1 1 1 1 0 0 0 0 c o n t r o l b y t e x x x x x x x x s o u r c e a d d r e s s x x x x x x x x c h e c k s u m 1 1 1 1 0 0 0 0 l _ p o l l _ d a t a . i n d 1 1 1 0 s s s s u _ p o l l i n g s t a t e . r e q x x x x x x x x s l o t 0 x x x x x x x x p o l l a d d r e s s x x x x x x x x s o u r c e a d d r e s s x x x x x x x x p o l l a d d r l o w x x x x x x x x p o l l a d d r e s s x x x x x x x x p o l l a d d r e s s x x x x x x x x s l o t c o u n t x x x x x x x x p o l l s t a t e x x x x x x x x s l o t n x x x x x x x x s o u r c e a d d r e s s x x x x x x x x p o l l a d d r h i g h x x x x x x x x s o u r c e a d d r e s s x x x x x x x x p o l l a d d r e s s x x x x x x x x s l o t c o u n t x x x x x x x x c h e c k s u m x x x x x x x x s l o t 0 x x x x x x x x s l o t n 1 1 1 1 0 0 0 0 c o n t r o l b y t e x x x x x x x x s o u r c e a d d r e s s x x x x x x x x c h e c k s u m x x x x x x x x s o u r c e a d d r e s s x x x x x x x x p o l l a d d r e s s x x x x x x x x p o l l a d d r e s s x x x x x x x x s l o t c o u n t f i g u r e 5 8 . m a s t e r p o l l i n g f r a m e s e r v i c e r e m a r k s : x = d o n ? t c a r e ( i n r e s p e c t w i t h k n x s t a n d a r d ) s s s s = s l o t n u m b e r
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 4 9 c r c ? c c i t t c r c o r d e r - 1 6 b i t c r c p o l y n o m ( h e x ) - 1 0 2 1 i n i t i a l v a l u e ( h e x ) ? f f f f f i n a l x o r v a l u e ( h e x ) ? 0 n o r e v e r s e o n o u t p u t c r c t e s t s t r i n g ? 1 2 3 4 5 6 7 8 9 ? i s 2 9 b 1 h c r c ? c c i t t v a l u e o v e r a b u f f e r o f b y t e s c a n b e c a l c u l a t e d w i t h f o l l o w i n g c o d e f r a g m e n t i n c , w h e r e p b u f i s p o i n t e r t o t h e s t a r t o f f r a m e b u f f e r u l e n g t h i s t h e f r a m e l e n g t h i n b y t e s u n s i g n e d s h o r t c a l c _ c r c _ c c i t t ( u n s i g n e d c h a r * p b u f , u n s i g n e d s h o r t u l e n g t h ) { u n s i g n e d s h o r t u _ c r c _ c c i t t ; f o r ( u _ c r c _ c c i t t = 0 x f f f f ; u l e n g t h ?? ; p + + ) { u _ c r c _ c c i t t = g e t _ c r c _ c c i t t ( u _ c r c _ c c i t t , * p ) ; }r e t u r n u _ c r c _ c c i t t ; }u n s i g n e d s h o r t g e t _ c r c _ c c i t t ( u n s i g n e d s h o r t u _ c r c _ v a l , u n s i g n e d c h a r b t v a l ) { u _ c r c _ v a l = ( ( u n s i g n e d c h a r ) ( u _ c r c _ v a l > > 8 ) ) | ( u _ c r c _ v a l < < 8 ) ; u _ c r c _ v a l ^ = b t v a l ; u _ c r c _ v a l ^ = ( ( u n s i g n e d c h a r ) ( u _ c r c _ v a l & 0 x f f ) ) > > 4 ; u _ c r c _ v a l ^ = u _ c r c _ v a l < < 1 2 ; u _ c r c _ v a l ^ = ( u _ c r c _ v a l & 0 x f f ) < < 5 ; r e t u r n u _ c r c _ v a l ; }
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 5 0 i n t e r n a l d e v i c e ? s p e c i f i c r e g i s t e r s i n t o t a l 4 d e v i c e - s p e c i f i c r e g i s t e r a r e a v a i l a b l e : ? w a t c h d o g r e g i s t e r ( 0 x 0 0 ) ? a n a l o g c o n t r o l r e g i s t e r 0 ( 0 x 0 1 ) ? a n a l o g c o n t r o l r e g i s t e r 1 ( 0 x 0 2 ) ? a n a l o g s t a t u s r e g i s t e r 0 ( 0 x 0 3 ) w a t c h d o g r e g i s t e r t h e w a t c h d o g r e g i s t e r i s l o c a t e d a t a d d r e s s 0 x 0 0 a n d c a n b e u s e d t o e n a b l e t h e w a t c h d o g a n d s e t t h e w a t c h d o g t i m e . t a b l e 1 4 . w a t c h d o g r e g i s t e r e x t w a t c h d o g c t r l ( e x t w r ) a d d r e s s b i t 7 b i t 6 b i t 5 b i t 4 b i t 3 b i t 2 b i t 1 b i t 0 0 x 0 0 a c c e s s r / w r / w r / w r / w r / w r / w r / w r / w r e s e t 0 0 0 0 1 1 1 1 d a t a w d e n - - - w d t t a b l e 1 5 . w a t c h d o g r e g i s t e r p a r a m e t e r s p a r a m e t e r v a l u e d e s c r i p t i o n i n f o w d e n 0 d i s a b l e e n a b l e s / d i s a b l e s t h e w a t c h d o g p 1 8 1 e n a b l e w d t 0 0 0 0 3 3 m s d e f i n e s t h e w a t c h d o g t i m e . t h e w a t c h d o g n e e d s t o b e r e - e n a b l e d ( w d e n ) w i t h i n t h i s t i m e o r a w a t c h d o g e v e n t w i l l b e t r i g g e r e d . 0 0 0 1 6 6 m s 0 0 1 0 9 8 m s 0 0 1 1 1 3 1 m s 0 1 0 0 1 6 4 m s 0 1 0 1 1 9 7 m s 0 1 1 0 2 2 9 m s 0 1 1 1 2 6 2 m s 1 0 0 0 2 9 5 m s 1 0 0 1 3 2 8 m s 1 0 1 0 3 6 0 m s 1 0 1 1 3 9 3 m s 1 1 0 0 4 2 6 m s 1 1 0 1 4 5 9 m s 1 1 1 0 4 9 2 m s 1 1 1 1 5 2 4 m s r e m a r k : b i t 4 ? 6 a r e r e s e r v e d . a n a l o g c o n t r o l r e g i s t e r 0 t h e a n a l o g c o n t r o l r e g i s t e r 0 i s l o c a t e d a t a d d r e s s 0 x 0 1 a n d c a n b e u s e d t o e n a b l e s l e e p m o d e , t o d i s a b l e t h e v 2 0 v a n d t h e d c 2 r e g u l a t o r , t o d i s a b l e t h e x c l k - p i n a n d t o s e t t h e f r e q u e n c y o f t h e x c l k o u t p u t s i g n a l . t a b l e 1 6 . a n a l o g c o n t r o l r e g i s t e r 0 a n a l o g c o n t r o l r e g i s t e r 0 ( a n a c t r l 0 ) a d d r e s s b i t 7 b i t 6 b i t 5 b i t 4 b i t 3 b i t 2 b i t 1 b i t 0 0 x 0 1 a c c e s s r / w r / w r / w r / w r / w r / w r / w r / w r e s e t 0 1 1 1 0 0 0 0 d a t a s l p e n v 2 0 v e n d c 2 e n x c l k e n x c l k f r e q - - -
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 5 1 t a b l e 1 7 . a n a l o g c o n t r o l r e g i s t e r 0 p a r a m e t e r s p a r a m e t e r v a l u e d e s c r i p t i o n i n f o s l p e n 0 d i s a b l e e n a b l e s / d i s a b l e s s l e e p m o d e (  g o i n g t o s l e e p m o d e ) p 1 8 1 e n a b l e v 2 0 v e n 0 d i s a b l e e n a b l e s / d i s a b l e s t h e v 2 0 v r e g u l a t o r p 1 6 1 e n a b l e d c 2 e n 0 d i s a b l e e n a b l e s / d i s a b l e s t h e d c 2 c o n v e r t e r p 1 6 1 e n a b l e x c l k e n 0 d i s a b l e e n a b l e s / d i s a b l e s t h e x c l k o u t p u t s i g n a l p 1 6 1 e n a b l e x c l k f r e q 0 8 m h z s e t s t h e f r e q u e n c y o f t h e x c l k o u t p u t s i g n a l ( i f e n a b l e d ) 1 1 6 m h z r e m a r k : b i t 0 ? 2 a r e r e s e r v e d . a n a l o g c o n t r o l r e g i s t e r 1 t h e a n a l o g c o n t r o l r e g i s t e r 1 i s l o c a t e d a t a d d r e s s 0 x 0 2 a n d c a n b e u s e d t o p u t t h e d e v i c e i n s l e e p m o d e . t a b l e 1 8 . a n a l o g c o n t r o l r e g i s t e r 1 a n a l o g c o n t r o l r e g i s t e r 1 ( a n a c t r l 1 ) a d d r e s s b i t 7 b i t 6 b i t 5 b i t 4 b i t 3 b i t 2 b i t 1 b i t 0 0 x 0 2 a c c e s s r / w r / w r / w r / w r / w r / w r / w r / w r e s e t 0 0 0 0 0 0 0 0 d a t a s l p - - - - - - - t a b l e 1 9 . a n a l o g c o n t r o l r e g i s t e r 1 p a r a m e t e r s p a r a m e t e r v a l u e d e s c r i p t i o n i n f o s l p 0 d i s a b l e i f ? 1 ? , d e v i c e g o e s t o s l e e p m o d e ( i f s l p e n = ? 1 ? ) . o n c e i n s l e e p m o d e , o n l y w a y t o g e t o u t i s a w a k e - u p e v e n t o n t h e f a n i n / w a k e - p i n . p 1 6 a n d 1 8 1 e n a b l e r e m a r k : b i t 0 ? 6 a r e r e s e r v e d . a n a l o g s t a t u s r e g i s t e r t h e a n a l o g s t a t u s r e g i s t e r i s l o c a t e d a t a d d r e s s 0 x 0 3 a n d c a n b e u s e d t o v e r i f y t h e s l e e p m o d e , v o l t a g e m o n i t o r s , x t a l a n d t h e r m a l s t a t u s . t a b l e 2 0 . a n a l o g s t a t u s r e g i s t e r a n a l o g s t a t u s r e g i s t e r ( a n a s t a t ) a d d r e s s b i t 7 b i t 6 b i t 5 b i t 4 b i t 3 b i t 2 b i t 1 b i t 0 0 x 0 3 a c c e s s r r r r r r r r r e s e t 0 0 0 0 0 0 0 0 d a t a s l p m o d e v 2 0 v v d d 2 v b u s v f i l t x t a l t w t s d
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 5 2 t a b l e 2 1 . a n a l o g s t a t u s r e g i s t e r p a r a m e t e r s p a r a m e t e r v a l u e v a l u e d e s c r i p t i o n i n f o s l p m o d e 0 d i s a b l e d c o n t a i n s i n f o r m a t i o n a b o u t t h e p r e v i o u s s l e e p m o d e o f t h e d e v i c e p 1 8 1 e n a b l e d v 2 0 v 0 n o k ? 1 ? i f v o l t a g e o n v 2 0 v - p i n i s a b o v e t h e v 2 0 v u n d e r v o l t a g e l e v e l p 1 6 1 o k v d d 2 0 n o k ? 1 ? i f v o l t a g e o n v d d 2 - p i n i s a b o v e t h e v d d 2 u n d e r v o l t a g e l e v e l p 1 6 1 o k v b u s 0 n o k ? 1 ? i f b u s v o l t a g e i s a b o v e t h e v b u s u n d e r v o l t a g e l e v e l p 1 5 1 o k v f i l t 0 n o k ? 1 ? i f v o l t a g e o n v f i l t - p i n i s a b o v e t h e v f i l t u n d e r v o l t a g e l e v e l p 1 5 1 o k x t a l 0 n o k ? 1 ? i f x t a l i s u p a n d r u n n i n g p 1 6 1 o k t w 0 n o t w ? 1 ? i f t h e r m a l w a r n i n g d e t e c t e d p 1 8 1 t w t s d 0 n o t s d c o n t a i n s i n f o r m a t i o n a b o u t t h e p r e v i o u s t h e r m a l s h u t d o w n s i t u a t i o n 1 t s d
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 5 3 p a c k a g e t h e r m a l c h a r a c t e r i s t i c s t h e n c n 5 1 2 0 i s a v a i l a b l e i n a q f n 4 0 p a c k a g e . f o r c o o l i n g o p t i m i z a t i o n s , t h e q f n 4 0 h a s a n e x p o s e d t h e r m a l p a d w h i c h h a s t o b e s o l d e r e d t o t h e p c b g r o u n d p l a n e . t h e g r o u n d p l a n e n e e d s t h e r m a l v i a s t o c o n d u c t t h e h e a t t o t h e b o t t o m l a y e r . f i g u r e 5 9 g i v e s a n e x a m p l e o f g o o d h e a t t r a n s f e r . t h e e x p o s e d t h e r m a l p a d i s s o l d e r e d d i r e c t l y o n t h e t o p g r o u n d l a y e r ( l e f t p i c t u r e o f f i g u r e 5 9 ) . i t ? s a d v i s e d t o m a k e t h e t o p g r o u n d l a y e r a s l a r g e a s p o s s i b l e ( s e e a r r o w s f i g u r e 5 9 ) . t o i m p r o v e t h e h e a t t r a n s f e r e v e n m o r e , t h e e x p o s e d t h e r m a l p a d i s c o n n e c t e d t o a b o t t o m g r o u n d l a y e r b y u s i n g t h e r m a l v i a s ( s e e r i g h t p i c t u r e o f f i g u r e 5 9 ) . i t ? s a d v i s e d t o m a k e t h i s b o t t o m g r o u n d l a y e r a s l a r g e a s p o s s i b l e a n d w i t h a s l e s s a s p o s s i b l e i n t e r r u p t i o n s . f o r p r e c i s e t h e r m a l c o o l i n g c a l c u l a t i o n s t h e m a j o r t h e r m a l r e s i s t a n c e s o f t h e d e v i c e a r e g i v e n ( t a b l e 4 ) . t h e t h e r m a l m e d i a t o w h i c h t h e p o w e r o f t h e d e v i c e s h a s t o b e g i v e n a r e : ? s t a t i c e n v i r o n m e n t a l a i r ( v i a t h e c a s e ) ? p c b b o a r d c o p p e r a r e a ( v i a t h e e x p o s e d p a d ) t h e m a j o r t h e r m a l r e s i s t a n c e s o f t h e d e v i c e a r e t h e r t h f r o m t h e j u n c t i o n t o t h e a m b i e n t ( r t h j a ) a n d t h e o v e r a l l r t h f r o m t h e j u n c t i o n t o e x p o s e d p a d ( r t h j p ) . i n t a b l e 4 o n e c a n f i n d t h e v a l u e s f o r t h e r t h j a a n d r t h j p , s i m u l a t e d a c c o r d i n g t o j e s d ? 5 1 . t h e r t h j a f o r 2 s 2 p i s s i m u l a t e d c o n f o r m j e d e c j e s d ? 5 1 a s f o l l o w s : ? a 4 ? l a y e r p r i n t e d c i r c u i t b o a r d w i t h i n n e r p o w e r p l a n e s a n d o u t e r ( t o p a n d b o t t o m ) s i g n a l l a y e r s i s u s e d ? b o a r d t h i c k n e s s i s 1 . 4 6 m m ( f r 4 p c b m a t e r i a l ) ? t h e 2 s i g n a l l a y e r s : 7 0  m t h i c k c o p p e r w i t h a n a r e a o f 5 5 0 0 m m 2 c o p p e r a n d 2 0 % c o n d u c t i v i t y ? t h e 2 p o w e r i n t e r n a l p l a n e s : 3 6  m t h i c k c o p p e r w i t h a n a r e a o f 5 5 0 0 m m 2 c o p p e r a n d 9 0 % c o n d u c t i v i t y t h e r t h j a f o r 1 s 0 p i s s i m u l a t e d c o n f o r m t o j e d e c j e s d ? 5 1 a s f o l l o w s : ? a 1 ? l a y e r p r i n t e d c i r c u i t b o a r d w i t h o n l y 1 l a y e r ? b o a r d t h i c k n e s s i s 1 . 4 6 m m ( f r 4 p c b m a t e r i a l ) ? t h e l a y e r h a s a t h i c k n e s s o f 7 0  m c o p p e r w i t h a n a r e a o f 5 5 0 0 m m 2 c o p p e r a n d 2 0 % c o n d u c t i v i t y 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 4 0 3 9 3 8 3 7 3 6 3 5 3 4 3 3 3 2 3 1 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 2 1 4 0 3 9 3 8 3 7 3 6 3 5 3 4 3 3 3 2 3 1 f i g u r e 5 9 . p c b g r o u n d p l a n e l a y o u t c o n d i t i o n ( l e f t p i c t u r e d i s p l a y s t h e t o p g r o u n d l a y e r , r i g h t p i c t u r e d i s p l a y s t h e b o t t o m g r o u n d l a y e r ) o r d e r i n g i n f o r m a t i o n d e v i c e n u m b e r t e m p e r a t u r e r a n g e p a c k a g e s h i p p i n g ? n c n 5 1 2 0 m n g ? 2 5 c t o 8 5 c q f n ? 4 0 ( p b ? f r e e ) 5 0 u n i t s / t u b e 1 0 0 t u b e s / b o x n c n 5 1 2 0 m n t w g ? 2 5 c t o 8 5 c q f n ? 4 0 ( p b ? f r e e ) 3 0 0 0 / t a p e & r e e l ? f o r i n f o r m a t i o n o n t a p e a n d r e e l s p e c i f i c a t i o n s , i n c l u d i n g p a r t o r i e n t a t i o n a n d t a p e s i z e s , p l e a s e r e f e r t o o u r t a p e a n d r e e l p a c k a g i n g s p e c i f i c a t i o n b r o c h u r e , b r d 8 0 1 1 / d .
n c n 5 1 2 0 h t t p : / / o n s e m i . c o m 5 4 p a c k a g e d i m e n s i o n s q f n 4 0 6 x 6 , 0 . 5 p c a s e 4 8 5 a u i s s u e o s e a t i n g n o t e 4 k 0 . 1 5 c ( a 3 ) a a 1 d 2 b 1 1 1 2 0 2 1 4 0 e 2 4 0 x 1 0 3 0 l b o t t o m v i e w t o p v i e w s i d e v i e w d a b e 0 . 1 5 c p i n o n e l o c a t i o n 0 . 1 0 c 0 . 0 8 c c 3 1 e a 0 . 1 0 b c 0 . 0 5 c n o t e s : 1 . d i m e n s i o n i n g a n d t o l e r a n c i n g p e r a s m e y 1 4 . 5 m , 1 9 9 4 . 2 . c o n t r o l l i n g d i m e n s i o n s : m i l l i m e t e r s . 3 . d i m e n s i o n b a p p l i e s t o p l a t e d t e r m i n a l a n d i s m e a s u r e d b e t w e e n 0 . 1 5 a n d 0 . 3 0 m m f r o m t e r m i n a l t i p . 4 . c o p l a n a r i t y a p p l i e s t o t h e e x p o s e d p a d a s w e l l a s t h e t e r m i n a l s . d i m m i n m a x m i l l i m e t e r s a 0 . 8 0 1 . 0 0 a 1 0 . 0 0 0 . 0 5 a 3 0 . 2 0 r e f b 0 . 1 8 0 . 3 0 d 6 . 0 0 b s c d 2 3 . 1 0 3 . 3 0 e 6 . 0 0 b s c 3 . 3 0 e 2 3 . 1 0 e 0 . 5 0 b s c l 0 . 3 0 0 . 5 0 k p l a n e d i m e n s i o n s : m i l l i m e t e r s 0 . 5 0 p i t c h 3 . 3 2 0 . 2 8 3 . 3 2 4 0 x 0 . 6 3 4 0 x 6 . 3 0 6 . 3 0 * f o r a d d i t i o n a l i n f o r m a t i o n o n o u r p b ? f r e e s t r a t e g y a n d s o l d e r i n g d e t a i l s , p l e a s e d o w n l o a d t h e o n s e m i c o n d u c t o r s o l d e r i n g a n d m o u n t i n g t e c h n i q u e s r e f e r e n c e m a n u a l , s o l d e r r m / d . s o l d e r i n g f o o t p r i n t * 1 l 1 d e t a i l a l o p t i o n a l c o n s t r u c t i o n s l d e t a i l b m o l d c m p d e x p o s e d c u o p t i o n a l c o n s t r u c t i o n s d e t a i l b d e t a i l a 0 . 2 0 m i n l 1 ??? 0 . 1 5 a 0 . 1 0 b c a 0 . 1 0 b c p a c k a g e o u t l i n e o n s e m i c o n d u c t o r a n d a r e r e g i s t e r e d t r a d e m a r k s o f s e m i c o n d u c t o r c o m p o n e n t s i n d u s t r i e s , l l c ( s c i l l c ) . s c i l l c o w n s t h e r i g h t s t o a n u m b e r o f p a t e n t s , t r a d e m a r k s , c o p y r i g h t s , t r a d e s e c r e t s , a n d o t h e r i n t e l l e c t u a l p r o p e r t y . a l i s t i n g o f s c i l l c ? s p r o d u c t / p a t e n t c o v e r a g e m a y b e a c c e s s e d a t w w w . o n s e m i . c o m / s i t e / p d f / p a t e n t ? m a r k i n g . p d f . s c i l l c r e s e r v e s t h e r i g h t t o m a k e c h a n g e s w i t h o u t f u r t h e r n o t i c e t o a n y p r o d u c t s h e r e i n . s c i l l c m a k e s n o w a r r a n t y , r e p r e s e n t a t i o n o r g u a r a n t e e r e g a r d i n g t h e s u i t a b i l i t y o f i t s p r o d u c t s f o r a n y p a r t i c u l a r p u r p o s e , n o r d o e s s c i l l c a s s u m e a n y l i a b i l i t y a r i s i n g o u t o f t h e a p p l i c a t i o n o r u s e o f a n y p r o d u c t o r c i r c u i t , a n d s p e c i f i c a l l y d i s c l a i m s a n y a n d a l l l i a b i l i t y , i n c l u d i n g w i t h o u t l i m i t a t i o n s p e c i a l , c o n s e q u e n t i a l o r i n c i d e n t a l d a m a g e s . ? t y p i c a l ? p a r a m e t e r s w h i c h m a y b e p r o v i d e d i n s c i l l c d a t a s h e e t s a n d / o r s p e c i f i c a t i o n s c a n a n d d o v a r y i n d i f f e r e n t a p p l i c a t i o n s a n d a c t u a l p e r f o r m a n c e m a y v a r y o v e r t i m e . a l l o p e r a t i n g p a r a m e t e r s , i n c l u d i n g ? t y p i c a l s ? m u s t b e v a l i d a t e d f o r e a c h c u s t o m e r a p p l i c a t i o n b y c u s t o m e r ? s t e c h n i c a l e x p e r t s . s c i l l c d o e s n o t c o n v e y a n y l i c e n s e u n d e r i t s p a t e n t r i g h t s n o r t h e r i g h t s o f o t h e r s . s c i l l c p r o d u c t s a r e n o t d e s i g n e d , i n t e n d e d , o r a u t h o r i z e d f o r u s e a s c o m p o n e n t s i n s y s t e m s i n t e n d e d f o r s u r g i c a l i m p l a n t i n t o t h e b o d y , o r o t h e r a p p l i c a t i o n s i n t e n d e d t o s u p p o r t o r s u s t a i n l i f e , o r f o r a n y o t h e r a p p l i c a t i o n i n w h i c h t h e f a i l u r e o f t h e s c i l l c p r o d u c t c o u l d c r e a t e a s i t u a t i o n w h e r e p e r s o n a l i n j u r y o r d e a t h m a y o c c u r . s h o u l d b u y e r p u r c h a s e o r u s e s c i l l c p r o d u c t s f o r a n y s u c h u n i n t e n d e d o r u n a u t h o r i z e d a p p l i c a t i o n , b u y e r s h a l l i n d e m n i f y a n d h o l d s c i l l c a n d i t s o f f i c e r s , e m p l o y e e s , s u b s i d i a r i e s , a f f i l i a t e s , a n d d i s t r i b u t o r s h a r m l e s s a g a i n s t a l l c l a i m s , c o s t s , d a m a g e s , a n d e x p e n s e s , a n d r e a s o n a b l e a t t o r n e y f e e s a r i s i n g o u t o f , d i r e c t l y o r i n d i r e c t l y , a n y c l a i m o f p e r s o n a l i n j u r y o r d e a t h a s s o c i a t e d w i t h s u c h u n i n t e n d e d o r u n a u t h o r i z e d u s e , e v e n i f s u c h c l a i m a l l e g e s t h a t s c i l l c w a s n e g l i g e n t r e g a r d i n g t h e d e s i g n o r m a n u f a c t u r e o f t h e p a r t . s c i l l c i s a n e q u a l o p p o r t u n i t y / a f f i r m a t i v e a c t i o n e m p l o y e r . t h i s l i t e r a t u r e i s s u b j e c t t o a l l a p p l i c a b l e c o p y r i g h t l a w s a n d i s n o t f o r r e s a l e i n a n y m a n n e r . p u b l i c a t i o n o r d e r i n g i n f o r m a t i o n n . a m e r i c a n t e c h n i c a l s u p p o r t : 8 0 0 ? 2 8 2 ? 9 8 5 5 t o l l f r e e u s a / c a n a d a e u r o p e , m i d d l e e a s t a n d a f r i c a t e c h n i c a l s u p p o r t : p h o n e : 4 2 1 3 3 7 9 0 2 9 1 0 j a p a n c u s t o m e r f o c u s c e n t e r p h o n e : 8 1 ? 3 ? 5 8 1 7 ? 1 0 5 0 n c n 5 1 2 0 / d k n x a n d t h e k n x l o g o s a r e t r a d e m a r k s o f k n x a s s o c i a t i o n . l i t e r a t u r e f u l f i l l m e n t : l i t e r a t u r e d i s t r i b u t i o n c e n t e r f o r o n s e m i c o n d u c t o r p . o . b o x 5 1 6 3 , d e n v e r , c o l o r a d o 8 0 2 1 7 u s a p h o n e : 3 0 3 ? 6 7 5 ? 2 1 7 5 o r 8 0 0 ? 3 4 4 ? 3 8 6 0 t o l l f r e e u s a / c a n a d a f a x : 3 0 3 ? 6 7 5 ? 2 1 7 6 o r 8 0 0 ? 3 4 4 ? 3 8 6 7 t o l l f r e e u s a / c a n a d a e m a i l : o r d e r l i t @ o n s e m i . c o m o n s e m i c o n d u c t o r w e b s i t e : w w w . o n s e m i . c o m o r d e r l i t e r a t u r e : h t t p : / / w w w . o n s e m i . c o m / o r d e r l i t f o r a d d i t i o n a l i n f o r m a t i o n , p l e a s e c o n t a c t y o u r l o c a l s a l e s r e p r e s e n t a t i v e


▲Up To Search▲   

 
Price & Availability of NCN5120

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X