4 The Evolution of Serial Communication Universal Low Profile PCISupport 3.3V and 5V signalingGreater flexibilityISAPCIPC/104PC/104+Low costCompatibilityWidely usedLow speed (64M bps)Jumper & DIP switchesObsoleteCompact PCIHigh speed (up to 8G bps)PnPDominant board-level busIncompatible w/ older systemMore expensive than ISADesigned for industrial useHot swapping / PnPLow speed than PCI (1G bps)need adapter for PC useIncompatible w/ older systemsFor ICOM cards, we have ISA, PC/104 no support PnP interface products, and PCI, PC/104+, CPCI support PnP products.
5 ISA (Industry Standard Architecture) Bus Defined by IBM and it is also called AT BusEasy to designTransmission data rate: 8.33 X 2 = MHz—low speedPnP not supportedOnly 16 bit supportConfigured by hardwareBecause the performance and transfer quality are worse than PCI bus, it is replaced by PCI, AGP, and USB interface gradually.Now, I would start the introduction from ISA Bus. ISA cannot support PnP (Plug-n-Play), and only support 16 bits.ISA bus is gradually replaced by PCI, AGP, and USB interface.
6 ISA Series Card Example: PCL-746+ 4-port RS-232/RS-422/RS-485 Interface CardMain FeaturesFour independent RS-232/422/485 serial portsSpeeds up to kbpsInterrupts (jumper selectable): 3, 4, 5, 6, 7, 9, 10, 11, 12 or 15Onboard interrupt status register for greater throughputAutomatic data flow control in RS-485 modeRS-422 or RS-485 modes jumper selectableSpace reserved for optional surge protection on all port lines (in RS-422/485 modes)Space reserved for termination resistorsCompatible with ARCNET® 4-port cards supporting SCO UNIX/XENIXSupports Windows® 98/2000/XP, Linux®Powerful and easy-to-use utility (ICOM Tools)This is one of the ISA interface ICOM card of Advantech, PCL It is a 4-port RS-232/422/485 ICOM card.
7 PCI Bus32-bit standard bus width with a maximum transfer rate of 133 Mbytes/sExpansion to 64 bits with a maximum transfer rate of 266 Mbytes/ssupporting of 5V and 3.3V power suppliers—Universal BusOperating frequencies from 0MHz to a maximum of 33 MHzMultiplexing of address and data bus reducing the number of pinsConfiguration through software and registers32- and 64-bit cards can be installed in 64 and 32-bit slotsPCI interface is more robust than ISA interface. It supports PnP and 32-bit width.
8 Universal Low Profile PCI (I) What is Universal PCI?Support universal architecture that can source power signaling at either 3.3 volts or 5 volts.What is universal PCI? It means that this PCI interface supports both 3.3V and 5V connector.Benefit: You can plug Universal PCI card in to ANY PCI slot
9 Universal Low Profile PCI (II) What is Low Profile PCI?New PCI card standard for space-constrained system designsSame electrical, protocols, signals and S/W drivers as PCI v2.2 cardsThe physical dimensionMD1: shortest length of the card, mm x mm (4.721”)PCI-1602 (Normal PCI Card)123mm x 92mmPCI-1602UP (Low Profile PCI Card)119.91mm x 64.41mmThe Low Profile PCI means that the size of the card is shorter than normal one.Benefit: The size is smaller, and that gives you flexible utilization
10 Benefits of PCI Bus Multiple bus masters on the same bus Auto-configuringIRQ sharingHigh bus bandwidthSupport multiple function cardsThese are the benefits of PCI Bus
11 PCI Series Card Example: PCI-1625U 8-port Intelligent RS-232 Universal PCI Communication CardMain FeaturesRISC processor (TMS320)1MB SRAMPCI specification 2.2 compliantSpeed up to kbps8-port RS-232I/O address automatically assigned by PCI Plug & PlayOS supported: Windows 2000/XPPowerful and easy to utility (ICOM tools)Link with OPT8FP peripherals up to 1200m (4000ft) from controller (RS-422)Universal PCI (supports 3.3 V or 5 V PCI bus signal)
12 CompactPCI Interface Defined by PICMG It is electrically a superset of desktop PCI with a different physical form factor. CompactPCI utilizes the Eurocard form factor popularised by the VME bus.Defined for both 3U (100mm by 160 mm) and 6U (160mm by mm) card sizes,32 bit—133MB/s, 64 bit—256MB/sCould support up to 256 PCI busExcellent shock and vibration characteristicsUser I/O connections on front or rear of moduleStaged power pins for Hot Swap capabilityThe specs of CPCI are almost the same with PCI, but the form factors.CPCI supports HOT SWAP capability.
13 MIC Series Card Example: MIC-3620 8-port RS-232 Communication CardMain FeaturesPCI Specification 2.1 compliantSpeeds up to kbps16C954 UARTs with 128-byte standard8-port RS-232Standard Industrial CompactPCI® 3U Board sizeI/O address automatically assigned by PCI Plug & PlayOS support: Windows® 98/NT/2000/XPInterrupt status register for increased performanceOptional surge protectionSpace reserved for termination resistors
14 USB InterfaceUSB (Universal Serial Bus) Most common computer port today Connect up to 127 peripherals (with hub) Plug & PlayUSB 1.1 (Since 1996) 12 Mbps for high speed devices 1.5 Mbps for those need much less bandwidthUSB 2.0 (Since 2002) 480 Mbps data transfer rate => 40 times faster
15 Isolated and Surge Protection Now I will introduce the protections on our ICOM cards
16 Protection Isolation EFT Surge Protection Separate of circuit can prevent the abnormal signal from influencing the whole system.For continuous high voltage protectionEFT Surge ProtectionProtect the parts which are connecting with the input signal. And we need it in case the input signal is with an electrical spike which will damage the receiver.For sudden high voltage protectionESD (Electrostatic Discharge) ProtectionPrevent the electrostatic from damage the circuit.Ex: Plug or unplug the cable.There are three protection—Isolation, Surge, and ESD protection
17 Strength: Isolation & Surge Protection EthernetIsolation : 3000 VDCSurge Protection : 3000 VDCADAM-4000( Remote I/O )The protection is designed between the device and PC.Serial NetworkRS-422/485ADAM-5000/485( Remote I/O )
18 Isolated Protection Isolated Protection Isolation Protection is used by photo-couple
19 Surge ProtectionSurge protection is used by TVS component
21 How to Install ICOM Cards? For ISA interface (PCL and PCM series)1. Check the resource on PC (I/O Address)Check the resource on PC. Please go to the Windows Device Manager and choose Resource (By Type), then you can see the IO address and IRQ table.
22 How to Install ICOM Cards? For ISA interface (PCL and PCM series)Check the resource on PC (IRQ)Check the resource on PC (IRQ)
23 PCL 746+ Hardware Port Mode Base Address Vector address IRQ PCL-746+ hardware introductionVector addressand IRQ modeIRQ
24 PCL-746+ Hardware Setting I/O Address—Set address to transfer dataEnhanced Mode—Share IRQ modeStandard Mode—Independent IRQVector Address—Set address to share IRQIRQ—Interrupt RequestMode Setting—RS-232, RS-422/485 modeTransfer Speed—1X, 8X
25 How to Set Address (Hex)—Ex. 1 User DefinedAlways ZeroA7 A A5 A4A3 A2 A1 A0A9 A8ONOFF11Please refer to the slides to practice each IO address, 300H, 280H, and 3E8H.When you set the Jumper to “Off”, it means “High” (1); otherwise, it is “Low” (0)Binary212023222120232221203HNote ： ON：0 OFF ：1
26 How to Set Address (Hex)—Ex. 2 Always ZeroA7 A A5 A4A3 A2 A1 A0A9 A8ONOFF11Binary2120232221202322212028HNote ： ON：0 OFF ：1
27 Practice—Set Address to 3E8H Always ZeroA7 A A5 A4A3 A2 A1 A0A9 A8ONOFF111111Binary212023222120232221203E8HNote ： ON：0 OFF ：1
28 On-Line Training for Installing PCL-746+ You can go to Advantech’s website and download the online training video to learn how to install the ISA bus ICOM card.
29 How to Install ICOM Cards? For Plug & Play Interface (PCI, PC/104+, and USB Series)Plug the cards in PC - for PnP cards, H/W will be installed after PC boots or re-scan of device in Windows device managerPlug the cards in PC - for PnP cards, H/W will be installed after PC boots or re-scan of device in Windows device manager
30 PCI-1612U Hardware Port Mode Flow Control setting Setting Guide You need to set jumpers to decide the status of each port (RS-232,422,or 485)You can refer to the setting guide on the cardSetting Guide
31 How to Know What Mode COM Port Is? You can go to Windows Device Manager to check the status of each port.
32 ICOM Examine Tool ICOM Configuration Tool: Easy to Use Port configuration.You can configure the Baud rate, data bits, parity, stop bits, and flow control mode according to your need.Loading test.Verify the performance of serial communication.Loopback test.Active loopback test.Passive loopback test.History message log.Complete Driver Support(9X/NT/2K/XP; Linux)After installing all of the COM ports, we can use the ICOM Examine Tool, which provided by Advantech, to test all ports.
33 ICOM Terminal Tool Hyperterminal-Like Tool You can also use Hyper Terminal or TTY tool to test each port.
34 Hands-on to Connect ADAM-4000 by RS-485 wiring directly Now I will show you a real application of ICOM card.
35 How to connect ADAM-4000 Series Modules by RS-485 wiring directly The RS-485 Pin assignment of RS-485 of Advantech’s ICOM cards is:Pin1: Data-Pin2: Data+Pin5: GNDYou need to connect Data+ to Data+, Data- to Data-. Then, use ADAM utility to search the ADAM-4000 module.
36 ADAM UtilityChoose the COM port number you connect to ADAM-4000 module.
37 ADAM UtilityThen, you can find the module and start to get data from it.
38 Hands on PracticeUse ICOM Tool and Hyper-Terminal to test PCL-746+ and PCM-3614Familiar with test utilityLearn how to set the I/O address, Vector Address, and IRQUse ICOM Tool, Hyper-Terminal, and ADAM Utility to test PCI-1612CUKnow the operation when transfer data by serial portLearn how to change transfer modes by hardware settingIf we have enough time, we can do some hands-on practice.
39 Conclusion Know the function of Isolation, Surge and ESD Protection Know the differences of bus interfaceLearn trouble-shooting in hands on practice