Intel 81342 Developer's Manual page 864

Table of Contents

Advertisement

1 4 . 3 . 1 . 2
I n i t i a l i z a t i o n S e q u e n c e
A l l C o n f i g u r a t i o n a n d m e m o r y r e a d s a n d w r i t e s a r e a c c o m p l i s h e d t h r o u g h a n S M B u s
w r i t e ( s ) a n d l a t e r f o l l o w e d b y a n S M B u s r e a d ( f o r a r e a d c o m m a n d ) . T h e S M B u s w r i t e
s e q u e n c e i s u s e d t o i n i t i a l i z e t h e f o l l o w i n g f o r t h e c o n f i g u r a t i o n a c c e s s :
• B u s N u m b e r ( B u s N u m b e r i s i g n o r e d o n 8 1 3 4 1 a n d 8 1 3 4 2 )
• D e v i c e / F u n c t i o n ( D e v i c e N u m b e r i s i g n o r e d o n 8 1 3 4 1 a n d 8 1 3 4 2 )
• 1 2 - b i t R e g i s t e r N u m b e r ( i n 2 s e p a r a t e b y t e s o n S M B u s )
E a c h o f t h e p a r a m e t e r s a b o v e i s s e n t o n S M B u s i n s e p a r a t e b y t e s . T h e r e g i s t e r n u m b e r
p a r a m e t e r i s i n i t i a l i z e d w i t h t w o b y t e s a n d 8 1 3 4 1 a n d 8 1 3 4 2 i g n o r e s t h e m o s t
s i g n i f i c a n t 4 b i t s o f t h e s e c o n d b y t e t h a t i n i t i a l i z e s t h e r e g i s t e r n u m b e r .
F o r m e m o r y r e a d s a n d w r i t e s , t h e w r i t e s e q u e n c e i n i t i a l i z e s :
• a 1 9 - b i t m e m o r y a d d r e s s o f f s e t ( i n 3 s e p a r a t e b y t e s o n S M B u s )
O n 8 1 3 4 1 a n d 8 1 3 4 2 m e m o r y t r a n s a c t i o n s a l l o w a c c e s s t o t h e P e r i p h e r a l M e m o r y -
M a p p e d R e g i s t e r s o n l y . A l l t h e P e r i p h e r a l M e m o r y - M a p p e d R e g i s t e r s o n 8 1 3 4 1 a n d
8 1 3 4 2 a r e l o c a t e d i n a 5 1 2 - K B y t e c o n t i g u o u s m e m o r y s p a c e b l o c k t h a t i s r e l a t i v e t o
t h e P M M R B a s e A d d r e s s R e g i s t e r ( P M M R B A R ) . R e f e r t o t h e P e r i p h e r a l R e g i s t e r s C h a p t e r
f o r m o r e d e t a i l s o n t h e P M M R B A R r e g i s t e r d e s c r i p t i o n . T h e 8 1 3 4 1 a n d 8 1 3 4 2 i g n o r e s
t h e u p p e r 5 b i t s o f A D D R 2 a n d t h e e n t i r e A D D R 3 f i e l d s w h e n m e m o r y t r a n s a c t i o n i s
s e l e c t e d . F o r e x a m p l e , a n i n t e r n a l b u s a d d r e s s i s f o r m e d b y c o n c a t e n a t i n g t h e v a l i d
b i t s i n t h e P M M R B A R a n d t h e 1 9 b i t s o b t a i n e d f r o m t h e S M B u s i n t h e A D D R 2 , A D D R 1 ,
a n d A D D R 0 f i e l d s . R e f e r t o
A c c e s s "
f o r t h e A D D R x f i e l d s .
T h e i n i t i a l i z a t i o n o f t h e i n f o r m a t i o n c a n b e a c c o m p l i s h e d t h r o u g h a n y c o m b i n a t i o n o f
t h e s u p p o r t e d S M B u s w r i t e c o m m a n d s ( B l o c k , W o r d o r B y t e ) . T h e I n t e r n a l C o m m a n d
f i e l d f o r e a c h w r i t e s h o u l d s p e c i f y t h e s a m e i n t e r n a l c o m m a n d e v e r y t i m e ( r e a d o r
w r i t e ) . A f t e r a l l t h e i n f o r m a t i o n i s s e t u p , t h e l a s t w r i t e ( E n d b i t i s s e t ) i n i t i a t e s a n
i n t e r n a l r e a d o r w r i t e c o m m a n d . O n a n i n t e r n a l r e a d w h e n t h e d a t a i s n o t a v a i l a b l e
b e f o r e t h e s l a v e i n t e r f a c e a c k n o w l e d g e s t h i s l a s t w r i t e c o m m a n d ( A C K ) , t h e s l a v e d o e s
a " c l o c k s t r e t c h " u n t i l t h e d a t a r e t u r n s t o t h e S M B u s i n t e r f a c e u n i t . O n a i n t e r n a l w r i t e ,
w h e n t h e w r i t e i s n o t c o m p l e t e b e f o r e t h e s l a v e i n t e r f a c e a c k n o w l e d g e s t h i s l a s t w r i t e
c o m m a n d ( A C K ) , t h e s l a v e " c l o c k s t r e t c h e s " u n t i l t h e w r i t e c o m p l e t e s i n t e r n a l l y . W h e n
a n e r r o r o c c u r s ( a d d r e s s e r r o r , t a r g e t o r m a s t e r a b o r t o n t h e i n t e r n a l b u s ) d u r i n g t h e
i n t e r n a l a c c e s s , t h e l a s t w r i t e c o m m a n d r e c e i v e s a N A C K .
®
I n t e l
8 1 3 4 1 a n d 8 1 3 4 2 I / O P r o c e s s o r s
D e v e l o p e r ' s M a n u a l
8 6 4
®
I n t e l
T a b l e 5 4 8 , " S M B u s I n t e r f a c e R e g i s t e r s f o r M e m o r y S p a c e
8 1 3 4 1 a n d 8 1 3 4 2 — S M B u s I n t e r f a c e U n i t
D e c e m b e r 2 0 0 7
O r d e r N u m b e r : 3 1 5 0 3 7 - 0 0 2 U S

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents