Quatech DS-202 User Manual

Manual is about: Quatech DUAL CHANNEL RS-422 / RS-485 ASYNCHRONOUS COMMUNICATION BOARD

Summary of DS-202

  • Page 1

    W a r r a n t y i n f o r m a t i o n q u a t e c h i n c . W a r r a n t s t h e d s - 2 0 2 / d s - 3 0 2 t o b e f r e e o f d e f e c t s f o r o n e ( 1 ) y e a r f r o m t h e d a t e o f p u r c h a s e . Q u a t e c h i n c . W i l l r e p a i r o r r e p l a c e a n y b o a r d t h a t f a ...

  • Page 2

    T a b l e o f c o n t e n t s warranty information . . . . . . . . . . . . I list of figures . . . . . . . . . . . . . Iii i. Introduction . . . . . . . . . . . . . . . . 1 ii. Board description . . . . . . . . . . . . . 1 iii. 16450/16550 * functional description . . . . 1 interrupt enable register...

  • Page 3

    Introduction list of figures figure 1. Ds-202/ds-302 board layout . . . . . . 2 figure 2. 16450/16550 * internal registers . . . 3 figure 3. Interrupt source identification . . . 6 figure 4. Fifo receiver trigger levels * . . . . 7 figure 5. Parity options . . . . . . . . . . . . 9 figure 6. Word le...

  • Page 4

    Introduction i . I n t r o d u c t i o n t h e d s - 2 0 2 i s a d u a l c h a n n e l r s - 4 2 2 a s y n c h r o n o u s s e r i a l c o m m u n i c a t i o n s a d a p t e r f o r s y s t e m s i m p l e m e n t i n g a n i s a c o m p a t i b l e i / o b u s . D a t a i s c o m m u n i c a t e d...

  • Page 5

    Figure 1. Ds-202 / ds-302 component layout..

  • Page 6

    Functional description d e s i g n e d t o b e c o m p a t i b l e w i t h t h e 1 6 4 5 0 , t h e 1 6 5 5 0 a c e e n t e r s c h a r a c t e r m o d e o n r e s e t a n d i n t h i s m o d e a p p e a r s a s a 1 6 4 5 0 t o a p p l i c a t i o n s o f t w a r e . A n a d d i t i o n a l m o d e ,...

  • Page 11

    Functional description rrst - receive fifo reset: * w h e n s e t ( l o g i c 1 ) , a l l b y t e s i n t h e r e c e i v e r f i f o a r e c l e a r e d a n d t h e c o u n t e r i s r e s e t . T h e s h i f t r e g i s t e r i s n o t c l e a r e d . R r s t i s s e l f - clearing. Fe - fifo enab...

  • Page 12

    Functional description stkp - stick parity: forces parity to logic 1 or logic 0 if parity is enabled. See eps, pen, and figure 5. Eps - even parity select: selects even or odd parity if parity is enabled. See stkp, pen, and figure 5. Pen - parity enable: e n a b l e s p a r i t y g e n e r a t i o n...

  • Page 15

    Functional description b i t s b i , f e , p e , a n d o e a r e t h e s o u r c e s o f r e c e i v e r l i n e s t a t u s i n t e r r u p t s . T h e s e b i t s a r e r e s e t b y r e a d i n g t h e l i n e s t a t u s r e g i s t e r . In fifo mode* , these bits are associated with a s p e c ...

  • Page 17

    Functional description s c r a t c h p a d r e g i s t e r this register is not used by the 16450/16550. It may be used by the programmer for data storage. F i f o i n t e r r u p t m o d e o p e r a t i o n * 1. The receive data interrupt is issued when the fifo r e a c h e s t h e t r i g g e r l ...

  • Page 19

    Baud rate selection v . A d d r e s s i n g e a c h c h a n n e l o f t h e d s - 2 0 2 / d s - 3 0 2 u s e s e i g h t c o n s e c u t i v e i / o a d d r e s s l o c a t i o n s i n t h e r a n g e 0 t o 0 7 f f h e x . T h e b a s e a d d r e s s o f c h a n n e l 1 i s s e l e c t e d u s i n g ...

  • Page 21

    Addressing v i . I n t e r r u p t s each channel of the ds-202 / ds-302 may select one o f s i x p o s s i b l e i n t e r r u p t r e q u e s t l e v e l s ( i r q 2 - 7 ) . The interrupt request level is selected using jumper j5 f o r c h a n n e l 1 a n d j u m p e r j 6 f o r c h a n n e l 2 a ...

  • Page 22

    Interrupts v i i . O u t p u t c o n f i g u r a t i o n four sets of jumpers are implemented on the ds-202 / ds-302 to control the auxiliary channel configuration a n d t r i - s t a t e o u t p u t d r i v e r s . J u m p e r s j 7 a n d j 8 a n d j u m p e r s j 9 a n d j 1 0 p e r f o r m t h e ...

  • Page 23

    Output configuration received by connecting pins 1 and 2 (figure 16a). The r t s / c t s h a n d s h a k e c a n b e d e f e a t e d b y l o o p i n g t h e r t s output back to the cts input. This is accomplished by connecting pins 1 and 4 (figures 16b and 16c). R c l k i s t h e i n p u t t o t h ...

  • Page 25

    Output configuration h a l f d u p l e x o p e r a t i o n the function of jumpers j7 and j9 is to configure t h e c o m m u n i c a t i o n c h a n n e l f o r h a l f o r f u l l d u p l e x operation. Full duplex operation requires a connection between pins 5 and 6 of the jumper block. Half duple...

  • Page 26

    Output configuration viii. E x t e r n a l c o n n e c t i o n s c o n n e c t i o n s t o p e r i p h e r a l e q u i p m e n t a r e m a d e v i a f e m a l e d - 9 c o n n e c t o r s c n 1 a n d c n 2 . A p i n - o u t o f t h e c o n n e c t o r s a n d a d e s c r i p t i o n o f e a c h c o n...

  • Page 27

    Installation / specifications i x . I n s t a l l a t i o n 1 . S e t b a s e a d d r e s s , i n t e r r u p t l e v e l a n d o u t p u t configuration jumpers on the ds-202/ds-302. 2. Turn unit off. 3. Remove system cover as instructed in the computer reference guide. 4 . I n s e r t a d a p t e ...