Intel 81342 Developer's Manual page 917

Table of Contents

Advertisement

2
I
C B u s I n t e r f a c e U n i t s — I n t e l
2
1 6 . 3
I
C B u s O p e r a t i o n
T h e I
2
C B u s I n t e r f a c e U n i t t r a n s f e r s i n 1 b y t e i n c r e m e n t s . A d a t a t r a n s f e r o n t h e I
b u s a l w a y s f o l l o w s t h e s e q u e n c e :
1 . S T A R T .
2 . 7 - b i t S l a v e A d d r e s s .
3 . R / W # B i t .
4 . A c k n o w l e d g e P u l s e .
5 . 8 B i t s o f D a t a .
6 . A c k / N a c k P u l s e .
7 . R e p e a t o f S t e p 5 a n d 6 f o r R e q u i r e d N u m b e r o f B y t e s .
8 . R e p e a t e d S T A R T ( R e p e a t S t e p 1 ) o r S T O P .
9 . S e r i a l C l o c k L i n e (
T h e 8 1 3 4 1 a n d 8 1 3 4 2 ' s I
m a s t e r m o d e ( e i t h e r r e c e i v e o r t r a n s m i t ) .
t h r o u g h t h e u s e o f t h e F a s t M o d e E n a b l e b i t , w h i c h i s p r o g r a m m e d a t i n i t i a l i z a t i o n . T h e
f o l l o w i n g e q u a t i o n i s u s e d t o d e t e r m i n e t h e
E q u a t i o n 3 5 . S C L T r a n s i t i o n P e r i o d
SCL Transition Period = (30 ns) * (167 - (Fast Mode Enable * 120))
1 6 . 3 . 1
D a t a a n d A d d r e s s i n g M a n a g e m e n t
D a t a a n d s l a v e a d d r e s s i n g i s m a n a g e d v i a t h e I
S l a v e A d d r e s s R e g i s t e r ( I S A R ) . I D B R ( s e e
— I D B R x "
a n d 8 1 3 4 2 p r o g r a m m a b l e s l a v e a d d r e s s . D a t a c o m i n g i n t o t h e I
I D B R a f t e r a f u l l b y t e i s r e c e i v e d a n d a c k n o w l e d g e d . T o t r a n s m i t d a t a , t h e p r o c e s s o r
w r i t e s t o I D B R , a n d t h e I
b i t i n t h e I C R i s s e t . S e e
W h e n t h e I
1 . S o f t w a r e w r i t e s d a t a t o t h e I D B R o v e r t h e i n t e r n a l b u s . T h i s i n i t i a t e s a m a s t e r
t r a n s a c t i o n o r s e n d s t h e n e x t d a t a b y t e , a f t e r t h e I D B R T r a n s m i t E m p t y b i t i s s e n t .
2
2 . I
C u n i t t r a n s m i t s d a t a f r o m I D B R w h e n t h e T r a n s m i t E m p t y b i t i n t h e I C R i s s e t .
3 . W h e n e n a b l e d , a n I D B R T r a n s m i t E m p t y i n t e r r u p t i s s i g n a l l e d w h e n a b y t e i s
t r a n s f e r r e d o n t h e I
4 . W h e n t h e I
w r i t t e n t h e I D B R ( a n d a S T O P c o n d i t i o n i s n o t i n p l a c e ) , t h e I
s t a t e s u n t i l t h e p r o c e s s o r w r i t e s a n e w v a l u e i n t o t h e I D B R a n d s e t s t h e I C R
T r a n s f e r B y t e b i t .
W h e n t h e I
1 . T h e p r o c e s s o r r e a d s t h e I D B R d a t a o v e r t h e i n t e r n a l b u s a f t e r t h e I D B R R e c e i v e F u l l
i n t e r r u p t i s s i g n a l l e d .
2
2 . I
C u n i t t r a n s f e r s d a t a f r o m s h i f t r e g i s t e r t o I D B R a f t e r t h e A c k c y c l e c o m p l e t e s .
3 . T h e I
A c k n o w l e d g e " o n p a g e 9 1 9
4 . A f t e r p r o c e s s o r r e a d s I D B R , t h e I
t h e T r a n s f e r B y t e b i t , a l l o w i n g t h e n e x t b y t e t r a n s f e r t o p r o c e e d .
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
®
8 1 3 4 1 a n d 8 1 3 4 2
S C L
) G e n e r a t i o n .
2
C u n i t i s r e q u i r e d t o g e n e r a t e t h e I
) c o n t a i n s d a t a o r a s l a v e a d d r e s s a n d R / W # b i t . I S A R c o n t a i n s t h e 8 1 3 4 1
2
C u n i t p a s s e s t h i s o n t o t h e s e r i a l b u s w h e n t h e T r a n s f e r B y t e
S e c t i o n 1 6 . 8 . 1 , " I 2 C C o n t r o l R e g i s t e r x — I C R x "
2
C u n i t i s i n t r a n s m i t m o d e ( m a s t e r o r s l a v e ) :
2
C b u s a n d t h e a c k n o w l e d g e c y c l e i s c o m p l e t e .
2
C b u s i s r e a d y t o t r a n s f e r t h e n e x t b y t e b e f o r e t h e p r o c e s s o r h a s
2
C u n i t i s i n r e c e i v e m o d e ( m a s t e r o r s l a v e ) :
2
C u n i t i n s e r t s w a i t s t a t e s u n t i l t h e I D B R i s r e a d . R e f e r t o
f o r a c k n o w l e d g e p u l s e i n f o r m a t i o n i n r e c e i v e r m o d e .
S C L
c l o c k g e n e r a t i o n i s a c c o m p l i s h e d
S C L
t r a n s i t i o n p e r i o d :
2
C D a t a B u f f e r R e g i s t e r ( I D B R ) a n d I
S e c t i o n 1 6 . 8 . 4 , " I 2 C D a t a B u f f e r R e g i s t e r x
2
C u n i t w r i t e s t h e I C R s A c k / N a c k C o n t r o l b i t a n d
®
I n t e l
2
C
2
C c l o c k o u t p u t w h e n i n
2
C u n i t i s r e c e i v e d i n t o
.
2
C u n i t i n s e r t s w a i t
S e c t i o n 1 6 . 3 . 2 , " I 2 C
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
2
C
9 1 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents