Part Number Hot Search : 
TC387 ZS4737A CS439 330M10 LM618 ER30009 TC510 CDRH104R
Product Description
Full Text Search
 

To Download VRS1000 Datasheet File

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


  Datasheet File OCR Text:
  v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 v e r s a 1 0 0 0 : 6 4 k b e m b e d d e d i s p / i a p f l a s h 1 k b r a m , 4 0 m h z , 8 - b i t m c u d a t a s h e e t r e v 1 . 6
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 o v e r v i e w t h e v r s 1 0 0 0 i s a n 8 - b i t m i c r o c o n t r o l l e r w i t h 6 4 k b f l a s h a n d 1 k b o f r a m . i t i n c l u d e s a n i n - s y s t e m / i n - a p p l i c a t i o n p r o g r a m m a b l e ( i s p / i a p ) f u n c t i o n a n d i s b a s e d o n t h e a r c h i t e c t u r e o f t h e s t a n d a r d 8 0 c 5 1 m i c r o c o n t r o l l e r . e a c h d e v i c e c o n t a i n s a s m a l l i s p p r o g r a m r e s i d i n g i n t h e u p p e r s e c t i o n o f t h e f l a s h m e m o r y t h a t a l l o w s i n - s y s t e m p r o g r a m m i n g o f t h e f l a s h m e m o r y f r o m t h e p r o c e s s o r i t s e l f o r t h r o u g h t h e u a r t i n t e r f a c e . t h e v r s 1 0 0 0 s f e a t u r e s a n d p o w e r f u l i n s t r u c t i o n s e t m a k e i t a v e r s a t i l e a n d c o s t e f f e c t i v e c o n t r o l l e r f o r a p p l i c a t i o n s t h a t r e q u i r e n o n v o l a t i l e d a t a s t o r a g e o r t h a t r e q u i r e t h e a b i l i t y t o p e r f o r m i t s o w n f i r m w a r e c o d e u p d a t e . t h e o n - c h i p f l a s h m e m o r y c a n b e p r o g r a m m e d v i a a s e r i a l i n t e r f a c e u s i n g t h e i s p f e a t u r e . p r o g r a m m i n g o f t h e v r s 1 0 0 0 i s s u p p o r t e d b y p r o g r a m m e r s a v a i l a b l e f r o m g o a l s e m i c o n d u c t o r o r o t h e r 3 r d p a r t y c o m m e r c i a l p r o g r a m m e r s . t h e v r s 1 0 0 0 i s a v a i l a b l e i n p l c c - 4 4 o r q f p - 4 4 p a c k a g e s i n i n d u s t r i a l t e m p e r a t u r e r a n g e . f i g u r e 1 : v r s 1 0 0 0 f u n c t i o n a l d i a g r a m p o r t 0 8 0 5 1 p r o c e s s o r p o r t 3 p o r t 2 p o r t 1 p w m p o r t 4 6 4 k x 8 f l a s h 2 i n t e r r u p t i n p u t s u a r t 1 0 2 4 b y t e s o f r a m r e s e t t i m e r 0 t i m e r 2 t i m e r 1 p o w e r c o n t r o l w a t c h d o g t i m e r a d d r e s s / d a t a b u s 8 8 88 4 5 f e a t u r e s e t g e n e r a l 8 0 c 5 1 / 8 0 c 5 2 f a m i l y c o m p a t i b l e 6 4 k b b y t e o n - c h i p f l a s h m e m o r y i n - s y s t e m p r o g r a m m i n g ( i s p ) c a p a b i l i t y o f f l a s h p r o g r a m v o l t a g e : 5 v 1 0 2 4 b y t e s o n c h i p d a t a r a m f o u r 8 - b i t i / o s + o n e 4 - b i t i / o 5 - c h a n n e l p w m o n p 1 . 3 t o p 1 . 7 f u l l d u p l e x s e r i a l p o r t ( u a r t ) t h r e e 1 6 - b i t t i m e r s / c o u n t e r s w a t c h d o g t i m e r b i t o p e r a t i o n i n s t r u c t i o n 8 - b i t u n s i g n e d m u l t i p l y a n d d i v i s i o n i n s t r u c t i o n s b c d a r i t h m e t i c d i r e c t a n d i n d i r e c t a d d r e s s i n g t w o l e v e l s o f i n t e r r u p t p r i o r i t y a n d n e s t e d i n t e r r u p t s p o w e r s a v i n g m o d e s : c o d e p r o t e c t i o n f u n c t i o n l o w e m i ( i n h i b i t a l e ) i n d u s t r i a l t e m p e r a t u r e r a n g e ( - 4 0 o c t o + 8 5 o c ) 5 v v e r s i o n a v a i l a b l e f i g u r e 2 : v r s 1 0 0 0 q f p - 4 4 a n d p l c c - 4 4 p i n o u t d i a g r a m s 1 4 4 1 1 1 2 2 2 2 3 3 3 3 4 v r s 1 0 0 0 q f p - 4 4 p 2 . 6 / a 1 4 p 2 . 5 / a 1 3 # p s e n p 2 . 7 / a 1 5 p 4 . 1 a l e p 0 . 7 / a d 7 # e a p 0 . 5 / a d 5 p 0 . 6 / a d 6 p 0 . 4 / a d 4 # r d / p 3 . 7 # w r / p 3 . 6 x t a l 1 x t a l 2 p 4 . 0 v s s p 2 . 1 / a 9 p 2 . 0 / a 8 p 2 . 3 / a 1 1 p 2 . 2 / a 1 0 p 2 . 4 / a 1 2 p w m 3 / p 1 . 6 p w m 2 / p 1 . 5 r e s p w m 4 / p 1 . 7 p 4 . 3 r x d / p 3 . 0 # i n t 0 / p 3 . 2 t x d / p 3 . 1 t 0 / p 3 . 4 # i n t 1 / p 3 . 3 t 1 / p 3 . 5 p w m 0 / p 1 . 3 p w m 1 / p 1 . 4 t 2 e x / p 1 . 1 p 1 . 2 p 4 . 2 t 2 / p 1 . 0 p 0 . 0 / a d 0 v d d p 0 . 2 / a d 2 p 0 . 1 / a d 1 p 0 . 3 / a d 3 p w m 3 / p 1 . 6 p w m 2 / p 1 . 5 r e s p w m 4 / p 1 . 7 p 4 . 3 r x d / p 3 . 0 # i n t 0 / p 3 . 2 t x d / p 3 . 1 t 0 / p 3 . 4 # i n t 1 / p 3 . 3 t 1 / p 3 . 5 # r d / p 3 . 7 # w r / p 3 . 6 x t a l 1 x t a l 2 p 4 . 0 v s s p 2 . 1 / a 9 p 2 . 0 / a 8 p 2 . 3 / a 1 1 p 2 . 2 / a 1 0 p 2 . 4 / a 1 2 p 2 . 6 / a 1 4 p 2 . 5 / a 1 3 # p s e n p 2 . 7 / a 1 5 p 4 . 1 a l e p 0 . 7 / a d 7 # e a p 0 . 5 / a d 5 p 0 . 6 / a d 6 p 0 . 4 / a d 4 p w m 0 / p 1 . 3 p w m 1 / p 1 . 4 t 2 e x / p 1 . 1 p 1 . 2 p 4 . 2 t 2 / p 1 . 0 p 0 . 0 / a d 0 v d d p 0 . 2 / a d 2 p 0 . 1 / a d 1 p 0 . 3 / a d 3 1 v r s 1 0 0 0 p l c c - 4 4 6 7 1 7 1 8 2 8 2 9 3 9 4 0
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 p i n d e s c r i p t i o n s f o r q f p - 4 4 / p l c c - 4 4 t a b l e 1 : p i n d e s c r i p t i o n s f o r q f p - 4 4 / p l c c - 4 4 q f p - 4 4 p l c c - 4 4 n a m e i / o f u n c t i o n p w m 2 o p w m c h a n n e l 2 1 7 p 1 . 5 i / o b i t 5 o f p o r t 1 p w m 3 o p w m c h a n n e l 3 2 8 p 1 . 6 i / o b i t 6 o f p o r t 1 p w m 4 o p w m c h a n n e l 4 3 9 p 1 . 7 i / o b i t 7 o f p o r t 1 4 1 0 r e s i r e s e t r x d i r e c e i v e d a t a 5 1 1 p 3 . 0 i / o b i t 0 o f p o r t 3 6 1 2 p 4 . 3 i / o b i t 3 o f p o r t 4 t x d o t r a n s m i t d a t a & 7 1 3 p 3 . 1 i / o b i t 1 o f p o r t 3 # i n t 0 i e x t e r n a l i n t e r r u p t 0 8 1 4 p 3 . 2 i / o b i t 2 o f p o r t 3 # i n t 1 i e x t e r n a l i n t e r r u p t 1 9 1 5 p 3 . 3 i / o b i t 3 o f p o r t 3 t 0 i t i m e r 0 1 0 1 6 p 3 . 4 i / o b i t 4 o f p o r t 3 t 1 i t i m e r 1 & 3 1 1 1 7 p 3 . 5 i / o b i t 5 o f p o r t # w r o e x t . m e m o r y w r i t e 1 2 1 8 p 3 . 6 i / o b i t 6 o f p o r t 3 # r d o e x t . m e m o r y r e a d 1 3 1 9 p 3 . 7 i / o b i t 7 o f p o r t 3 1 4 2 0 x t a l 2 o o s c i l l a t o r / c r y s t a l o u t p u t 1 5 2 1 x t a l 1 i o s c i l l a t o r / c r y s t a l i n 1 6 2 2 v s s - g r o u n d 1 7 2 3 p 4 . 0 i / o b i t 0 o f p o r t 4 p 2 . 0 i / o b i t 0 o f p o r t 2 1 8 2 4 a 8 o b i t 8 o f e x t e r n a l m e m o r y a d d r e s s p 2 . 1 i / o b i t 1 o f p o r t 2 1 9 2 5 a 9 o b i t 9 o f e x t e r n a l m e m o r y a d d r e s s p 2 . 2 i / o b i t 2 o f p o r t 2 2 0 2 6 a 1 0 o b i t 1 0 o f e x t e r n a l m e m o r y a d d r e s s p 2 . 3 i / o b i t 3 o f p o r t 2 & 2 1 2 7 a 1 1 o b i t 1 1 o f e x t e r n a l m e m o r y a d d r e s s p 2 . 4 i / o b i t 4 o f p o r t 2 2 2 2 8 a 1 2 o b i t 1 2 o f e x t e r n a l m e m o r y a d d r e s s p 2 . 5 i / o b i t 5 o f p o r t 2 2 3 2 9 a 1 3 o b i t 1 3 o f e x t e r n a l m e m o r y a d d r e s s q f p - 4 4 p l c c - 4 4 n a m e i / o f u n c t i o n p 2 . 6 i / o b i t 6 o f p o r t 2 2 4 3 0 a 1 4 o b i t 1 4 o f e x t e r n a l m e m o r y a d d r e s s p 2 . 7 i / o b i t 7 o f p o r t 2 2 5 3 1 a 1 5 o b i t 1 5 o f e x t e r n a l m e m o r y a d d r e s s 2 6 3 2 # p s e n o p r o g r a m s t o r e e n a b l e 2 7 3 3 a l e o a d d r e s s l a t c h e n a b l e 2 8 3 4 p 4 . 1 i / o b i t 1 o f p o r t 4 2 9 3 5 # e a i e x t e r n a l a c c e s s p 0 . 7 i / o b i t 7 o f p o r t 0 3 0 3 6 a d 7 i / o d a t a / a d d r e s s b i t 7 o f e x t e r n a l m e m o r y p 0 . 6 i / o b i t 6 o f p o r t 0 3 1 3 7 a d 6 i / o d a t a / a d d r e s s b i t 6 o f e x t e r n a l m e m o r y p 0 . 5 i / o b i t 5 o f p o r t 0 3 2 3 8 a d 5 i / o d a t a / a d d r e s s b i t 5 o f e x t e r n a l m e m o r y p 0 . 4 i / o b i t 4 o f p o r t 0 3 3 3 9 a d 4 i / o d a t a / a d d r e s s b i t 4 o f e x t e r n a l m e m o r y p 0 . 3 i / o b i t 3 o f p o r t 0 3 4 4 0 a d 3 i / o d a t a / a d d r e s s b i t 3 o f e x t e r n a l m e m o r y p 0 . 2 i / o b i t 2 o f p o r t 0 3 5 4 1 a d 2 i / o d a t a / a d d r e s s b i t 2 o f e x t e r n a l m e m o r y p 0 . 1 i / o b i t 1 o f p o r t 0 & d a t a 3 6 4 2 a d 1 i / o a d d r e s s b i t 1 o f e x t e r n a l m e m o r y p 0 . 0 i / o b i t 0 o f p o r t 0 & d a t a 3 7 4 3 a d 0 i / o a d d r e s s b i t 0 o f e x t e r n a l m e m o r y 3 8 4 4 v d d - v c c 3 9 1 p 4 . 2 i / o b i t 2 o f p o r t 4 t 2 i t i m e r 2 c l o c k o u t 4 0 2 p 1 . 0 i / o b i t 0 o f p o r t 1 t 2 e x i t i m e r 2 c o n t r o l 4 1 3 p 1 . 1 i / o b i t 1 o f p o r t 1 4 2 4 p 1 . 2 i / o b i t 2 o f p o r t 1 p w m 0 o p w m c h a n n e l 0 4 3 5 p 1 . 3 i / o b i t 3 o f p o r t 1 p w m 1 o p w m c h a n n e l 1 4 4 6 p 1 . 4 i / o b i t 4 o f p o r t 1 4 4 1 1 1 2 2 2 2 3 3 3 3 2 3 1 3 0 2 9 2 8 2 7 2 6 2 5 2 4 3 4 v r s 1 0 0 0 q f p - 4 4 p 2 . 6 / a 1 4 p 2 . 5 / a 1 3 # p s e n p 2 . 7 / a 1 5 p 4 . 1 a l e p 0 . 7 / a d 7 # e a p 0 . 5 / a d 5 p 0 . 6 / a d 6 p 0 . 4 / a d 4 # r d / p 3 . 7 # w r / p 3 . 6 x t a l 1 x t a l 2 p 4 . 0 v s s p 2 . 1 / a 9 p 2 . 0 / a 8 p 2 . 3 / a 1 1 p 2 . 2 / a 1 0 p 2 . 4 / a 1 2 p w m 3 / p 1 . 6 p w m 2 / p 1 . 5 r e s p w m 4 / p 1 . 7 p 4 . 3 r x d / p 3 . 0 # i n t 0 / p 3 . 2 t x d / p 3 . 1 t 0 / p 3 . 4 # i n t 1 / p 3 . 3 t 1 / p 3 . 5 p w m 0 / p 1 . 3 p w m 1 / p 1 . 4 t 2 e x / p 1 . 1 p 1 . 2 p 4 . 2 t 2 / p 1 . 0 p 0 . 0 / a d 0 v d d p 0 . 2 / a d 2 p 0 . 1 / a d 1 p 0 . 3 / a d 3 2 1 2 0 1 9 1 8 1 7 1 6 1 5 1 4 1 3 4 3 4 2 4 1 4 0 3 9 3 8 3 7 3 6 3 5 1 2 3 4 5 6 7 8 9 1 0 p w m 3 / p 1 . 6 p w m 2 / p 1 . 5 r e s p w m 4 / p 1 . 7 p 4 . 3 r x d / p 3 . 0 # i n t 0 / p 3 . 2 t x d / p 3 . 1 t 0 / p 3 . 4 # i n t 1 / p 3 . 3 t 1 / p 3 . 5 # r d / p 3 . 7 # w r / p 3 . 6 x t a l 1 x t a l 2 p 4 . 0 v s s p 2 . 1 / a 9 p 2 . 0 / a 8 p 2 . 3 / a 1 1 p 2 . 2 / a 1 0 p 2 . 4 / a 1 2 p 2 . 6 / a 1 4 p 2 . 5 / a 1 3 # p s e n p 2 . 7 / a 1 5 p 4 . 1 a l e p 0 . 7 / a d 7 # e a p 0 . 5 / a d 5 p 0 . 6 / a d 6 p 0 . 4 / a d 4 p w m 0 / p 1 . 3 p w m 1 / p 1 . 4 t 2 e x / p 1 . 1 p 1 . 2 p 4 . 2 t 2 / p 1 . 0 p 0 . 0 / a d 0 v d d p 0 . 2 / a d 2 p 0 . 1 / a d 1 p 0 . 3 / a d 3 1 v r s 1 0 0 0 p l c c - 4 4 6 7 1 7 1 8 2 8 2 9 3 9 4 0 2 3 4 5 89 10 1 3 12 11 1 5 14 1 6 1 9 2 0 2 1 2 2 2 3 2 4 2 6 2 5 2 7 3 0 3 3 3 2 3 1 3 5 3 4 3 7 3 6 3 8 4 1 4 4 4 3 4 2
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 i n s t r u c t i o n s e t t h e f o l l o w i n g t a b l e d e s c r i b e s t h e i n s t r u c t i o n s e t o f t h e v r s 1 0 0 0 . t h e i n s t r u c t i o n s a r e b i n a r y c o d e c o m p a t i b l e a n d p e r f o r m t h e s a m e f u n c t i o n s a s t h e i n d u s t r y s t a n d a r d 8 0 5 1 o n e s . t a b l e 2 : l e g e n d f o r i n s t r u c t i o n s e t t a b l e s y m b o l f u n c t i o n a a c c u m u l a t o r r n r e g i s t e r r 0 - r 7 d i r e c t i n t e r n a l r e g i s t e r a d d r e s s @ r i i n t e r n a l r e g i s t e r p o i n t e d t o b y r 0 o r r 1 ( e x c e p t m o v x ) r e l t w o ? s c o m p l e m e n t o f f s e t b y t e b i t d i r e c t b i t a d d r e s s # d a t a 8 - b i t c o n s t a n t # d a t a 1 6 1 6 - b i t c o n s t a n t a d d r 1 6 1 6 - b i t d e s t i n a t i o n a d d r e s s a d d r 1 1 1 1 - b i t d e s t i n a t i o n a d d r e s s t a b l e 3 : v r s 5 7 0 / v r s 5 8 0 i n s t r u c t i o n s e t m n e m o n i c d e s c r i p t i o n s i z e ( b y t e s ) i n s t r . c y c l e s a r i t h m e t i c i n s t r u c t i o n s a d d a , r n a d d r e g i s t e r t o a 1 1 a d d a , d i r e c t a d d d i r e c t b y t e t o a 2 1 a d d a , @ r i a d d d a t a m e m o r y t o a 1 1 a d d a , # d a t a a d d i m m e d i a t e t o a 2 1 a d d c a , r n a d d r e g i s t e r t o a w i t h c a r r y 1 1 a d d c a , d i r e c t a d d d i r e c t b y t e t o a w i t h c a r r y 2 1 a d d c a , @ r i a d d d a t a m e m o r y t o a w i t h c a r r y 1 1 a d d c a , # d a t a a d d i m m e d i a t e t o a w i t h c a r r y 2 1 s u b b a , r n s u b t r a c t r e g i s t e r f r o m a w i t h b o r r o w 1 1 s u b b a , d i r e c t s u b t r a c t d i r e c t b y t e f r o m a w i t h b o r r o w 2 1 s u b b a , @ r i s u b t r a c t d a t a m e m f r o m a w i t h b o r r o w 1 1 s u b b a , # d a t a s u b t r a c t i m m e d i a t e f r o m a w i t h b o r r o w 2 1 i n c a i n c r e m e n t a 1 1 i n c r n i n c r e m e n t r e g i s t e r 1 1 i n c d i r e c t i n c r e m e n t d i r e c t b y t e 2 1 i n c @ r i i n c r e m e n t d a t a m e m o r y 1 1 d e c a d e c r e m e n t a 1 1 d e c r n d e c r e m e n t r e g i s t e r 1 1 d e c d i r e c t d e c r e m e n t d i r e c t b y t e 2 1 d e c @ r i d e c r e m e n t d a t a m e m o r y 1 1 i n c d p t r i n c r e m e n t d a t a p o i n t e r 1 2 m u l a b m u l t i p l y a b y b 1 4 d i v a b d i v i d e a b y b 1 4 d a a d e c i m a l a d j u s t a 1 1 l o g i c a l i n s t r u c t i o n s a n l a , r n a n d r e g i s t e r t o a 1 1 a n l a , d i r e c t a n d d i r e c t b y t e t o a 2 1 a n l a , @ r i a n d d a t a m e m o r y t o a 1 1 a n l a , # d a t a a n d i m m e d i a t e t o a 2 1 a n l d i r e c t , a a n d a t o d i r e c t b y t e 2 1 a n l d i r e c t , # d a t a a n d i m m e d i a t e d a t a t o d i r e c t b y t e 3 2 o r l a , r n o r r e g i s t e r t o a 1 1 o r l a , d i r e c t o r d i r e c t b y t e t o a 2 1 o r l a , @ r i o r d a t a m e m o r y t o a 1 1 o r l a , # d a t a o r i m m e d i a t e t o a 2 1 o r l d i r e c t , a o r a t o d i r e c t b y t e 2 1 o r l d i r e c t , # d a t a o r i m m e d i a t e d a t a t o d i r e c t b y t e 3 2 x r l a , r n e x c l u s i v e - o r r e g i s t e r t o a 1 1 x r l a , d i r e c t e x c l u s i v e - o r d i r e c t b y t e t o a 2 1 x r l a , @ r i e x c l u s i v e - o r d a t a m e m o r y t o a 1 1 x r l a , # d a t a e x c l u s i v e - o r i m m e d i a t e t o a 2 1 x r l d i r e c t , a e x c l u s i v e - o r a t o d i r e c t b y t e 2 1 x r l d i r e c t , # d a t a e x c l u s i v e - o r i m m e d i a t e t o d i r e c t b y t e 3 2 c l r a c l e a r a 1 1 c p l a c o m p l i m e n t a 1 1 s w a p a s w a p n i b b l e s o f a 1 1 r l a r o t a t e a l e f t 1 1 r l c a r o t a t e a l e f t t h r o u g h c a r r y 1 1 r r a r o t a t e a r i g h t 1 1 r r c a r o t a t e a r i g h t t h r o u g h c a r r y 1 1 m n e m o n i c d e s c r i p t i o n s i z e ( b y t e s ) i n s t r . c y c l e s b o o l e a n i n s t r u c t i o n c l r c c l e a r c a r r y b i t 1 1 c l r b i t c l e a r b i t 2 1 s e t b c s e t c a r r y b i t t o 1 1 1 s e t b b i t s e t b i t t o 1 2 1 c p l c c o m p l e m e n t c a r r y b i t 1 1 c p l b i t c o m p l e m e n t b i t 2 1 a n l c , b i t l o g i c a l a n d b e t w e e n c a r r y a n d b i t 2 2 a n l c , # b i t l o g i c a l a n d b e t w e e n c a r r y a n d n o t b i t 2 2 o r l c , b i t l o g i c a l o r l b e t w e e n c a r r y a n d b i t 2 2 o r l c , # b i t l o g i c a l o r l b e t w e e n c a r r y a n d n o t b i t 2 2 m o v c , b i t c o p y b i t v a l u e i n t o c a r r y 2 1 m o v b i t , c c o p y c a r r y v a l u e i n t o b i t 2 2 d a t a t r a n s f e r i n s t r u c t i o n s m o v a , r n m o v e r e g i s t e r t o a 1 1 m o v a , d i r e c t m o v e d i r e c t b y t e t o a 2 1 m o v a , @ r i m o v e d a t a m e m o r y t o a 1 1 m o v a , # d a t a m o v e i m m e d i a t e t o a 2 1 m o v r n , a m o v e a t o r e g i s t e r 1 1 m o v r n , d i r e c t m o v e d i r e c t b y t e t o r e g i s t e r 2 2 m o v r n , # d a t a m o v e i m m e d i a t e t o r e g i s t e r 2 1 m o v d i r e c t , a m o v e a t o d i r e c t b y t e 2 1 m o v d i r e c t , r n m o v e r e g i s t e r t o d i r e c t b y t e 2 2 m o v d i r e c t , d i r e c t m o v e d i r e c t b y t e t o d i r e c t b y t e 3 2 m o v d i r e c t , @ r i m o v e d a t a m e m o r y t o d i r e c t b y t e 2 2 m o v d i r e c t , # d a t a m o v e i m m e d i a t e t o d i r e c t b y t e 3 2 m o v @ r i , a m o v e a t o d a t a m e m o r y 1 1 m o v @ r i , d i r e c t m o v e d i r e c t b y t e t o d a t a m e m o r y 2 2 m o v @ r i , # d a t a m o v e i m m e d i a t e t o d a t a m e m o r y 2 1 m o v d p t r , # d a t a m o v e i m m e d i a t e t o d a t a p o i n t e r 3 2 m o v c a , @ a + d p t r m o v e c o d e b y t e r e l a t i v e d p t r t o a 1 2 m o v c a , @ a + p c m o v e c o d e b y t e r e l a t i v e p c t o a 1 2 m o v x a , @ r i m o v e e x t e r n a l d a t a ( a 8 ) t o a 1 2 m o v x a , @ d p t r m o v e e x t e r n a l d a t a ( a 1 6 ) t o a 1 2 m o v x @ r i , a m o v e a t o e x t e r n a l d a t a ( a 8 ) 1 2 m o v x @ d p t r , a m o v e a t o e x t e r n a l d a t a ( a 1 6 ) 1 2 p u s h d i r e c t p u s h d i r e c t b y t e o n t o s t a c k 2 2 p o p d i r e c t p o p d i r e c t b y t e f r o m s t a c k 2 2 x c h a , r n e x c h a n g e a a n d r e g i s t e r 1 1 x c h a , d i r e c t e x c h a n g e a a n d d i r e c t b y t e 2 1 x c h a , @ r i e x c h a n g e a a n d d a t a m e m o r y 1 1 x c h d a , @ r i e x c h a n g e a a n d d a t a m e m o r y n i b b l e 1 1 b r a n c h i n g i n s t r u c t i o n s a c a l l a d d r 1 1 a b s o l u t e c a l l t o s u b r o u t i n e 2 2 l c a l l a d d r 1 6 l o n g c a l l t o s u b r o u t i n e 3 2 r e t r e t u r n f r o m s u b r o u t i n e 1 2 r e t i r e t u r n f r o m i n t e r r u p t 1 2 a j m p a d d r 1 1 a b s o l u t e j u m p u n c o n d i t i o n a l 2 2 l j m p a d d r 1 6 l o n g j u m p u n c o n d i t i o n a l 3 2 s j m p r e l s h o r t j u m p ( r e l a t i v e a d d r e s s ) 2 2 j c r e l j u m p o n c a r r y = 1 2 2 j n c r e l j u m p o n c a r r y = 0 2 2 j b b i t , r e l j u m p o n d i r e c t b i t = 1 3 2 j n b b i t , r e l j u m p o n d i r e c t b i t = 0 3 2 j b c b i t , r e l j u m p o n d i r e c t b i t = 1 a n d c l e a r 3 2 j m p @ a + d p t r j u m p i n d i r e c t r e l a t i v e d p t r 1 2 j z r e l j u m p o n a c c u m u l a t o r = 0 2 2 j n z r e l j u m p o n a c c u m u l a t o r 1 = 0 2 2 c j n e a , d i r e c t , r e l c o m p a r e a , d i r e c t j n e r e l a t i v e 3 2 c j n e a , # d , r e l c o m p a r e a , i m m e d i a t e j n e r e l a t i v e 3 2 c j n e r n , # d , r e l c o m p a r e r e g , i m m e d i a t e j n e r e l a t i v e 3 2 c j n e @ r i , # d , r e l c o m p a r e i n d , i m m e d i a t e j n e r e l a t i v e 3 2 d j n z r n , r e l d e c r e m e n t r e g i s t e r , j n z r e l a t i v e 2 2 d j n z d i r e c t , r e l d e c r e m e n t d i r e c t b y t e , j n z r e l a t i v e 3 2 m i s c e l l a n e o u s i n s t r u c t i o n n o p n o o p e r a t i o n 1 1 r n : a n y o f t h e r e g i s t e r r 0 t o r 7 @ r i : i n d i r e c t a d d r e s s i n g u s i n g r e g i s t e r r 0 o r r 1 # d a t a : i m m e d i a t e d a t a p r o v i d e d w i t h i n s t r u c t i o n # d a t a 1 6 : i m m e d i a t e d a t a i n c l u d e d w i t h i n s t r u c t i o n b i t : a d d r e s s a t t h e b i t l e v e l r e l : r e l a t i v e a d d r e s s t o p r o g r a m c o u n t e r f r o m + 1 2 7 t o C 1 2 8 a d d r 1 1 : 1 1 - b i t a d d r e s s r a n g e a d d r 1 6 : 1 6 - b i t a d d r e s s r a n g e # d : i m m e d i a t e d a t a s u p p l i e d w i t h i n s t r u c t i o n
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 5 s p e c i a l f u n c t i o n r e g i s t e r s ( s f r ) a d d r e s s e s 8 0 h t o f f h o f t h e s f r a d d r e s s s p a c e c a n b e a c c e s s e d i n d i r e c t a d d r e s s i n g m o d e o n l y . t h e f o l l o w i n g t a b l e l i s t s t h e v r s 1 0 0 0 s p e c i a l f u n c t i o n r e g i s t e r s . t a b l e 4 : s p e c i a l f u n c t i o n r e g i s t e r s ( s f r ) s f r r e g i s t e r s f r a d r 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 r e s e t v a l u e p 0 8 0 h - - - - - - - - s p 8 1 h - - - - - - - - d p l 8 2 h - - - - - - - - d p h 8 3 h - - - - - - - - r c o n 8 5 h - - - - - - r a m s 1 r a m s 0 * * * * * * 0 0 b d b a n k 8 6 h b s e - - - b s 3 b s 2 b s 1 b s 0 0 * * * 0 0 0 1 b p c o n 8 7 h s m o d - - - g f 1 g f 0 p d o w n i d l e 0 0 0 0 0 0 0 0 b t c o n 8 8 h t f 1 t r 1 t f 0 t r 0 i e 1 i t 1 i e 0 i t 0 0 0 0 0 0 0 0 0 b t m o d 8 9 h g a t e 1 c / t 1 m 1 . 1 m 0 . 1 g a t e 0 c / t 0 m 1 . 0 m 0 . 0 0 0 0 0 0 0 0 0 b t l 0 8 a h - - - - - - - - t l 1 8 b h - - - - - - - - t h 0 8 c h - - - - - - - - t h 1 8 d h - - - - - - - - p 1 9 0 h - - - - - - - - s c o n 9 8 h s m 0 s m 1 s m 2 r e n t b 8 r b 8 t i r i 0 0 0 0 0 0 0 0 b s b u f 9 9 h - - - - - - - - p w m e 9 b h p w m 4 e p w m 3 e p w m 2 e p w m 1 e p w m 0 e - - - 0 0 0 0 0 * * * b w d t c 9 f h w d t e - c l e a r - - p s 2 p s 1 p s 0 0 * 0 * * 0 0 0 b p 2 a 0 h - - - - - - - - p w m c a 3 h - - - - - - p d c k 1 p d c k 0 * * * * * * 0 0 b p w m d 0 a 4 h p w m d 0 . 4 p w m d 0 . 3 p w m d 0 . 2 p w m d 0 . 1 p w m d 0 . 0 n p 0 . 2 n p 0 . 1 n p 0 . 0 0 0 0 0 0 0 0 0 b p w m d 1 a 5 h p w m d 1 . 4 p w m d 1 . 3 p w m d 1 . 2 p w m d 1 . 1 p w m d 1 . 0 n p 1 . 2 n p 1 . 1 n p 1 . 0 0 0 0 0 0 0 0 0 b p w m d 2 a 6 h p w m d 2 . 4 p w m d 2 . 3 p w m d 2 . 2 p w m d 2 . 1 p w m d 2 . 0 n p 2 . 2 n p 2 . 1 n p 2 . 0 0 0 0 0 0 0 0 0 b p w m d 3 a 7 h p w m d 3 . 4 p w m d 3 . 3 p w m d 3 . 2 p w m d 3 . 1 p w m d 3 . 0 n p 3 . 2 n p 3 . 1 n p 3 . 0 0 0 0 0 0 0 0 0 b i e a 8 h e a - e t 2 e s e t 1 e x 1 e t 0 e x 0 0 0 0 0 0 0 0 0 b p w m d 4 a c h p w m d 4 . 4 p w m d 4 . 3 p w m d 4 . 2 p w m d 4 . 1 p w m d 4 . 0 n p 4 . 2 n p 4 . 1 n p 4 . 0 0 0 0 0 0 0 0 0 b p 3 b 0 h - - - - - - - - i p b 8 h - - p t 2 p s p t 1 p x 1 p t 0 p x 0 0 0 0 0 0 0 0 0 b s y s c o n b f h w d r - - - - i a p e x r a m e a l e i 0 * * * * 0 1 0 b t 2 c o n c 8 h t f 2 e x f 2 r c l k t c l k e x e n 2 t r 2 c / t 2 c p / r l 2 0 0 0 0 0 0 0 0 b r c a p 2 l c a h - - - - - - - - 0 0 0 0 0 0 0 0 b r c a p 2 h c b h - - - - - - - - t l 2 c c h - - - - - - - - t h 2 c d h p s w d 0 h c y a c f 0 r s 1 r s 0 o v - p 0 0 0 0 0 0 0 0 b p 4 d 8 h - - - - p 4 . 3 p 4 . 2 p 4 . 1 p 4 . 0 * * * * 1 1 1 1 b a c c e 0 h - - - - - - - - b f 0 h - - - - - - - - i a p f a d h i f 4 h f a 1 5 f a 1 4 f a 1 3 f a 1 2 f a 1 1 f a 1 0 f a 9 f a 8 0 0 0 0 0 0 0 0 b i a p f a d l o f 5 h f a 7 f a 6 f a 5 f a 4 f a 3 f a 2 f a 1 f a 0 0 0 0 0 0 0 0 0 b i a p f d a t a f 6 h f d 7 f d 6 f d 5 f d 4 f d 3 f d 2 f d 1 f d 0 0 0 0 0 0 0 0 0 b i a p f c t r l f 7 h i a p s t a r t i a p f c t 1 i a p f c t 0 0 * * * * * 0 0 b
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 6 v r s 1 0 0 0 p r o g r a m m e m o r y t h e v r s 1 0 0 0 i n c l u d e s 6 4 k o f o n - c h i p f l a s h m e m o r y t h a t c a n b e u s e d a s p r o g r a m m e m o r y b u t i t c a n a l s o b e u s e d a s n o n - v o l a t i l e d a t a s t o r a g e m e m o r y u s i n g t h e i n - a p p l i c a t i o n p r o g r a m m i n g f e a t u r e ( i a p ) . i s p p r o g r a m m e m o r y z o n e t h e u p p e r p o r t i o n o f t h e v r s 1 0 0 0 f l a s h m e m o r y c a n b e r e s e r v e d t o h o l d a n i s p b o o t p r o g r a m . t h i s b o o t p r o g r a m c a n b e u s e d t o p e r f o r m t h e f l a s h m e m o r y p r o g r a m m i n g u s i n g t h e s e r i a l i n t e r f a c e o r a n y o t h e r m e t h o d b y m a k i n g u s e o f t h e i n - a p p l i c a t i o n p r o g r a m m i n g ( i a p ) f e a t u r e o f t h e v r s 1 0 0 0 w h i c h p e r m i t s t h e p r o c e s s o r t o l o a d t h e p r o g r a m f r o m a n e x t e r n a l d e v i c e o r s y s t e m a n d p r o g r a m i t i n t o t h e f l a s h m e m o r y ( s e e t h e v r s 1 0 0 0 i a p f e a t u r e s e c t i o n ) t h e s i z e o f t h e m e m o r y b l o c k r e s e r v e d f o r t h e i s p b o o t p r o g r a m ( w h e n a c t i v a t e d ) i s a d j u s t a b l e f r o m 5 1 2 b y t e s u p t o 4 k b y t e s i n i n c r e m e n t o f 5 1 2 b y t e s . f i g u r e 3 : v r s 1 0 0 0 - i s p p r o g r a m s i z e v s i s p c o n f i g . v a l u e i s p c f g = 1 i s p c f g = 2 i s p c f g = 3 i s p c f g = 4 i s p c f g = 5 i s p c f g = 6 i s p c f g = 7 i s p c f g = 8 f f f f h f e 0 0 h f c 0 0 h f a 0 0 h f 0 0 0 h f 8 0 0 h f 6 0 0 h f 4 0 0 h f 2 0 0 h 0 0 0 0 h i s p p r o g r a m s i z e = i s p c o n f i g v a l u e x 5 1 2 b y t e s p r o g r a m m i n g t h e i s p b o o t p r o g r a m t h e i s p b o o t p r o g r a m m u s t b e p r o g r a m m e d i n t o t h e d e v i c e u s i n g a p a r a l l e l p r o g r a m m e r s u c h a s t h e l o w c o s t v e r s a m c u - p p r o r a c o m m e r c i a l p a r a l l e l p r o g r a m m e r s u p p o r t i n g t h e v r s 1 0 0 0 . t h e f l a s h m e m o r y r e s e r v e d f o r t h e i s p p r o g r a m i s d e f i n e d i n t h e p a r a l l e l p r o g r a m m e r s o f t w a r e a t t h e m o m e n t t h e d e v i c e i s p r o g r a m m e d . f i g u r e 4 : v e r s a m c u - p p r p r o g r a m i n t e r f a c e w i n d o w w h e n p r o g r a m m i n g t h e i s p b o o t p r o g r a m i n t o t h e v r s 1 0 0 0 , i t i s r e c o m m e n d e d t o a c t i v a t e t h e l o c k b i t o p t i o n t o p r o t e c t t h e i s p f l a s h m e m o r y z o n e f r o m b e i n g i n a d v e r t e n t l y e r a s e d w h e n t h e f l a s h e r a s e o p e r a t i o n s a r e p e r f o r m e d ( s e e t h e v r s 1 0 0 0 i a p f e a t u r e s e c t i o n f o r d e t a i l s o n i a p f u n c t i o n s ) i s p p r o g r a m s t a r t c o n d i t i o n s s e t t i n g t h e i s p p a g e c o n f i g u r a t i o n t o a v a l u e o t h e r t h a n 0 w i l l m a k e t h e p r o c e s s o r j u m p t o t h e b a s e a d d r e s s o f t h e i s p b o o t c o d e w h e n a h a r d w a r e r e s e t i s p e r f o r m e d , p r o v i d e d t h a t t h e v a l u e f f h i s p r e s e n t a t p r o g r a m a d d r e s s 0 0 0 0 h . i t i s a l s o p o s s i b l e t o c a l l t h e i s p p r o g r a m b y d o i n g a p r o g r a m j u m p i n s t r u c t i o n t o i t s s t a r t a d d r e s s w h e n t h e i s p p a g e c o n f i g u r a t i o n i s s e t t o 0 a t t h e m o m e n t t h e d e v i c e i s p r o g r a m m e d u s i n g a p a r a l l e l p r o g r a m m e r , t h e i s p b o o t f e a t u r e w i l l b e d i s a b l e d .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 7 p r e - p r o g r a m m e d v r s 1 0 0 0 i s p p r o g r a m f o r y o u r c o n v e n i e n c e , g o a l s e m i c o n d u c t o r i n c . h a s d e v e l o p e d a n i s p b o o t p r o g r a m f o r t h e v r s 1 0 0 0 t h a t a l l o w s p r o g r a m m i n g t h e d e v i c e s f l a s h m e m o r y u s i n g t h e d e v i c e s u a r t 0 s e r i a l p o r t a n d c o m m u n i c a t e s w i t h t h e g o a l t e n d e r v r s 1 0 0 0 p r o g r a m t h a t r u n s u n d e r w i n d o w s ? o p e r a t i n g s y s t e m . t h i s i s p b o o t p r o g r a m a l l o w s y o u t o p r o g r a m t h e v r s 1 0 0 0 o n t h e f i n a l a p p l i c a t i o n p c b u s i n g t h e d e v i c e s u a r t i n t e r f a c e . t h e h a r d w a r e i n t e r f a c e t o p e r f o r m t h e v r s 1 0 0 0 f l a s h m e m o r y p r o g r a m m i n g u s i n g t h e i s p b o o t p r o g r a m i s s h o w n b e l o w : i f y o u w a n t t o u s e t h e g o a l s e m i c o n d u c t o r p a r a l l e l p r o g r a m m e r t o p r o g r a m t h e i s p o n t o t h e v r s 1 0 0 0 , p l e a s e s p e c i f y a t t h e m o m e n t y o u p l a c e y o u r o r d e r . f o r m o r e i n f o r m a t i o n r e g a r d i n g f e a t u r e s a n d u s e o f t h e i s p p r o g r a m d e v e l o p e d b y g o a l s e m i c o n d u c t o r i n c , p l e a s e c o n s u l t t h e v r s 1 0 0 0 i s p g e t t i n g s t a r t e d g u i d e . f i g u r e 5 : v r s 1 0 0 0 i n t e r f a c e f o r i n - s y s t e m p r o g r a m m i n g v r s 1 0 0 0 i a p f e a t u r e t h e v r s 1 0 0 0 i a p f e a t u r e r e f e r s t o t h e a b i l i t y f o r t h e p r o c e s s o r t o s e l f - p r o g r a m t h e f l a s h m e m o r y f r o m w i t h i n t h e u s e r p r o g r a m . f i v e s f r r e g i s t e r s s e r v e t o c o n t r o l t h e i a p o p e r a t i o n . t h e d e s c r i p t i o n o f t h e s e r e g i s t e r s i s g i v e n b e l o w . t h e s y s t e m c o n t r o l r e g i s t e r b y d e f a u l t u p o n r e s e t , t h e i a p f e a t u r e o f t h e v r s 1 0 0 0 i s d e - a c t i v a t e d . t h e i a p e b i t o f t h e s y s c o n r e g i s t e r i s u s e d t o e n a b l e ( a n d d i s a b l e ) t h e v r s 1 0 0 0 i a p f u n c t i o n a s s h o w n b e l o w . t a b l e 5 : s y s t e m c o n t r o l r e g i s t e r ( s y s c o n ) C s f r b f h 7 6 5 4 3 2 1 0 w d r u n u s e d i a p e x r a m e a l e i b i t m n e m o n i c d e s c r i p t i o n 7 w d r t h i s i s t h e w a t c h d o g t i m e r r e s e t b i t . i t w i l l b e s e t t o 1 w h e n t h e r e s e t s i g n a l g e n e r a t e d b y w d t o v e r f l o w s . 6 u n u s e d - 5 u n u s e d - 4 u n u s e d - 3 u n u s e d - 2 i a p e i a p f u n c t i o n e n a b l e b i t 1 x r a m e 7 6 8 b y t e o n - c h i p e n a b l e b i t 0 a l e i a l e o u t p u t i n h i b i t b i t , w h i c h i s u s e d t o r e d u c e e m i . i a p f l a s h a d d r e s s a n d d a t a r e g i s t e r s t h e i a p f a d h i a n d i a p a d l o r e g i s t e r s a r e u s e d t o s p e c i f y t h e a d d r e s s a t w h i c h t h e i a p f u n c t i o n w i l l b e p e r f o r m e d . t a b l e 6 : i a p f l a s h a d d r e s s h i g h - s f r f 4 h 7 6 5 4 3 2 1 0 i a p f a d h i [ 1 5 : 8 ] t a b l e 7 : i a p f l a s h a d d r e s s l o w - s f r f 5 h 7 6 5 4 3 2 1 0 i a p f a d l o [ 1 5 : 8 ] t h e i a p f d a t a s f r r e g i s t e r c o n t a i n s t h e d a t a b y t e r e q u i r e d t o p e r f o r m t h e i a p f u n c t i o n . t a b l e 8 : i a p f l a s h d a t a r e g i s t e r - s f r f 6 h 7 6 5 4 3 2 1 0 i a p f d a t a [ 7 : 0 ] r s 2 3 2 t r a n s c e i v e r v r s 1 0 0 0 r x d t x d r e s p 4 . 3 0 . 1 u f r s 2 3 2 i n t e r f . t o p c 3 3 0 k 1 0 0 k 1 0 k 1 0 0 k 3 3 0 k p n p n p n
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 8 i a p f l a s h c o n t r o l r e g i s t e r t h e v r s 1 0 0 0 i a p f u n c t i o n o p e r a t i o n i s c o n t r o l l e d b y t h e i a p f l a s h c o n t r o l r e g i s t e r , i a p f c t r l . s e t t i n g t h e i a p s t a r t b i t t o 1 , s t a r t t h e e x e c u t i o n o f t h e i a p c o m m a n d s p e c i f i e d b y t h e i a p f c t [ 1 : 0 ] b i t o f t h e i a p f l a s h c o n t r o l r e g i s t e r . t a b l e 9 : i a p f l a s h c o n t r o l r e g i s t e r - s f r f 7 h 7 6 5 4 3 2 1 0 i a p f c t r l [ 1 5 : 8 ] b i t m n e m o n i c d e s c r i p t i o n 7 i a p s t a r t i a p s e l e c t e d o p e r a t i o n s t a r t s e q u e n c e 6 u n u s e d - 5 u n u s e d - 4 u n u s e d - 3 u n u s e d - 2 u n u s e d - 1 0 i a p f c t [ 1 : 0 ] f l a s h m e m o r y i a p f u n c t i o n t h e i a p s u b - s y s t e m h a n d l e s f o u r d i f f e r e n t f u n c t i o n s . t h e i a p f u n c t i o n t o p e r f o r m i s d e f i n e d b y t h e i a p f c t b i t s v a l u e a s s h o w n b e l o w : t a b l e 1 0 : i a p f u n c t i o n s i a p f c t [ 1 : 0 ] b i t s v a l u e i a p f u n c t i o n 0 0 f l a s h b y t e p r o g r a m 0 1 f l a s h e r a s e p r o t e c t 1 0 f l a s h p a g e e r a s e 1 1 f l a s h e r a s e i t i s i m p o r t a n t t o n o t e t h a t f o r s e c u r i t y r e a s o n s t h e i a p s t a r t b i t o f t h e i a p f c t r l r e g i s t e r i s c o n f i g u r e d a s r e a d o n l y b y d e f a u l t . i n o r d e r t o a c c e s s t h e i a p s t a r t b i t a n d t o w r i t e a 1 i n t o i t t h e f o l l o w i n g o p e r a t i o n s e q u e n c e m u s t b e p e r f o r m e d f i r s t : m o v i a p f d a t a , # 5 5 h m o v i a p f d a t a , # a a h m o v i a p f d a t a , # 5 5 h t h e n t h e i a p s t a r t b i t c a n b e s e t t o 1 . o n c e t h e s t a r t b i t i s s e t t o 1 , t h e i a p s u b - s y s t e m w i l l r e a d t h e c o n t e n t o f t h e i a p f l a s h a d d r e s s a n d d a t a r e g i s t e r a n d h o l d t h e v r s 1 0 0 0 p r o g r a m c o u n t e r t o i t s c u r r e n t v a l u e u n t i l t h e i a p o p e r a t i o n i s c o m p l e t e d . w h e n t h e i a p o p e r a t i o n i s c o m p l e t e , t h e i a p s t a r t b i t i s c l e a r e d a n d t h e p r o g r a m c o n t i n u e s i t s e x e c u t i o n . i a p b y t e p r o g r a m f u n c t i o n t h e i a p b y t e p r o g r a m f u n c t i o n i s u s e d t o p r o g r a m a b y t e i n t o t h e s p e c i f i e d f l a s h m e m o r y l o c a t i o n u n d e r t h e c o n t r o l o f t h e i a p f e a t u r e . t h e f o l l o w i n g p r o g r a m e x a m p l e s h o w s h o w t o d o i t : i a p _ p r o g : m o v i a p f d a t a , # 5 5 h ; s e q u e n c e t o e n a b l e w r i t i n g m o v i a p f d a t a , # 0 a a h ; t h e i a p s t a r t b i t m o v i a p f d a t a , # 5 5 h m o v s y s c o n , # 0 4 h ; e n a b l e i a p f u n c t i o n m o v i a p f a d h i , f a d r s h ; s e t m s b o f a d d r e s s t o p r o g r a m m o v i a p f a d l o , f a d r s l ; s e t l s b o f a d d r e s s t o p r o g r a m m o v i a p f d a t a , f d a t a ; s e t d a t a t o p r o g r a m m o v i a p f c t r l , # 8 0 h ; s e t t h e i a p s t a r t b i t ; * * t h e p r o g r a m c o u n t e r w i l l s t o p u n t i l t h e i a p f u n c t i o n i s c o m p l e t e d i a p p a g e e r a s e f u n c t i o n u s i n g t h e i a p f e a t u r e i t i s p o s s i b l e t o p e r f o r m p a g e e r a s e o f t h e v r s 1 0 0 0 f l a s h m e m o r y a t t h e e x c e p t i o n o f t h e m e m o r y a r e a o c c u p i e d b y t h e i s p b o o t p r o g r a m . e a c h p a g e i s 5 1 2 b y t e s i n s i z e . t o p e r f o r m a g i v e n f l a s h p a g e e r a s e , t h e p a g e a d d r e s s i s s p e c i f i e d b y t h e x y ( h e x ) v a l u e w r i t t e n i n t o t h e i a p f a d h i r e g i s t e r ( t h e v a l u e 0 0 h m u s t b e w r i t t e n i n t o t h e i a p f a d l o r e g i s t e r s ) i f t h e y p o r t i o n o f t h e i a p f a d h i r e g i s t e r r e p r e s e n t s a n e v e n n u m b e r , t h e p a g e t h a t w i l l b e e r a s e d c o r r e s p o n d s t o t h e r a n g e x y 0 0 h t o x ( y + 1 ) f f h i f t h e y p o r t i o n o f t h e i a p f a d h i r e g i s t e r r e p r e s e n t s a n o d d n u m b e r , t h e p a g e t h a t w i l l b e e r a s e d c o r r e s p o n d s t o t h e r a n g e x ( y - 1 ) 0 0 h t o x y f f h t h e f o l l o w i n g e x a m p l e p r o g r a m s h o w s h o w t o e r a s e t h e p a g e c o r r e s p o n d i n g t o t h e a d d r e s s b 0 0 0 h - c f f f h ; * * e r a s e f l a s h p a g e l o c a t e d a t a d d r e s s b 0 0 0 h t o c f f f h . p a g e e r a s e : m o v i a p f d a t a , # 5 5 h ; s e q u e n c e t o e n a b l e w r i t i n g m o v i a p f d a t a , # 0 a a h ; t h e i a p s t a r t b i t m o v i a p f d a t a , # 5 5 h m o v s y s c o n , # 0 4 h ; e n a b l e i a p f u n c t i o n m o v i a p f a d h i , # 0 b 0 h ; s e t m s b o f p a g e a d d r e s s t o e r a s e m o v i a p f a d l o , # 0 0 h ; s e t l s b o f a d d r e s s = 0 0 m o v i a p f c t r l , # 8 2 h ; s e t t h e i a p s t a r t b i t
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 9 i a p c h i p e r a s e f u n c t i o n t h e i a p c h i p e r a s e f u n c t i o n w i l l e r a s e t h e e n t i r e f l a s h m e m o r y c o n t e n t w i t h t h e e x c e p t i o n o f t h e i s p b o o t p r o g r a m a r e a . r u n n i n g t h i s f u n c t i o n w i l l a l s o a u t o m a t i c a l l y u n p r o t e c t t h e f l a s h m e m o r y . i a p c h i p p r o t e c t f u n c t i o n t h e c h i p p r o t e c t f u n c t i o n w h e n e x e c u t e d m a k e s t h e c h i p f l a s h m e m o r y c o n t e n t t o r e a d a s 0 0 h w h e n a n a t t e m p t i s m a d e t o r e a d i t . p r o g r a m s t a t u s w o r d r e g i s t e r t h e r e g i s t e r b e l o w c o n t a i n s t h e p r o g r a m s t a t e f l a g s . t h e s e f l a g s m a y b e r e a d o r w r i t t e n t o b y t h e u s e r . t a b l e 1 1 : p r o g r a m s t a t u s w o r d r e g i s t e r ( p s w ) - s f r d o h 7 6 5 4 3 2 1 0 c y a c f 0 r s 1 r s 0 o v - p b i t m n e m o n i c d e s c r i p t i o n 7 c y c a r r y b i t 6 a c a u x i l i a r y c a r r y b i t f r o m b i t 3 t o 4 . 5 f 0 u s e r d e f i n e r f l a g 4 r s 1 r 0 - r 7 r e g i s t e r s b a n k s e l e c t b i t 0 3 r s 0 r 0 - r 7 r e g i s t e r s b a n k s e l e c t b i t 1 2 o v o v e r f l o w f l a g 1 - - 0 p p a r i t y f l a g r s 1 r s 0 a c t i v e b a n k a d d r e s s 0 0 0 0 0 h - 0 7 h 0 1 1 0 8 h - 0 f h 1 0 2 1 0 h - 1 7 h 1 1 3 1 8 - 1 f h d a t a p o i n t e r t h e v r s 1 0 0 0 h a s o n e 1 6 - b i t d a t a p o i n t e r . t h e d p t r i s a c c e s s e d t h r o u g h t w o s f r a d d r e s s e s : d p l l o c a t e d a t a d d r e s s 8 2 h a n d d p h l o c a t e d a t a d d r e s s 8 3 h . d a t a m e m o r y t h e v r s 1 0 0 0 h a s 1 k o f o n - c h i p r a m : 2 5 6 b y t e s a r e c o n f i g u r e d l i k e t h e i n t e r n a l m e m o r y s t r u c t u r e o f a s t a n d a r d 8 0 c 5 2 , w h i l e t h e r e m a i n i n g 7 6 8 b y t e s c a n b e a c c e s s e d u s i n g e x t e r n a l m e m o r y a d d r e s s i n g ( m o v x ) . f i g u r e 6 : v r s 1 0 0 0 d a t a m e m o r y u p p e r 1 2 8 b y t e s ( c a n o n l y b e a c c e s s e d i n i n d i r e c t a d d r e s s i n g m o d e ) l o w e r 1 2 8 b y t e s ( c a n b e a c c e s s e d i n i n d i r e c t a n d d i r e c t a d d r e s s i n g m o d e ) s f r ( c a n o n l y b e a c c e s s e d i n d i r e c t a d d r e s s i n g m o d e ) e x p a n d e d 7 6 8 b y t e s ( c a n b y a c c e s s e d b y d i r e c t e x t e r n a l a d d r e s s i n g m o d e , u s i n g t h e m o v x i n s t r u c t i o n ) ( x r a m e = 1 ) f f 8 0 0 2 f f 0 0 0 0 f f 8 0 7 f 0 0 b y d e f a u l t a f t e r r e s e t , t h e e x p a n d e d r a m a r e a i s d i s a b l e d . i t c a n b e e n a b l e d b y s e t t i n g t h e x r a m e b i t o f t h e s y s c o n r e g i s t e r l o c a t e d a t a d d r e s s b f h i n t h e s f r . l o w e r 1 2 8 b y t e s ( 0 0 h t o 7 f h , b a n k 0 & b a n k 1 ) t h e l o w e r 1 2 8 b y t e s o f d a t a m e m o r y ( f r o m 0 0 h t o 7 f h ) c a n b e s u m m a r i z e d i n t h e f o l l o w i n g p o i n t s : o a d d r e s s r a n g e 0 0 h t o 7 f h c a n b e a c c e s s e d i n d i r e c t a n d i n d i r e c t a d d r e s s i n g m o d e s . o a d d r e s s r a n g e 0 0 h t o 1 f h i n c l u d e s r 0 - r 7 r e g i s t e r s a r e a . o a d d r e s s r a n g e 2 0 h t o 2 f h i s b i t a d d r e s s a b l e . o a d d r e s s r a n g e 3 0 h t o 7 f h i s n o t b i t a d d r e s s a b l e a n d c a n b e u s e d a s g e n e r a l - p u r p o s e s t o r a g e . u p p e r 1 2 8 b y t e s ( 8 0 h t o f f h , b a n k 2 & b a n k 3 ) t h e u p p e r 1 2 8 b y t e s o f t h e d a t a m e m o r y r a n g i n g f r o m 8 0 h t o f f h c a n b e a c c e s s e d u s i n g i n d i r e c t a d d r e s s i n g o r b y u s i n g t h e b a n k m a p p i n g i n d i r e c t a d d r e s s i n g m o d e .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 0 e x p a n d e d r a m a c c e s s u s i n g t h e m o v x @ d p t r i n s t r u c t i o n ( 0 0 0 0 - 0 2 f f , b a n k 4 - b a n k 1 5 ) t h e 7 6 8 b y t e s o f t h e e x p a n d e d r a m d a t a m e m o r y o c c u p y a d d r e s s e s 0 0 0 0 h t o 0 2 f f h . i t c a n b e a c c e s s e d u s i n g e x t e r n a l d i r e c t a d d r e s s i n g ( i . e . u s i n g t h e m o v x i n s t r u c t i o n ) o r b y u s i n g b a n k m a p p i n g d i r e c t a d d r e s s i n g . n o t e t h a t i n t h e c a s e o f i n d i r e c t a d d r e s s i n g u s i n g t h e m o v x @ d p t r i n s t r u c t i o n , i f t h e a d d r e s s i s l a r g e r t h a n 0 2 f f h , t h e v r s 1 0 0 0 w i l l g e n e r a t e t h e e x t e r n a l m e m o r y c o n t r o l s i g n a l a u t o m a t i c a l l y . i n t e r n a l r a m c o n t r o l r e g i s t e r t h e 7 6 8 b y t e s o f e x p a n d e d r a m o f t h e v r s 1 0 0 0 c a n a l s o b e a c c e s s e d u s i n g t h e m o v x @ r n i n s t r u c t i o n ( w h e r e n = 0 , 1 ) . t h i s i n s t r u c t i o n i s o n l y a b l e t o a c c e s s d a t a i n a r a n g e o f 2 5 6 b y t e s . t h e i n t e r n a l r a m c o n t r o l r e g i s t e r r c o n a l l o w s u s e r s t o s e l e c t w h i c h p a r t o f t h e e x p a n d e d r a m w i l l b e t a r g e t e d b y t h e i n s t r u c t i o n , b y c o n f i g u r i n g t h e v a l u e o f t h e r a m s 0 a n d r a m s 1 b i t s . t h e d e f a u l t s e t t i n g o f t h e r a m s 1 a n d r a m s 0 b i t s i s 0 0 ( p a g e 0 ) . e a c h p a g e h a s 2 5 6 b y t e s . t a b l e 1 2 : i n t e r n a l r a m c o n t r o l r e g i s t e r ( r c o n ) - s f r 8 5 h 7 6 5 4 3 2 1 0 u n u s e d r a m s 1 r a m s 0 b i t m n e m o n i c d e s c r i p t i o n 7 u n u s e d - 6 u n u s e d - 5 u n u s e d - 4 u n u s e d - 3 u n u s e d - 2 u n u s e d - 1 r a m s 1 0 r a m s 0 t h e s e t w o b i t s a r e u s e d w i t h r n o f i n s t r u c t i o n m o v x @ r n , n = 1 , 0 f o r m a p p i n g ( s e e s e c t i o n o n e x t e n d e d 7 6 8 b y t e s ) r a m s 1 , r a m s 0 m a p p e d a r e a 0 0 0 0 0 h - 0 f f h 0 1 1 0 0 h - 1 f f h 1 0 2 0 0 h - 2 f f h 1 1 x y 0 0 h - x y f f * * e x t e r n a l l y g e n e r a t e d e x a m p l e : s u p p o s e t h a t r a m s 1 , r a m s 0 a r e s e t t o 0 a n d 1 r e s p e c t i v e l y a n d r n h a s a v a l u e o f 4 5 h . p e r f o r m i n g m o v x @ r n , a , ( w h e r e n i s 0 o r 1 ) a l l o w s t h e u s e r t o t r a n s f e r t h e v a l u e o f a t o t h e e x p a n d e d r a m a t a d d r e s s 1 4 5 h ( p a g e 1 ) . i t i s i m p o r t a n t t o n o t e t h a t w h e n b o t h r a m s 1 , r a m s 0 a r e s e t t o 1 , t h e v a l u e o f p 2 d e f i n e s t h e u p p e r b y t e o f t h e e x t e r n a l a d d r e s s a c c e s s e d . r n d e f i n e s t h e l o w e r b y t e o f t h e a d d r e s s . i n t h i s c a s e , t h e v r s 1 0 0 0 w i l l g e n e r a t e t h e e x t e r n a l m e m o r y c o n t r o l s i g n a l s a u t o m a t i c a l l y . t h i s a l l o w s u s e r s t o a c c e s s e x t e r n a l l y m a p p e d d e v i c e s i n t h e p 2 v a l u e 0 0 h t o p 2 v a l u e f f h r a n g e . d a t a b a n k c o n t r o l r e g i s t e r t h e d b a n k r e g i s t e r a l l o w s t h e u s e r t o e n a b l e t h e d a t a b a n k s e l e c t f u n c t i o n a n d m a p t h e e n t i r e c o n t e n t o f t h e r a m m e m o r y i n t h e r a n g e o f 4 0 h t o 7 f h f o r a p p l i c a t i o n s t h a t w o u l d r e q u i r e d i r e c t a d d r e s s i n g o f t h e e x p a n d e d r a m c o n t e n t . t h e d a t a b a n k s e l e c t f u n c t i o n i s a c t i v a t e d b y s e t t i n g t h e d a t a b a n k s e l e c t e n a b l e b i t ( b s e ) t o 1 . s e t t i n g t h i s b i t t o z e r o d i s a b l e s t h i s f u n c t i o n . t h e f o u r l e a s t s i g n i f i c a n t b i t s o f t h i s r e g i s t e r c o n t r o l s t h e m a p p i n g o f t h e e n t i r e 1 k b y t e o n - c h i p r a m s p a c e i n t o t h e 0 4 0 h - 0 7 f h r a n g e . t a b l e 1 3 : d a t a b a n k c o n t r o l r e g i s t e r ( d b a n k ) C s f r 8 6 h 7 6 5 4 3 2 1 0 b s e u n u s e d b s 3 b s 2 b s 1 b s 0 b i t m n e m o n i c d e s c r i p t i o n 7 b s e d a t a b a n k s e l e c t e n a b l e b i t b s e = 1 , d a t a b a n k s e l e c t e n a b l e d b s e = 0 , d a t a b a n k s e l e c t d i s a b l e d 6 u n u s e d - 5 u n u s e d - 4 u n u s e d - 3 b s 3 2 b s 2 1 b s 1 0 b s 0 a l l o w s t h e m a p p i n g o f t h e 1 k r a m i n t o t h e 0 4 0 h - 0 7 f h r a m s p a c e
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 1 t h e w i n d o w e d a c c e s s t o a l l t h e 1 k o n - c h i p r a m i n t h e r a n g e o f 4 0 h - 7 f h i s d e s c r i b e d i n t h e f o l l o w i n g t a b l e . t a b l e 1 4 : b a n k m a p p i n g d i r e c t a d d r e s s i n g m o d e b s 3 b s 2 b s 1 b s o 0 4 0 h ~ 0 7 f h m a p p i n g a d d r e s s n o t e 0 0 0 0 0 0 0 h - 0 3 f h l o w e r 1 2 8 b y t e r a m 0 0 0 1 0 4 0 h - 0 7 f h l o w e r 1 2 8 b y t e r a m 0 0 1 0 0 8 0 h - 0 b f h u p p e r 1 2 8 b y t e r a m 0 0 1 1 0 c 0 h - 0 f f h u p p e r 1 2 8 b y t e r a m 0 1 0 0 0 0 0 0 h - 0 0 3 f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 0 1 0 1 0 0 4 0 h - 0 0 7 f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 0 1 1 0 0 0 8 0 h - 0 0 b f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 0 1 1 1 0 0 c 0 h - 0 0 f f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 0 0 0 0 1 0 0 h - 0 1 3 f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 0 0 1 0 1 4 0 h - 0 1 7 f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 0 1 0 0 1 8 0 h - 0 1 b f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 0 1 1 0 1 c 0 h - 0 1 f f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 1 0 0 0 2 0 0 h - 0 2 3 f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 1 0 1 0 2 4 0 h - 0 2 7 f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 1 1 0 0 2 8 0 h - 0 2 b f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m 1 1 1 1 0 2 c 0 h - 0 2 f f h o n - c h i p e x p a n d e d 7 6 8 b y t e r a m e x a m p l e : u s e r w r i t e s # 5 5 h t o a d d r e s s 2 0 3 h : m o v d b a n k , # 8 c h ; s e t b a n k m a p p i n g 4 0 h - 0 7 f h t o 0 2 0 0 h - 0 2 3 f h m o v a , # 5 5 h ; s t o r e # 5 5 h t o a m o v 4 3 h , a ; w r i t e # 5 5 h t o 0 2 0 3 h ; a d d r e s s
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 2 d e s c r i p t i o n o f p e r i p h e r a l s s y s t e m c o n t r o l r e g i s t e r t h e r e g i s t e r r e p r e s e n t e d i n t h e n e x t t a b l e i s u s e d f o r s y s t e m c o n t r o l . b i t 7 i n d i c a t e s i f t h e s y s t e m h a s b e e n r e s e t d u e t o t h e o v e r f l o w o f t h e w a t c h d o g t i m e r . i t i s f o r t h i s r e a s o n t h a t u s e r s s h o u l d c h e c k t h e w d r b i t w h e n e v e r a n u n p r e d i c t e d r e s e t o c c u r s . t h e i a p e b i t i s u s e d t o e n a b l e a n d d i s a b l e t h e i a p f u n c t i o n . w h e n s e t t o 1 , t h e x r a m e b i t a l l o w s t h e u s e r t o e n a b l e t h e o n - c h i p e x p a n d e d 7 6 8 b y t e s o f r a m . b i t 0 o f t h i s r e g i s t e r i s t h e a l e o u t p u t i n h i b i t b i t . s e t t i n g t h i s b i t t o 1 w i l l i n h i b i t t h e f o s c / 6 h z c l o c k s i g n a l o u t p u t t o t h e a l e p i n . t a b l e 1 5 : s y s t e m c o n t r o l r e g i s t e r ( s y s c o n ) C s f r b f h 7 6 5 4 3 2 1 0 w d r u n u s e d i a p e x r a m e a l e i b i t m n e m o n i c d e s c r i p t i o n 7 w d r t h i s i s t h e w a t c h d o g t i m e r r e s e t b i t . i t w i l l b e s e t t o 1 w h e n t h e r e s e t s i g n a l g e n e r a t e d b y w d t o v e r f l o w s . 6 u n u s e d - 5 u n u s e d - 4 u n u s e d - 3 u n u s e d - 2 i a p e i a p f u n c t i o n e n a b l e b i t 1 x r a m e 7 6 8 b y t e o n - c h i p e n a b l e b i t 0 a l e i a l e o u t p u t i n h i b i t b i t , w h i c h i s u s e d t o r e d u c e e m i . p o w e r c o n t r o l r e g i s t e r t h e v r s 1 0 0 0 p r o v i d e s t w o p o w e r s a v i n g m o d e s : i d l e a n d p o w e r d o w n . t h e s e t w o m o d e s s e r v e t o r e d u c e t h e p o w e r c o n s u m p t i o n o f t h e d e v i c e . i n i d l e m o d e , t h e p r o c e s s o r i s s t o p p e d b u t t h e o s c i l l a t o r i s s t i l l r u n n i n g . t h e c o n t e n t o f t h e r a m , i / o s t a t e a n d s f r r e g i s t e r s a r e m a i n t a i n e d . t i m e r o p e r a t i o n i s m a i n t a i n e d , a s w e l l a s t h e e x t e r n a l i n t e r r u p t s . t h i s m o d e i s u s e f u l f o r a p p l i c a t i o n s i n w h i c h s t o p p i n g t h e p r o c e s s o r t o s a v e p o w e r i s r e q u i r e d . t h e p r o c e s s o r w i l l b e w o k e n u p w h e n a n e x t e r n a l e v e n t , t r i g g e r i n g a n i n t e r r u p t , o c c u r s . i n p o w e r d o w n m o d e , t h e o s c i l l a t o r o f t h e v r s 1 0 0 0 i s s t o p p e d . t h i s m e a n s t h a t a l l t h e p e r i p h e r a l s a r e d i s a b l e d . t h e c o n t e n t o f t h e r a m a n d t h e s f r r e g i s t e r s , h o w e v e r , i s m a i n t a i n e d . t h e s e p o w e r s a v i n g m o d e s a r e c o n t r o l l e d b y t h e p d o w n a n d i d l e b i t s o f t h e p c o n r e g i s t e r a t a d d r e s s 8 7 h . t a b l e 1 6 : p o w e r c o n t r o l r e g i s t e r ( p c o n ) - s f r 8 7 h 7 6 5 4 3 2 1 0 u n u s e d r a m s 1 r a m s 0 b i t m n e m o n i c d e s c r i p t i o n 7 s m o d 1 : d o u b l e t h e b a u d r a t e o f t h e s e r i a l p o r t f r e q u e n c y t h a t w a s g e n e r a t e d b y t i m e r 1 . 0 : n o r m a l s e r i a l p o r t b a u d r a t e g e n e r a t e d b y t i m e r 1 . 6 5 4 3 g f 1 g e n e r a l p u r p o s e f l a g 2 g f 0 g e n e r a l p u r p o s e f l a g 1 p d o w n p o w e r d o w n m o d e c o n t r o l b i t 0 i d l e i d l e m o d e c o n t r o l b i t
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 3 i n p u t / o u t p u t p o r t s t h e v r s 1 0 0 0 h a s 3 6 b i - d i r e c t i o n a l l i n e s g r o u p e d i n f o u r 8 - b i t i / o p o r t s a n d o n e 4 - b i t i / o p o r t . t h e s e i / o s c a n b e i n d i v i d u a l l y c o n f i g u r e d a s i n p u t o r o u t p u t e x c e p t f o r t h e p 0 i / o s , w h i c h a r e o f t h e o p e n d r a i n t y p e , e a c h i / o i s m a d e o f a t r a n s i s t o r c o n n e c t e d t o g r o u n d a n d a d y n a m i c p u l l - u p r e s i s t o r m a d e o f a c o m b i n a t i o n o f t r a n s i s t o r s . w r i t i n g a 0 i n a g i v e n i / o p o r t b i t r e g i s t e r w i l l a c t i v a t e t h e t r a n s i s t o r c o n n e c t e d t o g r o u n d , t h i s w i l l b r i n g t h e i / o t o a l o w l e v e l . w r i t i n g a 1 i n t o a g i v e n i / o p o r t b i t r e g i s t e r d e - a c t i v a t e s t h e t r a n s i s t o r b e t w e e n t h e p i n a n d g r o u n d . i n t h i s c a s e t h e p u l l - u p r e s i s t o r w i l l b r i n g t h e p i n t o a h i g h l e v e l . t o u s e a g i v e n i / o a s a n i n p u t , o n e m u s t w r i t e a 1 i n t o i t s a s s o c i a t e d p o r t r e g i s t e r b i t . b y d e f a u l t , u p o n r e s e t a l l t h e i / o s a r e c o n f i g u r e d a s i n p u t . g e n e r a l s t r u c t u r e o f a n i / o p o r t t h e f o l l o w i n g e l e m e n t s e s t a b l i s h t h e l i n k b e t w e e n t h e c o r e u n i t a n d t h e p i n s o f t h e m i c r o c o n t r o l l e r : s p e c i a l f u n c t i o n r e g i s t e r ( s a m e n a m e a s p o r t ) o u t p u t s t a g e a m p l i f i e r ( t h e s t r u c t u r e o f t h i s e l e m e n t v a r i e s w i t h i t s a u x i l i a r y f u n c t i o n ) f r o m t h e n e x t f i g u r e o n e m a y s e e t h a t t h e d f l i p - f l o p s t o r e s t h e v a l u e r e c e i v e d f r o m t h e i n t e r n a l b u s a f t e r r e c e i v i n g a w r i t e s i g n a l f r o m t h e c o r e . a l s o , n o t i c e t h a t t h e q o u t p u t o f t h e f l i p - f l o p c a n b e l i n k e d t o t h e i n t e r n a l b u s b y e x e c u t i n g a r e a d i n s t r u c t i o n . t h i s i s h o w o n e w o u l d r e a d t h e c o n t e n t o f t h e r e g i s t e r . i t i s a l s o p o s s i b l e t o l i n k t h e v a l u e o f t h e p i n t o t h e i n t e r n a l b u s . t h i s i s d o n e b y t h e r e a d p i n i n s t r u c t i o n . i n s h o r t , t h e u s e r m a y r e a d t h e v a l u e o f t h e r e g i s t e r o r t h e p i n . f i g u r e 7 : i n t e r n a l s t r u c t u r e o f o n e o f t h e e i g h t i / o p o r t l i n e s d f l i p - f l o p o u t p u t s t a g e qq i c p i n r e a d r e g i s t e r i n t e r n a l b u s w r i t e t o r e g i s t e r r e a d p i n s t r u c t u r e o f t h e p 1 , p 2 a n d p 3 p o r t s t h e f o l l o w i n g f i g u r e g i v e s a g e n e r a l i d e a o f t h e s t r u c t u r e o f o n e o f t h e l i n e s o f t h e p 1 , p 2 a n d p 3 p o r t s . f o r e a c h p o r t , t h e o u t p u t s t a g e i s c o m p o s e d o f a t r a n s i s t o r ( x 1 ) a n d 3 o t h e r p u l l - u p t r a n s i s t o r s . i t i s i m p o r t a n t t o n o t e t h a t t h e f i g u r e b e l o w d o e s n o t s h o w t h e i n t e r m e d i a r y l o g i c t h a t c o n n e c t s t h e o u t p u t o f t h e r e g i s t e r a n d t h e o u t p u t s t a g e t o g e t h e r b e c a u s e t h i s l o g i c v a r i e s w i t h t h e a u x i l i a r y f u n c t i o n o f e a c h p o r t . f i g u r e 8 : g e n e r a l s t r u c t u r e o f t h e o u t p u t s t a g e o f p 1 , p 2 a n d p 3 d f l i p - f l o p qq i c p i n r e a d r e g i s t e r i n t e r n a l b u s w r i t e t o r e g i s t e r r e a d p i n v c c p u l l - u p n e t w o r k x 1 e a c h l i n e m a y b e u s e d i n d e p e n d e n t l y a s a l o g i c a l i n p u t o r o u t p u t . w h e n u s e d a s a n i n p u t , a s m e n t i o n e d e a r l i e r , t h e c o r r e s p o n d i n g b i t r e g i s t e r m u s t b e h i g h . t h i s w o u l d c o r r e s p o n d t o q = 1 a n d ( q = 0 ) i n t h e a b o v e f i g u r e .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 4 t h e t r a n s i s t o r w o u l d b e o f f ( o p e n - c i r c u i t e d ) a n d c u r r e n t w o u l d f l o w f r o m t h e v c c t o t h e p i n , g e n e r a t i n g a l o g i c a l h i g h a t t h e o u t p u t . a l s o , n o t e t h a t i f a n e x t e r n a l d e v i c e w i t h a l o g i c a l l o w v a l u e i s c o n n e c t e d t o t h e p i n , t h e c u r r e n t w i l l f l o w o u t o f t h e p i n . i n o r d e r t o h a v e a r e a l b i - d i r e c t i o n a l o u t p u t , t h e i n p u t s h o u l d b e i n a h i g h i m p e d a n c e s t a t e . i t i s f o r t h i s r e a s o n t h a t w e c a l l p o r t s p 1 , p 2 , p 3 a n d p 4 q u a s i b i - d i r e c t i o n a l . s t r u c t u r e o f p o r t 0 t h e i n t e r n a l s t r u c t u r e o f p 0 i s s h o w n i n t h e n e x t f i g u r e . t h e a u x i l i a r y f u n c t i o n o f t h i s p o r t r e q u i r e s a p a r t i c u l a r l o g i c . a s o p p o s e d t o t h e o t h e r p o r t s , p 0 i s t r u l y b i - d i r e c t i o n a l . i n o t h e r w o r d s , w h e n u s e d a s a n i n p u t , i t i s c o n s i d e r e d t o b e i n a f l o a t i n g l o g i c a l s t a t e ( h i g h i m p e d a n c e s t a t e ) . t h i s a r i s e s f r o m t h e a b s e n c e o f t h e i n t e r n a l p u l l - u p r e s i s t a n c e . t h e p u l l - u p r e s i s t a n c e i s a c t u a l l y r e p l a c e d b y a t r a n s i s t o r t h a t i s o n l y u s e d w h e n t h e p o r t f u n c t i o n s t o a c c e s s e x t e r n a l m e m o r y / d a t a b u s ( e a = 0 ) . w h e n u s e d a s a n i / o p o r t , p 0 a c t s a s a n o p e n d r a i n p o r t a n d t h e u s e o f a n e x t e r n a l p u l l - u p r e s i s t o r i s l i k e l y t o b e r e q u i r e d f o r m o s t a p p l i c a t i o n s . f i g u r e 9 : p o r t p 0 s p a r t i c u l a r s t r u c t u r e d f l i p - f l o p qq i c p i n r e a d r e g i s t e r i n t e r n a l b u s w r i t e t o r e g i s t e r r e a d p i n x 1 c o n t r o l a d d r e s s a 0 / a 7 v c c w h e n p 0 i s u s e d a s a n e x t e r n a l m e m o r y b u s i n p u t ( f o r a m o v x i n s t r u c t i o n , f o r e x a m p l e ) , t h e o u t p u t s o f t h e r e g i s t e r a r e a u t o m a t i c a l l y f o r c e d t o 1 . p o r t p 0 a n d p 2 a s a d d r e s s a n d d a t a b u s t h e o u t p u t s t a g e m a y r e c e i v e d a t a f r o m t w o s o u r c e s o t h e o u t p u t s o f r e g i s t e r p 0 o r t h e b u s a d d r e s s i t s e l f m u l t i p l e x e d w i t h t h e d a t a b u s f o r p 0 . o t h e o u t p u t s o f t h e p 2 r e g i s t e r o r t h e h i g h p a r t ( a 8 / a 1 5 ) o f t h e b u s a d d r e s s f o r t h e p 2 p o r t . f i g u r e 1 0 : p 2 p o r t s t r u c t u r e d f l i p - f l o p qq i c p i n r e a d r e g i s t e r i n t e r n a l b u s w r i t e t o r e g i s t e r r e a d p i n v c c p u l l - u p n e t w o r k x 1 c o n t r o l a d d r e s s w h e n t h e p o r t s a r e u s e d a s a n a d d r e s s o r d a t a b u s , t h e s p e c i a l f u n c t i o n r e g i s t e r s p 0 a n d p 2 a r e d i s c o n n e c t e d f r o m t h e o u t p u t s t a g e . t h e 8 b i t s o f t h e p 0 r e g i s t e r a r e f o r c e d t o 1 a n d t h e c o n t e n t o f t h e p 2 r e g i s t e r r e m a i n s c o n s t a n t . a u x i l i a r y p o r t 1 f u n c t i o n s t h e p o r t 1 i / o p i n s a r e s h a r e d w i t h t h e p w m o u t p u t s , t i m e r 2 e x t a n d t 2 i n p u t s a s s h o w n b e l o w : p i n m n e m o n i c f u n c t i o n p 1 . 0 t 2 t i m e r 2 c o u n t e r i n p u t p 1 . 1 t 2 e x t i m e r 2 a u x i l i a r y i n p u t p 1 . 2 p 1 . 3 p w m 0 p w m 0 o u t p u t p 1 . 4 p w m 1 p w m 1 o u t p u t p 1 . 5 p w m 2 p w m 2 o u t p u t p 1 . 6 p w m 3 p w m 3 o u t p u t p 1 . 7 p w m 4 p w m 4 o u t p u t
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 5 a u x i l i a r y p 3 p o r t f u n c t i o n s t h e p o r t 3 i / o p i n s a r e s h a r e d w i t h t h e u a r t i n t e r f a c e , i n t 0 a n d i n t 1 i n t e r r u p t s , t i m e r 0 a n d t i m e r 1 i n p u t s a n d f i n a l l y t h e # w r a n d # r d l i n e s w h e n e x t e r n a l m e m o r y a c c e s s i s p e r f o r m e d . t o m a i n t a i n t h e c o r r e c t f u n c t i o n a l i t y o f t h e l i n e i n a u x i l i a r y f u n c t i o n m o d e , i t i s n e c e s s a r y t h a t t h e q o u t p u t o f r e g i s t e r i s h e l d s t a b l e a t 1 . c o n v e r s e l y , i f t h e p u l l - d o w n t r a n s i s t o r c o n t i n u e s c o n d u c t i n g , i t w i l l s e t t h e i c p i n a t a v o l t a g e o f a p p r o x i m a t e l y 0 . f i g u r e 1 1 : p 3 p o r t s t r u c t u r e d f l i p - f l o p qq i c p i n r e a d r e g i s t e r i n t e r n a l b u s w r i t e t o r e g i s t e r r e a d p i n x 1 v c c a u x i l i a r y f u n c t i o n : i n p u t a u x i l i a r y f u n c t i o n : o u t p u t t h e f o l l o w i n g t a b l e d e s c r i b e s t h e a u x i l i a r y f u n c t i o n o f t h e p o r t 3 i / o p i n s . t a b l e 1 7 : p 3 a u x i l i a r y f u n c t i o n t a b l e p i n m n e m o n i c f u n c t i o n p 3 . 0 r x d s e r i a l p o r t : r e c e i v e d a t a i n a s y n c h r o n o u s m o d e . i n p u t a n d o u t p u t d a t a i n s y n c h r o n o u s m o d e . p 3 . 1 t x d s e r i a l p o r t : t r a n s m i t d a t a i n a s y n c h r o n o u s m o d e . o u t p u t c l o c k v a l u e i n s y n c h r o n o u s m o d e . p 3 . 2 i n t 0 e x t e r n a l i n t e r r u p t 0 t i m e r 0 c o n t r o l i n p u t p 3 . 3 i n t 1 e x t e r n a l i n t e r r u p t 1 t i m e r 1 c o n t r o l i n p u t p 3 . 4 t 0 t i m e r 0 c o u n t e r i n p u t p 3 . 5 t 1 t i m e r 1 c o u n t e r i n p u t p 3 . 6 w r w r i t e s i g n a l f o r e x t e r n a l m e m o r y p 3 . 7 r d r e a d s i g n a l f o r e x t e r n a l m e m o r y p o r t 4 p o r t 4 h a s f o u r p i n s a n d i t s p o r t a d d r e s s i s l o c a t e d a t 0 d 8 h . t a b l e 1 8 : p o r t 4 ( p 4 ) - s f r d 8 h 7 6 5 4 3 2 1 0 u n u s e d p 4 . 3 p 4 . 2 p 4 . 1 p 4 . 0 b i t m n e m o n i c d e s c r i p t i o n 7 u n u s e d - 6 u n u s e d - 5 u n u s e d - 4 u n u s e d - 3 p 4 . 3 2 p 4 . 2 1 p 4 . 1 0 p 4 . 0 u s e d t o o u t p u t t h e s e t t i n g t o p i n s p 4 . 3 , p 4 . 2 , p 4 . 1 , p 4 . 0 r e s p e c t i v e l y . s o f t w a r e p a r t i c u l a r i t i e s c o n c e r n i n g t h e p o r t s s o m e i n s t r u c t i o n s a l l o w t h e u s e r t o r e a d t h e l o g i c s t a t e o f t h e o u t p u t p i n , w h i l e o t h e r s a l l o w t h e u s e r t o r e a d t h e c o n t e n t o f t h e a s s o c i a t e d p o r t r e g i s t e r . t h e s e i n s t r u c t i o n s a r e c a l l e d r e a d - m o d i f y - w r i t e i n s t r u c t i o n s . a l i s t o f t h e s e i n s t r u c t i o n s m a y b e f o u n d i n t h e t a b l e b e l o w . u p o n e x e c u t i o n o f t h e s e i n s t r u c t i o n s , t h e c o n t e n t o f t h e p o r t r e g i s t e r ( a t l e a s t 1 b i t ) i s m o d i f i e d . t h e o t h e r r e a d i n s t r u c t i o n s t a k e t h e p r e s e n t s t a t e o f t h e i n p u t i n t o a c c o u n t . f o r e x a m p l e , t h e i n s t r u c t i o n a n l p 3 , # 0 1 h o b t a i n s t h e v a l u e i n t h e p 3 r e g i s t e r ; p e r f o r m s t h e d e s i r e d l o g i c o p e r a t i o n w i t h t h e c o n s t a n t 0 1 h ; a n d r e c o p i e s t h e r e s u l t i n t o t h e p 3 r e g i s t e r . w h e n u s e r s w a n t t o t a k e t h e p r e s e n t s t a t e o f t h e i n p u t s i n t o a c c o u n t , t h e y m u s t f i r s t r e a d t h e s e s t a t e s a n d p e r f o r m a n a n d o p e r a t i o n b e t w e e n t h e r e a d i n g a n d t h e c o n s t a n t .          
                                                !       "     w h e n t h e p o r t i s u s e d a s a n o u t p u t , t h e r e g i s t e r c o n t a i n s i n f o r m a t i o n o n t h e s t a t e o f t h e o u t p u t p i n s . m e a s u r i n g t h e s t a t e o f a n o u t p u t d i r e c t l y o n t h e p i n i s i n a c c u r a t e b e c a u s e t h e e l e c t r i c a l l e v e l d e p e n d s m o s t l y o n t h e t y p e o f c h a r g e t h a t i s a p p l i e d t o i t . t h e f u n c t i o n s s h o w n b e l o w t a k e t h e v a l u e o f t h e r e g i s t e r r a t h e r t h a n t h a t o f t h e p i n .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 6 t a b l e 1 9 : l i s t o f i n s t r u c t i o n s t h a t r e a d a n d m o d i f y t h e p o r t u s i n g r e g i s t e r v a l u e s i n s t r u c t i o n f u n c t i o n a n l l o g i c a l a n d e x : a n l p 0 , a o r l l o g i c a l o r e x : o r l p 2 , # 0 1 1 1 0 0 0 0 b x r l e x c l u s i v e o r e x : x r l p 1 , a j b c j u m p i f t h e b i t o f t h e p o r t i s s e t t o 0 c p l c o m p l e m e n t o n e b i t o f t h e p o r t i n c i n c r e m e n t t h e p o r t r e g i s t e r b y 1 d e c d e c r e m e n t t h e p o r t r e g i s t e r b y 1 d j n z d e c r e m e n t b y 1 a n d j u m p i f t h e r e s u l t i s n o t e q u a l t o 0 m o v p . , c c o p y t h e h e l d b i t c t o t h e p o r t c l r p . x s e t t h e p o r t b i t t o 0 s e t b p . x s e t t h e p o r t b i t t o 1 p o r t o p e r a t i o n t i m i n g w r i t i n g t o a p o r t ( o u t p u t ) w h e n a n o p e r a t i o n i n d u c e s a m o d i f i c a t i o n o f t h e c o n t e n t i n a p o r t r e g i s t e r , t h e n e w v a l u e i s p l a c e d a t t h e o u t p u t o f t h e d f l i p - f l o p d u r i n g t h e t 1 2 p e r i o d o f t h e l a s t m a c h i n e c y c l e t h a t t h e i n s t r u c t i o n n e e d e d t o e x e c u t e . i t i s i m p o r t a n t t o n o t e , h o w e v e r , t h a t t h e o u t p u t s t a g e o n l y s a m p l e s t h e o u t p u t o f t h e r e g i s t e r s o n t h e p 1 p h a s e o f e a c h p e r i o d . i t f o l l o w s t h a t t h e n e w v a l u e o n l y a p p e a r s a t t h e o u t p u t a f t e r t h e t 1 2 p e r i o d o f t h e f o l l o w i n g m a c h i n e c y c l e . r e a d i n g a p o r t ( i n p u t ) t h e r e a d i n g o f a n i / o p i n t a k e s p l a c e : o d u r i n g t 9 c y c l e f o r p 0 , p 1 o d u r i n g t 1 0 c y c l e f o r p 2 , p 3 w h e n t h e p o r t s a r e c o n f i g u r e d a s i / o s i n o r d e r t o g e t s a m p l e d , t h e s i g n a l d u r a t i o n p r e s e n t o n t h e i / o i n p u t s m u s t h a v e a d u r a t i o n l o n g e r t h a n f o s c / 1 2 . i / o p o r t s d r i v i n g c a p a b i l i t y t h e m a x i m u m a l l o w a b l e c o n t i n u o u s c u r r e n t t h a t t h e d e v i c e c a n s i n k o n i / o p o r t i s d e f i n e d b y t h e f o l l o w i n g m a x i m u m s i n k c u r r e n t o n o n e g i v e n i / o 1 0 m a m a x i m u m t o t a l s i n k c u r r e n t f o r p 0 2 6 m a m a x i m u m t o t a l s i n k c u r r e n t f o r p 1 , 2 , 3 1 5 m a m a x i m u m t o t a l s i n k c u r r e n t f o r p 4 2 0 m a m a x i m u m t o t a l s i n k c u r r e n t o n a l l i / o 9 1 m a o n t h e v r s 1 0 0 0 , t h e p o r t 4 o u t p u t b u f f e r s c a n s i n k u p t o 2 0 m a , w h i c h r e n d e r p o s s i b l e d i r e c t d r i v i n g o f l e d d i s p l a y s . i t i s n o t r e c o m m e n d e d t o e x c e e d t h e s i n k c u r r e n t e x p r e s s e d i n t h e a b o v e t a b l e . d o i n g s o i s l i k e l y t o m a k e t h e l o w - l e v e l o u t p u t v o l t a g e e x c e e d t h e d e v i c e s s p e c i f i c a t i o n a n d i t i s l i k e l y t o a f f e c t t h e d e v i c e s r e l i a b i l i t y . t h e v r s 1 0 0 0 i / o p o r t s a r e n o t d e s i g n e d t o s o u r c e c u r r e n t .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 7 t i m e r s t h e v r s 1 0 0 0 i n c l u d e s t h r e e 1 6 - b i t t i m e r s : t 0 , t 1 a n d t 2 . t h e t i m e r s c a n o p e r a t e i n t w o s p e c i f i c m o d e s : o e v e n t c o u n t i n g m o d e o t i m e r m o d e w h e n o p e r a t i n g i n e v e n t c o u n t i n g m o d e , t h e c o u n t e r i s i n c r e m e n t e d e a c h t i m e a n e x t e r n a l e v e n t , s u c h a s a t r a n s i t i o n i n t h e l o g i c a l s t a t e o f t h e t i m e r i n p u t ( t 0 , t 1 , t 2 i n p u t ) , i s d e t e c t e d . w h e n o p e r a t i n g i n t i m e r m o d e , t h e c o u n t e r i s i n c r e m e n t e d b y t h e m i c r o c o n t r o l l e r s d i r e c t c l o c k p u l s e o r b y a d i v i d e d v e r s i o n o f t h i s p u l s e . t i m e r 0 a n d t i m e r 1 t i m e r s 0 a n d 1 h a v e f o u r m o d e s o f o p e r a t i o n . t h e s e m o d e s a l l o w t h e u s e r t o c h a n g e t h e s i z e o f t h e c o u n t i n g r e g i s t e r o r t o a u t h o r i z e a n a u t o m a t i c r e l o a d w h e n p r o v i d e d w i t h a s p e c i f i c v a l u e . t i m e r 1 c a n e v e n b e u s e d a s a b a u d r a t e g e n e r a t o r t o g e n e r a t e c o m m u n i c a t i o n f r e q u e n c i e s f o r t h e s e r i a l i n t e r f a c e . t i m e r 1 a n d t i m e r 0 a r e c o n f i g u r e d b y t h e t m o d a n d t c o n r e g i s t e r s . t a b l e 2 0 : t i m e r m o d e c o n t r o l r e g i s t e r ( t m o d ) C s f r 8 9 h 7 6 5 4 3 2 1 0 g a t e c / t m 1 m 0 g a t e c / t m 1 . 0 m 0 . 0 b i t m n e m o n i c d e s c r i p t i o n 7 g a t e 1 1 : e n a b l e s e x t e r n a l g a t e c o n t r o l ( p i n i n t 1 f o r c o u n t e r 1 ) . w h e n i n t 1 i s h i g h , a n d t r x b i t i s s e t ( s e e t c o n r e g i s t e r ) , a c o u n t e r i s i n c r e m e n t e d e v e r y f a l l i n g e d g e o n t h e t 1 i n i n p u t p i n . 6 c / t 1 s e l e c t s t i m e r o r c o u n t e r o p e r a t i o n ( t i m e r 1 ) . 1 = a c o u n t e r o p e r a t i o n i s p e r f o r m e d 0 = t h e c o r r e s p o n d i n g r e g i s t e r w i l l f u n c t i o n a s a t i m e r . 5 m 1 . 1 s e l e c t s m o d e f o r t i m e r / c o u n t e r 1 4 m 0 . 1 s e l e c t s m o d e f o r t i m e r / c o u n t e r 1 3 g a t e 0 i f s e t , e n a b l e s e x t e r n a l g a t e c o n t r o l ( p i n i n t 0 f o r c o u n t e r 0 ) . w h e n i n t 0 i s h i g h , a n d t r x b i t i s s e t ( s e e t c o n r e g i s t e r ) , a c o u n t e r i s i n c r e m e n t e d e v e r y f a l l i n g e d g e o n t h e t 0 i n i n p u t p i n . 2 c / t 0 s e l e c t s t i m e r o r c o u n t e r o p e r a t i o n ( t i m e r 0 ) . 1 = a c o u n t e r o p e r a t i o n i s p e r f o r m e d 0 = t h e c o r r e s p o n d i n g r e g i s t e r w i l l f u n c t i o n a s a t i m e r . 1 m 1 . 0 s e l e c t s m o d e f o r t i m e r / c o u n t e r 0 . 0 m 0 . 0 s e l e c t s m o d e f o r t i m e r / c o u n t e r 0 . t h e t a b l e b e l o w s u m m a r i z e s t h e f o u r m o d e s o f o p e r a t i o n o f t i m e r s 0 a n d 1 . t h e t i m e r o p e r a t i n g m o d e i s s e l e c t e d b y t h e b i t s m 1 a n d m 0 o f t h e t m o d r e g i s t e r . t a b l e 2 1 : t i m e r / c o u n t e r m o d e d e s c r i p t i o n s u m m a r y m 1 m 0 m o d e f u n c t i o n 0 0 m o d e 0 1 3 - b i t c o u n t e r 0 1 m o d e 1 1 6 - b i t c o u n t e r 1 0 m o d e 2 8 - b i t a u t o - r e l o a d c o u n t e r / t i m e r . t h e r e l o a d v a l u e i s k e p t i n t h 0 o r t h 1 , w h i l e t l 0 o r t l 1 i s i n c r e m e n t e d e v e r y m a c h i n e c y c l e . w h e n t l x o v e r f l o w s , t h e v a l u e o f t h x i s c o p i e d t o t l x . 1 1 m o d e 3 i f t i m e r 1 m 1 a n d m 0 b i t s a r e s e t t o 1 , t i m e r 1 s t o p s .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 8 t i m e r 0 / t i m e r 1 c o u n t e r / t i m e r f u n c t i o n s t i m i n g f u n c t i o n w h e n o p e r a t i n g a s a t i m e r , t h e c o u n t e r i s a u t o m a t i c a l l y i n c r e m e n t e d a t e v e r y m a c h i n e c y c l e . a f l a g i s r a i s e d i n t h e e v e n t t h a t a n o v e r f l o w o c c u r s a n d t h e c o u n t e r a c q u i r e s a v a l u e o f z e r o . t h e s e f l a g s ( t f 0 a n d t f 1 ) a r e l o c a t e d i n t h e t c o n r e g i s t e r . t a b l e 2 2 : t i m e r 0 a n d 1 c o n t r o l r e g i s t e r ( t c o n ) C s f r 8 8 h 7 6 5 4 3 2 1 0 t f 1 t r 1 t f 0 t r 0 i e 1 i t 1 i e 0 i t 0 b i t m n e m o n i c d e s c r i p t i o n 7 t f 1 t i m e r 1 o v e r f l o w f l a g . s e t b y h a r d w a r e o n t i m e r / c o u n t e r o v e r f l o w . c l e a r e d b y h a r d w a r e o n t i m e r / c o u n t e r o v e r f l o w . c l e a r e d b y h a r d w a r e w h e n p r o c e s s o r v e c t o r s t o i n t e r r u p t r o u t i n e . 6 t r 1 t i m e r 1 r u n c o n t r o l b i t . s e t / c l e a r e d b y s o f t w a r e t o t u r n t i m e r / c o u n t e r o n o r o f f . 5 t f 0 t i m e r 0 o v e r f l o w f l a g . s e t b y h a r d w a r e o n t i m e r / c o u n t e r o v e r f l o w . c l e a r e d b y h a r d w a r e w h e n p r o c e s s o r v e c t o r s t o i n t e r r u p t r o u t i n e . 4 t r 0 t i m e r 0 r u n c o n t r o l b i t . s e t / c l e a r e d b y s o f t w a r e t o t u r n t i m e r / c o u n t e r o n o r o f f . 3 i e 1 i n t e r r u p t e d g e f l a g . s e t b y h a r d w a r e w h e n e x t e r n a l i n t e r r u p t e d g e i s d e t e c t e d . c l e a r e d w h e n i n t e r r u p t p r o c e s s e d . 2 i t 1 i n t e r r u p t 1 t y p e c o n t r o l b i t . s e t / c l e a r e d b y s o f t w a r e t o s p e c i f y f a l l i n g e d g e / l o w l e v e l t r i g g e r e d e x t e r n a l i n t e r r u p t s . 1 i e 0 i n t e r r u p t 0 e d g e f l a g . s e t b y h a r d w a r e w h e n e x t e r n a l i n t e r r u p t e d g e i s d e t e c t e d . c l e a r e d w h e n i n t e r r u p t p r o c e s s e d . 0 i t 0 i n t e r r u p t 0 t y p e c o n t r o l b i t . s e t / c l e a r e d b y s o f t w a r e t o s p e c i f y f a l l i n g e d g e / l o w l e v e l t r i g g e r e d e x t e r n a l i n t e r r u p t s . c o u n t i n g f u n c t i o n w h e n o p e r a t i n g a s a c o u n t e r , t h e t i m e r s r e g i s t e r i s i n c r e m e n t e d a t e v e r y f a l l i n g e d g e o f t h e t 0 , t 1 a n d t 2 s i g n a l s l o c a t e d a t t h e i n p u t o f t h e t i m e r . i n t h i s c a s e , t h e s i g n a l i s s a m p l e d a t t h e t 1 0 p h a s e o f e a c h m a c h i n e c y c l e f o r t i m e r 0 , t i m e r 1 a n d t 9 f o r t i m e r 2 . w h e n t h e s a m p l e r s e e s a h i g h i m m e d i a t e l y f o l l o w e d b y a l o w i n t h e n e x t m a c h i n e c y c l e , t h e c o u n t e r i s i n c r e m e n t e d . t w o m a c h i n e c y c l e s a r e r e q u i r e d t o d e t e c t a n d r e c o r d a n e v e n t . t h i s r e d u c e s t h e c o u n t i n g f r e q u e n c y b y a f a c t o r o f 2 4 ( 2 4 t i m e s l e s s t h a n t h e o s c i l l a t o r s f r e q u e n c y ) . t i m e r 0 / t i m e r 1 o p e r a t i n g m o d e s t h e u s e r m a y c h a n g e t h e o p e r a t i n g m o d e b y v a r y i n g t h e m 1 a n d m 0 b i t s o f t h e t m o d s f r . m o d e 0 a s c h e m a t i c r e p r e s e n t a t i o n o f t h i s m o d e o f o p e r a t i o n c a n b e f o u n d i n t h e f i g u r e b e l o w . i n m o d e 0 , t h e t i m e r o p e r a t e s a s a n 8 - b i t c o u n t e r p r e c e d e d b y a d i v i d e - b y - 3 2 p r e s c a l e r m a d e o f t h e 5 l s b o f t l 1 . t h e r e g i s t e r o f t h e c o u n t e r i s c o n f i g u r e d t o b e 1 3 b i t s l o n g . w h e n a n o v e r f l o w c a u s e s t h e v a l u e o f t h e r e g i s t e r t o r o l l o v e r t o 0 , t h e t f x i n t e r r u p t s i g n a l g o e s t o 1 . t h e c o u n t v a l u e i s v a l i d a t e d a s s o o n a s t r x g o e s t o 1 a n d t h e g a t e b i t i s 0 , o r w h e n i n t x i s 1 . f i g u r e 1 2 : t i m e r / c o u n t e r 1 m o d e 0 : 1 3 - b i t c o u n t e r c l k 1 2 t 1 p i n c / t = 0 c / t = 1 t r 1 g a t e i n t 1 p i n 01 0 7 4 m o d e 0 m o d e 1 0 7 t l 1 t f 1 i n t t h 1 c l k c o n t r o l m o d e 1 m o d e 1 i s a l m o s t i d e n t i c a l t o m o d e 0 . t h e y d i f f e r i n t h a t , i n m o d e 1 , t h e c o u n t e r u s e s t h e f u l l 1 6 b i t s a n d h a s n o p r e s c a l e r . m o d e 2 i n t h i s m o d e , t h e r e g i s t e r o f t h e t i m e r i s c o n f i g u r e d a s a n 8 - b i t a u t o m a t i c a l l y r e - l o a d a b l e c o u n t e r . i n m o d e 2 , i t i s t h e l o w e r b y t e t l x t h a t i s u s e d a s t h e c o u n t e r . i n t h e e v e n t o f a c o u n t e r o v e r f l o w , t h e t f x f l a g i s s e t t o 1 a n d t h e v a l u e c o n t a i n e d i n t h x , w h i c h i s p r e s e t b y s o f t w a r e , i s r e l o a d e d i n t o t h e t l x c o u n t e r . t h e v a l u e o f t h x r e m a i n s u n c h a n g e d .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 1 9 f i g u r e 1 3 : t i m e r / c o u n t e r 1 m o d e 2 : 8 - b i t a u t o m a t i c r e l o a d 1 2 t 1 p i n c / t = 0 c / t = 1 t r 1 g a t e 01 0 7 t h 1 c l k t f 1 i n t 0 7 i n t 0 p i n t l 1 c o n t r o l r e l o a d m o d e 3 i n m o d e 3 t h e t i m e r 1 i s b l o c k e d a s i f i t s c o n t r o l b i t , t r 1 , w a s s e t t o 0 . i n t h i s m o d e , t i m e r 0 s r e g i s t e r s t l 0 a n d t h 0 a r e c o n f i g u r e d a s t w o s e p a r a t e 8 - b i t c o u n t e r s . a l s o , t h e t l 0 c o u n t e r u s e s t i m e r 0 s c o n t r o l b i t s c / t , g a t e , t r 0 , i n t 0 , t f 0 a n d t h e t h 0 c o u n t e r i s h e l d i n t i m e r m o d e ( c o u n t i n g m a c h i n e c y c l e s ) a n d g a i n s c o n t r o l o v e r t r 1 a n d t f 1 f r o m t i m e r 1 . a t t h i s p o i n t , t h 0 c o n t r o l s t h e t i m e r 1 i n t e r r u p t . f i g u r e 1 4 : t i m e r / c o u n t e r 0 m o d e 3 c l k 1 2 t 0 p i n c / t = 0 c / t = 1 t r 0 g a t e i n t 0 p i n 01 0 7 t l 0 t f 0 c l k c o n t r o l i n t e r r u p t 0 7 t h 0 t f 1 c l k c o n t r o l i n t e r r u p t t r 1 t i m e r 2 t i m e r 2 o f t h e v r s 1 0 0 0 i s a 1 6 - b i t t i m e r / c o u n t e r . s i m i l a r t o t i m e r s 0 a n d 1 , t i m e r 2 c a n o p e r a t e e i t h e r a s a n e v e n t c o u n t e r o r a s a t i m e r . t h e u s e r m a y s w i t c h f u n c t i o n s b y w r i t i n g t o t h e c / t 2 b i t l o c a t e d i n t h e t 2 c o n s p e c i a l f u n c t i o n r e g i s t e r . t i m e r 2 h a s t h r e e o p e r a t i n g m o d e s : a u t o - l o a d c a p t u r e , a n d b a u d r a t e g e n e r a t o r . t h e t 2 c o n s f r c o n f i g u r e s t h e m o d e s o f o p e r a t i o n o f t i m e r 2 . t h e t a b l e b e l o w d e s c r i b e s e a c h b i t i n t h e t 2 c o n s p e c i a l f u n c t i o n r e g i s t e r . t a b l e 2 3 : t i m e r 2 c o n t r o l r e g i s t e r ( t 2 c o n ) C s f r c 8 h 7 6 5 4 3 2 1 0 t f 2 e x f 2 r c l k t c l k e x e n 2 t r 2 c / t 2 c p / r l 2 b i t m n e m o n i c d e s c r i p t i o n 7 t f 2 t i m e r 2 o v e r f l o w f l a g : s e t b y a n o v e r f l o w o f t i m e r 2 a n d m u s t b e c l e a r e d b y s o f t w a r e . t f 2 w i l l n o t b e s e t w h e n e i t h e r r c l k = 1 o r t c l k = 1 . 6 e x f 2 t i m e r 2 e x t e r n a l f l a g c h a n g e i n s t a t e o c c u r s w h e n e i t h e r a c a p t u r e o r r e l o a d i s c a u s e d b y a n e g a t i v e t r a n s i t i o n o n t 2 e x a n d e x e n 2 = 1 . w h e n t i m e r 2 i s e n a b l e d , e x f = 1 w i l l c a u s e t h e c p u t o v e c t o r t o t h e t i m e r 2 i n t e r r u p t r o u t i n e . n o t e t h a t e x f 2 m u s t b e c l e a r e d b y s o f t w a r e . 5 r c l k s e r i a l p o r t r e c e i v e c l o c k s o u r c e . 1 : c a u s e s s e r i a l p o r t t o u s e t i m e r 2 o v e r f l o w p u l s e s f o r i t s r e c e i v e c l o c k i n m o d e s 1 a n d 3 . 0 : c a u s e s t i m e r 1 o v e r f l o w t o b e u s e d f o r t h e s e r i a l p o r t r e c e i v e c l o c k . 4 t c l k s e r i a l p o r t t r a n s m i t c l o c k . 1 : c a u s e s s e r i a l p o r t t o u s e t i m e r 2 o v e r f l o w p u l s e s f o r i t s t r a n s m i t c l o c k i n m o d e s 1 a n d 3 . 0 : c a u s e s t i m e r 1 o v e r f l o w t o b e u s e d f o r t h e s e r i a l p o r t t r a n s m i t c l o c k . 3 e x e n 2 t i m e r 2 e x t e r n a l m o d e e n a b l e . 1 : a l l o w s a c a p t u r e o r r e l o a d t o o c c u r a s a r e s u l t o f a n e g a t i v e t r a n s i t i o n o n t 2 e x i f t i m e r 2 i s n o t b e i n g u s e d t o c l o c k t h e s e r i a l p o r t . 0 : c a u s e s t i m e r 2 t o i g n o r e e v e n t s a t t 2 e x . 2 t r 2 s t a r t / s t o p c o n t r o l f o r t i m e r 2 . 1 : s t a r t t i m e r 2 0 : s t o p t i m e r 2 1 c / t 2 t i m e r o r c o u n t e r s e l e c t ( t i m e r 2 ) 1 : e x t e r n a l e v e n t c o u n t e r f a l l i n g e d g e t r i g g e r e d . 0 : i n t e r n a l t i m e r ( o s c / 1 2 ) 0 c p / r l 2 c a p t u r e / r e l o a d s e l e c t . 1 : c a p t u r e o f t i m e r 2 v a l u e i n t o r c a p 2 h , r c a p 2 l i s p e r f o r m e d i f e x e n 2 = 1 a n d a n e g a t i v e t r a n s i t i o n s o c c u r s o n t h e t 2 e x p i n . t h e c a p t u r e m o d e r e q u i r e s r c l k a n d t c l k t o b e 0 . 0 : a u t o - r e l o a d r e l o a d s w i l l o c c u r e i t h e r w i t h t i m e r 2 o v e r f l o w s o r n e g a t i v e t r a n s i t i o n s a t t 2 e x w h e n e x e n 2 = 1 . w h e n e i t h e r r c k = 1 o r t c l k = 1 , t h i s b i t i s i g n o r e d a n d t h e t i m e r i s f o r c e d t o a u t o - r e l o a d o n t i m e r 2 o v e r f l o w .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 0 t h e p o s s i b l e c o m b i n a t i o n s o f c o n t r o l b i t s t h a t m a y b e u s e d f o r t h e m o d e s e l e c t i o n o f t i m e r 2 a r e s h o w n b e l o w : t a b l e 2 4 : t i m e r 2 m o d e s e l e c t i o n b i t s r c l k + t c l k c p / r l 2 t r 2 m o d e 0 0 1 1 6 - b i t a u t o - r e l o a d m o d e 0 1 1 1 6 - b i t c a p t u r e m o d e 1 x 1 b a u d r a t e g e n e r a t o r m o d e x x 0 o f f t h e d e t a i l s o f e a c h m o d e a r e d e s c r i b e d b e l o w . t i m e r 2 c a p t u r e m o d e i n c a p t u r e m o d e t h e e x e n 2 b i t v a l u e d e f i n e s i f t h e e x t e r n a l t r a n s i t i o n o n t h e t 2 e x p i n w i l l b e a b l e t o t r i g g e r t h e c a p t u r e o f t h e t i m e r v a l u e . w h e n e x e n 2 = 0 , t i m e r 2 a c t s a s a 1 6 - b i t t i m e r o r c o u n t e r , w h i c h , u p o n o v e r f l o w i n g , w i l l s e t b i t t f 2 ( t i m e r 2 o v e r f l o w b i t ) . t h i s o v e r f l o w c a n b e u s e d t o g e n e r a t e a n i n t e r r u p t . f i g u r e 1 5 : t i m e r 2 i n c a p t u r e m o d e f o s c 1 2 t i m e r c o u n t e r c / t 2 01 t 2 p i n t r 2 t 2 e x p i n 0 7 0 7 0 7 0 7 t i m e r 2 i n t e r r u p t e x f 2 e x e n 2 r c a p 2 l r c a p 2 h t l 2 t h 2 t f 2 w h e n e x e n 2 = 1 , t h e a b o v e s t i l l a p p l i e s . i n a d d i t i o n , i t i s p o s s i b l e t o a l l o w a 1 t o 0 t r a n s i t i o n a t t h e t 2 e x i n p u t t o c a u s e t h e c u r r e n t v a l u e s t o r e d i n t h e t i m e r 2 r e g i s t e r s ( t l 2 a n d t h 2 ) t o b e c a p t u r e d i n t o t h e r c a p 2 l a n d r c a p 2 h r e g i s t e r s . f u r t h e r m o r e , t h e t r a n s i t i o n a t t 2 e x c a u s e s b i t e x f 2 i n t 2 c o n t o b e s e t , a n d e x f 2 , l i k e t f 2 , c a n g e n e r a t e a n i n t e r r u p t . n o t e t h a t b o t h e x f 2 a n d t f 2 s h a r e t h e s a m e i n t e r r u p t v e c t o r . t i m e r 2 a u t o - r e l o a d m o d e i n t h i s m o d e , t h e r e a r e a l s o t w o o p t i o n s . t h e u s e r m a y c h o o s e e i t h e r o p t i o n b y w r i t i n g t o b i t e x e n 2 i n t 2 c o n . i f e x e n 2 = 0 , w h e n t i m e r 2 r o l l s o v e r , i t n o t o n l y s e t s t f 2 , b u t a l s o c a u s e s t h e t i m e r 2 r e g i s t e r s t o b e r e l o a d e d w i t h t h e 1 6 - b i t v a l u e i n t h e r c a p 2 l a n d r c a p 2 h r e g i s t e r s p r e v i o u s l y i n i t i a l i s e d . i n t h i s m o d e , t i m e r 2 c a n b e u s e d a s a b a u d r a t e g e n e r a t o r s o u r c e f o r t h e s e r i a l p o r t . i f e x e n 2 = 1 , t h e n t i m e r 2 s t i l l p e r f o r m s t h e a b o v e o p e r a t i o n , b u t a 1 t o 0 t r a n s i t i o n a t t h e e x t e r n a l t 2 e x i n p u t w i l l a l s o t r i g g e r a n a n t i c i p a t e d r e l o a d o f t h e t i m e r 2 w i t h t h e v a l u e s t o r e d i n r c a p 2 l , r c a p 2 h a n d s e t e x f 2 . f i g u r e 1 6 : t i m e r 2 i n a u t o - r e l o a d m o d e f o s c 1 2 t i m e r c o u n t e r c / t 2 01 t 2 p i n t r 2 t 2 e x p i n 0 7 0 7 0 7 0 7 t i m e r 2 i n t e r r u p t e x f 2 e x e n 2 r c a p 2 l r c a p 2 h t l 2 t h 2 t f 2
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 1 t i m e r 2 b a u d r a t e g e n e r a t o r m o d e t h i s m o d e i s a c t i v a t e d w h e n r c l k i s s e t t o 1 a n d / o r t c l k i s s e t t o 1 . t h i s m o d e w i l l b e d e s c r i b e d i n t h e s e r i a l p o r t s e c t i o n . f i g u r e 1 7 : t i m e r 2 i n a u t o m a t i c b a u d g e n e r a t o r m o d e f o s c 2 t i m e r c o u n t e r c / t 2 01 t 2 p i n t r 2 t 2 e x p i n 0 7 0 7 0 7 0 7 e x f 2 e x e n 2 r c a p 2 l r c a p 2 h t l 2 t h 2 2 1 6 1 6 s m o d 01 t i m e r 1 o v e r f l o w 0 1 0 1 t c l k r c l k t x c l o c k r x c l o c k t i m e r 2 i n t e r r u p t r e q u e s t u a r t s e r i a l p o r t t h e s e r i a l p o r t o n t h e v r s 1 0 0 0 c a n o p e r a t e i n f u l l d u p l e x ; i n o t h e r w o r d s , i t c a n t r a n s m i t a n d r e c e i v e d a t a s i m u l t a n e o u s l y . t h i s o c c u r s a t t h e s a m e s p e e d i f o n e t i m e r i s a s s i g n e d a s t h e c l o c k s o u r c e f o r b o t h t r a n s m i s s i o n a n d r e c e p t i o n , a n d a t d i f f e r e n t s p e e d s i f t r a n s m i s s i o n a n d r e c e p t i o n a r e e a c h c o n t r o l l e d b y t h e i r o w n t i m e r . t h e s e r i a l p o r t r e c e i v e i s b u f f e r e d , w h i c h m e a n s t h a t i t c a n b e g i n r e c e p t i o n o f a b y t e e v e n i f t h e o n e p r e v i o u s l y r e c e i v e d b y t e h a s n o t b e e n r e t r i e v e d f r o m t h e r e c e i v e r e g i s t e r b y t h e p r o c e s s o r . h o w e v e r , i f t h e f i r s t b y t e s t i l l h a s n o t b e e n r e a d b y t h e t i m e r e c e p t i o n o f t h e s e c o n d b y t e i s c o m p l e t e , t h e b y t e p r e s e n t i n t h e r e c e i v e b u f f e r w i l l b e l o s t . o n e s f r r e g i s t e r , s b u f , g i v e s a c c e s s t o t h e t r a n s m i t a n d r e c e i v e r e g i s t e r s o f t h e s e r i a l p o r t . w h e n u s e r s r e a d f r o m t h e s b u f r e g i s t e r , t h e y w i l l a c c e s s t h e r e c e i v e r e g i s t e r . w h e n u s e r s w r i t e t o t h e s b u f , t h e t r a n s m i t r e g i s t e r w i l l b e l o a d e d . u a r t c o n t r o l r e g i s t e r t h e s e r i a l p o r t c o n t r o l r e g i s t e r a n d s t a t u s r e g i s t e r ( s c o n ) c o n t a i n t h e 9 t h d a t a b i t f o r t r a n s m i t a n d r e c e i v e ( t b 8 a n d r b 8 ) a n d a l l t h e m o d e s e l e c t i o n b i t s . s c o n a l s o c o n t a i n s t h e s e r i a l p o r t i n t e r r u p t b i t s ( t i a n d r i ) . t a b l e 2 5 : s e r i a l p o r t c o n t r o l r e g i s t e r ( s c o n ) C s f r 9 8 h 7 6 5 4 3 2 1 0 s m 0 s m 1 s m 2 r e n t b 8 r b 8 t i r i b i t m n e m o n i c d e s c r i p t i o n 7 s m 0 b i t t o s e l e c t m o d e o f o p e r a t i o n ( s e e t a b l e b e l o w ) 6 s m 1 b i t t o s e l e c t m o d e o f o p e r a t i o n ( s e e t a b l e b e l o w ) 5 s m 2 m u l t i p r o c e s s o r c o m m u n i c a t i o n i s p o s s i b l e i n m o d e s 2 a n d 3 . i n m o d e s 2 o r 3 i f s m 2 i s s e t t o 1 , r i w i l l n o t b e a c t i v a t e d i f t h e r e c e i v e d 9 t h d a t a b i t ( r b 8 ) i s 0 . i n m o d e 1 , i f s m 2 = 1 t h e n r i w i l l n o t b e a c t i v a t e d i f a v a l i d s t o p b i t w a s n o t r e c e i v e d . 4 r e n s e r i a l r e c e p t i o n e n a b l e b i t t h i s b i t m u s t b e s e t b y s o f t w a r e a n d c l e a r e d b y s o f t w a r e . 1 : s e r i a l r e c e p t i o n e n a b l e d 0 : s e r i a l r e c e p t i o n d i s a b l e d 3 t b 8 9 t h d a t a b i t t r a n s m i t t e d i n m o d e s 2 a n d 3 t h i s b i t m u s t b e s e t b y s o f t w a r e a n d c l e a r e d b y s o f t w a r e . 2 r b 8 9 t h d a t a b i t r e c e i v e d i n m o d e s 2 a n d 3 . i n m o d e 1 , i f s m 2 = 0 , r b 8 i s t h e s t o p b i t t h a t w a s r e c e i v e d . i n m o d e 0 , t h i s b i t i s n o t u s e d . t h i s b i t m u s t b e c l e a r e d b y s o f t w a r e . 1 t i t r a n s m i s s i o n i n t e r r u p t f l a g . a u t o m a t i c a l l y s e t t o 1 w h e n : t h e 8 t h b i t h a s b e e n s e n t i n m o d e 0 . a u t o m a t i c a l l y s e t t o 1 w h e n t h e s t o p b i t h a s b e e n s e n t i n t h e o t h e r m o d e s . t h i s b i t m u s t b e c l e a r e d b y s o f t w a r e . 0 r i r e c e p t i o n i n t e r r u p t f l a g a u t o m a t i c a l l y s e t t o 1 w h e n : t h e 8 t h b i t h a s b e e n r e c e i v e d i n m o d e 0 . a u t o m a t i c a l l y s e t t o 1 w h e n t h e s t o p b i t h a s b e e n s e n t i n t h e o t h e r m o d e s ( s e e s m 2 e x c e p t i o n ) . t h i s b i t m u s t b e c l e a r e d b y s o f t w a r e .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 2 t a b l e 2 6 : s e r i a l p o r t m o d e s o f o p e r a t i o n s m 0 s m 1 m o d e d e s c r i p t i o n b a u d r a t e 0 0 0 s h i f t r e g i s t e r f o s c / 1 2 0 1 1 8 - b i t u a r t v a r i a b l e 1 0 2 9 - b i t u a r t f o s c / 6 4 o r f o s c / 3 2 1 1 3 9 - b i t u a r t v a r i a b l e u a r t o p e r a t i n g m o d e s t h e v r s 1 0 0 0 s s e r i a l p o r t c a n o p e r a t e i n f o u r d i f f e r e n t m o d e s . i n a l l f o u r m o d e s , a t r a n s m i s s i o n i s i n i t i a t e d b y a n i n s t r u c t i o n t h a t u s e s t h e s b u f s f r a s a d e s t i n a t i o n r e g i s t e r . i n m o d e 0 , r e c e p t i o n i s i n i t i a t e d b y s e t t i n g r i t o 0 a n d r e n t o 1 . a n i n c o m i n g s t a r t b i t i n i t i a t e s r e c e p t i o n i n t h e o t h e r m o d e s p r o v i d e d t h a t r e n i s s e t t o 1 . t h e f o l l o w i n g p a r a g r a p h s d e s c r i b e t h e f o u r m o d e s . u a r t o p e r a t i o n i n m o d e 0 i n t h i s m o d e , t h e s e r i a l d a t a e x i t s a n d e n t e r s t h r o u g h t h e r x d p i n . t x d i s u s e d t o o u t p u t t h e s h i f t c l o c k . t h e s i g n a l i s c o m p o s e d o f 8 d a t a b i t s s t a r t i n g w i t h t h e l s b . t h e b a u d r a t e i n t h i s m o d e i s 1 / 1 2 t h e o s c i l l a t o r f r e q u e n c y . f i g u r e 1 8 : s e r i a l p o r t m o d e 0 b l o c k d i a g r a m u a r t t r a n s m i s s i o n i n m o d e 0 a n y i n s t r u c t i o n t h a t u s e s s b u f a s a d e s t i n a t i o n r e g i s t e r m a y i n i t i a t e a t r a n s m i s s i o n . t h e w r i t e t o s b u f s i g n a l a l s o l o a d s a 1 i n t o t h e 9 t h p o s i t i o n o f t h e t r a n s m i t s h i f t r e g i s t e r a n d t e l l s t h e t x c o n t r o l b l o c k t o b e g i n a t r a n s m i s s i o n . t h e i n t e r n a l t i m i n g i s s u c h t h a t o n e f u l l m a c h i n e c y c l e w i l l e l a p s e b e t w e e n a w r i t e t o s b u f i n s t r u c t i o n a n d t h e a c t i v a t i o n o f s e n d . t h e s e n d s i g n a l e n a b l e s t h e o u t p u t o f t h e s h i f t r e g i s t e r t o t h e a l t e r n a t e o u t p u t f u n c t i o n l i n e o f p 3 . 0 a n d e n a b l e s s h i f t c l o c k t o t h e a l t e r n a t e o u t p u t f u n c t i o n l i n e o f p 3 . 1 . s h i f t c l o c k i s h i g h d u r i n g t 1 1 , t 1 2 a n d t 1 , t 2 a n d t 3 , t 4 o f e v e r y m a c h i n e c y c l e a n d l o w d u r i n g t 5 , t 6 , t 7 , t 8 , t 9 a n d t 1 0 . a t t 1 2 o f e v e r y m a c h i n e c y c l e i n w h i c h s e n d i s a c t i v e , t h e c o n t e n t s o f t h e t r a n s m i t s h i f t r e g i s t e r a r e s h i f t e d t o t h e r i g h t b y o n e p o s i t i o n . z e r o s c o m e i n f r o m t h e l e f t a s d a t a b i t s s h i f t o u t t o t h e r i g h t . t h e t x c o n t r o l b l o c k s e n d s i t s f i n a l s h i f t a n d d e - a c t i v a t e s s e n d w h i l e s e t t i n g t 1 a f t e r o n e c o n d i t i o n i s f u l f i l l e d : w h e n t h e m s b o f t h e d a t a b y t e i s a t t h e o u t p u t p o s i t i o n o f t h e s h i f t r e g i s t e r ; t h e 1 t h a t w a s i n i t i a l l y l o a d e d i n t o t h e 9 t h p o s i t i o n i s j u s t t o t h e l e f t o f t h e m s b ; a n d a l l p o s i t i o n s t o t h e l e f t o f t h a t c o n t a i n z e r o s . o n c e t h e s e c o n d i t i o n s a r e m e t , t h e d e - a c t i v a t i o n o f s e n d a n d t h e s e t t i n g o f t 1 o c c u r a t t 1 o f t h e 1 0 t h m a c h i n e c y c l e a f t e r t h e w r i t e t o s b u f p u l s e . u a r t r e c e p t i o n i n m o d e 0 w h e n r e n a n d r 1 a r e s e t t o 1 a n d 0 r e s p e c t i v e l y , r e c e p t i o n i s i n i t i a t e d . t h e b i t s 1 1 1 1 1 1 1 0 a r e w r i t t e n t o t h e r e c e i v e s h i f t r e g i s t e r a t t 1 2 o f t h e n e x t m a c h i n e c y c l e b y t h e r x c o n t r o l u n i t . i n t h e f o l l o w i n g p h a s e , t h e r x c o n t r o l u n i t w i l l a c t i v a t e r e c e i v e . s h i f t c l o c k t o t h e a l t e r n a t e o u t p u t f u n c t i o n l i n e o f p 3 . 1 i s e n a b l e d b y r e c e i v e . a t e v e r y m a c h i n e c y c l e , s h i f t c l o c k m a k e s t r a n s i t i o n s a t t 5 a n d t 1 1 . t h e c o n t e n t s o f t h e r e c e i v e s h i f t r e g i s t e r a r e s h i f t e d o n e p o s i t i o n t o t h e l e f t a t t 1 2 o f e v e r y m a c h i n e i n w h i c h r e c e i v e i s a c t i v e . t h e v a l u e t h a t c o m e s i n f r o m t h e r i g h t i s t h e v a l u e t h a t w a s s a m p l e d a t t h e p 3 . 0 p i n a t t 1 0 o f t h e s a m e m a c h i n e c y c l e . i n t e r n a l b u s s b u f d s q z e r o d e t e c t o r c l k 1 w r i t e t o s b u f t x c o n t r o l u n i t s t a r t t x c l o c k s h i f t s e n d r x c o n t r o l u n i t r i t i 1 1 1 1 1 1 1 0 r x c l o c k s t a r t s h i f t r e c e i v e s h i f t r e g i s t e r s b u f i n t e r n a l b u s r e a d s b u f r e n r i r x d p 3 . 0 i n p u t f u n c t i o n r x d p 3 . 0 t x d p 3 . 1 s h i f t c l o c k f o s c / 1 2 s e r i a l p o r t i n t e r r u p t s h i f t r x d p 3 . 0
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 3 1 s a r e s h i f t e d o u t t o t h e l e f t a s d a t a b i t s a r e s h i f t e d i n f r o m t h e r i g h t . t h e r x c o n t r o l b l o c k i s f l a g g e d t o d o o n e l a s t s h i f t a n d l o a d s b u f w h e n t h e 0 t h a t w a s i n i t i a l l y l o a d e d i n t o t h e r i g h t m o s t p o s i t i o n a r r i v e s a t t h e l e f t m o s t p o s i t i o n i n t h e s h i f t r e g i s t e r . u a r t o p e r a t i o n i n m o d e 1 f o r a n o p e r a t i o n i n m o d e 1 , 1 0 b i t s a r e t r a n s m i t t e d ( t h r o u g h t x d ) o r r e c e i v e d ( t h r o u g h r x d ) . t h e t r a n s a c t i o n s a r e c o m p o s e d o f : a s t a r t b i t ( l o w ) ; 8 d a t a b i t s ( l s b f i r s t ) a n d o n e s t o p b i t ( h i g h ) . t h e r e c e p t i o n i s c o m p l e t e d o n c e t h e s t o p b i t s e t s t h e r b 8 f l a g i n t h e s c o n r e g i s t e r . e i t h e r t i m e r 1 o r t i m e r 2 c o n t r o l s t h e b a u d r a t e i n t h i s m o d e . t h e f o l l o w i n g d i a g r a m s h o w s t h e s e r i a l p o r t s t r u c t u r e w h e n c o n f i g u r e d i n m o d e 1 . f i g u r e 1 9 : s e r i a l p o r t m o d e 1 a n d 3 b l o c k d i a g r a m i n t e r n a l b u s s b u f d s q z e r o d e t e c t o r c l k 1 w r i t e t o s b u f t x c o n t r o l u n i t s t a r t t x c l o c k d a t a s e n d r x c o n t r o l u n i t r i t i r x c l o c k s t a r t s h i f t 9 - b i t s h i f t r e g i s t e r s b u f i n t e r n a l b u s r e a d s b u f l o a d s b u f s e r i a l p o r t i n t e r r u p t s h i f t b i t d e t e c t o r 1 6 1 6 1 - 0 t r a n s i t i o n d e t e c t o r r x d 2 t i m e r 2 o v e r f l o w t i m e r 1 o v e r f l o w r c l k t c l k s m o d 0 10 1 0 1 l o a d s b u f s h i f t t x d u a r t t r a n s m i s s i o n i n m o d e 1 t r a n s m i s s i o n i s i n i t i a t e d b y a n y i n s t r u c t i o n t h a t m a k e s u s e o f s b u f a s a d e s t i n a t i o n r e g i s t e r . t h e 9 t h b i t p o s i t i o n o f t h e t r a n s m i t s h i f t r e g i s t e r i s l o a d e d b y t h e w r i t e t o s b u f s i g n a l . t h i s e v e n t a l s o f l a g s t h e t x c o n t r o l u n i t t h a t a t r a n s m i s s i o n h a s b e e n r e q u e s t e d . i t i s a f t e r t h e n e x t r o l l o v e r i n t h e d i v i d e - b y - 1 6 c o u n t e r w h e n t r a n s m i s s i o n a c t u a l l y b e g i n s a t t 1 o f t h e m a c h i n e c y c l e . i t f o l l o w s t h a t t h e b i t t i m e s a r e s y n c h r o n i z e d t o t h e d i v i d e - b y - 1 6 c o u n t e r a n d n o t t o t h e w r i t e t o s b u f s i g n a l .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 4 w h e n a t r a n s m i s s i o n b e g i n s , i t p l a c e s t h e s t a r t b i t a t t x d . d a t a t r a n s m i s s i o n i s a c t i v a t e d o n e b i t t i m e l a t e r . t h i s a c t i v a t i o n e n a b l e s t h e o u t p u t b i t o f t h e t r a n s m i t s h i f t r e g i s t e r t o t x d . o n e b i t t i m e a f t e r t h a t , t h e f i r s t s h i f t p u l s e o c c u r s . i n t h i s m o d e , z e r o s a r e c l o c k e d i n f r o m t h e l e f t a s d a t a b i t s a r e s h i f t e d o u t t o t h e r i g h t . w h e n t h e m o s t s i g n i f i c a n t b i t o f t h e d a t a b y t e i s a t t h e o u t p u t p o s i t i o n o f t h e s h i f t r e g i s t e r , t h e 1 t h a t w a s i n i t i a l l y l o a d e d i n t o t h e 9 t h p o s i t i o n i s t o t h e i m m e d i a t e l e f t o f t h e m s b , a n d a l l p o s i t i o n s t o t h e l e f t o f t h a t c o n t a i n z e r o s . t h i s c o n d i t i o n f l a g s t h e t x c o n t r o l u n i t t o s h i f t o n e m o r e t i m e . u a r t r e c e p t i o n i n m o d e 1 o n e t o z e r o t r a n s i t i o n s a t r x d i n i t i a t e r e c e p t i o n . i t i s f o r t h i s r e a s o n t h a t r x d i s s a m p l e d a t a r a t e o f 1 6 m u l t i p l i e d b y t h e b a u d r a t e t h a t h a s b e e n e s t a b l i s h e d . w h e n a t r a n s i t i o n i s d e t e c t e d , 1 f f h i s w r i t t e n i n t o t h e i n p u t s h i f t r e g i s t e r a n d t h e d i v i d e - b y - 1 6 c o u n t e r i s i m m e d i a t e l y r e s e t . t h e d i v i d e - b y - 1 6 c o u n t e r i s r e s e t i n o r d e r t o a l i g n i t s r o l l o v e r s w i t h t h e b o u n d a r i e s o f t h e i n c o m i n g b i t t i m e s . i n t o t a l , t h e r e a r e 1 6 s t a t e s i n t h e c o u n t e r . d u r i n g t h e 7 t h , 8 t h a n d 9 t h c o u n t e r s t a t e s o f e a c h b i t t i m e ; t h e b i t d e t e c t o r s a m p l e s t h e v a l u e o f r x d . t h e a c c e p t e d v a l u e i s t h e v a l u e t h a t w a s s e e n i n a t l e a s t t w o o f t h e t h r e e s a m p l e s . t h e p u r p o s e o f d o i n g t h i s i s f o r n o i s e r e j e c t i o n . i f t h e v a l u e a c c e p t e d d u r i n g t h e f i r s t b i t t i m e i s n o t z e r o , t h e r e c e i v e c i r c u i t s a r e r e s e t a n d t h e u n i t g o e s b a c k t o s e a r c h i n g f o r a n o t h e r o n e t o z e r o t r a n s i t i o n . a l l f a l s e s t a r t b i t s a r e r e j e c t e d b y d o i n g t h i s . i f t h e s t a r t b i t i s v a l i d , i t i s s h i f t e d i n t o t h e i n p u t s h i f t r e g i s t e r , a n d t h e r e c e p t i o n o f t h e r e s t o f t h e f r a m e w i l l p r o c e e d . f o r a r e c e i v e o p e r a t i o n , t h e d a t a b i t s c o m e i n f r o m t h e r i g h t a s 1 s s h i f t o u t o n t h e l e f t . a s s o o n a s t h e s t a r t b i t a r r i v e s a t t h e l e f t m o s t p o s i t i o n i n t h e s h i f t r e g i s t e r , ( 9 - b i t r e g i s t e r ) , i t t e l l s t h e r x c o n t r o l b l o c k t o p e r f o r m o n e l a s t s h i f t o p e r a t i o n : t o s e t r i a n d t o l o a d s b u f a n d r b 8 . t h e s i g n a l t o l o a d s b u f a n d r b 8 , a n d t o s e t r i , w i l l b e g e n e r a t e d i f , a n d o n l y i f , t h e f o l l o w i n g c o n d i t i o n s a r e m e t a t t h e t i m e t h e f i n a l s h i f t p u l s e i s g e n e r a t e d : o e i t h e r s m 2 = 0 o r t h e r e c e i v e d s t o p b i t = 1 o r i = 0 i f b o t h c o n d i t i o n s a r e m e t , t h e s t o p b i t g o e s i n t o r b 8 , t h e 8 d a t a b i t s g o i n t o s b u f , a n d r i i s a c t i v a t e d . i f o n e o f t h e s e c o n d i t i o n s i s n o t m e t , t h e r e c e i v e d f r a m e i s c o m p l e t e l y l o s t . a t t h i s t i m e , w h e t h e r t h e a b o v e c o n d i t i o n s a r e m e t o r n o t , t h e u n i t g o e s b a c k t o s e a r c h i n g f o r a o n e t o z e r o t r a n s i t i o n i n r x d . u a r t o p e r a t i o n i n m o d e 2 i n m o d e 2 a t o t a l o f 1 1 b i t s a r e t r a n s m i t t e d ( t h r o u g h t x d ) o r r e c e i v e d ( t h r o u g h r x d ) . t h e t r a n s a c t i o n s a r e c o m p o s e d o f : a s t a r t b i t ( l o w ) , 8 d a t a b i t s ( l s b f i r s t ) , a p r o g r a m m a b l e 9 t h d a t a b i t , a n d o n e s t o p b i t ( h i g h ) . f o r t r a n s m i s s i o n , t h e 9 t h d a t a b i t c o m e s f r o m t h e t b 8 b i t o f s c o n . f o r e x a m p l e , t h e p a r i t y b i t p i n t h e p s w c o u l d b e m o v e d i n t o t b 8 . i n t h e c a s e o f r e c e i v e , t h e 9 t h d a t a b i t i s a u t o m a t i c a l l y w r i t t e n i n t o r b 8 o f t h e s c o n r e g i s t e r . i n m o d e 2 , t h e b a u d r a t e i s p r o g r a m m a b l e t o e i t h e r 1 / 3 2 o r 1 / 6 4 t h e o s c i l l a t o r f r e q u e n c y . f i g u r e 2 0 : s e r i a l p o r t m o d e 2 b l o c k d i a g r a m i n t e r n a l b u s s b u f d s q z e r o d e t e c t o r c l k 1 w r i t e t o s b u f t x c o n t r o l u n i t s t a r t t x c l o c k d a t a s e n d r x c o n t r o l u n i t r i t i r x c l o c k c o n t r o l s t a r t s h i f t 9 - b i t s h i f t r e g i s t e r s b u f i n t e r n a l b u s r e a d s b u f l o a d s b u f s e r i a l p o r t i n t e r r u p t s h i f t b i t d e t e c t o r 1 6 1 6 1 - 0 t r a n s i t i o n d e t e c t o r r x d 2 f o s c / 2 s m o d 0 1 l o a d s b u f s h i f t t x d s t o p s a m p l e
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 5 u a r t o p e r a t i o n i n m o d e 3 i n m o d e 3 , 1 1 b i t s a r e t r a n s m i t t e d ( t h r o u g h t x d ) o r r e c e i v e d ( t h r o u g h r x d ) . t h e t r a n s a c t i o n s a r e c o m p o s e d o f : a s t a r t b i t ( l o w ) , 8 d a t a b i t s ( l s b f i r s t ) , a p r o g r a m m a b l e 9 t h d a t a b i t , a n d o n e s t o p b i t ( h i g h ) . m o d e 3 i s i d e n t i c a l t o m o d e 2 i n a l l r e s p e c t s b u t o n e : t h e b a u d r a t e . e i t h e r t i m e r 1 o r t i m e r 2 g e n e r a t e s t h e b a u d r a t e i n m o d e 3 . f i g u r e 2 1 : s e r i a l p o r t m o d e 3 b l o c k d i a g r a m u a r t i n m o d e 2 a n d 3 : a d d i t i o n a l i n f o r m a t i o n a s m e n t i o n e d e a r l i e r , f o r a n o p e r a t i o n i n m o d e s 2 a n d 3 , 1 1 b i t s a r e t r a n s m i t t e d ( t h r o u g h t x d ) o r r e c e i v e d ( t h r o u g h r x d ) . t h e s i g n a l c o m p r i s e s : a l o g i c a l l o w s t a r t b i t , 8 d a t a b i t s ( l s b f i r s t ) , a p r o g r a m m a b l e 9 t h d a t a b i t , a n d o n e l o g i c a l h i g h s t o p b i t . o n t r a n s m i t , ( t b 8 i n s c o n ) c a n b e a s s i g n e d t h e v a l u e o f 0 o r 1 . o n r e c e i v e ; t h e 9 t h d a t a b i t g o e s i n t o r b 8 i n s c o n . t h e b a u d r a t e i s p r o g r a m m a b l e t o e i t h e r 1 / 3 2 o r 1 / 6 4 t h e o s c i l l a t o r f r e q u e n c y i n m o d e 2 . m o d e 3 m a y h a v e a v a r i a b l e b a u d r a t e g e n e r a t e d f r o m e i t h e r t i m e r 1 o r t i m e r 2 d e p e n d i n g o n t h e s t a t e s o f t c l k a n d r c l k . u a r t t r a n s m i s s i o n i n m o d e 2 a n d m o d e 3 t h e t r a n s m i s s i o n i s i n i t i a t e d b y a n y i n s t r u c t i o n t h a t m a k e s u s e o f s b u f a s t h e d e s t i n a t i o n r e g i s t e r . t h e 9 t h b i t p o s i t i o n o f t h e t r a n s m i t s h i f t r e g i s t e r i s l o a d e d b y t h e w r i t e t o s b u f s i g n a l . t h i s e v e n t a l s o i n f o r m s t h e t x c o n t r o l u n i t t h a t a t r a n s m i s s i o n h a s b e e n r e q u e s t e d . a f t e r t h e n e x t r o l l o v e r i n t h e d i v i d e - b y - 1 6 c o u n t e r , a t r a n s m i s s i o n a c t u a l l y b e g i n s a t t 1 o f t h e m a c h i n e c y c l e . i t f o l l o w s t h a t t h e b i t t i m e s a r e s y n c h r o n i z e d t o t h e d i v i d e - b y - 1 6 c o u n t e r a n d n o t t o t h e w r i t e t o s b u f s i g n a l , a s i n t h e p r e v i o u s m o d e . t r a n s m i s s i o n s b e g i n w h e n t h e s e n d s i g n a l i s a c t i v a t e d , w h i c h p l a c e s t h e s t a r t b i t a t t x d . d a t a i s a c t i v a t e d o n e b i t t i m e l a t e r . t h i s a c t i v a t i o n e n a b l e s t h e o u t p u t b i t o f t h e t r a n s m i t s h i f t r e g i s t e r t o t x d . t h e f i r s t s h i f t p u l s e o c c u r s o n e b i t t i m e a f t e r t h a t . t h e f i r s t s h i f t c l o c k s a s t o p b i t ( 1 ) i n t o t h e 9 t h b i t p o s i t i o n o f t h e s h i f t r e g i s t e r t o t x d . t h e r e a f t e r , o n l y z e r o s a r e c l o c k e d i n . t h u s , a s d a t a b i t s s h i f t o u t t o t h e r i g h t , z e r o s a r e c l o c k e d i n f r o m t h e l e f t . w h e n t b 8 i s a t t h e o u t p u t p o s i t i o n o f t h e s h i f t r e g i s t e r , t h e s t o p b i t i s j u s t t o t h e l e f t o f t b 8 , a n d a l l p o s i t i o n s t o t h e l e f t o f t h a t c o n t a i n z e r o s . t h i s c o n d i t i o n s i g n a l s t o t h e t x c o n t r o l u n i t t o s h i f t o n e m o r e t i m e a n d s e t t i , w h i l e d e a c t i v a t i n g s e n d . t h i s o c c u r s a t t h e 1 1 t h d i v i d e - b y - 1 6 r o l l o v e r a f t e r w r i t e t o s b u f . i n t e r n a l b u s s b u f d s q z e r o d e t e c t o r c l k 1 w r i t e t o s b u f t x c o n t r o l u n i t s t a r t t x c l o c k d a t a s e n d r x c o n t r o l u n i t r i t i r x c l o c k s t a r t s h i f t 9 - b i t s h i f t r e g i s t e r s b u f i n t e r n a l b u s r e a d s b u f l o a d s b u f s e r i a l p o r t i n t e r r u p t s h i f t b i t d e t e c t o r 1 6 1 6 1 - 0 t r a n s i t i o n d e t e c t o r r x d 2 t i m e r 2 o v e r f l o w t i m e r 1 o v e r f l o w r c l k t c l k s m o d 0 10 1 0 1 l o a d s b u f s h i f t t x d s a m p l e
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 6 u a r t r e c e p t i o n i n m o d e 2 a n d m o d e 3 o n e t o z e r o t r a n s i t i o n s a t r x d i n i t i a t e r e c e p t i o n . i t i s f o r t h i s r e a s o n t h a t r x d i s s a m p l e d a t a r a t e o f 1 6 m u l t i p l i e d b y t h e b a u d r a t e t h a t h a s b e e n e s t a b l i s h e d . w h e n a t r a n s i t i o n i s d e t e c t e d , t h e 1 f f h i s w r i t t e n i n t o t h e i n p u t s h i f t r e g i s t e r a n d t h e d i v i d e - b y - 1 6 c o u n t e r i s i m m e d i a t e l y r e s e t . d u r i n g t h e 7 t h , 8 t h a n d 9 t h c o u n t e r s t a t e s o f e a c h b i t t i m e ; t h e b i t d e t e c t o r s a m p l e s t h e v a l u e o f r x d . t h e a c c e p t e d v a l u e i s t h e v a l u e t h a t w a s s e e n i n a t l e a s t t w o o f t h e t h r e e s a m p l e s . i f t h e v a l u e a c c e p t e d d u r i n g t h e f i r s t b i t t i m e i s n o t z e r o , t h e r e c e i v e c i r c u i t s a r e r e s e t a n d t h e u n i t g o e s b a c k t o s e a r c h i n g f o r a n o t h e r o n e t o z e r o t r a n s i t i o n . i f t h e s t a r t b i t i s v a l i d , i t i s s h i f t e d i n t o t h e i n p u t s h i f t r e g i s t e r , a n d t h e r e c e p t i o n o f t h e r e s t o f t h e f r a m e w i l l p r o c e e d . f o r a r e c e i v e o p e r a t i o n , t h e d a t a b i t s c o m e i n f r o m t h e r i g h t a s 1 s s h i f t o u t o n t h e l e f t . a s s o o n a s t h e s t a r t b i t a r r i v e s a t t h e l e f t m o s t p o s i t i o n i n t h e s h i f t r e g i s t e r ( 9 - b i t r e g i s t e r ) , i t t e l l s t h e r x c o n t r o l b l o c k t o d o o n e m o r e s h i f t , t o s e t r i , a n d t o l o a d s b u f a n d r b 8 . t h e s i g n a l t o s e t r i a n d t o l o a d s b u f a n d r b 8 w i l l b e g e n e r a t e d i f , a n d o n l y i f , t h e f o l l o w i n g c o n d i t i o n s a r e s a t i s f i e d a t t h e i n s t a n c e w h e n t h e f i n a l s h i f t p u l s e i s g e n e r a t e d : - e i t h e r s m 2 = 0 o r t h e r e c e i v e d 9 t h b i t i s e q u a l t o 1 - r i = 0 i f b o t h c o n d i t i o n s a r e m e t , t h e 9 t h d a t a b i t r e c e i v e d g o e s i n t o r b 8 , a n d t h e f i r s t 8 d a t a b i t s g o i n t o s b u f . i f o n e o f t h e s e c o n d i t i o n s i s n o t m e t , t h e r e c e i v e d f r a m e i s c o m p l e t e l y l o s t . o n e b i t t i m e l a t e r , w h e t h e r t h e a b o v e c o n d i t i o n s a r e m e t o r n o t , t h e u n i t g o e s b a c k t o s e a r c h i n g f o r a o n e t o z e r o t r a n s i t i o n a t t h e r x d i n p u t . p l e a s e n o t e t h a t t h e v a l u e o f t h e r e c e i v e d s t o p b i t i s u n r e l a t e d t o s b u f , r b 8 o r r i . u a r t b a u d r a t e s i n m o d e 0 , t h e b a u d r a t e i s f i x e d a n d c a n b e r e p r e s e n t e d b y t h e f o l l o w i n g f o r m u l a : i n m o d e 2 , t h e b a u d r a t e d e p e n d s o n t h e v a l u e o f t h e s m o d b i t i n t h e p c o n s f r . f r o m t h e f o r m u l a b e l o w , w e c a n s e e t h a t i f s m o d = 0 ( w h i c h i s t h e v a l u e o n r e s e t ) , t h e b a u d r a t e i s 1 / 3 2 t h e o s c i l l a t o r f r e q u e n c y . t h e t i m e r 1 a n d / o r t i m e r 2 o v e r f l o w r a t e d e t e r m i n e s t h e b a u d r a t e s i n m o d e s 1 a n d 3 . g e n e r a t i n g u a r t b a u d r a t e w i t h t i m e r 1 w h e n t i m e r 1 f u n c t i o n s a s a b a u d r a t e g e n e r a t o r , t h e b a u d r a t e i n m o d e s 1 a n d 3 a r e d e t e r m i n e d b y t h e t i m e r 1 o v e r f l o w r a t e . t i m e r 1 m u s t b e c o n f i g u r e d a s a n 8 - b i t t i m e r ( t l 1 ) w i t h a u t o - r e l o a d w i t h t h 1 v a l u e w h e n a n o v e r f l o w o c c u r s ( m o d e 2 ) . i n t h i s a p p l i c a t i o n , t h e t i m e r 1 i n t e r r u p t s h o u l d b e d i s a b l e d . t h e t w o f o l l o w i n g f o r m u l a s c a n b e u s e d t o c a l c u l a t e t h e b a u d r a t e a n d t h e r e l o a d v a l u e t o p u t i n t h e t h 1 r e g i s t e r . m o d e 0 b a u d r a t e = o s c i l l a t o r f r e q u e n c y 1 2 m o d e 2 b a u d r a t e = 2 s m o d x ( o s c i l l a t o r f r e q u e n c y ) 6 4 m o d e 1 , 3 b a u d r a t e = 2 s m o d x f o s c 3 2 x 1 2 ( 2 5 6 C t h 1 ) m o d e 1 , 3 b a u d r a t e = 2 s m o d x t i m e r 1 o v e r f l o w r a t e 3 2
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 7 t h e v a l u e t o p u t i n t o t h e t h 1 r e g i s t e r i s d e f i n e d b y t h e f o l l o w i n g f o r m u l a : i t i s p o s s i b l e t o u s e t i m e r 1 i n 1 6 - b i t m o d e t o g e n e r a t e t h e b a u d r a t e f o r t h e s e r i a l p o r t . t o d o t h i s , l e a v e t h e t i m e r 1 i n t e r r u p t e n a b l e d , c o n f i g u r e t h e t i m e r t o r u n a s a 1 6 - b i t t i m e r ( h i g h n i b b l e o f t m o d = 0 0 0 1 b ) , a n d u s e t h e t i m e r 1 i n t e r r u p t t o p e r f o r m a 1 6 - b i t s o f t w a r e r e l o a d . t h i s c a n a c h i e v e v e r y l o w b a u d r a t e s . g e n e r a t i n g u a r t b a u d r a t e s w i t h t i m e r 2 t i m e r 2 i s o f t e n p r e f e r r e d t o g e n e r a t e t h e b a u d r a t e , a s i t c a n b e e a s i l y c o n f i g u r e d t o o p e r a t e a s a 1 6 - b i t t i m e r w i t h a u t o - r e l o a d . t h i s a l l o w s f o r m u c h b e t t e r r e s o l u t i o n t h a n u s i n g t i m e r 1 i n 8 - b i t a u t o - r e l o a d m o d e . t h e b a u d r a t e u s i n g t i m e r 2 i s d e f i n e d a s : t h e t i m e r c a n b e c o n f i g u r e d a s e i t h e r a t i m e r o r a c o u n t e r i n a n y o f i t s 3 r u n n i n g m o d e s . i n m o s t t y p i c a l a p p l i c a t i o n s , i t i s c o n f i g u r e d a s a t i m e r ( c / t 2 i s s e t t o 0 ) . t o m a k e t h e t i m e r 2 o p e r a t e a s a b a u d r a t e g e n e r a t o r t h e t c l k a n d r c l k b i t s o f t h e t 2 c o n r e g i s t e r m u s t b e s e t t o 1 . t h e b a u d r a t e g e n e r a t o r m o d e i s s i m i l a r t o t h e a u t o - r e l o a d m o d e i n t h a t a n o v e r f l o w i n t h 2 c a u s e s t h e t i m e r 2 r e g i s t e r s t o b e r e l o a d e d w i t h t h e 1 6 - b i t v a l u e i n r e g i s t e r s r c a p 2 h a n d r c a p 2 l , w h i c h a r e p r e s e t b y s o f t w a r e . h o w e v e r , w h e n t i m e r 2 i s c o n f i g u r e d a s a b a u d r a t e g e n e r a t o r , i t s c l o c k s o u r c e i s o s c / 2 . t h e f o l l o w i n g f o r m u l a c a n b e u s e d t o c a l c u l a t e t h e b a u d r a t e i n m o d e s 1 a n d 3 u s i n g t h e t i m e r 2 : t h e f o r m u l a b e l o w i s u s e d t o d e f i n e t h e r e l o a d v a l u e t o p u t i n t o t h e r c a p 2 h , r c a p 2 l r e g i s t e r s t o a c h i e v e a g i v e n b a u d r a t e . i n t h e a b o v e f o r m u l a , r c a p 2 h a n d r c a p 2 l a r e t h e c o n t e n t o f r c a p 2 h a n d r c a p 2 l t a k e n a s a 1 6 - b i t u n s i g n e d i n t e g e r . n o t e t h a t a r o l l o v e r i n t h 2 d o e s n o t s e t t f 2 , a n d w i l l n o t g e n e r a t e a n i n t e r r u p t . b e c a u s e o f t h i s , t h e t i m e r 2 i n t e r r u p t d o e s n o t h a v e t o b e d i s a b l e d w h e n t i m e r 2 i s c o n f i g u r e d i n b a u d r a t e g e n e r a t o r m o d e . a l s o , i f e x e n 2 i s s e t , a 1 - t o - 0 t r a n s i t i o n i n t 2 e x w i l l s e t e x f 2 b u t w i l l n o t c a u s e a r e l o a d f r o m r c a p 2 x t o t x 2 . t h e r e f o r e , w h e n t i m e r 2 i s u s e d a s a b a u d r a t e g e n e r a t o r , t 2 e x c a n b e u s e d a s a n e x t r a e x t e r n a l i n t e r r u p t . f u r t h e r m o r e , w h e n t i m e r 2 i s r u n n i n g ( t r 2 i s s e t t o 1 ) a s a t i m e r i n b a u d r a t e g e n e r a t o r m o d e , t h e u s e r s h o u l d n o t t r y t o r e a d o r w r i t e t o t h 2 o r t l 2 . w h e n o p e r a t i n g u n d e r t h e s e c o n d i t i o n s , t h e t i m e r i s b e i n g i n c r e m e n t e d e v e r y s t a t e t i m e a n d t h e r e s u l t s o f a r e a d o r w r i t e c o m m a n d m a y b e i n a c c u r a t e . t h e r c a p 2 r e g i s t e r s , h o w e v e r , m a y b e r e a d b u t s h o u l d n o t b e w r i t t e n t o , b e c a u s e a w r i t e m a y o v e r l a p a r e l o a d o p e r a t i o n a n d g e n e r a t e w r i t e a n d / o r r e l o a d e r r o r s . i n t h i s c a s e , b e f o r e a c c e s s i n g t h e t i m e r 2 o r r c a p 2 r e g i s t e r s , b e s u r e t o t u r n t h e t i m e r o f f b y c l e a r i n g t r 2 . m o d e s 1 , 3 b a u d r a t e = o s c i l l a t o r f r e q u e n c y 3 2 x [ 6 5 5 3 6 C ( r c a p 2 h , r c a p 2 l ) ] t h 1 = 2 5 6 - 2 s m o d x f o s c 3 2 x 1 2 x ( b a u d r a t e ) m o d e 1 , 3 b a u d r a t e = t i m e r 2 o v e r f l o w r a t e 1 6 ( r c a p 2 h , r c a p 2 l ) = 6 5 5 3 6 - f o s c 3 2 x [ b a u d r a t e ]
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 8 i n t e r r u p t s t h e v r s 1 0 0 0 h a s 8 i n t e r r u p t s o u r c e s ( 9 i f w e i n c l u d e t h e w d t ) a n d 7 i n t e r r u p t v e c t o r s ( i n c l u d i n g r e s e t ) t o h a n d l e t h e m . t h e i n t e r r u p t c a n b e e n a b l e d v i a t h e i e r e g i s t e r s h o w n b e l o w : t a b l e 2 7 : i e i n t e r r u p t e n a b l e r e g i s t e r C s f r a 8 h 7 6 5 4 3 2 1 0 e a - e t 2 e s e t 1 e x 1 e t 0 e x 0 b i t m n e m o n i c d e s c r i p t i o n 7 e a d i s a b l e s a l l i n t e r r u p t s 0 : n o i n t e r r u p t a c k n o w l e d g m e n t 1 : e a c h i n t e r r u p t s o u r c e i s i n d i v i d u a l l y e n a b l e d o r d i s a b l e d b y s e t t i n g o r c l e a r i n g i t s e n a b l e b i t . 6 - r e s e r v e d 5 e t 2 t i m e r 2 i n t e r r u p t e n a b l e b i t 4 e s s e r i a l p o r t i n t e r r u p t e n a b l e b i t 3 e t 1 t i m e r 1 i n t e r r u p t e n a b l e b i t 2 e x 1 e x t e r n a l i n t e r r u p t 1 e n a b l e b i t 1 e t 0 t i m e r 0 i n t e r r u p t e n a b l e b i t 0 e x 0 e x t e r n a l i n t e r r u p t 0 e n a b l e b i t t h e f o l l o w i n g f i g u r e i l l u s t r a t e s t h e v a r i o u s i n t e r r u p t s o u r c e s o n t h e v r s 1 0 0 0 . f i g u r e 2 2 : i n t e r r u p t s o u r c e s i e 0 i t 0 i n t 0 t f 0 i e 1 i t 1 i n t 1 t f 1 t 1 r i t f 2 e x f 2 i n t e r r u p t s o u r c e s i n t e r r u p t v e c t o r s t h e t a b l e s h o w n b e l o w s p e c i f i e s e a c h i n t e r r u p t s o u r c e , i t s f l a g a n d i t s v e c t o r a d d r e s s . t a b l e 2 8 : i n t e r r u p t v e c t o r a d d r e s s i n t e r r u p t s o u r c e f l a g v e c t o r a d d r e s s r e s e t ( + w d t ) w d r 0 0 0 0 h * i n t 0 i e 0 0 0 0 3 h t i m e r 0 t f 0 0 0 0 b h i n t 1 i e 1 0 0 1 3 h t i m e r 1 t f 1 0 0 1 b h s e r i a l p o r t r i + t i 0 0 2 3 h t i m e r 2 t f 2 + e x f 2 0 0 2 b h * i f l o c a t i o n 0 0 0 0 h = f f h , t h e p c j u m p t o t h e i s p p r o g r a m . e x t e r n a l i n t e r r u p t s t h e v r s 1 0 0 0 h a s t w o e x t e r n a l i n t e r r u p t i n p u t s n a m e d i n t 0 a n d i n t 1 . t h e s e i n t e r r u p t l i n e s a r e s h a r e d w i t h p 3 . 2 a n d p 3 . 3 . t h e b i t s i t 0 a n d i t 1 o f t h e t c o n r e g i s t e r d e t e r m i n e w h e t h e r t h e e x t e r n a l i n t e r r u p t s a r e l e v e l o r e d g e s e n s i t i v e . i f i t x = 1 , t h e i n t e r r u p t w i l l b e r a i s e d w h e n a 1 - > 0 t r a n s i t i o n o c c u r s a t t h e i n t e r r u p t p i n . t h e d u r a t i o n o f t h e t r a n s i t i o n m u s t b e a t l e a s t e q u a l t o 1 2 o s c i l l a t o r c y c l e s . i f i t x = 0 , t h e i n t e r r u p t w i l l o c c u r w h e n a l o g i c l o w c o n d i t i o n i s p r e s e n t o n t h e i n t e r r u p t p i n . t h e s t a t e o f t h e e x t e r n a l i n t e r r u p t , w h e n e n a b l e d , c a n b e m o n i t o r e d u s i n g t h e f l a g s , i e 0 a n d i e 1 o f t h e t c o n r e g i s t e r t h a t a r e s e t w h e n t h e i n t e r r u p t c o n d i t i o n o c c u r s . i n t h e c a s e w h e r e t h e i n t e r r u p t w a s c o n f i g u r e d a s e d g e s e n s i t i v e , t h e a s s o c i a t e d f l a g i s a u t o m a t i c a l l y c l e a r e d w h e n t h e i n t e r r u p t i s s e r v i c e d . i f t h e i n t e r r u p t i s c o n f i g u r e d a s l e v e l s e n s i t i v e , t h e n t h e i n t e r r u p t f l a g m u s t b e c l e a r e d b y t h e s o f t w a r e .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 2 9 t i m e r 0 a n d t i m e r 1 i n t e r r u p t b o t h t i m e r 0 a n d t i m e r 1 c a n b e c o n f i g u r e d t o g e n e r a t e a n i n t e r r u p t w h e n a r o l l o v e r o f t h e t i m e r / c o u n t e r o c c u r s ( e x c e p t t i m e r 0 i n m o d e 3 ) . t h e t f 0 a n d t f 1 f l a g s s e r v e t o m o n i t o r t i m e r o v e r f l o w o c c u r r i n g f r o m t i m e r 0 a n d t i m e r 1 . t h e s e i n t e r r u p t f l a g s a r e a u t o m a t i c a l l y c l e a r e d w h e n t h e i n t e r r u p t i s s e r v i c e d . t i m e r 2 i n t e r r u p t t i m e r 2 i n t e r r u p t c a n o c c u r i f t f 2 a n d / o r e x f 2 f l a g s a r e s e t t o 1 a n d i f t h e t i m e r 2 i n t e r r u p t i s e n a b l e d . t h e t f 2 f l a g i s s e t w h e n a r o l l o v e r o f t i m e r 2 c o u n t e r / t i m e r o c c u r s . t h e e x f 2 f l a g c a n b e s e t b y a 1 - > 0 t r a n s i t i o n o n t h e t 2 e x p i n b y t h e s o f t w a r e . n o t e t h a t n e i t h e r f l a g i s c l e a r e d b y t h e h a r d w a r e u p o n e x e c u t i o n o f t h e i n t e r r u p t s e r v i c e r o u t i n e . t h e s e r v i c e r o u t i n e m a y h a v e t o d e t e r m i n e w h e t h e r i t w a s t f 2 o r e x f 2 t h a t g e n e r a t e d t h e i n t e r r u p t . t h e s e f l a g b i t s w i l l h a v e t o b e c l e a r e d b y t h e s o f t w a r e . e v e r y b i t t h a t g e n e r a t e s i n t e r r u p t s c a n e i t h e r b e c l e a r e d o r s e t b y t h e s o f t w a r e , y i e l d i n g t h e s a m e r e s u l t a s w h e n t h e o p e r a t i o n i s d o n e b y t h e h a r d w a r e . i n o t h e r w o r d s , p e n d i n g i n t e r r u p t s c a n b e c a n c e l l e d a n d i n t e r r u p t s c a n b e g e n e r a t e d b y t h e s o f t w a r e . s e r i a l p o r t i n t e r r u p t t h e s e r i a l p o r t c a n g e n e r a t e a n i n t e r r u p t u p o n b y t e r e c e p t i o n o r o n c e t h e b y t e t r a n s m i s s i o n i s c o m p l e t e d . t h o s e t w o c o n d i t i o n s s h a r e t h e s a m e i n t e r r u p t v e c t o r a n d i t i s u p t o t h e i n t e r r u p t s e r v i c e r o u t i n e t o f i n d o u t w h a t c a u s e d t h e i n t e r r u p t b y l o o k i n g a t t h e s e r i a l i n t e r r u p t f l a g s r i a n d t i . n o t e t h a t n e i t h e r o f t h e s e f l a g s i s c l e a r e d b y t h e h a r d w a r e u p o n e x e c u t i o n o f t h e i n t e r r u p t s e r v i c e r o u t i n e . t h e s o f t w a r e m u s t c l e a r t h e s e f l a g s . e x e c u t i o n o f a n i n t e r r u p t w h e n t h e p r o c e s s o r r e c e i v e s a n i n t e r r u p t r e q u e s t , a n a u t o m a t i c j u m p t o t h e d e s i r e d s u b r o u t i n e o c c u r s . t h i s j u m p i s s i m i l a r t o e x e c u t i n g a b r a n c h t o a s u b r o u t i n e i n s t r u c t i o n : t h e p r o c e s s o r a u t o m a t i c a l l y s a v e s t h e a d d r e s s o f t h e n e x t i n s t r u c t i o n o n t h e s t a c k . a n i n t e r n a l f l a g i s s e t t o i n d i c a t e t h a t a n i n t e r r u p t i s t a k i n g p l a c e , a n d t h e n t h e j u m p i n s t r u c t i o n i s e x e c u t e d . a n i n t e r r u p t s u b r o u t i n e m u s t a l w a y s e n d w i t h t h e r e t i i n s t r u c t i o n . t h i s i n s t r u c t i o n a l l o w s u s e r s t o r e t r i e v e t h e r e t u r n a d d r e s s p l a c e d o n t h e s t a c k . t h e r e t i i n s t r u c t i o n a l s o a l l o w s u p d a t i n g o f t h e i n t e r n a l f l a g t h a t w i l l t a k e i n t o a c c o u n t a n i n t e r r u p t w i t h t h e s a m e p r i o r i t y . i n t e r r u p t e n a b l e a n d i n t e r r u p t p r i o r i t y w h e n t h e v r s 1 0 0 0 i s i n i t i a l i z e d , a l l i n t e r r u p t s o u r c e s a r e i n h i b i t e d b y t h e b i t s o f t h e i e r e g i s t e r b e i n g r e s e t t o 0 . i t i s n e c e s s a r y t o s t a r t b y e n a b l i n g t h e i n t e r r u p t s o u r c e s t h a t t h e a p p l i c a t i o n r e q u i r e s . t h i s i s a c h i e v e d b y s e t t i n g b i t s i n t h e i e r e g i s t e r , a s d i s c u s s e d p r e v i o u s l y . t h i s r e g i s t e r i s p a r t o f t h e b i t a d d r e s s a b l e i n t e r n a l r a m . f o r t h i s r e a s o n , i t i s p o s s i b l e t o m o d i f y e a c h b i t i n d i v i d u a l l y i n o n e i n s t r u c t i o n w i t h o u t h a v i n g t o m o d i f y t h e o t h e r b i t s o f t h e r e g i s t e r . a l l i n t e r r u p t s c a n b e i n h i b i t e d b y s e t t i n g e a t o 0 . t h e o r d e r i n w h i c h i n t e r r u p t s a r e s e r v i c e d i s s h o w n i n t h e f o l l o w i n g t a b l e : t a b l e 2 9 : i n t e r r u p t p r i o r i t y i n t e r r u p t s o u r c e r e s e t + w d t ( h i g h e s t p r i o r i t y ) i e 0 t f 0 i e 1 t f 1 r i + t i t f 2 + e x f 2 ( l o w e s t p r i o r i t y )
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 0 m o d i f y i n g t h e o r d e r o f p r i o r i t y t h e v r s 1 0 0 0 a l l o w s t h e u s e r t o m o d i f y t h e n a t u r a l p r i o r i t y o f t h e i n t e r r u p t s . o n e m a y m o d i f y t h e o r d e r b y p r o g r a m m i n g t h e b i t s i n t h e i p ( i n t e r r u p t p r i o r i t y ) r e g i s t e r . w h e n a n y b i t i n t h i s r e g i s t e r i s s e t t o 1 , i t g i v e s t h e c o r r e s p o n d i n g s o u r c e a g r e a t e r p r i o r i t y t h a n i n t e r r u p t s c o m i n g f r o m s o u r c e s t h a t d o n t h a v e t h e i r c o r r e s p o n d i n g i p b i t s e t t o 1 . t h e i p r e g i s t e r i s r e p r e s e n t e d i n t h e t a b l e b e l o w . t a b l e 3 0 : i p i n t e r r u p t p r i o r i t y r e g i s t e r C s f r b 8 h 7 6 5 4 3 2 1 0 e a - e t 2 e s e t 1 e x 1 e t 0 e x 0 b i t m n e m o n i c d e s c r i p t i o n 7 - 6 - 5 p t 2 g i v e s t i m e r 2 i n t e r r u p t h i g h e r p r i o r i t y 4 p s g i v e s s e r i a l p o r t i n t e r r u p t h i g h e r p r i o r i t y 3 p t 1 g i v e s t i m e r 1 i n t e r r u p t h i g h e r p r i o r i t y 2 p x 1 g i v e s i n t 1 i n t e r r u p t h i g h e r p r i o r i t y 1 p t 0 g i v e s t i m e r 0 i n t e r r u p t h i g h e r p r i o r i t y 0 p x 0 g i v e s i n t 0 i n t e r r u p t h i g h e r p r i o r i t y w a t c h d o g t i m e r t h e w a t c h d o g t i m e r ( w d t ) i s a 1 6 - b i t f r e e - r u n n i n g c o u n t e r t h a t g e n e r a t e s a r e s e t s i g n a l i f t h e c o u n t e r o v e r f l o w s . t h e w d t i s u s e f u l f o r s y s t e m s t h a t a r e s u s c e p t i b l e t o n o i s e , p o w e r g l i t c h e s a n d o t h e r c o n d i t i o n s t h a t c a n c a u s e t h e s o f t w a r e t o g o i n t o i n f i n i t e d e a d l o o p s o r r u n a w a y s . t h e w d t f u n c t i o n g i v e s t h e u s e r s o f t w a r e a r e c o v e r y m e c h a n i s m f r o m a b n o r m a l s o f t w a r e c o n d i t i o n s . t h e w d t i s d i f f e r e n t f r o m t i m e r 0 , t i m e r 1 a n d t i m e r 2 o f t h e s t a n d a r d 8 0 c 5 2 . o n c e t h e w d t i s e n a b l e d , t h e u s e r s o f t w a r e m u s t c l e a r i t p e r i o d i c a l l y . i n t h e c a s e w h e r e t h e w d t i s n o t c l e a r e d , i t s o v e r f l o w w i l l t r i g g e r a r e s e t o f t h e v r s 1 0 0 0 . t h e u s e r s h o u l d c h e c k t h e w d r b i t o f t h e s y s c o n r e g i s t e r w h e n e v e r a n u n p r e d i c t e d r e s e t h a s t a k e n p l a c e . t h e w d t t i m e o u t d e l a y c a n b e a d j u s t e d b y c o n f i g u r i n g t h e c l o c k d i v i d e r i n p u t f o r t h e t i m e b a s e s o u r c e c l o c k o f t h e w d t . t o s e l e c t t h e d i v i d e r v a l u e , b i t 2 - b i t 0 ( p s 2 ~ p s 0 ) o f t h e w a t c h d o g t i m e r c o n t r o l r e g i s t e r ( w d t c ) s h o u l d b e s e t a c c o r d i n g l y . t o e n a b l e t h e w d t , t h e u s e r m u s t s e t b i t 7 ( w d t e ) o f t h e w d t c r e g i s t e r t o 1 . o n c e w d t e h a s b e e n s e t t o 1 , t h e 1 6 - b i t c o u n t e r w i l l s t a r t t o c o u n t w i t h t h e s e l e c t e d t i m e b a s e s o u r c e c l o c k c o n f i g u r e d i n p s 2 ~ p s 0 . t h e w a t c h d o g t i m e r w i l l g e n e r a t e a r e s e t s i g n a l i f a n o v e r f l o w h a s t a k e n p l a c e . t h e w d t e b i t w i l l b e c l e a r e d t o 0 a u t o m a t i c a l l y w h e n v r s 1 0 0 0 h a s b e e n r e s e t b y e i t h e r t h e h a r d w a r e o r a w d t r e s e t . c l e a r i n g t h e w d t i s a c c o m p l i s h e d b y s e t t i n g t h e c l r b i t o f t h e w d t c t o 1 . t h i s a c t i o n w i l l c l e a r t h e c o n t e n t s o f t h e 1 6 - b i t c o u n t e r a n d f o r c e i t t o r e s t a r t . w a t c h d o g t i m e r r e g i s t e r s : w d t c a n d s y s c o n t w o o f t h e r e g i s t e r s o f t h e v r s 1 0 0 0 a r e a s s o c i a t e d w i t h t h e w a t c h d o g t i m e r : w d t c a n d s y s c o n . t h e w d t c r e g i s t e r a l l o w s t h e u s e r t o e n a b l e t h e w d t , t o c l e a r t h e c o u n t e r a n d t o d i v i d e t h e c l o c k s o u r c e . t h e w d r b i t o f t h e s y s c o n r e g i s t e r i n d i c a t e s w h e t h e r t h e w a t c h d o g t i m e r h a s c a u s e d t h e d e v i c e r e s e t . t a b l e 3 1 : w a t c h d o g t i m e r r e g i s t e r s : w d t c C s f r 9 f h 7 6 5 4 3 2 1 0 w d t e u n u s e d c l r u n u s e d p s 2 p s 1 p s 0 b i t m n e m o n i c d e s c r i p t i o n 7 w d t e w a t c h d o g t i m e r e n a b l e b i t 6 u n u s e d - 5 c l r w a t c h d o g t i m e r c o u n t e r c l e a r b i t [ 4 : 3 ] u n u s e d - 2 p s 2 c l o c k s o u r c e d i v i d e r b i t 2 1 p s 1 c l o c k s o u r c e d i v i d e r b i t 1 0 p s 0 c l o c k s o u r c e d i v i d e r b i t 0 t h e n e x t t a b l e g i v e s e x a m p l e s o f w h a t t i m e o u t p e r i o d t h e u s e r w i l l o b t a i n f o r d i f f e r e n t v a l u e s o f t h e p s x b i t s o f t h e w a t c h d o g t i m e r r e g i s t e r . t a b l e 3 2 : t i m e p e r i o d a t 4 0 m h z , 2 2 . 1 8 4 m h z a n d 1 1 . 0 5 9 m h z p s [ 2 : 0 ] d i v i d e r ( o s c i n ) w d t p e r i o d 4 0 m h z w d t p e r i o d 2 2 . 1 8 m h z w d t p e r i o d 1 2 m h z 0 0 0 8 1 3 . 1 1 2 3 . 6 3 4 3 . 6 9 0 0 1 1 6 2 6 . 2 1 4 7 . 2 7 8 7 . 3 8 0 1 0 3 2 5 2 . 4 3 9 4 . 5 3 1 7 4 . 7 6 0 1 1 6 4 1 0 4 . 8 6 1 8 9 . 0 7 3 4 9 . 5 3 1 0 0 1 2 8 2 0 9 . 7 2 3 7 8 . 1 4 6 9 9 . 0 5 1 0 1 2 5 6 4 1 9 . 4 3 7 5 6 . 2 8 1 3 9 8 . 1 0 1 1 0 5 1 2 8 3 8 . 8 6 1 5 1 2 . 5 5 2 7 9 6 . 2 0 1 1 1 1 0 2 4 1 6 7 7 . 7 2 3 0 2 5 . 1 0 5 5 9 2 . 4 1
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 1 t a b l e 3 3 : w a t c h d o g t i m e r r e g i s t e r - s y s t e m c o n t r o l r e g i s t e r ( s y s c o n ) C s f r b f h 7 6 5 4 3 2 1 0 w d r u n u s e d i a p e x r a m e a l e i b i t m n e m o n i c d e s c r i p t i o n 7 w d r w a t c h d o g t i m e r r e s e t b i t [ 6 : 3 ] u n u s e d - 2 i a p e i s p o v e r a l l e n a b l e b i t 1 : e n a b l e s i s p f u n c t i o n 0 : d i s a b l e s i s p f u n c t i o n 1 x r a m e 0 a l e i 1 : e n a b l e e l e c t r o m a g n e t i c i n t e r f e r e n c e r e d u c e r 0 : d i s a b l e e l e c t r o m a g n e t i c i n t e r f e r e n c e r e d u c e r a s m e n t i o n e d e a r l i e r , b i t 7 ( w d r ) o f s y s c o n i s t h e w a t c h d o g t i m e r r e s e t b i t . i t w i l l b e s e t t o 1 w h e n a r e s e t s i g n a l i s g e n e r a t e d b y t h e w d t o v e r f l o w . t h e u s e r s h o u l d c h e c k t h e w d r b i t w h e n e v e r a n u n p r e d i c t e d r e s e t h a s t a k e n p l a c e . r e d u c e d e m i f u n c t i o n t h e v r s 1 0 0 0 c a n a l s o b e s e t u p t o r e d u c e i t s e m i ( e l e c t r o m a g n e t i c i n t e r f e r e n c e ) b y s e t t i n g b i t 0 ( a l e i ) o f t h e s y s c o n r e g i s t e r t o 1 . t h i s f u n c t i o n w i l l i n h i b i t t h e f o s c / 6 h z c l o c k s i g n a l o u t p u t t o t h e a l e p i n .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 2 p u l s e w i d t h m o d u l a t i o n ( p w m ) t h e p u l s e w i d t h m o d u l a t i o n ( p w m ) m o d u l e h a s f i v e 8 - b i t c h a n n e l s . e a c h c h a n n e l u s e s a n 8 - b i t p w m d a t a r e g i s t e r ( p w m d ) t o s e t t h e n u m b e r o f c o n t i n u o u s p u l s e s w i t h i n a p w m f r a m e c y c l e . p w m f u n c t i o n d e s c r i p t i o n : e a c h 8 - b i t p w m c h a n n e l i s c o m p o s e d o f a n 8 - b i t r e g i s t e r t h a t c o n s i s t s o f a 5 - b i t p w m ( 5 m s b s ) a n d a 3 - b i t ( l s b s ) n a r r o w p u l s e g e n e r a t o r ( n p ) . t h e 5 - b i t p w m d e t e r m i n e s t h e d u t y c y c l e o f t h e o u t p u t . t h e 3 - b i t n p x g e n e r a t e s a n d i n s e r t s n a r r o w p u l s e s a m o n g t h e p w m f r a m e m a d e o f 8 c y c l e s . t h e n u m b e r o f p u l s e s g e n e r a t e d i s e q u a l t o t h e n u m b e r p r o g r a m m e d i n t h e 3 - b i t n p . t h e n p i s u s e d t o g e n e r a t e a n e q u i v a l e n t 8 - b i t r e s o l u t i o n p w m t y p e d a c w i t h a r e a s o n a b l y h i g h r e p e t i t i o n r a t e t h r o u g h a 5 - b i t p w m c l o c k s p e e d . t h e p d c k [ 1 : 0 ] s e t t i n g s o f t h e p w m c ( a 3 h ) r e g i s t e r i s u s e d t o d e r i v e t h e p w m c l o c k f r o m f o s c . t h e p w m o u t p u t c y c l e f r a m e r e p e t i t i o n r a t e ( f r e q u e n c y ) i s c a l c u l a t e d u s i n g t h e f o l l o w i n g f o r m u l a : p w m r e g i s t e r s - p o r t 1 c o n f i g u r a t i o n r e g i s t e r t a b l e 3 4 : p o r t 1 c o n f i g u r a t i o n r e g i s t e r ( p w m e , $ 9 b ) 7 6 5 4 p w m 4 e p w m 3 e p w m 2 e p w m 1 e 3 2 1 0 p w m 0 e u n u s e d b i t m n e m o n i c d e s c r i p t i o n 7 p w m 4 e 6 p w m 3 e 5 p w m 2 e 4 p w m 1 e 3 p w m 0 e w h e n b i t i s s e t t o o n e , t h e c o r r e s p o n d i n g p w m p i n i s a c t i v e a s a p w m f u n c t i o n . w h e n t h e b i t i s c l e a r e d , t h e c o r r e s p o n d i n g p w m p i n i s a c t i v e a s a n i / o p i n . t h e s e f i v e b i t s a r e c l e a r e d u p o n r e s e t . [ 2 : 0 ] u n u s e d - p w m r e g i s t e r s - p w m c o n t r o l r e g i s t e r t h e t a b l e b e l o w r e p r e s e n t s t h e p w m c o n t r o l r e g i s t e r . t a b l e 3 5 : p w m c o n t r o l r e g i s t e r ( p w m c ) C s f r a 3 h 7 6 5 4 3 2 1 0 u n u s e d p d c k 1 p d c k 0 b i t m n e m o n i c d e s c r i p t i o n [ 7 : 2 ] u n u s e d - 1 p d c k 1 i n p u t c l o c k f r e q u e n c y d i v i d e r b i t 1 0 p d c k 0 i n p u t c l o c k f r e q u e n c y d i v i d e r b i t 0 t h e f o l l o w i n g t a b l e s h o w s t h e r e l a t i o n s h i p b e t w e e n t h e v a l u e s o f p d c k 1 / p d c k 0 a n d t h e v a l u e o f t h e d i v i d e r . n u m e r i c a l v a l u e s o f t h e c o r r e s p o n d i n g f r e q u e n c i e s a r e a l s o p r o v i d e d . p d c k 1 p d c k o d i v i d e r p w m c l o c k , f o s c = 2 0 m h z p w m c l o c k , f o s c = 2 4 m h z 0 0 2 1 0 m h z 1 2 m h z 0 1 4 5 m h z 6 m h z 1 0 8 2 . 5 m h z 3 m h z 1 1 1 6 1 . 2 5 m h z 1 . 5 m h z p w m c l o c k = f o s c 2 ( p d c k [ 1 : 0 ] + 1 ) p w m c l o c k = f o s c 3 2 x 2 ( p d c k [ 1 : 0 ] + 1 )
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 3 p w m d a t a r e g i s t e r s t h e t a b l e s b e l o w s h o w t h e p w m d a t a r e g i s t e r s . t h e p w m d x b i t s h o l d t h e c o n t e n t o f t h e p w m d a t a r e g i s t e r a n d d e t e r m i n e t h e d u t y c y c l e o f t h e p w m o u t p u t w a v e f o r m . t h e n p [ 2 : 0 ] b i t s w i l l i n s e r t n a r r o w p u l s e s i n t h e 8 - p w m - c y c l e f r a m e . t a b l e 3 6 : p w m d a t a r e g i s t e r 0 ( p w m d 0 ) C s f r a 4 h 7 6 5 4 p w m d 0 . 4 p w m d 0 . 3 p w m d 0 . 2 p w m d 0 . 1 3 2 1 0 p w m d 0 . 0 n p 0 . 2 n p 0 . 1 n p 0 . 0 b i t m n e m o n i c d e s c r i p t i o n 7 p w m d 0 . 4 c o n t e n t s o f p w m d a t a r e g i s t e r 0 b i t 4 6 p w m d 0 . 3 c o n t e n t s o f p w m d a t a r e g i s t e r 0 b i t 3 5 p w m d 0 . 2 c o n t e n t s o f p w m d a t a r e g i s t e r 0 b i t 2 4 p w m d 0 . 1 c o n t e n t s o f p w m d a t a r e g i s t e r 0 b i t 1 3 p w m d 0 . 0 c o n t e n t s o f p w m d a t a r e g i s t e r 0 b i t 0 2 n p 0 . 2 1 n p 0 . 1 0 n p 0 . 0 i n s e r t s n a r r o w p u l s e s i n a 8 - p w m - c y c l e f r a m e t a b l e 3 7 : p w m d a t a r e g i s t e r 1 ( p w m d 1 ) C s f r a 5 h 7 6 5 4 p w m d 1 . 4 p w m d 1 . 3 p w m d 1 . 2 p w m d 1 . 1 3 2 1 0 p w m d 1 . 0 n p 1 . 2 n p 1 . 1 n p 1 . 0 b i t m n e m o n i c d e s c r i p t i o n 7 p w m d 1 . 4 c o n t e n t s o f p w m d a t a r e g i s t e r 1 b i t 4 6 p w m d 1 . 3 c o n t e n t s o f p w m d a t a r e g i s t e r 1 b i t 3 5 p w m d 1 . 2 c o n t e n t s o f p w m d a t a r e g i s t e r 1 b i t 2 4 p w m d 1 . 1 c o n t e n t s o f p w m d a t a r e g i s t e r 1 b i t 1 3 p w m d 1 . 0 c o n t e n t s o f p w m d a t a r e g i s t e r 1 b i t 0 2 n p 1 . 2 1 n p 1 . 1 0 n p 1 . 0 i n s e r t s n a r r o w p u l s e s i n a 8 - p w m - c y c l e f r a m e t a b l e 3 8 : p w m d a t a r e g i s t e r 2 ( p w m d 2 ) C s f r a 6 h 7 6 5 4 p w m d 2 . 4 p w m d 2 . 3 p w m d 2 . 2 p w m d 2 . 1 3 2 1 0 p w m d 2 . 0 n p 2 . 2 n p 2 . 1 n p 2 . 0 b i t m n e m o n i c d e s c r i p t i o n 7 p w m d 2 . 4 c o n t e n t s o f p w m d a t a r e g i s t e r 2 b i t 4 6 p w m d 2 . 3 c o n t e n t s o f p w m d a t a r e g i s t e r 2 b i t 3 5 p w m d 2 . 2 c o n t e n t s o f p w m d a t a r e g i s t e r 2 b i t 2 4 p w m d 2 . 1 c o n t e n t s o f p w m d a t a r e g i s t e r 2 b i t 1 3 p w m d 2 . 0 c o n t e n t s o f p w m d a t a r e g i s t e r 2 b i t 0 2 n p 2 . 2 1 n p 2 . 1 0 n p 2 . 0 i n s e r t s n a r r o w p u l s e s i n a 8 - p w m - c y c l e t a b l e 3 9 : p w m d a t a r e g i s t e r 3 ( p w m d 1 ) C s f r a 7 h 7 6 5 4 p w m d 3 . 4 p w m d 3 . 3 p w m d 3 . 2 p w m d 3 . 1 3 2 1 0 p w m d 3 . 0 n p 3 . 2 n p 3 . 1 n p 3 . 0 b i t m n e m o n i c d e s c r i p t i o n 7 p w m d 3 . 4 c o n t e n t s o f p w m d a t a r e g i s t e r 3 b i t 4 6 p w m d 3 . 3 c o n t e n t s o f p w m d a t a r e g i s t e r 3 b i t 3 5 p w m d 3 . 2 c o n t e n t s o f p w m d a t a r e g i s t e r 3 b i t 2 4 p w m d 3 . 1 c o n t e n t s o f p w m d a t a r e g i s t e r 3 b i t 1 3 p w m d 3 . 0 c o n t e n t s o f p w m d a t a r e g i s t e r 3 b i t 0 2 n p 3 . 2 1 n p 3 . 1 0 n p 3 . 0 i n s e r t s n a r r o w p u l s e s i n a 8 - p w m - c y c l e f r a m e t a b l e 4 0 : p w m d a t a r e g i s t e r 4 ( p w m d 1 ) C s f r a c h 7 6 5 4 p w m d 4 . 4 p w m d 4 . 3 p w m d 4 . 2 p w m d 4 . 1 3 2 1 0 p w m d 4 . 0 n p 4 . 2 n p 4 . 1 n p 4 . 0 b i t m n e m o n i c d e s c r i p t i o n 7 p w m d 4 . 4 c o n t e n t s o f p w m d a t a r e g i s t e r 4 b i t 4 6 p w m d 4 . 3 c o n t e n t s o f p w m d a t a r e g i s t e r 4 b i t 3 5 p w m d 4 . 2 c o n t e n t s o f p w m d a t a r e g i s t e r 4 b i t 2 4 p w m d 4 . 1 c o n t e n t s o f p w m d a t a r e g i s t e r 4 b i t 1 3 p w m d 4 . 0 c o n t e n t s o f p w m d a t a r e g i s t e r 4 b i t 0 2 n p 4 . 2 1 n p 4 . 1 0 n p 4 . 0 i n s e r t s n a r r o w p u l s e s i n a 8 - p w m - c y c l e f r a m e t h e t a b l e b e l o w s h o w s t h e n u m b e r o f p w m c y c l e s i n s e r t e d i n a n 8 - c y c l e f r a m e w h e n w e v a r y t h e n p n u m b e r . n = n p [ 4 : 0 ] [ 2 : 0 ] n u m b e r o f p w m c y c l e s i n s e r t e d i n a n 8 - c y c l e f r a m e x x 1 1 x 1 x 2 1 x x 3
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 4 e x a m p l e o f p w m t i m i n g d i a g r a m m o v p w m d 0 # 8 3 h ; p w m d 0 4 : 0 ] = 1 0 h ( = 1 6 t h i g h , 1 6 t l o w ) , n p 0 2 : 0 ] = 3 m o v p w m e , # 0 8 h ; e n a b l e p 1 . 3 a s p w m o u t p u t p i n f i g u r e 2 3 : p w m t i m i n g d i a g r a m 3 2 t 3 2 t 3 2 t 3 2 t 3 2 t 3 2 t 3 2 t 3 2 t 1 t 1 t 1 t 1 6 1 6 1 6 1 6 1 6 1 s t c y c l e f r a m e 2 n d c y c l e f r a m e 3 r d c y c l e f r a m e 4 t h c y c l e f r a m e 5 t h c y c l e f r a m e 6 t h c y c l e f r a m e 7 t h c y c l e f r a m e 8 t h c y c l e f r a m e ( n a r r o w p u l s e i n s e r t e d b y n p 0 [ 2 : 0 ] = 3 ) p w m c l o c k = 1 / t = f o s c / 2 ^ ( p d i v + 1 ) t h e s p w m o u t p u t c y c l e f r a m e f r e q u e n c y = s p w m c l o c k / 3 2 = [ f o s c / 2 ^ ( p d i v + 1 ) ] / 3 2 i f f o s c = 2 0 m h z , p d c k [ 1 : 0 ] o f p w m c = # 0 3 h , t h e n p w m c l o c k = 2 0 m h z / 2 ^ 4 = 2 0 m h z / 1 6 = 1 . 2 5 m h z . p w m o u t p u t c y c l e f r a m e f r e q u e n c y = ( 2 0 m h z / 2 ^ 4 ) / 3 2 = 3 9 . 1 k h z .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 5 c r y s t a l c o n s i d e r a t i o n t h e c r y s t a l c o n n e c t e d t o t h e v r s 1 0 0 0 o s c i l l a t o r i n p u t s h o u l d b e o f a p a r a l l e l t y p e , o p e r a t i n g i n f u n d a m e n t a l m o d e . t h e f o l l o w i n g t a b l e s h o w s t h e v a l u e o f c a p a c i t o r s a n d f e e d b a c k r e s i s t o r t h a t m u s t b e u s e d a t d i f f e r e n t o p e r a t i n g f r e q u e n c i e s . v a l i d f o r v r s 1 0 0 0 x t a l 3 m h z 6 m h z 9 m h z 1 2 m h z c 1 3 0 p 3 0 p 3 0 p 3 0 p c 2 3 0 p 3 0 p 3 0 p 3 0 p r o p e n o p e n o p e n o p e n x t a l 1 6 m h z 2 5 m h z 3 3 m h z 4 0 m h z c 1 3 0 p f 1 5 p f 1 0 p f 2 p f c 2 3 0 p f 1 5 p f 1 0 p f 2 p f r o p e n 6 2 k  6 . 8 k  4 . 7 k  n o t e : o s c i l l a t o r c i r c u i t s m a y d i f f e r w i t h d i f f e r e n t c r y s t a l s o r c e r a m i c r e s o n a t o r s i n h i g h e r o s c i l l a t i o n f r e q u e n c y . c r y s t a l s o r c e r a m i c r e s o n a t o r c h a r a c t e r i s t i c s v a r y f r o m o n e m a n u f a c t u r e r t o t h e o t h e r . t h e u s e r s h o u l d c h e c k t h e s p e c i f i c c r y s t a l o r c e r a m i c r e s o n a t o r t e c h n i c a l l i t e r a t u r e a v a i l a b l e o r c o n t a c t t h e m a n u f a c t u r e r t o s e l e c t t h e a p p r o p r i a t e v a l u e s f o r t h e e x t e r n a l c o m p o n e n t s . v r s 1 0 0 0 x t a l 1 x t a l 2 x t a l r c 1 c 2
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 6 o p e r a t i n g c o n d i t i o n s t a b l e 4 1 : o p e r a t i n g c o n d i t i o n s s y m b o l d e s c r i p t i o n m i n . t y p . m a x . u n i t r e m a r k s t a o p e r a t i n g t e m p e r a t u r e - 4 0 2 5 + 8 5 o c a m b i e n t t e m p e r a t u r e u n d e r b i a s t s s t o r a g e t e m p e r a t u r e - 5 5 2 5 1 5 5 o c v c c 5 s u p p l y v o l t a g e 4 . 5 5 . 0 5 . 5 v f o s c 4 0 o s c i l l a t o r f r e q u e n c y 3 . 0 - 4 0 m h z f o r 5 v a p p l i c a t i o n d c c h a r a c t e r i s t i c s t a b l e 4 2 : d c c h a r a c t e r i s t i c s s y m b o l p a r a m e t e r v a l i d m i n . m a x . u n i t t e s t c o n d i t i o n s v i l 1 i n p u t l o w v o l t a g e p o r t 0 , 1 , 2 , 3 , 4 , # e a - 0 . 5 1 . 0 v v c c = 5 v v i l 2 i n p u t l o w v o l t a g e r e s , x t a l 1 0 0 . 8 v v c c = 5 v v i h 1 i n p u t h i g h v o l t a g e p o r t 0 , 1 , 2 , 3 , 4 , # e a 2 . 0 v c c + 0 . 5 v v c c = 5 v v i h 2 i n p u t h i g h v o l t a g e r e s , x t a l 1 7 0 % v c c v c c + 0 . 5 v v c c = 5 v v o l 1 o u t p u t l o w v o l t a g e p o r t 0 , a l e , # p s e n 0 . 4 5 v i o l = 3 . 2 m a v o l 2 o u t p u t l o w v o l t a g e p o r t 1 , 2 , 3 , 4 0 . 4 5 v i o l = 1 . 6 m a 2 . 4 v i o h = - 8 0 0 u a v o h 1 o u t p u t h i g h v o l t a g e p o r t 0 9 0 % v c c v i o h = - 8 0 u a 2 . 4 v i o h = - 6 0 u a v o h 2 o u t p u t h i g h v o l t a g e p o r t 1 , 2 , 3 , 4 , a l e , # p s e n 9 0 % v c c v i o h = - 1 0 u a i i l l o g i c a l 0 i n p u t c u r r e n t p o r t 1 , 2 , 3 , 4 - 7 5 u a v i n = 0 . 4 5 v i t l l o g i c a l t r a n s i t i o n c u r r e n t p o r t 1 , 2 , 3 , 4 - 6 5 0 u a v i n = 2 . o v i l i i n p u t l e a k a g e c u r r e n t p o r t 0 , # e a + 1 0 u a 0 . 4 5 v < v i n < v c c r r e s r e s e t p u l l - d o w n r e s i s t a n c e r e s 5 0 3 0 0 k o h m c - 1 0 p i n c a p a c i t a n c e 1 0 p f f r e = 1 m h z , t a = 2 5 c 2 0 m a a c t i v e m o d e , 4 0 m h z 1 5 m a a c t i v e m o d e 2 5 m h z 1 0 m a a c t i v e m o d e 1 6 m h z 1 0 m a i d l e m o d e , 4 0 m h z 7 . 5 m a i d l e m o d e 2 5 m h z 6 m a i d l e m o d e , 1 6 m h z i c c p o w e r s u p p l y c u r r e n t v d d 1 5 0 u a p o w e r d o w n m o d e f i g u r e 2 4 : i c c a c t i v e m o d e t e s t c i r c u i t f i g u r e 2 5 : i c c i d l e m o d e t e s t c i r c u i t v r s 1 0 0 0 ( n c ) c l o c k s i g n a l x t a l 2 x t a l 1 v s s r s t v c c p o e a v c c i c c 8 v r s 1 0 0 0 v c c p o e a v c c ( n c ) c l o c k s i g n a l v c c i c c x t a l 2 x t a l 1 v s s r s t 8
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 7 a c c h a r a c t e r i s t i c s t a b l e 4 3 : a c c h a r a c t e r i s t i c s f o s c 1 6 v a r i a b l e f o s c s y m b o l p a r a m e t e r v a l i d c y c l e m i n . t y p e m a x . m i n . t y p e m a x . u n i t t l h l l a l e p u l s e w i d t h r d / w r t 1 1 5 2 x t - 1 0 n s t a v l l a d d r e s s v a l i d t o a l e l o w r d / w r t 4 3 t - 2 0 n s t l l a x a d d r e s s h o l d a f t e r a l e l o w r d / w r t 5 3 t - 1 0 n s t l l i v a l e l o w t o v a l i d i n s t r u c t i o n i n r d 2 4 0 4 x t - 1 0 n s t l l p l a l e l o w t o # p s e n l o w r d 5 3 t - 1 0 n s t p l p h # p s e n p u l s e w i d t h r d 1 7 3 3 x t - 1 5 n s t p l i v # p s e n l o w t o v a l i d i n s t r u c t i o n i n r d 1 7 7 3 x t - 1 0 n s t p x i x i n s t r u c t i o n h o l d a f t e r # p s e n r d 0 0 n s t p x i z i n s t r u c t i o n f l o a t a f t e r # p s e n r d 8 7 t + 2 5 n s t a v i v a d d r e s s t o v a l i d i n s t r u c t i o n i n r d 2 9 2 5 x t - 2 0 n s t p l a z # p s e n l o w t o a d d r e s s f l o a t r d 1 0 1 0 n s t r l r h # r d p u l s e w i d t h r d 3 6 5 6 x t - 1 0 n s t w l w h # w r p u l s e w i d t h w r t 3 6 5 6 x t - 1 0 n s t r l d v # r d l o w t o v a l i d d a t a i n r d 3 0 2 5 x t - 1 0 n s t r h d x d a t a h o l d a f t e r # r d r d 0 0 n s t r h d z d a t a f l o a t a f t e r # r d r d 1 4 5 2 x t + 2 0 n s t l l d v a l e l o w t o v a l i d d a t a i n r d 5 9 0 8 x t - 1 0 n s t a v d v a d d r e s s t o v a l i d d a t a i n r d 5 4 2 9 x t - 2 0 n s t l l y l a l e l o w t o # w r h i g h o r # r d l o w r d / w r t 1 7 8 1 9 7 3 x t - 1 0 3 x t + 1 0 n s t a v y l a d d r e s s v a l i d t o # w r o r # r d l o w r d / w r t 2 3 0 4 x t - 2 0 n s t q v w h d a t a v a l i d t o # w r h i g h w r t 4 0 3 7 x t - 3 5 n s t q v w x d a t a v a l i d t o # w r t r a n s i t i o n w r t 3 8 t - 2 5 n s t w h q x d a t a h o l d a f t e r # w r w r t 7 3 t + 1 0 n s t r l a z # r d l o w t o a d d r e s s f l o a t r d 5 n s t y a l h # w r o r # r d h i g h t o a l e h i g h r d / w r t 5 3 7 2 t - 1 0 t + 1 0 n s t c h c l c l o c k f a l l t i m e n s t c l c x c l o c k l o w t i m e n s t c l c h c l o c k r i s e t i m e n s t c h c x c l o c k h i g h t i m e n s t , t c l c l c l o c k p e r i o d 6 3 1 / f o s c n s
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 8 d a t a m e m o r y r e a d c y c l e t i m i n g t h e f o l l o w i n g t i m i n g d i a g r a m s h o w s w h a t o c c u r s a t e a c h s i g n a l d u r i n g a d a t a m e m o r y r e a d c y c l e . f i g u r e 2 6 : d a t a m e m o r y r e a d c y c l e t i m i n g t 1 2 t 1 t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t 1 0 t 1 1 t 1 2 t 1 t 2 t 3 o s c a l e # p s e n # r d p o r t 2 p o r t 0 a d d r e s s a 1 5 - a 8 i n s t i n a 7 - a 0 f l o a t d a t a i n f l o a t a d d r e s s o r f l o a t 7 8 1 2 5 33 4 6 f l o a t
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 3 9 p r o g r a m m e m o r y r e a d c y c l e t i m i n g t h e f o l l o w i n g t i m i n g d i a g r a m s h o w s w h a t o c c u r s a t e a c h s i g n a l d u r i n g a p r o g r a m m e m o r y r e a d c y c l e . f i g u r e 2 7 : p r o g r a m m e m o r y r e a d c y c l e t 1 2 t 1 t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t 1 0 t 1 1 t 1 2 t 1 t 2 t 3 o s c a l e # p s e n # r d , # w r p o r t 2 p o r t 0 f l o a t a 7 - a 0 f l o a t f l o a t f l o a t f l o a t a 7 - a 0 i n s t i n i n s t i n a d d r e s s a 1 5 - a 8 a d d r e s s a 1 5 - a 8 1 2 5 7 33 4 6 8
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 0 d a t a m e m o r y w r i t e c y c l e t i m i n g t h e f o l l o w i n g t i m i n g d i a g r a m s h o w s w h a t o c c u r s a t e a c h s i g n a l d u r i n g a d a t a m e m o r y w r i t e c y c l e . f i g u r e 2 8 : d a t a m e m o r y w r i t e c y c l e t i m i n g t 1 2 t 1 t 2 t 3 t 4 t 5 t 6 t 7 t 8 t 9 t 1 0 t 1 1 t 1 2 t 1 t 2 t 3 o s c a l e # p s e n # w r p o r t 2 p o r t 0 a d d r e s s a 1 5 - a 8 i n s t i n a 7 - a 0 d a t a o u t a d d r e s s o r f l o a t 1 5 f l o a t 22 3 6 4
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 1 i / o p o r t s t i m i n g t h e f o l l o w i n g t i m i n g d i a g r a m s h o w s w h a t o c c u r s d u r i n g i / o p o r t t i m i n g . f i g u r e 2 9 : i / o p o r t s t i m i n g t 7 t 8 t 9 t 1 0 t 1 1 t 1 2 t 1 t 2 t 3 t 4 t 5 t 6 t 7 t 8 s a m p l e d s a m p l e d s a m p l e d c u r r e n t d a t a n e x t d a t a x 1 i n p u t s p 0 , p 1 i n p u t s p 2 , p 3 o u t p u t b y m o v p x , s r c r x d a t s e r i a l p o r t s h i f t c l o c k m o d e 0
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 2 t i m i n g r e q u i r e m e n t o f t h e e x t e r n a l c l o c k ( v s s = 0 v i s a s s u m e d ) f i g u r e 3 0 : t i m i n g r e q u i r e m e n t o f e x t e r n a l c l o c k ( v s s = 0 . 0 v i s a s s u m e d ) t c l c l t c h c x t c l c h t c h c l t c l c x 7 0 % v d d 2 0 % v d d - 0 . 1 v v d d - 0 . 5 v 0 . 4 5 v e x t e r n a l p r o g r a m m e m o r y r e a d c y c l e t h e f o l l o w i n g t i m i n g d i a g r a m s h o w s w h a t o c c u r s a t e a c h s i g n a l d u r i n g a n e x t e r n a l p r o g r a m m e m o r y r e a d c y c l e . f i g u r e 3 1 : e x t e r n a l p r o g r a m m e m o r y r e a d c y c l e t p l p h t p x i x t p x i z i n s t r u c t i o n i n a 0 - a 7 a 8 - a 1 5 p 2 . 0 - p 2 . 7 o r a b - a 1 5 f r o m d p h a 0 - a 7 t l l p l t l h l l t a v l l t l l a x t p l a z t p l i v t a v i v # p s e n a l e p o r t 0 p o r t 2
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 3 e x t e r n a l d a t a m e m o r y r e a d c y c l e t h e f o l l o w i n g t i m i n g d i a g r a m s h o w s w h a t o c c u r s a t e a c h s i g n a l d u r i n g a n e x t e r n a l d a t a m e m o r y r e a d c y c l e . f i g u r e 3 2 : e x t e r n a l d a t a m e m o r y r e a d c y c l e t l l d v t l l y l t r l r h t r l a z a 0 - a 7 f r o m r i o r d p l t a v l l t l l a x t a v y l t a v d v p 2 . 0 - p 2 . 7 o r a 8 - a 1 5 f r o m d p h a 8 - a 1 5 f r o m p c h d a t a i n t r h d x t r h d z a 0 - a 7 f r o m p c l i n s t r l i n t r l d v t y h l h # p s e n a l e # r d p o r t 0 p o r t 2
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 4 e x t e r n a l d a t a m e m o r y w r i t e c y c l e t h e f o l l o w i n g t i m i n g d i a g r a m s h o w s w h a t o c c u r s a t e a c h s i g n a l d u r i n g a n e x t e r n a l d a t a m e m o r y w r i t e c y c l e . f i g u r e 3 3 : e x t e r n a l d a t a m e m o r y w r i t e c y c l e # p s e n t w l w h t l l y l t l h l l t a v l l t l l a x t q v w x t q v w h t w h q x t y h l h t a v y l a l e # w r p o r t 0 p o r t 2 p 2 . 0 - p 2 . 7 o r a 8 - a 1 5 f r o m d p h d a t a o u t a 0 - a 7 f r o m r i o r d p l a 8 - a 1 5 f r o m p c h a 0 - a 7 f r o m p c l i n s t r l i n .
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 5 p l a s t i c c h i p c a r r i e r ( p l c c ) v r s 1 0 0 0 d h d e h e g d e c b 1 b n o t e : 1 . d i m e n s i o n s d & e d o n o t i n c l u d e i n t e r l e a d f l a s h . 2 . d i m e n s i o n b 1 d o e s n o t i n c l u d e d a m b a r p r o t r u s i o n / i n t r u s i o n . 3 . c o n t r o l l i n g d i m e n s i o n : i n c h 4 . g e n e r a l a p p e a r a n c e s p e c s h o u l d b e b a s e d o n f i n a l v i s u a l i n s p e c t i o n s p e c . g e y a 2 a 1 a l t a b l e 4 4 : d i m e n s i o n s o f p l c c - 4 4 c h i p c a r r i e r d i m e n s i o n i n i n c h d i m e n s i o n i n m m s y m b o l m i n i m a l / m a x i m a l m i n i m a l / m a x i m a l a - / 0 . 1 8 5 - / 4 . 7 0 a l 0 . 0 2 0 / - 0 . 5 1 / a 2 0 . 1 4 5 / 0 . 1 5 5 3 . 6 8 / 3 . 9 4 b l 0 . 0 2 6 / 0 . 0 3 2 0 . 6 6 / 0 . 8 1 b 0 . 0 1 6 / 0 . 0 2 2 0 . 4 1 / 0 . 5 6 c 0 . 0 0 8 / 0 . 0 1 4 0 . 2 0 / 0 . 3 6 d 0 . 6 4 8 / 0 . 6 5 8 1 6 . 4 6 / 1 6 . 7 1 e 0 . 6 4 8 / 0 . 6 5 8 1 6 . 4 6 / 1 6 . 7 1 e 0 . 0 5 0 b s c 1 . 2 7 b s c g d 0 . 5 9 0 / 0 . 6 3 0 1 4 . 9 9 / 1 6 . 0 0 g e 0 . 5 9 0 / 0 . 6 3 0 1 4 . 9 9 / 1 6 . 0 0 h d 0 . 6 8 0 / 0 . 7 0 0 1 7 . 2 7 / 1 7 . 7 8 h e 0 . 6 8 0 / 0 . 7 0 0 1 7 . 2 7 / 1 7 . 7 8 l 0 . 0 9 0 / 0 . 1 1 0 2 . 2 9 / 2 . 7 9  - / 0 . 0 0 4 - / 0 . 1 0  y / /
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 6 p l a s t i c q u a d f l a t p a c k a g e ( q f p ) v r s 1 0 0 0 e 2 e 1 e d 2 d 1 d e s e a t i n g p l a n e c e 1 n o t e : 1 . d i m e n s i o n s d 1 a n d e 1 d o n o t i n c l u d e m o l d p r o t r u s i o n . 2 . a l l o w a n c e p r o t r u s i o n i s 0 . 2 5 m m p e r s i d e . 3 . d i m e n s i o n s d 1 a n d e 1 d o n o t i n c l u d e m o l d m i s m a t c h a n d a r e d e t e r m i n e d d a t u m p l a n e . 4 . d i m e n s i o n b d o e s n o t i n c l u d e d a m b a r p r o t r u s i o n . 5 . a l l o w a n c e d a m b a r p r o t r u s i o n s h a l l b e 0 . 0 8 m m t o t a l i n e x c e s s o f t h e b d i m e n s i o n a t m a x i m u m m a t e r i a l c o n d i t i o n . d a m b a r c a n n o t b e l o c a t e d o n t h e l o w e r r a d i u s o f t h e l e a d f o o t . l c l 1 s s b a a 1 a 2 t a b l e 4 5 : d i m e n s i o n s o f q f p - 4 4 c h i p c a r r i e r d i m e n s i o n i n i n . d i m e n s i o n i n m m s y m b o l m i n i m a l / m a x i m a l m i n i m a l / m a x i m a l a - / 0 . 1 0 0 - / 2 . 5 5 a l 0 . 0 0 6 / 0 . 0 1 4 0 . 1 5 / 0 . 3 5 a 2 0 . 0 7 1 / 0 . 0 8 7 1 . 8 0 / 2 . 2 0 b 0 . 0 1 2 / 0 . 0 1 8 0 . 3 0 / 0 . 4 5 c 0 . 0 0 4 / 0 . 0 0 9 0 . 0 9 / 0 . 2 0 d 0 . 5 2 0 b s c 1 3 . 2 0 b s c d 1 0 . 3 9 4 b s c 1 0 . 0 0 b s c d 2 0 . 3 1 5 8 . 0 0 e 0 . 5 2 0 b s c 1 3 . 2 0 b s c e 1 0 . 3 9 4 b s c 1 0 . 0 0 b s c e 2 0 . 3 1 5 8 . 0 0 e 0 . 0 3 1 b s c 0 . 8 0 b s c l 0 . 0 2 9 / 0 . 0 4 1 0 . 7 3 / 1 . 0 3 l 1 0 . 0 6 3 1 . 6 0 r 1 0 . 0 0 5 / - 0 . 1 3 / - r 2 0 . 0 0 5 / 0 . 0 1 2 0 . 1 3 / 0 . 3 0 s 0 . 0 0 8 / - 0 . 2 0 / - 0 0 ? / 7 ? a s l e f t  1 0 ? / - a s l e f t  2 1 0 ? r e f a s l e f t  3 7 ? r e f a s l e f t  c 0 . 0 0 4 0 . 1 0 3 g a g e p l a n e 0 . 2 5 m m r 1 2 r 2
v r s 1 0 0 0 v e r s a d a t a s h e e t r e v 1 . 6 1 1 3 4 s t e c a t h e r i n e s t r e e t w e s t , s u i t e 9 0 0 , m o n t r e a l , q u e b e c , c a n a d a h 3 b 1 h 4  t e l : ( 5 1 4 ) 8 7 1 - 2 4 4 7  h t t p : / / w w w . g o a l s e m i . c o m 4 7 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 s t r u c t u r e v r s a b c - x y z f f o p e r a t i n g f r e q u e n c y 4 0 : 4 0 m h z o s c i l l a t o r f r e q u e n c y t e m p e r a t u r e r a n g e i : i n d u s t r i a l ( - 4 0 c t o + 8 5 c ) o p e r a t i n g v o l t a g e a : 4 . 5 v - 5 . 5 v p a c k a g e o p t i o n s p : p l c c - 4 4 p i n s q : q f p - 4 4 p i n s p r o d u c t n u m b e r 1 0 0 0 - 6 4 k f l a s h & 1 k r a m d e v i c e f a m i l y v r s : v e r s a m c u v r s 1 0 0 0 o r d e r i n g o p t i o n s d e v i c e n u m b e r f l a s h s i z e r a m s i z e p a c k a g e o p t i o n v o l t a g e t e m p e r a t u r e f r e q u e n c y v r s 1 0 0 0 - p a i 4 0 6 4 k 1 k p l c c - 4 4 4 . 5 v t o 5 . 5 v - 4 0 c t o + 8 5 c 4 0 m h z v r s 1 0 0 0 - q a i 4 0 6 4 k 1 k q f p - 4 4 4 . 5 v t o 5 . 5 v - 4 0 c t o + 8 5 c 4 0 m h z d i s c l a i m e r s r i g h t t o m a k e c h a n g e - g o a l s e m i c o n d u c t o r 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 t o i t s p r o d u c t s - i n c l u d i n g c i r c u i t r y , s o f t w a r e a n d s e r v i c e s - w i t h o u t n o t i c e a t a n y t i m e . c u s t o m e r s s h o u l d o b t a i n t h e m o s t c u r r e n t a n d r e l e v a n t i n f o r m a t i o n b e f o r e p l a c i n g o r d e r s . u s e i n a p p l i c a t i o n s - g o a l s e m i c o n d u c t o r a s s u m e s n o r e s p o n s i b i l i t y o r l i a b i l i t y f o r t h e u s e o f a n y o f i t s p r o d u c t s , a n d c o n v e y s n o l i c e n s e o r t i t l e u n d e r a n y p a t e n t , c o p y r i g h t o r m a s k w o r k r i g h t t o t h e s e p r o d u c t s a n d m a k e s n o r e p r e s e n t a t i o n s o r w a r r a n t i e s t h a t t h e s e p r o d u c t s a r e f r e e f r o m p a t e n t , c o p y r i g h t o r m a s k w o r k r i g h t i n f r i n g e m e n t 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 u s t o m e r s a r e r e s p o n s i b l e f o r p r o d u c t d e s i g n a n d a p p l i c a t i o n s u s i n g g o a l s e m i c o n d u c t o r p a r t s . g o a l s e m i c o n d u c t o r a s s u m e s n o l i a b i l i t y f o r a p p l i c a t i o n s a s s i s t a n c e o r c u s t o m e r p r o d u c t d e s i g n . l i f e s u p p o r t C g o a l s e m i c o n d u c t o r p r o d u c t s a r e n o t d e s i g n e d f o r u s e i n l i f e s u p p o r t s y s t e m s o r d e v i c e s . g o a l s e m i c o n d u c t o r c u s t o m e r s u s i n g o r s e l l i n g g o a l p r o d u c t s f o r u s e i n s u c h a p p l i c a t i o n s d o s o a t t h e i r o w n r i s k a n d a g r e e t o f u l l y i n d e m n i f y g o a l s e m i c o n d u c t o r f o r a n y d a m a g e s r e s u l t i n g f r o m s u c h a p p l i c a t i o n s .


▲Up To Search▲   

 
Price & Availability of VRS1000

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