EVB-20022 Industrial ARCNET AT Adapter Card SMSC UG - EVB-20022 Rev. 1/5/00 © 2000 STANDARD MICROSYSTEMS CORPORATION (SMSC) 80 Arkay Drive Hauppauge, NY 11788 (631) 435-6000 FAX (631) 273-3123 Circuit diagrams utilizing SMSC products are included as a means of illustrating typical applications; consequently complete information sufficient for construction purposes is not necessarily given. The information has been carefully checked and is believed to be entirely reliable. However, no responsibility is assumed for inaccuracies. Furthermore, such information does not convey to the purchaser of the semiconduc tor devices described any licenses under the patent rights of SMSC or others. SMSC reserves the right to make changes to specifications and product descriptions at any time without notice in order to improve design and supply the best product possible. Contact your local SMSC sales office to obtain the latest specifications before placing your product order. The product may contain design defects or errors known as anomalies which may cause the product’s functions to deviate from published specifications. Anomaly sheets are available upon request. SMSC products are not designed, intended, authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property damage. Any and all such uses without prior written approval of an Officer of SMSC and further testing and/or modification will be fully at the risk of the customer. Copies of this document or other SMSC literature may be obtained by visiting SMSC’s website at http://www.smsc.com SMSC UG - EVB-20022 Page 2 Rev. 1/5/00 EVB-20022 Industrial ARCNET AT Adapter Card • Based on COM20022 Rev. B Industrial Network Controller • Supports both standard and backplane signaling schemes • COAX and UTP support for standard ARCNET signaling in both bus and star topologies • Isolated and direct RS485 interfaces • All media interfaces are jumper selectable • Data rates from 156 Kbps to 10 Mbps • 8/16 bit, I/O mapped bus interface, I/O address is switch selectable • Programmable DMA channel • On-board node ID switch • Capable of receiving all packets • Includes demo software • Sample driver, network monitor and mapping routes APPLICATIONS: Test equipment, network development and debug, network management/monitoring, network evaluation, performance analysis SMSC UG - EVB-20022 Page 3 Rev. 1/5/00 EVB-20022 USER GUIDE I/O Address Selection The EVB-20022 is a 16 bit I/O mapped card. Addresses A3-A15 are user selectable at switches S2 and S3. For example, 02E0h would be 000000101110. Node ID Selection The EVB-20022 is equipped with an on-board ID switch, S1. The COM20022 network controller requires a software programmable ID, therefore the switch does not automatically provide a node ID to the COM20022. COM20022 ICs The chip can be attached to the board in two different ways: it can either be socketed or it can be mounted right to the board on U8. Only one or the other can be done, not both. LEDs In the front of the card, there are four LEDs. The PWR LED indicates that there is power on the board. The CPU LED shows CPU I/O activity. The TX LED shows the data being transmitted. The DMA LED shows DMA activity. Interrupts/DMAs Use JP1 for interrupt selection. IRQs 3, 4, 5, 6, 7, 9, 10, 11, 12 and 15 can be selected. DACK selection is done at JP2. DACKs 0, 1, 3, 5, 6 and 7 can be selected. DRQ selection is done at JP3. DRQs 0, 1, 3, 5, 6 and 7 can be selected. If DMAs are being used, both the DACK and DRQ must both be set to the same value. Media Interfaces (Transceivers) The COM20022 supports four types of transceivers: ARCNET Coax – operation is valid only at 2.5 Mbps and use SMSC HYC9088 hybrid Twisted Pair line interface– operation is valid only at 2.5 Mbps Direct coupled RS-485 Isolated RS-485 Software For evaluation purposes SMSC provides DEMOAT, an MS DOS software utility which can be used to verify and evaluate the COM20022 evaluation board. DEMOAT was developed at SMSC to both setup and verify basic functionality of the COM20022 evaluation. The software provides a general user interface, which can be used to change, or Read/Write register information. This software utility can also be used to both transmit and receive ARCNET packets. When using this utility in a general network configuration, multiple ARCNET nodes must be operational. A minimum of two ISA based PCs must be connected via the appropriate cable for correct operation. Both machines must have the DEMOAT installed and loaded. Once the software is loaded, registers can either be initialized at their default settings or changed to your custom requirements. At this point traffic can be produced to send and verify ARCNET frames of data from node to node or PC to PC. Installing DEMOAT At the a:\ prompt type DEMOAT Loading DEMOAT software 1. From within the Arcnet directory Type “Demoat”. When the software loads, it prompts the user for the ARCNET evaluation board type. 2. Type “a”, for COM20020 to test COM20022. If a screen comes up asking if the board is a COM20020, type “y”. The program will ask for the I/O address, type the address in that is selected by S3 and S2, typically 2e0. 3. Next, the main menu will come up. When using any of the transceivers except the coax (BNC), you need to do a setup with option A. If the coax transceiver is being used, go to step 7. SMSC UG - EVB-20022 Page 4 Rev. 1/5/00 4. At the next menu type “a”. The screen will have a list of registers and their values. Got to the config register, one from the bottom. Change the third bit from the right (BKPLNE) from a “0” to a “1”. Exit to the previous menu. 5. Select “b” from the menu. Change the register labeled IOH_1. The left most bit (P1MODE) needs to be change from a “0” to a “1”. Exit back to the main menu. 6. At the main menu, select option “D” to save all of the changes that have been made to the registers. 7. To start the test, select “I” from the main menu, Ping-Pong. This is only to be done on one machine. 8. A menu will come up asking how many other nodes, and the node ID of the other nodes. Make sure the nodes IDs are not the same. If the test is running correctly, “T” and “R” should alternate scrolling down the screen on both machines . Coaxial Interface The coaxial interface uses a standard 93-ohm BNC connector, the same as a 50-ohm BNC, and requires a RG-62 type cable with 93-ohm terminations. The following guidelines for bus topology should be used for coaxial interface: 1. 2. 3. 4. Max. distance(without repeaters).............1000’ Min. distance between nodes ...................3’ Max. number of nodes per segment........8 (i.e. no repeaters) Max number of nodes with repeaters ......255 Operation is valid only at 2.5 Mbps and uses the SMSC HYC9088 hybrid (U15). To setup the board for coaxial interface, with the use of SMSC DEMOAT software, perform the following steps: 1. 2. 3. 4. 5. Note: Note: Install both jumpers horizontally at JP11 (Differential paired data) Install the jumper horizontally at JP12 (Coax filter) Set jumper blocks JP13 and JP5 both to D (Transmit data and receive data) Set I/O board address as specified in I/O address selection in User Guide (e.g. 02E0) Set Node ID as specified in Node ID selection in User Guide Make sure JP6, JP8, JP9, and JP10 are left unconnected. If socketed COM20022 (SKT1) is being utilized, U8 (alternate COM20022 device) must not be mounted on evaluation board. S3 JP 7 S2 JP1 1 SKT 1 U1 JP A B C D 1 A B C D LE D 1 JP JP 1 U8 U1 3 C O A 1 U1 2` JP 8 T1 JP 9 1 J2 1 U1 5 7 15 12 11 10 9 7 5 4 3 JP1 0 JP1 1 JP1 2 J1 1 1 S1 Figure 1 For proper coaxial operation, installed jumpers denoted in black. SMSC UG - EVB-20022 Page 5 Rev. 1/5/00 Twisted Pair (TW) Interface The twisted par interface uses a standard 105 ohm 24 AWG unshielded twisted pair cable. The twisted pair interface uses RJ-11 modular connectors that follow the ARCNET Trade Association (ATA) standard pinout for twisted pair with Phase A on Pin 3 and Phase B on pin 2. The following guidelines for bus topology should be used for twisted pair interface: 1. 2. 3. Max. distance (without repeaters)............................400’ Min distance between nodes .....................................6’ Max number of nodes (without repeaters)..............10 The line must be terminated at each end of the cable with a 105-ohm impedance. Stubs or drops are not allowed in the TP interface. The cable segments should be connected is a daisy chain fashion. The TP interface operation is valid only for 2.5Mbs and uses the TMC ACPWR (U11). To setup the board for twisted pair interface, with the use of SMSC DEMOAT software, perform the following steps: 1. 2. 3. 4. 5. Note: Note: Install both jumpers horizontally at JP6 (RJ11 filter) Install both jumpers horizontally at JP8 (Differential paired data) Set jumper blocks JP13 and JP5 to A (Transmit data and receive data) Set I/O board address as specified in I/O address selection in User Guide (e.g. 02E0) Set Node ID as specified in Node ID selection in User Guide Make sure JP9, JP10, JP11, JP12 are unconnected If socketed COM20022 (SKT1) is being utilized, U8 (alternate COM20022 device) must not be mounted on evaluation board. JP7 S3 1 S2 U11 JP13 1 SKT1 A B C D JP5 1 A B C D LE D 1 JP6 JP4 1 JP8 ` U8 U13 CO AX 1 U12 T1 JP9 1 J2 1 JP10 J1 U15 JP3 DRQ JP2 DACK JP11 JP1 IRQ JP12 7 6 5 3 1 0 7 6 5 3 1 0 1 1 S1 15 12 11 10 9 7 5 4 3 Figure 2 For proper twisted pair operation, installed jumpers denoted in black. SMSC UG - EVB-20022 Page 6 Rev. 1/5/00 Direct Coupled RS-485 The direct-coupled RS-485 interface uses RJ-11 connectors with Phase A on pin 3 and Phase B and pin 2. Short stubs or drops of less than 1 foot can be tolerated but not recommended. The direct-couple RS-485 interface is not compatible with either the isolated RS-485 or the standard ARCNET twisted pair interfaces. Data rates from 156 Kbps to 10 Mbps are allowed, and the 75ALS176BD (U12) transceiver is used. To setup the board for direct-coupled interface, with the use of SMSC DEMOAT software, perform the following steps: 1. 2. 3. 4. 5. Note: Note: Install both jumpers horizontally at JP6 (RJ11 filter) Install both jumpers horizontally at JP9 (Differential paired data) Set jumper blocks JP13 and JP5 both to B (Transmit data and receive data) Set I/O board address as specified in I/O address selection in User Guide (e.g. 02E0) Set Node ID as specified in Node ID selection in User Guide Make sure JP8, JP10, JP11, and JP12 are unconnected. If socketed COM20022 (SKT1) is being utilized, U8 (alternate COM20022 device) must not be mounted on evaluation board. JP7 S3 1 S2 U11 JP13 1 SKT1 A B C D JP5 1 A B C D LE D 1 JP6 JP4 1 JP8 ` U8 U13 CO AX 1 U12 T1 JP9 1 J2 1 JP10 J1 U15 JP3 DRQ JP2 DACK JP11 JP1 IRQ JP12 7 6 5 3 1 0 7 6 5 3 1 0 1 1 S1 15 12 11 10 9 7 5 4 3 Figure 3 For proper direct-coupled operation, installed jumpers denoted in black. Isolated RS-485 The isolated RS-485 interface uses transformer coupling to electrically isolate the data lines and make the connections insensitive to polarity. Isolation is provided up to 2KV. The isolated RS-485 interface uses RJ-11 connectors with Phase A on pin 3 and Phase B and pin 2. The isolated RS-485 interface is not compatible with directcoupled or standard ARCNET interfaces. Data rates from 156 Kbps to 10 Mbps are allowed and the 74ALS1178N (U13) transformer is used. To setup the board for isolated RS-485 interface, with the use of SMSC demoat software, and perform the following steps: 1. 2. 3. 4. 5. Install both jumpers horizontally at JP6 (RJ11 filter) Install both jumpers horizontally at JP10 (Differential paired data) Set jumper blocks JP13 and JP5 to C (Transmit data and receive data) Set I/O board address as specified in I/O address selection in User Guide (e.g. 02E0) Set Node ID as specified in Node ID selection in User Guide SMSC UG - EVB-20022 Page 7 Rev. 1/5/00 Note: Note: Make sure JP8, JP9, JP11 and JP12 are unconnected. If socketed COM20022 (SKT1) is being utilized, U8 (alternate COM20022 device) must not be mounted on evaluation board. JP7 S3 1 S2 U11 JP13 1 SKT1 A B C D JP5 1 A B C D LE D 1 JP6 JP4 1 JP8 ` U8 CO AX 1 U12 U13 T1 JP9 JP10 1 J2 1 J1 U15 JP3 DRQ JP2 DACK JP11 JP1 IRQ JP12 7 6 5 3 1 0 7 6 5 3 1 0 1 1 S1 15 12 11 10 9 7 5 4 3 Figure 4 For proper isolated RS-485 operation, installed jumpers denoted in black JUMPER LIST JP1 JP2 JP3 JP4 IRQ Select DACK Select DRQ Select Fast/Slow Bus Timing JP5 TX Enables JP6 RJ11 Termination JP7 JP8 See TMC Spec Twisted Pair ARCNET Connected to RJ11 JP9 Direct Coupled RS-485 Connected to RJ11 JP10 Isolated RS-485 Connected to RJ11 JP11 COAX Connected to BNC JP12 JP13 COAX Termination RX Enables SMSC UG - EVB-20022 Page 8 1 2 High Speed Timing 2 2 Not Connected, Normal Timing A Twisted Pair ARCNET B Direct Coupled RS-485 C Isolated RS-485 D Coaxial 1 2 RJ11 Terminated 3 4 RJ11 Terminated 1 3 1 3 1 3 2 4 2 4 2 4 Connected Connected Connected Connected Connected Connected 1 3 1 A B C D 2 Connected 4 Connected 2 COAX Terminated Twisted Pair ARCNET Direct Coupled RS-485 Isolated RS-485 Coaxial Rev. 1/5/00