Home

CM313HR Communications utilityModule™ User`s Manual

image

Contents

1. 1 4 RTD Embedded Systems Inc Chapter One User s Manual Descriptions The following table describes the functions of the jumpers Jumper Table 2 Switch and Jumper tables IRQ selection for COMI G setting jumper installed 1K pull down resistor for the selected IRQ Jumper removed no pull down for the selected IRQ Default 3 4 IRQ4 is selected for CN3 with G jumper installed 1K pull down IRQ selection for COM2 G setting jumper installed 1K pull down resistor for the selected IRQ Jumper removed no pull down for the selected IRQ Default 1 2 IRQ3 is selected for CN4 with G jumper installed 1K pull down IRQ selection for COM3 G setting jumper installed 1K pull down resistor for the selected IRQ Jumper removed no pull down for the selected IRQ Default 5 6 IRQS is selected for CN5 with G jumper installed 1K pull down IRQ selection for COMA G setting jumper installed 1K pull down resistor for the selected IRQ Jumper removed no pull down for the selected IRQ Default 13 14 IRQ1O is selected for CN6 With G jumper installed 1K pull down Input clock selection for serial ports 1 2 select 24 MHz input clock to UART 2 3 select 24 MHz 13 input clock to UART Default 2 3 jumped to select 1 8432 MHz to UART Ethernet Configuration Selection 1 2 installed Use hardware default configuration for Ethernet 1 2 open Use software programmable configuration Software Programming E
2. 4 13 14 IRQ1O for 4 COM port G jumper Removed No pull down resister added on IRQIO from PORTA CM313HR Quad Serial utilityModule 3 2 RTD Embedded Systems Inc Chapter 4 USING THE UTILITYMODULE ETHERNET PORTS Using the utilityModule is straightforward and essentially identical to any other Ethernet card When CM313HR module is powered on data in the EEPROM on board is transferred to Ethernet controller s internal configuration registers The data in the EEPROM contains information configuration such as the base address of the card the active interrupt line on the PC 104 bus for Ethernet access the media type in use etc The factory default setting of the board is at I O address 0x320 and IRQ 2 9 And if there is a resource conflicting you need to change your setting on CM313HR with the other I O boards removed temporally by executing CM313HRSET program as described in a later chapter The following sections describe Diagnostic LEDs Boot ROM socket e Power Consumption Diagnostic LEDs CNS the RJ45 connector has two LEDs that are used to indicate status and provide some diagnostic information in case of malfunctions Normal State Flashing with traffic Link established UTP On 10Base T only TX RX LED The yellow LED normally flashes when there is traffic on the network It will flash for either transmit or receive data LNK LED The green LED is turned on when a valid 10Base T link is detected by the c
3. To reduce the risk of damage due to power supply problems the utilityModule includes several protective components Module Power Supply Protection The utilityModule includes a component to help prevent damage due to problems with the 5Vdc power supply from the PC 104 bus Protection is provided for Over current e Reversed polarity Excessive voltage This protection is only for the utilityModule and will not protect other devices in a PC 104 stack The protective fuse is replaceable and is available from electronics suppliers Its description and part number is Littelfuse Nano SMF 1 0 amp R451 001 Caution Replace fuses only with parts of identical current and voltage rating CM313HR Quad Serial utilityModule 2 12 RTD Embedded Systems Inc Chapter 3 USING THE UTILITYMODULE SERIAL PORTS The utilityModule features an EXAR quad UART 16C550 compatible 16C554D part EXAR Documentation Due to the complexity of the EXAR serial chip it is impossible for us to reproduce all programming information in this manual If you will be doing in depth programming of the serial port controller we suggest you obtain the 16C554D datasheet from the manufacturer The 16C554D datasheet is available on line in electronic format as an Adobe Acrobat PDF file on the EXAR website WWw exar com You may also contact EXAR Corporation 248720 Kato Road Fremont CA 94538 Or by phone fax Phone 510 668 7017 Fax 510 668 7017
4. wire color RJ45 D Note W G White Green G Green W O White Orange O Orange W BL White Blue BL Blue W BR White Brown BR Brown CM313HR Quad Serial utilityModule 6 8 RTD Embedded Systems Inc Chapter Six User s Manual Ethernet frames The following are standard Ethernet frames ETHERNET II Primarily used by TPC IP ETHERNET 802 3 Default frame for Netware 3 11 ETHERNET 802 2 Default frame for Netware 3 12 and 4 x e ETHERNET SNAP Primarily used by Appletalk IEEE 802 MAC number The CM202 utilityModule is identified with an Organizationally Unique Identifier OUI and company_id number 00 D0 81 The MAC Media Access Control number of the utilityModule is thus 00 D0 8 1 xx xx xx where the last three bytes are the serial number of the board unique for each adapter CM313HR Quad Serial utilityModule 6 9 RTD Embedded Systems Inc Chapter Six User s Manual How to Obtain Technical Support Please assemble the following information utilityModule model and serial number list of all boards in system list of settings from ISMC9000 EXE Setup program description of problem circumstances under which problem occurs Then contact factory technical support Phone 814 234 8087 Fax 814 234 5218 E mail techsupport rtd com CM313HR Quad Serial utilityModule 6 10 RTD Embedded Systems Inc Chapter 7 RETURN POLICY AND WARRANTY Return Policy If the utilityModule requires repa
5. 1 1 CM313HR Communications utilityModule essere enne enne 1 1 Feat res 5452 oie estie e seeecee eique ea ep de cete eL S vede Pues eU QU ed dodscsesdeseceeecuuste codocses cb cecesceasusdesedbeads EEEE 1 1 Connectors and Switches medii ER TRE ER RERO RE Po RUE EY Re TRAE 1 2 Recommended Cables itas e DRE UR EE ee INE eee 1 2 General Specifications ac recie et Ee e Ee a e EE EU ER D OO E D etas 1 2 Configuring the Utility Dori t Cos 1 2 J mpets and Switches ies eee dede ete ete i eee e e ede ie e e ded 1 2 Ethernet EEPROM Configuration eese esee eee eee eene tenens tanen seta sts sess tn sens ense suse n sense tasses ts season 1 7 CHAPTER 2 INSTALLING THE UTILITYMODULE enne 2 1 Recommended Procedure 55 eere eiie Uere ee tete Lee puv eue e bunk de eek esa iode fe eae pea eee De read eoor bee e eo ca aa sage KSS E a eee see EES 2 1 Finding Pin 1 of Commectors so 0os3 2 1 PC 104 Bus Connectors CN1 and CNQ 4 eee e eerte eene ee eese otto ones eee eese to snos eese eese eo sese ee eee esten soe e esee ete eo neu 2 3 First COM Port Gh Kee 2 4 Second COM port CNA erotusten nesens die Sscsescntveesevedusssdecevecsevelugeessesvesaseetnossduesvocessecdsuess deacesusesvssadenss 2 7 Third COM port CNS TC E 2 7 Ine 0 BIDL MO 2 7 Base Address of Con
6. 2 2 Table 5 PC 104 XT Bus Connector 3 eire eerte on Dette i erede don EE hither E e Fes ete eve ee ED Ho ee deen uta 2 3 Table 6 PC 104 AT Bus Connector ie eee tecti HR eH deed e E e ie Eee Re da 2 4 Table 7 Connector CN3 in RS 232 Mode sese enne enne nennen tren R enne nnne nennen 2 5 Table 8 Connector CN3 pin location in RS 232 Mode sse nennen ener enne nnne 2 5 Table 9 Connector CN3 in RS422 485 Mode ssssssssesessesee eee enne enne rennen nnne ener nnne nns 2 6 Table 10 Connector CN3 pin location in RS422 485 Mode sse 2 6 Table of Figures Figure 1 Switch amp Jumper Locatiofis 5 ere REGE REUS ECU EUER EU Ie e Fe eb e e TRE EE e e eee tg 1 3 Figure 2 Connector Locations on RR Gnaeus i c e age e T ER t dtd 2 2 Chapter 1 INTRODUCTION This manual gives information on the CM313HR Communications utilityModule This module supports four versatile serial ports with jumper configurable IRQ lines and I O addresses and one 10Base T 10Base 2 Ethernet interface for your PC 104 applications CM313HR Communications utilityModule The CM313HR Communications utilityModule was designed to provide four versatile serial ports and an Ethernet interface to support the Real Time Devices cpuModules and other standard PC 104 processor modules Features The following are major features of the CM313HR utilityModule Serial ports e Compatibility with the Industry Standard 16C55
7. 422 485 mode will have the drivers disabled 1 All ports in RS 422 485 mode will have the drivers controlled as selected in register 4 and 5 Default to 0 to have drivers disabled during power up User must program to a to use RS 422 485 mode IntSel 0 MCR bit 3 controls the three state interrupt output 1 Overrides MCR bit 3 and interrupt outputs are enabled continuously Default to 0 to set COM ports in normal mode For each CNx bit 0 use RTS to enable transmitter default case 1 transmitter always on BA 5 RS 422 TxD operation W 7 6 5 4 3 2 1 0 TxD TxD TxD TxD CN6 CN5 CN4 CN3 CN6 CN5 CN4 CN3 For each CNx bit 0 use RTS to enable transmitter or transmitter always on as defined by BA 4 register CNx bit 1 Use TxD to enable transmitter transmitter data is tied low CM313HR Quad Serial utilityModule 2 9 RTD Embedded Systems Inc Chapter Two User s Manual For each TxD CNx bit if corresponding CNx bit is 1 0 Use TxD to enable transmitter 1 Use inverted TxD to enable transmitter eae REG4 3 0 9M e BIT PER CHANNEL WV 0 1 0 RSs REG4 5 ate oid ALL CHANNELS TxD e 1 0 e oo je REG5 7 4 REGS 3 0 BIT PER BIT PER CHANNEL CHANNEL RS 422 485 Driver RS 422 485 mode configuration All switches are shown in power on default conditions 10Base T connector CN8 Connector CN8 is for UTP Unshielded
8. 7 RTD Embedded Systems Inc Chapter Two User s Manual CM313HR common registers The utilityModule includes 5 common registers to provide additional information and software control that is not required for normal COM port operation but may be helpful in determining the status of the board and configuring of the board The following two sections give the location and definition of the common registers Base Address of Common Registers The utilityModule common registers are located 800h above the address of the first enabled COM port That is assuming that X in hex is the first enabled COM port base address which can be any of the valid addresses listed in the Com Port Address Table the base address for the common registers is Y in hex then Y X 800h For example if the switches of SW4 are set all DOWN position which makes CN3 3E8h CN4 2E8h CN5 280h and CN6 288h then according to the algorithm the common registers base address BA will be the following depending the setting of enable switch SW2 for each serial port If CN3 is enabled then BA 3E8h 800h BE8h Else if CN3 is disabled AND CN4 is enabled then BA 2E8h 800h AE8h Else if CN3 and CN4 are disabled AND CNS is enabled then BA 280h 800h A80h Else if CN3 CN4 and CN are disabled AND CN4 is enabled then BA 288h 800h A88 A80h Else if CN3 CN4 CN5 and CN6 are disabled then Common Registers are disabled End If Common
9. CN2 Connectors CN1 and CN2 provide PC 104 bus connections CN1 carries XT bus signals and CN2 carries additional signals for the AT bus The signals on CN1 and CN2 conform to the IEEE P966 standard for the PC 104 bus The following tables list the connector pinouts Table 5 PC 104 XT Bus Connector Pin RowA _ X RowB 2 SD RESETDRV SD6 T5V CM313HR Quad Serial utilityModule 2 3 RTD Embedded Systems Inc Chapter Two User s Manual Table 6 PC 104 AT Bus Connector MEMCSI6 IOCS16 IRQIO IRQU IRQI2 IRQIS 7 IRQI4 DACK0 DRQO DACK5 SD8 DRQ5 DACK6 DRQ6 DRQ6 Note Two locations on the bus have mechanical keying pins to help prevent misconnection of the PC 104 bus These keying pins are a part of the PC 104 standard and we strongly recommend you leave them in place If you have other modules without keying pins we suggest you modify them to include keying First COM port CN3 The first serial port is implemented on connector CN3 It can be configured as a PC compatible full duplex RS232 port or as half or full duplex RS422 or RS485 through mode jumper JP8 The I O address is configurable in respect to SW1 address table and corresponding interrupt is also selectable through jumper JP1 to be IRQ3 IRQ4 IRQS IR6 IRQ7 IRQ9 IRQ10 IRQ11 IRQ12 IRQ14 and IRQIS But you need to make sure that there are no resource conflicts on the I O base address and interrupt line you choose The
10. COM port IRQ Third COM port IRQ e JP4 Fourth COM port IRQ e JP5 JP6 e JP8 JP9 e JPI e JPI Recommended Cables XK CM30 General Specifications Dimensions Serial port clock source select Ethernet default settings First COM port mode and termination Second COM port mode and termination 0 Third COM port mode and termination 1 Fourth COM port mode and termination 3 8 x 3 9 x 0 6 97 x 100 x 16 mm Weight mass 3 0 ounces 85 grams e 6 layer PCB Operating conditions Temperature 40 85 degrees C e Relative humidity 0 95 non condensing Storage temperature 55 to 125 degrees C Configuring the utilityModule The following sections contain information on configuring the utilityModule Please read this e Jumpers and Switches Locations The figure below CM313HR Quad Serial utilityModule 1 2 ntire section before attempting to use the utilityModule shows switch and jumper locations User s Manual RTD Embedded Systems Inc Chapter One User s Manual MEL um niic CNIG m o joocooocooa o o o cT lM o60020900 o o ofofo elule Bessesso otti losoose os Ifl A E S 9 e o o o o o o o ofofo Coo IEEE 52 7 o oc L L ERHET att Onli NN Toooo60602900900009022000 Q CM313HR JP8 JP9 PE odo fege jogs 3 JP3 o0 0c ao 00 oo oo nopbpooco oo o olcME o EFFE Sco ooooco0oo00Ggco0o00o00000000002790 oOoo
11. OR MODIFICATION BY ANYONE OTHER THAN RTD Embedded Technologies EXCEPT AS EXPRESSLY SET FORTH ABOVE NO OTHER WARRANTIES ARE EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND RTD Embedded Technologies EXPRESSLY DISCLAIMS ALL WARRANTIES NOT STATED HEREIN ALL IMPLIED WARRANTIES INCLUDING IMPLIED WARRANTIES FOR MECHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE LIMITED TO THE DURATION OF THIS WARRANTY IN THE EVENT THE PRODUCT IS NOT FREE FROM DEFECTS AS WARRANTED ABOVE THE PURCHASER S SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT AS PROVIDED ABOVE UNDER NO CIRCUMSTANCES WILL RTD Embedded Technologies BE LIABLE TO THE PURCHASER OR ANY USER FOR ANY DAMAGES INCLUDING ANY INCIDENTAL OR CONSEQUENTIAL DAMAGES EXPENSES LOST PROFITS LOST SAVINGS OR OTHER DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PRODUCT SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR CONSUMER PRODUCTS AND SOME STATES DO NOT ALLOW LIMITATIONS ON HOW LONG AN IMPLIED WARRANTY LASTS SO THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS AND YOU MAY ALSO HAVE OTHER RIGHTS WHICH VARY FROM STATE TO STATE CM313HR Quad Serial utilityModule 7 2 RTD Embedded Systems Inc Chapter Six CM313HR Quad Serial utilityModule RTD Embedded Technologies Inc 103 Innovation Blvd State Co
12. Twisted Pair wiring normally used for 10Base T Ethernet It is wired in parallel with CN10 Don t try to use both CN8 and CN10 at the same time The following table gives the pinout of CN8 Pin Signal Functin in out 3 4 NC nmotcomected not connected RX motconnected notconnected The figure below shows the pin numbering of CN8 when looking into the connector CM313HR Quad Serial utilityModule 2 10 RTD Embedded Systems Inc Chapter Two User s Manual 12345678 RJ 45 Jack Connector CNS is a standard female RJ 45 connector One example of a mating plug is AMP 5 554739 3 unshielded 10Base T connector CN10 Connector CN10 is for UTP Unshielded Twisted Pair wiring normally used for 10Base T Ethernet It is wired in parallel with CN8 Don t try to use both CN8 and CN10 at the same time The following table gives the pinout of CN10 Pin Signal Functin in out TX oa ec ig ae eee eed 3 TX Transmit out LE _Reveive __ _in 4 6 10 NC motconneted 10Base 2 connector CN14 Connector CN14 is a BNC bayonet connector for coaxial cable normally used with 10Base 2 Ethernet The pinout of CN14 is Pin Signal Function SIGNAL Signal to 50 ohm cable Signal Ground E BNC Connector CN14 CM313HR Quad Serial utilityModule 2 11 RTD Embedded Systems Inc Chapter Two User s Manual Power Protection Circuitry
13. Up Up 290 298 690 698 Up Up Down Down 2E8 2A8 6E8 6A8 Up Up Down Up 2F8 3E8 2E8 6E8 Up Up Up Down 3E8 2E8 7ES8 6E8 Up Up Up Up 3F8 2F8 3E8 2E8 Ethernet EEPROM Configuration The most important configuration options for the Ethernet section are set using the configuration program ISMC9000 EXE and then stored in a configuration EEPROM CM313HR Quad Serial utilityModule 1 7 ISMC9000 is used to select e O Address Hardware interrupt number Media Type e Boot PROM Address RTD Embedded Systems Inc Chapter One User s Manual Default Settings The factory default settings for CM313HRSET options are Factory Default I O address 300h IRQ2 Media type Boot PROM Disabled Please refer to page 5 4 for information on changing these settings using ISMC9000 EXE CM313HR Quad Serial utilityModule 1 8 RTD Embedded Systems Inc Chapter 2 INSTALLING THE UTILITYMODULE Since the utilityModule uses a PC 104 stackthrough bus the only hardware installation you will do is placing the module to the PC 104 stack To do this you will connect the PC 104 bus connector with the matching connector of another module Recommended Procedure We recommend you follow the procedure below to ensure that stacking of the modules does not damage connectors or electronics Turn off power to the PC 104 system or stack Select and install standoffs to properly position the utility Module on the PC 104 stack Touch
14. 0 e Upto 1 5 Mbps baud transmit receive operation 24 MHz e 16 byte transmit FIFO 16 byte receive FIFO with error flags Independent transmit and receive control e Standard modem interface Jumper selectable to interrupt line base address RS232 RS422 485 mode per port Jumper selectable enable disable per port Includes 42 different selectable I O base addresses Extended temperature range 40 to 85C Low power consumption Typical from single 5V power supply Ethernet SMC9000 compatible Ethernet controller e SMC 91C96I chipset nternal 6k RAM Multiple Ethernet interfaces e jOBase T UTP unshielded twisted pair 10Base 2 BNC Software Configurable Jumperless configuration for I O address interrupt mode e Configuration stored in EEPROM Boot ROM socket Allows remote booting of cpuModule from file server Software Included e Self explanatory diagnostic program included Windows Drivers Ethernet configuration program CM313HR Quad Serial utilityModule 1 1 RTD Embedded Systems Inc Chapter One Connectors and Switches Connectors provided are e CN N N N N N N N QOOOO00 1 PC 104 Bus XT 2 PC 104 Bus AT 3 First COM port 4 Second COM port 5 Third COM port 6 Fourth COM port 8 10Base T port RJ45 14 10Base 2 port BNC Switches provided are e SWI COM ports address selection Jumpers provided are e JPI JP2 e JP3 First COM port IRQ Second
15. 1 5 Mbps support With 24 MHz clock input selected JP5 1 2 the utility Module is capable of provide data rates up to 1 5 Mbps in RS422 RS485 mode The RS 232 buffers restrict the data rate to 120 Kbps in RS 232 mode Interrupt Sharing Interrupt sharing is a mechanism which allows different devices sharing same active high IRQ lines on the PC 104 bus given that there is a interrupt sharing circuit associated with each device The utilityModule provides interrupt sharing circuits for all the serial ports thus it allows sharing of one IRQ line among the serial ports in the utilityModule However user needs to be careful to share an IRQ line with devices in the system elsewhere and be sure that other devices also share their IRQ lines as well For instance users should be aware of that the IRQ3 IRQ4 associated with serial port J3 J4 on RTDUSA cpuModule are not shareable And if the utilityModule is in the same system with RTDUSA cpuModule be advised not to use share IRQ3 IRQA for the utilityModule unless you have serial ports on the cpuModule disabled Interrupt sharing in a PC 104 system requires one 1K pull down resistor per IRQ line for all the devices that share the IRQ Installing a G jumper in the utilityModule will pull its associated IRQ line down with a 1K resistor That is for example if IRQn is shared among four serial ports on the utilityModule only one G jumper needs to be installed for IRQn line If more than one G jumper are in
16. CM313HR Communications utilityModule User s Manual ITU RTD Embedded Technologies Inc Real Time Devices Accessing the Analog World BDM 610020011 Rev B CM313HR Communications utilityModule User s Manual RTD Embedded Technologies INC 103 Innovation Blvd State College PA 16803 0906 Phone 1 814 234 8087 FAX 1 814 234 5218 E mail sales rtd com techsupport rtd com web site http www rtd com Revision History Rev A New manual naming method Rev B Corrected positive and negative designations on table 10 Corrected Default Settings Table Published by RTD Embedded Technologies Inc 103 Innovation Blvd State College PA 16803 0906 Copyright 1999 2002 2003 2004 by RTD Embedded Technologies Inc All rights reserved Printed in U S A The RTD Logo is a registered trademark of RTD Embedded Technologies cpuModule and utilityModule are trademarks of RTD Embedded Technologies PhoenixPICO and PheonixPICO BIOS are trademarks of Phoenix Technologies Ltd PS 2 PC XT PC AT and IBM are trademarks of International Business Machines Inc MS DOS Windows Windows 95 Windows 98 and Windows NT are trademarks of Microsoft Corp PC 104 is a registered trademark of PC 104 Consortium All other trademarks appearing in this document are the property of their respective owners Table of Contents CHAPTER 1 INTRODUCTION crrrtnnnnnnnnnnnnnnnnnnnnnnnnnnnnn sanis asa stn asas nnda
17. Register definitions BA 0 Interrupt Status Read Only 7 6 5 4 3 2 1 0 Reserved Reserved TxRDY RxRDY CN6 CN5 CN4 CN3 For each CNx bit 0 Not interrupting 1 Interrupt set TxRDY 0 indicates a buffer ready for at least one of the four transmit channels CM313HR Quad Serial utilityModule 2 8 RTD Embedded Systems Inc Chapter Two 1 indicates that all transmit buffers are full RxRDY 0 indicates one or more of the receive channels has data ready to read 1 indicates that all receive buffers are empty Reserved reads as 0 User s Manual BA 1 Address Switch Read Only 7 6 5 4 3 2 1 0 Reserved Reserved Reserved Reserved SWI 4 SWI1 3 SWI 2 SWI 1 For each bit see table above 0 Down Up Reserved reads as A to tag on the address register BA 2 Enable Disable Jumpers Read Only 7 6 5 4 3 2 1 0 Reserved Reserved Reserved Reserved CN6 CN5 CN4 CN3 For each CNx bit Jumper installed 0 Port is disabled Jumper open 1 Port is enabled Reserved reads as 0 BA 3 Reserved 7 6 5 4 3 2 1 0 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved reads as 0 BA 4 RS 422 RTS operation W 7 6 5 4 3 2 1 0 Reserved Reserved Driver IntSel CN6 CN5 CN4 CN3 Enable Driver Enable 0 All ports in RS
18. a grounded metal part of the stack to discharge any buildup of static electricity Remove the utility Module from its anti static bag Check that keying pins in the PC 104 bus connector are properly positioned Check the stacking order make sure an XT bus card will not be placed between two AT bus cards or it will interrupt the AT bus signals Hold the utilityModule by its edges and orient it so the bus connector pins line up with the matching connector on the stack Gently and evenly press the utilityModule onto the PC 104 stack CAUTION Do not force the module onto the stack Wiggling the module or applying too much force may damage it If the module does not readily press into place remove it check for bent pins or out of place keying pins and try again Connecting the utilityModule The following sections describe connectors of the utilityModule Finding Pin 1 of Connectors A white area silk screened on the PC board indicates pin of connectors A square solder pad visible on the bottom of the PC board also indicates it CM313HR Quad Serial utilityModule 2 1 RTD Embedded Systems Inc Chapter Two User s Manual Locations The figure below shows connector locations CM313HR JP9 JPIO JP11 Figure 2 Connector Locations Table 4 Connector Table CNI CM313HR Quad Serial utilityModule 2 2 RTD Embedded Systems Inc Chapter Two User s Manual PC 104 Bus Connectors CN1 and
19. ble device When using RS422 or RS485 mode you can use the port in either half duplex two wire or full duplex four wire configurations For half duplex 2 wire operation you must connect RXD to TDX and connect RXD to TXD Note Two 120 ohm termination resistors are provided on the utilityModule Termination is usually necessary on all RS 422 receivers and at the ends of the RS 485 bus If the termination resistor is required closing jumper JP8 5 6 for RxD and or 7 8 CTS can enable it RS422 and RS485 Mode Pinout The following table gives the pinout of connector CN3 when RS422 or RS485 modes are enabled Table 9 Connector CN3 in RS422 485 Mode CN3 Pin Signal Function In out DB9 1 RTS Request to send Out 1 2 RTS Request to send Out 6 3 RXD Receive Data In 2 4 TXD Transmit Data Out 7 5 TXD Transmit Data Out 3 6 RXD Receive Data In 8 7 CTS Clear to send In 4 8 CTS Clear to send In 9 9 10 GND Signal Ground 5 Facing the connector pins the pinout is pictured in the following Table 10 Connector CN3 pin location in RS422 485 Mode 9 7 5 3 1 CM313HR Quad Serial utilityModule 2 6 RTD Embedded Systems Inc Chapter Two User s Manual Notes on using RS422 or RS485 Modes When using the serial port in RS422 or RS485 mode the serial receiver 1s always enabled however the serial transmitter is enabled and disabled under software c
20. d choose the values you require After a reboot and running ISMC9000 EXE the new settings should be visible by choosing Display Configuration To use or view hardware default settings turn off power and install JP6 and apply power If one wishes to view the default settings run ISMC9000 EXE and choose Display Configuration If one wishes to use the default settings leave JP6 installed The 313DIAG EXE Program The supplied floppy disk contains the serial diagnostic utility 313DIAG EXE This menu driven DOS utility will enable you to test the serial ports using internal and external loop back and confirm the operation CM313HR Quad Serial utilityModule 5 4 RTD Embedded Systems Inc Chapter Six User s Manual Software drivers The floppy supplied with the utilityModule contains the following or newer versions of drivers NDIS2 Drivers e DOS e Windows for Workgroups e OS 2Windows NT3 x NT4 x NDIS3 4 Drivers Windows9x Windows NTA e Windows 2000 For Linux Unix and Novell drivers and driver updates contact SMSC s website at www smsc com The direct link for LAN91C96I drivers is http www smsc com main catalog lan9 1c96i html Additional Information CM313HR Quad Serial utilityModule 5 5 RTD Embedded Systems Inc Chapter Six User s Manual Chapter 6 REFERENCE INFORMATION This chapter contains reference information concerning Ethernet References Types of Ethernet Types of Ethernet Cable Ethernet Fra
21. hipset It is only active when using the 10Base T UTP connection with link integrity checking enabled If it is off the UTP wiring may be broken or incorrect link integrity checking may be disabled or you may be using the 10Base 2 or AUI interface Boot ROM Socket In some applications you may wish to use the boot ROM socket of the utilityModule to boot a connected cpuModule from a remote server The socket will accommodate a 32 pin PLCC EPROM or Flash memory devices of size 8k 16k 32k or 64k bytes The device must be a byte wide architecture The boot ROM feature can be enabled using the CM313HRSET program described on page 5 4 CM313HR Quad Serial utilityModule 4 1 RTD Embedded Systems Inc Chapter Six User s Manual Power Consumption Power consumption of the utilityModule depends on which Ethernet interface is used and the degree of activity on the network The following table gives typical power consumption AUI BNC 200 mA 200 mA 200 mA Solder Jumpers The CM113HR has solder jumpers to configure the system The table below gives the details 94567121415 B3 BLO HH CM313HR Quad Serial utilityModule 4 2 RTD Embedded Systems Inc Chapter Six User s Manual The following table gives the solder jumper functions Bl Open Short will connect isolated 10Base 2 ground to pee eee board ground Line side center tap bypass to chassis ground B3 B10 Sets the IRQ that is used when IRQ 2 is selected in the setu
22. imon Reglstets 5 sedi fie ei e ER AA EL RR uti eene 2 8 Common Registet definitiotis 3 rere e os Rok chee ee cae RE Te e eae oes Ee Ee Uds 2 8 LOBase T connector CNS isssccccsccssslescseccuccsssssevnsocdceesssstvesaceveseducosdvccvedse vebusstevesvesssenSevcesvoddsseieecusctessesvesuveseccses 2 10 10Bas amp T connector CN 10 ss eere ecce occa eoe e to en coc ds vo de ue rh se oui sagen vase o o eo suasneeseds 99 UE EQ VR DN CoD ia EY SEE Fe eae Eo CENE IRR TENE 2 11 10Base 2 conmector eh pe 2 11 Power Protection Circuitry e M 2 12 CHAPTER 3 USING THE UTILITYMODULE SERIAL PORTS 3 1 1 5 bns E M KE oes ASE ieas 3 1 Interrupt Sharing q ristis r s 3 1 CHAPTER 4 USING THE UTILITYMODULE ETHERNET PORTS 4 1 Diagnostic LEDS asns 4 1 TOS HOSTESS II EET 4 1 Power Consumption 4 2 Solder JUMPOCrs pesci sesei 4 2 CHAPTER 5 SOFTWARE INSTALLATION cerent nnns 5 4 Software instalation s ossessione RE 5 4 The ISMC9000 EXE Program eerie eene eese ennt tnn tnn tn setas tns ta seta seins ov sss n sense enses sense seoser sses soises 5 4 The 313DIAG EXE Program ccscssscssscssscs
23. ir you may return it to us by following the procedure listed below Caution Failure to follow this return procedure will almost always delay repair Please help us expedite your repair by following this procedure 1 Read the Limited Warranty that follows 2 Contact the factory and request a Returned Merchandise Authorization RMA number 3 On a sheet of paper write the name phone number and fax number of a technically competent person who can answer questions about the problem 4 On the paper write a detailed description of the problem with the product Answer the following questions Did the product ever work in your application e What other devices were connected to the product How was power supplied to the product e What features did and did not work e What was being done when the product failed e What were environmental conditions when the product failed 5 Indicate the method we should use to ship the product back to you We will return warranty repairs by UPS Ground at our expense e Warranty repairs may be returned by a faster service at your expense e Non warranty repairs will be returned by UPS Ground or the method you select and will be billed to you 6 Clearly specify the address to which we should return the product when repaired 7 Enclose the paper with the product being returned 8 Carefully package the product to be returned using anti static packaging We will not be responsible for p
24. llege PA 16803 0906 USA Our website www rtd com 7 3 User s Manual RTD Embedded Systems Inc
25. mes IEEE 802 MAC Number Ethernet References To learn more about Ethernet you might start with Charles Spurgeon s Ethernet Website http wwwhost ots utexas edu ethernet ethernet home html This site provides thorough overviews of 10 Mbps and faster Ethernet Types of Ethernet There are three standard types of 10 Megabit Ethernet of which 10Base T is by far the most common and 10Base 5 is by far the least common Type rate Segment length 10Base T Cheapernet 10 Mbps Star 100 ohm UTP unshielded twisted pair 607 ft Ethernet 1640 ft CM313HR Quad Serial utilityModule 6 6 RTD Embedded Systems Inc Chapter Six User s Manual Types of Ethernet cable Ethernet uses one of three standard cable types Type 10Base T 100 Ohm unshielded twisted pair LOBase 2 RG 58 50 Ohm 10Base 5 RG 11 50 Ohm Ethernet thick yellow cable Note Although 8 conductor telephone wire is commonly used for 10Base T connections this type wire is not the correct 100 ohm UTP as it does not use twisted pairs Using such wire may cause excessive crosstalk resulting in a large number of collisions and poor network performance CM313HR Quad Serial utilityModule 6 7 RTD Embedded Systems Inc Chapter Six User s Manual 10Base T Wiring Convention 10Base T Ethernet uses the following wiring convention when connecting a node to a hub It is suggested you use this convention for consistency Second End End Pair No
26. nabled Default 1 2 open to enable software programmable configuration COM port configuration 1 2 open Enable Port 1 2 installed Disable Port 3 4 installed select RS 232 mode 3 4 open select RS 422 485 mode 5 6 installed 120 ohm termination on RxD for RS422 485 modes 5 6 open No termination on RxD RS422 485 modes 7 8 installed 120 ohm termination on CTS for RS422 485 modes 7 8 open No termination on CTS RS422 485 modes Default 3 4 installed 1 2 5 6 and 7 8 open to select enabled for RS 232 mode with no termination CM313HR Quad Serial utilityModule 1 5 RTD Embedded Systems Inc Chapter One User s Manual COM port configuration 1 2 open Enable Port 1 2 installed Disable Port 3 4 installed select RS 232 mode 3 4 open select RS 422 485 mode 5 6 installed 120 ohm termination on RxD for RS422 485 modes 5 6 open No termination on RxD RS422 485 modes 7 8 installed 120 ohm termination on CTS for RS422 485 modes 7 8 open No termination on CTS RS422 485 modes Default 3 4 installed 1 2 5 6 and 7 8 open to select enabled for RS 232 mode with no termination COM port configuration 1 2 open Enable Port 1 2 installed Disable Port 3 4 installed select RS 232 mode 3 4 open select RS 422 485 mode 5 6 installed 120 ohm termination on RxD for RS422 485 modes 5 6 open No termination on RxD RS422 485 modes 7 8 installed 120 ohm termination on CTS for RS422 485 modes 7 8 open No
27. ontrol in the following two ways By default the transmitter is enabled by manipulating the Request To Send RTS signal of the serial port controller Writing bit 1 of the Modem Control Register MCR as follows controls this signal If MCR bit 1 1 then RTS 0 and serial transmitter is disabled If MCR bit 1 0 then RTS 1 and serial transmitter is enabled For more information on the serial port registers including the MCR please refer to a standard PC AT hardware reference for the 16C550 UART or refer to RTDUSA application note ANC102 at http www rtdusa com The other way to enable the serial transmitter is to write to its corresponding bit of the utilityModule s internal common register 4 which sets the serial transmitter in always on mode Please refer to Internal Common Register Section for detail The drivers are disabled in RS 422 485 mode at power up You must enable the drivers by writing a 1 to the driver enable bit of the utility Module s internal common register 4 Please refer to Internal Common Register Section for detail Second COM port CN4 Please refer to the previous section on the first COM port CN3 for the description on CN4 Third COM port CN5 Please refer to the previous section on the first COM port CN3 for the description on CN5 Fourth COM port CN6 Please refer to the previous section on the first COM port CN3 for the description on CN6 CM313HR Quad Serial utilityModule 2
28. ooco0oo0U0Ucgo0oo0coooooooooco JP5 Figure 1 Switch amp Jumper Locations Default Settings The utilityModule is delivered from the factory configured according to the following table CM313HR Quad Serial utilityModule 1 3 RTD Embedded Systems Inc Chapter One User s Manual Table 1 Default Jumper Settings G jumper Installed G jumper Installed G jumper Installed G jumper Installed CLK jumper Ethernet Config SWI All down CM313HR Quad Serial utilityModule IRQA for 1 COM port 1K pull down resister on IRQ4 line IRQ3 for 2 COM port 1K pull down resister on IRQ3 line IRQS for 3 COM port 1K pull down resister on IRQS line IRQ1O for 4 COM port 1K pull down resister on IRQ10 line 24 MHz 13 input clock is selected for serial ports Ethernet Configuration set to software configuration Enable port Select RS 232 mode No termination on RxD Not required for RS 232 mode No termination on CTS Not required for RS 232 mode nable port Select RS 232 mode No termination on RxD Not required for RS 232 mode No termination on CTS Not required for RS 232 mode nable port Select RS 232 mode No termination on RxD Not required for RS 232 mode No termination on CTS Not required for RS 232 mode able port Select RS 232 mode No termination on RxD Not required for RS 232 mode No termination on CTS Not required for RS 232 mode T O base addresses at 3E8 2E8 280 288 for 1 2 3rd and 4 COM port respectively
29. p software One and only one of these solder jumpers should be shorted CM313HR Quad Serial utilityModule 4 3 RTD Embedded Systems Inc Chapter Six User s Manual Chapter 5 SOFTWARE INSTALLATION This chapter contains information on Software installation ISMC9000 EXE Ethernet setup program DIAG313 EXE Serial port diagnostic Software Drivers Software installation There is no installation program for the supplied software We suggest you create a directory named CM313HR on your target drive and copy all files and subdirectories from the supplied floppy disk into that directory The ISMC9000 EXE Program The supplied floppy disk contains the Ethernet setup utility ISMC9000 EXE Using ISMC9000 EXE The CM313HR utility module is completely software configurable through jumper JP6 with all its configuration data stored 1n an EEPROM ISMC9000 EXE is a utility program supplied with the board that allows one to view or change the existing settings of the board When you run the ISMC9000 EXE program the utility looks at all possible I O addresses If no module is found or if there is a conflict the utility quits with a message When the module is found and correctly operating the utility displays a menu of options To program a software configuration turn off power remove JP6 apply power run ISMC9000 EXE choose Modify Configuration Use the arrow keys to select the option you want to change Next press ENTER an
30. roducts damaged in transit for repair 7 Write the RMA number on the outside of the package 8 Ship the package to Real Time Devices 103 Innovation Blvd State College PA 16803 USA CM313HR Quad Serial utilityModule 7 1 RTD Embedded Systems Inc Chapter Seven User s Manual Limited Warranty RTD Embedded Technologies Inc warrants the hardware and software products it manufactures and produces to be free from defects in materials and workmanship for one year following the date of shipment from RTD Embedded Technologies INC This warranty is limited to the original purchaser of product and is not transferable During the one year warranty period RTD Embedded Technologies will repair or replace at its option any defective products or parts at no additional charge provided that the product is returned shipping prepaid to RTD Embedded Technologies All replaced parts and products become the property of RTD Embedded Technologies Before returning any product for repair customers are required to contact the factory for an RMA number THIS LIMITED WARRANTY DOES NOT EXTEND TO ANY PRODUCTS WHICH HAVE BEEN DAMAGED AS A RESULT OF ACCIDENT MISUSE ABUSE such as use of incorrect input voltages improper or insufficient ventilation failure to follow the operating instructions that are provided by RTD Embedded Technologies acts of God or other contingencies beyond the control of RTD Embedded Technologies OR AS A RESULT OF SERVICE
31. serial port is implemented with a 16C550 compatible UART Universal Asynchronous Receiver Transmitter This UART is capable of baud rates up to 1 5 M with the 24 MHz clock input and 115 2K with the 24 MHz 13 clock input CM313HR Quad Serial utilityModule 2 4 RTD Embedded Systems Inc Chapter Two User s Manual RS232 Serial Port Default The full duplex RS232 mode is the default setting on the utilityModule With this mode enabled connector CN3 must be connected to RS232 compatible devices The following table gives the connector pinout and shows how to connect to an external serial connector either DB25 or DB9 compatible Connector CN3 in RS 232 Mode Table 7 Connector CN3 in RS 232 Mode CN3 Pin Signal Function In out DB25 DB9 1 DCD Data Carrier Detect In 8 1 2 DSR Data Set Ready In 6 6 3 RXD Receive Data In 3 2 4 RTS Request To Send Out 4 7 5 TXD Transmit Data Out 2 3 6 CTS Clear To Send In 5 8 7 DTR Data Terminal Ready Out 20 4 8 RI Ring Indicate In 22 9 9 10 GND Signal Ground 7 5 Facing the connector pins the pinout is pictured in the following Table 8 Connector CN3 pin location in RS 232 Mode 9 7 5 3 1 CM313HR Quad Serial utilityModule 2 5 RTD Embedded Systems Inc Chapter Two User s Manual RS422 or RS485 Serial Port You can change the mode switch to set the first port as RS422 or RS485 In this case you must connect CN3 to an RS422 or RS485 compati
32. ssssscssssssscssscsssessessssssssssssnsesnsesssesssnssnssssseseessesscsssssssesssessnessosees 5 4 Software drivers idee eee eed bee eerie totu e ce epe ect ed cocess EE octucesaseduul acess uacestesdcedaduestecosoussschcscesvenst 5 5 CHAPTER 6 REFERENCE INFORMATION eeeeeeeernernenn enne 6 6 Ethernet Referentes 2o adeo eo stole ev ae oreste ev dese senno ael edv ide cueva sere dem usen oae w vue xv eva Dn ava vv ied sie er esos ve vvv o e Uo 6 6 Types of ud lg sosa asS 6 6 Types of Ethernet VQ M 6 7 10Base T Wiring Convention P 6 8 Ethernet frames 6 9 IEEE 802 MAC numb 6 9 CHAPTER 7 RETURN POLICY AND WARRANTY eeeeeneennnnnnnnnnnnnnnntn 7 1 REtUEN D DT EA ec sovesesaessobesedcbesunsdduass EE 7 1 Limited Warranty resors osooso ss nS 7 2 Table of Tables Table 1 Default Jumper Settmgs ien tet e He ERR ERE Re e rU REPE ERE Te Re det et 1 4 Table 2 Switch and Jumper tables esses ener nennen nennen enne 1 5 Table 3 Base address table for COM ports sse eere enr erret 1 7 Table 4 Connector Table 4 st oeste e I e Re a Ge e pe et n ae wae
33. stalled the pull down on IRQn line will be much stronger that expected 1K ohm which will prevent interrupt controller from functioning correctly CM313HR Quad Serial utilityModule 3 1 RTD Embedded Systems Inc Chapter Three User s Manual Let consider two cases to demonstrate the concepts for the above discussion Let us assume that IRQS and IRQ10 are not used and driven by other devices in the system For the first case IRQ10 line is shared among the four serial ports and for the second case IRQ5 is shared for port 1 and port 2 while IRQ10 is shared among port 3 and port 4 The following two tables listed the interrupt jumper settings for each case respectively Table 11 Jumper Settings for interrupt sharing Case 1 JP1 13 14 IRQIO for 1 COM port G jumper Installed 1K pull down resister added on IRQIO from PORTI JP2 13 14 IRQIO for 2 COM port G jumper Removed No pull down resister added on IRQIO from PORT2 13 14 IRQIO for 3 COM port G jumper Removed No pull down resister added on IRQIO from PORT3 JP4 13 14 IRQ1O for 4 COM port G jumper Removed No pull down resister added on IRQ10 from PORTA Table 12 Jumper Settings for interrupt sharing Case 2 JP1 5 6 IRQS for 1 COM port G jumper Installed 1K pull down resister added on IRQ5 from PORTI G jumper Removed No pull down resister added on IRQ5 from PORT2 3 13 14 IRQ1O for 3 COM port G jumper Installed 1K pull down resister added on IRQIO from PORT3 JP JP
34. termination on CTS RS422 485 modes Default 3 4 installed 1 2 5 6 and 7 8 open to select enabled for RS 232 mode with no termination COM port configuration 1 2 open Enable Port 1 2 installed Disable Port 3 4 installed select RS 232 mode 3 4 open select RS 422 485 mode 5 6 installed 120 ohm termination on RxD for RS422 485 modes 5 6 open No termination on RxD RS422 485 modes 7 8 installed 120 ohm termination on CTS for RS422 485 modes 7 8 open No termination on CTS RS422 485 modes Default 3 4 installed 1 2 5 6 and 7 8 open to select enabled for RS 232 mode with no termination I O base address switch See Base Address Table for details Default All down I O base addresses at 3E8 2E8 280 288 for 1 25 3rd and 4 COM port respectively CM313HR Quad Serial utilityModule 1 6 RTD Embedded Systems Inc Chapter One Table 3 Base address table for COM ports User s Manual COM port addresses base address in Hex for eight 8 bit registers SW1 4 SW 3 SW 2 SW 1 CN3 CN4 CN5 CN6 Down Down Down Down 3E8 2E8 280 288 Down Down Down Up 280 288 290 298 Down Down Up Down 290 298 2A0 2A8 Down Down Up Up 2A0 2A8 2B0 2B8 Down Up Down Down 100 108 110 118 Down Up Down Up 120 128 130 138 Down Up Up Down 140 148 150 158 Down Up Up Up 160 168 170 178 Up Down Down Down 100 108 500 508 Up Down Down Up 120 128 520 528 Up Down Up Down 280 288 680 688 Up Down

Download Pdf Manuals

image

Related Search

Related Contents

OPERATOR`S MANUAL  Samsung ST10 用户手册  InFocus LP770 User's Manual  Safety and Regulatory Information    Sea Gull Lighting 88662-185 Installation Guide  PBX 416 Plus Extension Guide - Home  PDFファイル(12.6MB)  AlphaVM for Windows User Manual  

Copyright © All rights reserved.
Failed to retrieve file