Home
4I23 SERIAL PORT MANUAL
Contents
1. E R 02 CHO R5 5 957 U6 CHI W6 C14 S RZ Raj LYS 5 U12 R24 R25 CH2 wig 9 RO p 53 5 UIE R3I R32 CHS w57 fuig W58 W60 W44 R44 B45 R36 R38 R40 pt U2T R46 R47 uta 020 W59 022 023 63 Wel 162 J f or 12 ART REV A Page 6 4123 USER S MANUAL CONFIGURATION PORT ADDRESS SELECTION The I O addresses of the four serial channels on the 4123 are selected by location jumpers W58 W59 and W60 These jumpers select one of eight options Each serial channel occupies 8 contiguous addresses in I O space The 4123 is shipped with channel 0 set as COM1 channel set as COM2 channel 2 set as C
2. i ul u 5 CHO 5 6 U5 67 a U7 T CHI W L gt 103 49 R21 UIZR24 625 Reo IT 014 CH2 wig a RG 5 on b P3 L UIS 32 S u17 CH3 w57 58 w60 Wee RAS R36 R38 R40 P4 R46 R47 020 159 022 W63 W61 62 Mesa J2 ART REV Page 8 4123 USER S MANUAL CONFIGURATION INTERRUPT SELECT Each channel of the 4123 can be configured to generate interrupts on various status conditions These interrupts can be routed to any of the 11 PC BUS interrupt lines A shorting jumper placed in the interrupt select matrix determines which interrupt is generated by each channel The interrupt select matrix is located on the middle right hand side of the card The interrupt select matrix is labeled horizontally with IRQ numbers and vertically with channe
3. 5 Ci ul Rag u2 CHO R3 R4 5 E E w5 u4 5 9 us R7 RB ay U6 CHI 6 5 Raz 103 08 5 12 R24 R25 CH2 wig RO RI i 53 5 5 16 R3I R32 CHS w57 Pure w58 W60 W44 Req 85 R36 R38 R40 1 R46 R47 i 020 W59 022 023 5 63 Wel W62 Ji Plesa 12 ART REV Page 12 4123 USER S MANUAL CONFIGURATION RS 232 POWER The 4123 can use system 12V power for the RS 232 ports or on card generated RS 232 power This allows 4123 to operate in 5V only systems To use on RS 232 power Jumpers W60 W61 should be set in the down position This is the default 4123 jumpering To use 12V system power jumpers W60 and W62 should be set in the up position If you select system RS 232 power be sure that the 12V and 12V power NEVER exceeds 13 5V or you may destroy the CMOS serial interface chips on the 4123 You should select system power when RS 232 powered peripherals are connected to the 4123 This includes serial mice trackballs serial port powered modems etc QUAD BAUD RA
4. gt N gt gt KPNI Cy Niro lt lt lt Page 10 4123 USER S MANUAL CONFIGURATION RS 422 TERMINATION The differential receiver inputs on the 4123 can be terminated with an on card 130 ohm resistor Termination should be used at each end of the cable only Jumper W6 controls termination on channel 0 jumper W19 controls termination on channel 1 jumper W57 controls termination on channel 2 and jumper W63 controls termination on channel 3 Placing the jumpers in the left hand position connects the termination resistor to the receive input Placing the jumper in the right hand position disconnects the termination resistor RS 422 DRIVER ENABLE The RS 422 drivers on the 4123 can be disabled TRI STATED under software control to allow network or multi drop type applications The RS 422 driv
5. 15 OPERATION PIN OUE ds eves 16 Shared interrupts oeeie sta note ia Moe oleae ca od Mis 17 Shared interrupt register ve 18 sere cow tote ok weeded 19 5 485 19 Quad dee eae nes 20 a 20 20 REFERENCE INFORMATION SPCCINICAUON Stet wwe henge 21 cosa ees waded esis 22 Schematic 23 4123 USER S MANUAL HANDLING PRECAUTIONS STATIC ELECTRICITY The CMOS integrated circuits on the 4123 can be damaged by exposure to electrostatic discharges The following precautions should be taken when handling the 4123 to prevent possible damage A Leave the 4123 in its antistatic bag until needed B All work should be performed at an antistatic workstation C Ground equipment into which 4
6. CH2 T 5 G P3 5 e 6 R3I 522 ENO i ul7 CHS Wott puis W58 W60 waa RES e RIB RAD R36 R38 R G U2 R46 R47 020 159 1 022 5023 W63 W61 W62 J J2 ART REV Page 14 4123 USER S MANUAL INSTALLATION GENERAL When the 4123 has been properly configured for its application it can be inserted into a PC 104 stack The standoffs should then be tightened to secure the 4123 in its place When the 4123 is secured in the stack the 10 pin headers can be plugged in from the side Page 15 4123 USER S MANUAL OPERATION CONNECTOR PIN OUT When using the RS 232 interface the 10 pin headers are normally terminated with IDC cables having 9 pin male DB9 connectors on the far end When terminated this way the 9 pin D connectors have the same pin out as PC AT type serial ports When used in the RS 422 mode the pin out is similar to the RS 422 secondary channel standard RS 449 The pin numbers titled DB9 below reflect the 9 pin D connector pin numbers pin numbers titled HDR10 below reflect the 4123 10 pin header pin numbers RS 232 CONNECTOR PIN OUT HDR10 SIGNAL DB9 O HD Nn FW Ne 2 oN A N ON Ue CD Carrier Detect RXD Received Data TXD Transmitted Data DTR Data Term Ready Ground DSR Data Set Ready RTS Request To Send CTS Clear To Send RI Ring Indicator 5V Header only RS 422 CONNECTOR PIN OUT
7. HDR10 SIGNAL DB9 A L N e Z Q on A N ON Ue Ground No Connection TXDA Transmitted Data B RXDA Received Data A Ground RXDB Received Data B RTS Request To Send CTS Clear To Send TXDB Transmitted Data B 5V Header only Page 16 FUNCTION Control input to 4123 Serial Data to 4123 Serial Data from 4123 Control Output from 4123 Signal Ground Control input to 4123 Control output from 4123 Control input to 4123 Control input to 4123 Adapter power FUNCTION Frame Ground Serial Data from 4123 Serial Data to 4123 Signal Ground Serial Data to 4123 Control output from 4123 Control input to 4123 Serial Data from 4123 Adapter power 4123 USER S MANUAL OPERATION SHARED INTERRUPTS Interrupts the 4123 can be combined to allow sharing of interrupts by two or more serial channels Interrupts be OR ed between the two or more channels one card Each shared interrupt can be individually masked via a common interrupt control register When the 4123 is first powered up or reset the shared interrupt feature is disabled and interrupt operation is exactly the same as standard COMX ports To use shared interrupts you must first route the shared interrupt output to the desired bus interrupt This is done by setting jumper W44 to the down position This connects channel 3 s set of interrupt select jumpers to the shared interrupt driver Then
8. 4123 can optionally be supplied with RS 485 capable driver and receiver chips These chips have a wider operational common mode range than the RS 422 chips normally supplied RS 485 drivers are also designed to not interfere with RS 485 bus operation when powered down Because of these differences RS 485 driver chips are more expensive than the RS 422 chips normally used Contact MESA if you need the 4123 supplied with RS 485 chips To connect the 4123 to an RS 485 bus you need to connect RXDA to TXDA and RXDB to TXDB The RS485 I O pair is then connected to TXDA and TXDB Page 19 4123 USER S MANUAL OPERATION QUAD BAUD RATE OPERATION The 4123 is capable of operating at four times the normal baud rate on channels 2 and 3 The quad baud rate option is only useful with RS 422 and RS485 ports It connects the clock source of the channel 2 and 3 UARTs to 7 37 MHz instead of the standard 1 84 MHz This allows baud rates of up to 460 8 K baud to be selected Note that when using the double baud rate option running standard software that initializes the serial port such aa MODE etc will result in baud rates that are exactly four times the selected value FIFO OPERATION The 16C550 chips used in the 4123 have a built in 16 byte receive and transmit FIFOs These FIFOs can allow higher baud rates or reduce the interrupt overhead in interrupt driven operation The FIFOs are disabled at power up Detailed FIFO operation is b
9. the desired bus IRQ for the shared interrupt is selected with channel 3 s jumpers The channels that will share an interrupt need to have their interrupt select jumper s set to the NONE position Serial channels sharing an interrupt need to have their IRQ drivers enabled via setting the OUT2 bits of the respective channels the normal way The shared interrupt register must now be appropriately initialized to enable the shared interrupts When interrupts or ed the interrupt service routine must determine which channel s caused the interrupt and make sure that there are no pending interrupts from any other channel before returning The 4123 utility disk has a OR ed interrupt example program called 4I230INT SHARED INTERRUPT REGISTERS The shared interrupt feature of the 4123 is controlled by an 5 bit read write parallel latch and a 5 bit read only status port The interrupt bits are accessed at the location of the first serial channel 8000H For example if the first serial port is located at 03F8H to O3FFH the default location the option bits would be accessed I O addresses of 83F8H and 83F9 These addresses will not conflict with normal access to the 4123 Option bits are set or cleared by writing a 1 or 0 to the appropriate bit The option bits can be read back by reading the option bit location The data is read at bits 0 4 all other bits are undefined All bits are active high After a system reset all option bits are zeros disa
10. 123 will be installed D Ground handling personnel with conductive bracelet through 1 megohm resistor to ground E Avoid wearing synthetic fabrics particularly Nylon 4123 USER S MANUAL INTRODUCTION GENERAL The 4123 is a COMX compatible four channel serial port card implemented on a stackable PC 104 bus card The 4123 is available in three versions quad RS 232 a model with two RS 232 and two RS 422 channels and quad RS 422 The model names of the cards are respectively 4123A 4123 and 4123C The 4123 uses 16C550 type FIFO ed These have built in 16 byte receive and transmit FIFO s The 16 character FIFO s reduce interrupt overhead and allow higher data rates without losing characters The receive FIFO s also increase the allowable interrupt latency This is especially important when using programs like WINDOWS that disable interrupts for comparatively long periods of time Unlike many serial cards the 4123 is implemented with the 16 bit bus connector so that each of the four serial ports on the 4123 can uses any of the 11 available AT bus interrupts The 4123 also has an shared interrupt capability The four serial port interrupts can be logically to common interrupt The or ed interrupts are individually maskable The interrupt status of all four channels is readable at a single port location to allow quick response to the shared interrupt All additional I O necessary to implement the shar
11. 4123 SERIAL PORT MANUAL Version 1 2 Copyright 1997 by MESA ELECTRONICS Richmond CA Printed in the United States of America All rights reserved This document and the data disclosed herein is not to be reproduced used disclosed in whole or in part to anyone without the written permission of MESA ELECTRONICS Mesa Electronics 4175 Lakeside Drive Suite 100 Richmond CA 94806 1950 Tel 510 223 9272 Fax 510 223 9585 E Mail tech mesanet com Website www mesanet com 4123 USER S MANUAL TABLE OF CONTENTS HANDLING PRECAUTIONS Static electricity ta 3 INTRODUCTION General iu oe Onin E 4 CONFIGURATION Creneral ysis acide diet 5 5 Port address sclechon E 7 2 08 E REEE ES 9 5 422 11 5 422 11 ZO WEL 13 Quad baud rate 2 2 222 2 13 INSTALLATION General sua
12. ENTAL Operating temperature range version 40 85 C version 0 70 C Relative humidity 0 90 Percent Non condensing Page 21 4123 USER S MANUAL REFERENCE INFORMATION WARRANTY Mesa Electronics warrants the products it manufactures to be free effects in material and workmanship under normal use and service for the period of 2 years from date of purchase This warranty shall not apply to products which have been subject to misuse neglect accident or abnormal conditions of operation In the event of failure of a product covered by this warranty Mesa Electronics will repair any product returned to Mesa Electronics within 2 years of original purchase provided the warrantor s examination discloses to its satisfaction that the product was defective The warrantor may at its option replace the product in lieu of repair With regard to any product returned within 2 years of purchase said repairs or replacement will be made without charge If the failure has been caused by misuse neglect accident or abnormal conditions of operation repairs will be billed at anominal cost THE FOREGOING WARRANTY IS IN LIEU OF ALL OTHER WARRANTIES EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY FITNESS OR ADEQUACY FOR PARTICULAR PURPOSE USE MESA ELECTRONICS SHALL NOT BE LIABLE FOR SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES WHETHER
13. IN CONTRACT TORT OR OTHERWISE If any failure occurs the following steps should be taken 1 Notify Mesa Electronics giving full details of the difficulty On receipt of this information service data or shipping instructions will be forwarded to you 2 On receipt of the shipping instructions forward the product in its original protective packaging transportation prepaid to Mesa Electronics Repairs will be made at Mesa Electronics and the product returned transportation prepaid Page 22 4123 USER S MANUAL kKREFERENCE INFORMATION SCHEMATICS Page 23 4123 USER S MANUAL Page 24
14. OM3 and channel 3 set as OPTION 0 The PAL device that sets the port addresses is socketed and can be replaced if a different set of port addresses is desired Contact MESA if you application requires different port addresses OPTION W58 59 W60 Ch 0 Ch1 Ch 2 Ch 3 0 down down down COM2 1 down down up COM2 COM3 5 2 down up down 5 COM6 3 down up up 5 COM6 COM7 4 up down down 5 6 7 COM8 5 up down up 6 COM7 8 COM9 6 up up down COM7 8 9 COM10 7 up up up 8 9 0 The I O address for through as follows COM PORT ADDRESS hex COMI 3F8 COM2 2F8 COM3 3E8 COM4 2E8 COM5 100 COM6 108 COM7 110 8 118 9 120 COM10 128 11 130 7 4123 USER S MANUAL CONFIGURATION PORT ADDRESS JUMPER LOCATIONS
15. TE SELECTION The 4123 is capable of operating at four times the normal baud rate on channels 2 and 3 To select the quad baud rate option W5 is set to the up position The normal baud rates are selected with W5 down Page 13 4123 USER S MANUAL CONFIGURATION RS 232 POWER AND QUAD BAUD RATE JUMPER LOCATIONS 5 24 az 15 CHO RS RE 5 R CHI L Raz Ras LYS uio Pz E 2 12 R24 625 2 4
16. bling all options This leaves the 4123 in a state that is compatible with standard COM X type serial ports Page 17 4123 USER S MANUAL OPERATION SHARED INTERRUPT REGISTER The following chart shows the bit definitions in the shared interrupt registers BASE is the location of serial channel 1 8000H All signals are active high high true Write port BASE BIT NAME FUNCTION WHEN SET 0 IMASKO Enables channel 0 or ed interrupt 1 5 Enables channel 1 interrupt 2 IMASK2 Enables channel 2 interrupt 3 IMASK3 Enables channel 3 interrupt 4 SINTEN Driver enable for shared interrupt Read port BASE BIT NAME CURRENT LEVEL 0 INTO Status of channel 0 interrupt 1 INT1 Status of channel 1 interrupt 2 INT2 Status of channel 2 interrupt 3 INT3 Status of channel 3 interrupt 4 1 PEND One or more interrupts pending 5 2 PEND Two or more one interrupts pending Read port BASE 1 BIT NAME CURRENT LEVEL 0 IMASKO Readback of IMASKO 1 Readback of IMASK1 2 IMASK2 Readback of IMASK2 3 IMASK3 Readback of IMASK3 4 SINTEN Readback of SINTEN Page 18 4123 USER S MANUAL OPERATION RS 422 OPERATION When RS 422 levels are used the DCD DSR and RI Data Carrier Detect Data Set Ready and Ring Indicator input lines on each channel are not used The DCD and DSR lines will be in the active state and the RI line will be in the inactive state RS 485 OPERATION The
17. ed interrupt logic uses aliased addresses so that no extra I O port locations are required The 5 422 ports have one handshake in and one handshake out line The 5 422 drivers can be software enabled and disabled for bus RS 485 type applications Jumper selectable RS 422 termination is provided on card A jumper selectable double baud rate option allows RS 422 channels to run at up to 230 4K baud The double baud rate option applies to two of the four 4123 channels Serial port connectors are 10 pin headers that match 9 pin AT type 5 232 serial port pinout when terminated with an IDC type 9 pin subminiature D connector RS 422 pinout is similar to the RS 449 secondary channel pinout Serial port addresses are set with a socketed PAL device Eight different sets of port locations can be selected by option jumpers MESA can supply custom port address PALs if desired The 4123 requires only 5V for operation as all RS 232 power is generated on card All CMOS technology keeps power dissipation to a minimum Page 4 4123 USER S MANUAL CONFIGURATION GENERAL The 4123 has a number of jumper configurable options that must be properly set to match the application Each group of jumpers will be discussed separately by function In the following discussions when the words up down right and left are used it is assumed that the 4123 serial I O card is oriented with its bus connectors J1 and J2 at the bottom edge of the card neares
18. ers are controlled by the RTS bit of the respective and the RS 422 driver mode jumpers The jumpers allow the power up driver enable state to be selected Jumpers W1 through W4 control the enable polarity of channels 0 through 3 When jumper W1 through W4 are set to the down position the corresponding RS 422 driver will be disabled at reset and setting the RTS bit in modem control register will enable the driver This is the default jumpering for 4123B cards and the suggested mode of operation for multi drop applications When jumper W1 through W4 are set to the up position the corresponding RS 422 driver will be enabled at reset and setting the RTS bit in modem control register will disable the driver Page 11 4123 USER S MANUAL CONFIGURATION RS 422 CONFIGURATION JUMPERS
19. eyond the scope of this manual but an example setup program 4123FIFO is included on the 4123 utility disk For more information see the National Semiconductor NS16550A data sheet and their application note AN 491 The NS16550 UART Design and Application Considerations National Semiconductors application note AN 493 A Comparison of the INS8250 NS 16450 and NS16550AF Series of UARTs may also be helpful POWER CONSUMPTION The 4123 is capable of operating with quite low power consumption The major portion of the supply current is consumed by the RS 422 driver and receiver chips plus the decode and interrupt sharing PALs Low power RS 422 chips and PALs are available as an option Please contact MESA if your application requires minimum power operation Typical power consumption of a 4123A 4 channel RS 232 is 50 Ma with no load on the RS 232 outputs Page 20 4123 USER S MANUAL REFERENCE INFORMATION SPECIFICATIONS MIN UNIT POWER SUPPLY Voltage 4 5 5 5 V Supply current RS 232 only 50 mA Supply current RS 232 RS422 150 mA Supply current RS422 only 250 mA BUS LOADING Input capacitance 15 pF Input leakage current 5 uA Output drive capability 150 Output sink current 12 mA RS232 INTERFACE LEVELS RS 232 output voltage local power 5 12 Volts 3 3k load all outputs loaded RS 232 output voltage system power Vsys Vsys 2 Volts 3 3k load all outputs loaded ENVIRONM
20. l numbers A jumper is placed at the intersection of a channel number and an IRQ number to select a specific interrupt for that channel To disable a channel s interrupt place the jumper for that channel in the NONE position You should never have more than one channel connected to a single interrupt The 4123 is shipped with channel 0 configured to generate IRQ 4 and channel 1 configured to generate IRQ 3 the standard interrupts for COM1 and respectively Channel 2 and channel 3 interrupts are disabled The following table shows the jumper settings for selecting interrupts INTERRUPT JUMPER MATRIX I I I I I R R R R R R R R Q Q Q Q Q 4 5 6 7 10 11 12 14 15 CHO 7 W8 W9 W11 W12 W13 W14 W15 W16 W17 W18 CH1 20 W21 W22 W23 W24 W25 W26 W27 W28 W29 W30 W31 CH2 W32 W33 W34 W35 W36 W37 W38 W39 W40 W41 W42 W43 CH3 W45 W46 W47 W48 W49 W50 W51 W52 W53 W54 W55 W56 owm 7 1 R Q 2 SHARED INTERRUPT SELECT The 4123 is capable of logically ORing on card interrupts to conserve system interrupts This is especially useful in 8 bit systems where available bus interrupts are scarce Shared interrupt mode is selected by setting jumper W44 into the down position This steals channel 3 s interrupt select jumpers and connects them to the shared interrupt logic W44 should be left in the up position for normal operation See the SHARED INTERRUPTS paragraph in the operation section of this manual for mo
21. re information on using shared interrupts Page 9 4123 USER S MANUAL CONFIGURATION INTERRUPT SELECT JUMPER LOCATIONS c2 R C3 2 lt a 88 US R7 R8 a CHI We 5 R22 R23 va P2 2 R24 R25 CH2 Wis RO p P3 5 UIB R31 R32 8 u17 CH3 w57 fuig R 645 R36 R38 R40 5 R46 R47 io 020 1159 022 023 153 Wei W62 lesa 42 ART REV eRe SS 02 02
22. t the person doing the configuration The four serial channels are referred to as channel 0 channel 1 channel 2 and channel 3 Channel 0 connects to the top 10 pin header DEFAULT JUMPER SETTINGS Factory default 4123 jumpering is as follows FUNCTION JUMPER S SETTING Channel 0 port address W58 W60 3F8H COMI Channel 1 port address W58 W60 2F8H 2 Channel 2 port address W58 W60 3E8H COMS3 Channel 3 port address W58 W60 2E8H Channel 0 interrupt select W7 W18 TRQ4 COMI IRQ Channel 1 interrupt select W20 W31 2 IRQ Channel 2 interrupt select W32 W43 NONE COM3 IRQ Channel 3 interrupt select W45 W56 NONE IRQ Global interrupt select W44 Set to Channel 3 Ch 0 RS 422 termination W6 Disabled 4123C Ch 1 RS 422 termination W19 Disabled 4123C Ch 2 RS 422 termination W57 Disabled 4123B C Ch 3 RS 422 termination W63 Disabled 4123B C Ch 0 RS 422 driver enable Wi Off at reset 41230 Ch 1 RS 422 driver enable W2 Off at reset 4123C Ch 2 RS 422 driver enable W3 Off at reset 4123 Ch 3 RS 422 driver enable W4 Off at reset 4123B C Double Baud Rate select w5 Disabled RS 232 Power Source W61 W62 Local power Page 5 4123 USER S MANUAL CONFIGURATION DEFAULT JUMPER SETTINGS
Download Pdf Manuals
Related Search
Related Contents
Manual B-Speech Coba(eng) Caldeira solar-gás de condensação HR com permutador de calor LDG AT-200Pro Automatic Antenna Tuner Palsonic 6159G User's Manual HP Precision LCR Meter Family Awareness Brochure Telindus 111X Series User's Guide コスト削減 Onkyo TX-NR737 Owner's Manual Copyright © All rights reserved.