Home
5I25 ANYTHING I/O MANUAL
Contents
1. W3 controls the 5V I O tolerance option When W3 is on the default UP position 5V tolerance mode is enabled When W3 is in the DOWN position 5V tolerance mode is disabled Note that W3 controls 5V tolerance on both P2 and I O connectors also selects the pull up resistor voltage When 5V I O tolerance mode 15 selected the I O pull up resistors are powered from 5V When 5V I O tolerance mode is disabled the I O pull up resistors are powered with 3 3V 5125 2 HARDWARE CONFIGURATION PRECONFIG PULLUP ENABLE The Xilinx FPGA on the 5125 has the option of having weak pull ups on all I O pins at power up or reset The default is to enable the pull ups To enable the built in pull ups the default condition jumper W4 should be placed in the UP position To disable the internal pull ups W4 should be in the DOWN position PCI BUS ISOLATION The 5125 uses bus switches to provide 5V tolerance on the PCI bus These bus switches can be turned off to disconnect the FPGA from the PCI bus This is valuable when debugging FPGA PCI firmware W5 controls the PCI bus isolate function For normal operation W5 must be in the UP position To disconnect the FPGA from the BUS move W5 to the DOWN position 5125 3 CONNECTORS CONNECTOR LOCATIONS AND DEFAULT JUMPER POSITIONS CB N21 Tl Tl Tl tl gg gd RN3 RN4 RNS RNG wd DO on 1 iD c RN13 RN12 RN RNIO SUPERPORT wo c45 Ri AL God ooo C46 C48 R15 m
2. FPGA is configured at power up The INIT LED lights when the power on reset is asserted when there has been a CRC error during configuration When using Mesas configurations the INIT LED blinks when the fallback configuration has been loaded PULLUP RESISTORS All I O pins are provided with pull up resistors to allow connection to open drain open collector or OPTO devices These resistors have a value of 3 3K so have a maximum pull up current of 1 5 mA 5V pull up 1 mA 3 3V pull up IO LEVELS The Xilinx FPGAs used on the 5125 have programmable l O levels for interfacing with different logic families The 5125 does not support use of the I O standards that require input reference voltages All standard Mesa configurations use LVTTL levels Note that even though the 5125 can tolerate 5V signal inputs its outputs will not swing to 5V The outputs are push pull CMOS that will drive to the output supply rail of 3 3V This is sufficient for TTL compatibility but may cause problems with some types of loads For example when driving an LED that has its anode connected to 5V in such devices as isolators and I O module rack SSRs the 3 3V high level may not completely turn the LED off To avoid this problem either drive loads that are ground referred Use 3 3V as the VCC for VCC referred loads or use open drain mode STARTUP I O VOLTAGE After power up or system reset and before the the FPGA is configured the pull up resisto
3. The configuration includes nine hardware step generators two PWM generators two encoder inputs two Smart Serial interfaces a watchdog timer and GPIO PROB 2 The PROB RFX configuration is a step dir configuration intended to work with most common parallel port breakouts Two breakouts are supported one on each of the 51255 I O connectors The configuration includes eight hardware step generators two encoders with index two PWM generators a watchdog timer and GPIO PIN FILES Each of the configurations has an associated file with file name extension pin that describes the FPGA functions included in the configuration and the I O pinout These are plain text files that can be printed or viewed with any text editor 5125 18 REFERENCE SPECIFICATIONS POWER 3 3V POWER SUPPLY 5V POWER SUPPLY 3 3V POWER CONSUMPTION MAX 5V CURRENT TO I O CONNS TEMPERATURE RANGE C version TEMPERATURE RANGE I version MIN 3 0V 4 5V MAX 3 6V 5 5V 400 mA 1000 mA 70 C 85 C NOTES PCI supplied 3 3V PCI supplied 5V Depends on FPGA Configuration Each PTC Limit 5125 19
4. e Med Ad qu raf 18 REFERENCE INFORMATION Make aic doe que 19 SPEGIBICATIONS gsc exe eure ant Pal eg ue dea E 19 GENERAL DESCRIPTION The MESA 5125 SuperPort is a low cost general purpose programmable I O card for the PCI bus The 5125 is a low profile PCI card and is available with standard or low profile brackets The 5125 uses standard parallel port pinouts and connectors for compatibility with most parallel port interfaced motion control CNC breakout cards allowing a motion control performance boost while retaining a reliable real time PCI interface The 5125 is a universal PCI card so will work in 5V and 3 3V systems The 5125 provides 34 I O bits 17 per connector All I O bits have bus switches that provide 5V tolerance and also have the benefit of disconnecting all I O pins when the host CPU is off preventing damage to the 5125 if power is supplied to I O pins when the host is powered down All I O pins have pull up resistors so have a defined state at power up Unlike the parallel port that the 5125 replaces each bit has individually programmable direction and function A power source option allows the 5125 to supply 5V power to breakout boards if desired This 5V power is protected by a per connector PTC Configurations are provided for hardware step generation to MHz rates encoder counting PWM digital I O analog I O and Smart Serial re
5. will work as well but have poorer noise immunity and signal fidelity PLUG AND GO KITS Motion control kits with pre programmed 5125 interface cable and daughtercard s are available to simplify system integration 5125 16 SUPPLIED CONFIGURATIONS HOSTMOT2 All supplied configurations are part of the HostMot2 motion control firmware set All HostMot2 firmware is open source and easily extendible to support new interfaces or different sets of interfaces embedded in one configuration For detailed register level information on Hostmot2 firmware modules see the regmap file in the hostmot2 source code directory 7176X2 7176 2 is a configuration intended to work with the 7176 five axis step dir daughtercard It will support two 7176 daughtercards one on each of the 51255 I O connectors The configuration includes ten hardware step generators two encoder inputs and four Smart Serial interfaces a watchdog timer and GPIO 7176 7174 7176_7174 is configuration for one 7176 five axis step dir daughtercards on and one 7174 eight channel RS 422 interface on P2 The 7174 is configured with eight Smart Serial channels G540X2 G540X2 is a configuration intended to work with two Gecko G540 four axis step motor drives It includes eight hardware step generators two PWM generators four GPIO outputs eight GPIO inputs two charge pump drivers and a watchdog timer 7I77X2 7177 2 is a configuration intended to work with the 7177
6. 9125 ANYTHING I O MANUAL This page intentionally not blank Table of Contents GENERAL Iova ERES apte m aa ee Ld Rb d SERRE S dd dr ras 1 DESCRIP TION siz nana BE sia eo Cae d doc he 1 HARDWARE CONFIGURATION ese bees Reihe ER nmn xs bee eaa 2 GENERALS oos uno hos E tet UR UA SC e Y OE dr 2 BREAKOUT POWER OPTION uiii aa Rt RR Bo reb oa oe 2 OV VO TOLERANCE erase aie pedcs co div aea Re cag 2 PRECONEIG PULL UP ENABLE RE eR 3 PGIIBUS ISOLATION 2 he Nx Moe ex Satis Vete 3 CONNECTORS x xu sands ars E aspi Baw dor dae Bag UI IUE p a bare esed E da d 4 CONNECTOR LOCATIONS AND DEFAULT JUMPER POSITIONS 4 5125 I O CONNECTOR PIN OUT 522270 can ean C n er ho oe es 5 JTAG CONNECTOR PIN OUT oooh pam ek bo IR Rte Re Nt n 7 Aes a ritos eerie oet de seine co SLE 8 aut ET 8 FPGA ge 8 POL AGO ESS oda Sones eet ed er oe P eee GET d aes 8 CONFIGURATION cess GG eae bate Er oe a ee mide cR A Re 9 EEPRHONULAY OUT dert reso doce eoe erbe a pde Ea 9 BITFIEE FORMAT uu hi set t nia Data we Rao RR do e bo A 12 NMFLAS H EL eet area iOS ane 12 MESAFLASH 2p bu borsa ed can dat obeundo dea 12 SPI INTERFA
7. CE DESCRIPTION knit tn temm mtm m nn 13 FREE EEPROM SPACE 27 4018 ONE tea 14 FALLBACK INDICATION jur are nct aah Rn RO Ro ree black Cp ES 14 FAILURE TO CONFIGURES iade dae ep rtm de RT oe mt Rn 14 CLOCK SIGNALS ee RR OR dot a EL ARR 14 IND MEM 15 PULLUP RESISTORS tak dient oaths ere br aor dae QU eia aisi ies 15 VO LEVELS xviii RE KT Ra DEM a e Eie iE 15 STARTUP I O VOLTAGE 08 rect intentos roodo Deck atus e eos th ne 15 INTERFACE GABLES alle odes aside Mat ode 16 BREAKOUT POWER OPTION ec wie e Rom Mon wer Ras neto 16 PLUG AND GO II TS us zu eret xao in Lo deo a 16 Table of Contents SUPPLIED CONFIGURATIONS d Da o C ri eo ta o 17 PIOS DICTAS dart lo te eld ad S psal a Ut Vb Uto 17 DLO KE e da ates tube d whee tad cen e d dta a 17 T Ib au eee pa etf acabo ardere opted SL 17 Corp e 17 E e a N E 17 ALT ANG tees ROR au ee dee Me eet eS 17 WLT ANTA MOT 18 Cp C EIE 18 TIPO Ks cae a Pico Bu Redes patus baw Rnb pa 18 PROB RFEX2 ok Sonat Dike mln oe oe 18 ze tte oit ond aoi ate ttn Diete
8. ch is awkward and slow at best For this reason the 5125 EEPROM normally contains two configuration file images A primary user image and a fallback image If the primary user configuration is corrupted the FPGA will load the fallback configuration so the EEPROM image can be repaired without having to resort to JTAG programming EEPROM LAYOUT The EEPROM used on the 5125 for configuration storage is the M25P80 or M25P 16 The M25P80 is a8 M bit 1 M byte EEPROM with 16x 64K byte sectors The M25P16 is a 16 Mbit 2 M byte EEPROM with 32x 64K byte sectors Configuration files are stored on sector boundaries to allow individual configuration file erasing and updating M25P80 EEPROM sector layout is as follows 5125 9 OPERATION EEPROM LAYOUT The first half of M25P16 sector layout is as follows 5125 10 OPERATION EEPROM LAYOUT The second half of M25P16 sector layout is as follows 5125 11 OPERATION BITFILE FORMAT The configuration utilities expects standard FPGA bitfiles without any multiboot features enabled If multiboot FPGA files are loaded they will likely cause a configuration failure In addition for fallback to work the g next config register write disable g reset on error enable and g CRC enable bitgen options must be set NMFLASH The DOS utility program NMFLASH is provided to write configuration files to the 5125 EEPROM under DOS NMFLASH depends on a simple SPI interface built into both the standard us
9. er FPGA bitfiles and the fallback bitfile NMFLASH FPGAFILE BIT Writes a standard bitfile FRGAFILE BIT to the user area of the EEPROM NMFLASH FPGAFILE BIT V Verifies the user EEPROM configuration against the bit file FPGAFILE BIT NMFLASH FALLBACK BIT FallBack Writes the fallback EEPROM configuration to the fallback area of the EEPROM In addition if the bootblock is not present in block 0 of the EEPROM it re writes the bootblock MESAFLASH Linux and Windows utility programs mesaflash and mesaflash exe are provided to write configuration files to the 5125 EEPROM These files depend on a simple SPI interface built into both the standard user FPGA bitfiles and the fallback bitfile If mesaflash is run with a help command line it will print usage information mesaflash device 5125 write FPGAFILE BIT Writes a standard bitfile FRGAFILE BIT to the user area of the EEPROM mesaflash device 5125 verify FPGAFILE BIT Verifies the user EEPROM configuration against the bit file FPGAFILE BIT mesaflash device 5125 fallback write FALLBACK BIT Writes a fallback file to the fallback area of the EEPROM 5125 12 OPERATION SPI INTERFACE DESCRIPTION This is the register level description of the simple SPI interface to the 5125 s configuration EEPROM This hardware is built into all Mesa 5125 configurations This information is only needed if you are writing your own programming utility DATA REGISTER at offset 0x74 from 5125 base addre
10. figuration BREAKOUT POWER OPTION The 5125 has the option to supply 5V power from the host computer to the breakout board This option is used by all Mesa breakout boards to simplify wiring The option uses 4 parallel cable signals that are normally used as grounds for supplying 5V to the remote breakout board DB25 pins 22 23 24 and 25 These pins are AC bypassed on both the 5125 and Mesa breakout cards so do not compromise AC signal integrity The 5V power option is individually selectable for the two I O connectors The breakout 5V power is protected by per connector PTC devices so will not cause damage to the 5125 or system if accidentally shorted This option should only be enabled for Mesa breakout boards or boards specifically wired to accept 5V power on DB25 pins 22 through 25 When the option is disabled DB25 pins 22 through 25 are grounded W1 P2 POWER W2 POWER UP UP BREAKOUT POWER ENABLED DOWN DOWN BREAKOUT POWER DISABLED DEFAULT 5V I O TOLERANCE The FPGA used on the 5125 has a 4V absolute maximum input voltage specification To allow interfacing with 5V inputs the 5125 has bus switches on all I O pins The bus switches work by turning off when the input voltage exceeds a preset threshold The 5V I O tolerance option is the default and should normally be left enabled For high speed applications where only 3 3V maximum signals are present and overshoot clamping is desired the 5V I O tolerance option can be disabled
11. he card if the primary configuration fails and the fallback configuration loaded successfully If this happens it means the user configuration is corrupted or not a proper configuration for the 5125s FPGA This can be fixed by running the configuration utility and re writing the user configuration FAILURE TO CONFIGURE The 5125 should configure its FPGA within a fraction of a second of power application If the FPGA card fails to configure both red LEDs on the right hand side of the card will remain illuminated after power up If this happens the 51255 EEPROM must be re programmed via the JTAG connector CLOCK SIGNALS The 5125 has two FPGA clock signals One is the PCI clock and the other is a 50 MHz crystal oscillator on the 5125 card Both clocks a can be multiplied and divided by the FPGAs clock generator block to generate a wide range of internal clock signals Note that the PCI bus clock is often not known to a high degree of accuracy so for accurate timing applications the on card 50 MHz oscillator should be used 5125 14 OPERATION LEDS The 5125 has 2 FPGA driven user LEDs User 0 and User 1 Green and 2 status LEDs red The user LEDs can be used for any purpose and can be helpful as a simple debugging feature A low output signal from the FPGA lights the LED See the 51251O PIN file for FPGA pin locations of the LED signals The status LEDs reflect the state of the FPGA s DONE and INIT pins The DONE LED lights until the
12. mote l O Configurations are available that are compatible with common breakout cards and multi axis step drives like the Probotix RF and the Gecko G540 There are currently five 5125 compatible breakout cards available from Mesa the 7174 through 7178 The 7174 is a eight channel RS 422 interface normally used with Mesa s Smart Serial remote I O expansion cards The 7175 is a simple breakout protection card that gives direct bidirectional access to all FPGA pins The 7176 is a step dir oriented breakout with 5 axis of buffered step dir outputs one spindle encoder input one isolated 0 10V analog spindle speed plus isolated direction and enable outputs one RS 422 expansion port 32 isolated 5 32V inputs and 16 isolated 5 32V 300 mA outputs The 7177 is a analog servo interface with 6 encoder inputs 6 analog 10V outputs one RS 422 expansion port 32 isolated 5 32V inputs and 16 isolated 5 32V 300 mA outputs The 5125 supports two breakout cards so for example a 10 Axis step dir configuration or 12 axis analog servo configuration is possible with a single 5125 and two Mesa breakout cards The 7178 is a simple 4 axis buffered step dir interface with isolated analog spindle control and spindle encoder interface plus one RS 422 port for I O expansion 5125 1 HARDWARE CONFIGURATION GENERAL Hardware setup jumper positions assume that the 5125 card is oriented in an upright position that is with the PCI connector towards the person doing the con
13. rs will pull all I O signals to a high level If the FPGA is used for motion control or controlling devices that could present a hazard when enabled external circuitry should be designed so that this initial state results in a safe condition 5125 15 OPERATION INTERFACE CABLES Mesa daughtercards use a male to male DB25 cable to interface to the 5125 For noise immunity and signal fidelity it is suggested that only IEEE 1284 rated cables be used IEEE 1284 rated cables have a twisted pair shield wire for each signal wire and an overall shield terminated in the metal connector shell This results in much better performance than flat or NON IEEE 1284 parallel port cables For short connections of less than 3 feet flat cables can be used No other type of cable should be used Mesa can supply IEEE 1284 cables tested with the 5125 daughtercard combination in 6 and 10 foot lengths BREAKOUT POWER OPTION When used with Mesa breakout daughter cards the 5125 can supply up to 1A of 5V power to each of the daughter cards This option is disabled by default to avoid possible damage to standard breakout boards so must be specifically enabled for Mesa daughtercards If you use this option you must verify that the interface cable does not tie the eight parallel port ground wires together as some cheap printer cables do Mesa supplied IEEE 1284 cables are the best option for Mesa daughter cards and are guaranteed to work with the power option Flat cable
14. s is normally used only for debugging or ifthe EEPROM configuration has been corrupted In case of corrupted EEPROM contents the EEPROM can be re programmed using Xilinx s Impact tool For reprogramming the card can be powered in a standard PCI slot or if desired 3 3V power can be applied via the JTAG connector P1 JTAG CONNECTOR PINOUT PIN 1 FUNCTION TMS TDI TDO TCK GND 3 3V 5125 7 OPERATION FPGA The 5125 use a Xilinx Spartan6 400k gate FPGA in a 144 pin QFP package XC6SLX9 PQ144 FPGA PINOUT The local bus and interface FPGA pinouts are described in the 6i25 ucf file in the configs hostmot2 source directory of the 5i25 zip file PCI ACCESS The 5125 normally uses 5125 specific HostMot2 firmware which currently has a simple target only PCI core with a single Base Address Register BAR 0 Card specific PCI identifiers are as follows VENDOR ID 0X2718 DEVICE ID 0x5125 SUBSYSTEM VENDOR ID 0x2718 SUBSYSTEM DEVICE ID 0x5125 The single base address register BARO maps a 64K Byte region of non cacheble 32 bit wide memory 5125 8 OPERATION CONFIGURATION The 5125 is configured at power up by a SPI EEPROM This EEPROM is an 8M bit chip that has space for two configuration files Since all PCI bus logic on the 5125 is in the FPGA a problem with configuration means that PCI access will not be possible This condition is only fixable by reprogramming the EEPROM via the JTAG connector P1 whi
15. six axis analog servo daughtercard It will support two 7177 daughtercards It includes twelve encoder inputs six smart serial interfaces four used locally on the 7177s and two fed through for additional remotes a watchdog timer and GPIO 7177_7176 7177_ 7176 is a configuration intended to work with a 7177 six axis analog servo daughtercard on P3 and a 7176 daughtercard on P2 5125 17 SUPPLIED CONFIGURATIONS 7177 7174 7174 7177 is a configuration intended to work with one 7177 six axis analog servo daughtercard on P3 and one 7174 eight channel RS 422 interface daughtercard on P2 It includes 12 encoder inputs 11 smart serial interfaces two used on the 7177 for 48 bit isolated field I O and analog out a watchdog timer and GPIO 7174X2 7174 2 is a configuration intended to work with two 7174 RS 422 daughter cards It include sixteen smart serial interfaces allowing real time control of up to 768 digital I O points a watchdog timer and GPIO 7178X2 7178 2 is a configuration intended to work with the 7178 four axis step dir daughtercard It will support two 7178 daughtercards one on each of the 51255 connectors The configuration includes eight hardware step generators two PWM generators two encoder inputs two Smart Serial interfaces a watchdog timer and GPIO 7176 7178 7176 7178 is a configuration designed to work with the 7176 five axis step dir daughtercard on and a 7178 4 axis step dir daughtercard on P2
16. ss 5125 13 OPERATION SPI INTERFACE DESCRIPTION The SPI interface is very minimal just enough hardware to avoid slow bit banging of the SPI data when reading or writing the configuration EEPROM Operation is as follows To transfer SPI data CS is asserted low and an outgoing command data byte is written to the data register This write to the data register causes the SPI interface to clear its DAV bit shift out its outgoing data byte and shift in its incoming data This shifting is done at a fixed PCI Clock 6 rate or about 5 5 MHz When the byte data transfer is done The DAV bit is set in the control register Host software can poll this bit to determine when the transfer is done When the transfer is done the incoming data from the EEPROM can be read in the data register and the next byte sent out Note that CS operation is entirely controlled by the host that is for example with a 5 byte command sequence the host must assert CS low transfer 5 bytes with 5 write read commands to the data register with per byte DAV bit polling and finally assert CS high when done FREE EEPROM SPACE Three 64K byte blocks of EEPROM space are free when both user and fallback configurations are installed It is suggested that only the last two blocks 0 0000 and OxF0000 in the user area be used for FPGA application EEPROM storage FALLBACK INDICATION Mesa s supplied fallback configurations blink the red INIT LED on the top right hand side of t
17. u 5125 u7 wi 18 E20 png C3C23 1026 T d 50005 e e 5008 00 00008 ms 29037 QOO O N m 5 5 i 00 0 u8 5125 1 a0 USERI USERO INIT C5 L9 RN CONNECTORS CONNECTORS The 5125 has 2 I O connectors the primary DB25F connector and the secondary 26 pin header connector P2 please see the 512510 file on the 5125 distribution disk 5125 IO connector pinouts are as follows P3 BACK PANEL DB25F CONNECTOR PINOUT DB25 PIN FUNCTION DB25 PIN FUNCTION 1 lOO 14 01 2 02 15 03 3 104 16 IO5 4 17 107 5 18 GND 6 109 19 GND 7 1010 20 GND 8 1011 21 GND 9 1012 22 GND or 5V 10 1013 23 GND or 5V 11 1014 24 GND or 5V 12 1015 25 GND or 5V 13 1016 5125 5 CONNECTORS CONNECTORS P2 INTERNAL HDR26 CONNECTOR PINOUT HDR PIN FUNCTION HDR PIN FUNCTION 1 1017 2 1018 3 1019 4 1020 5 1021 6 1022 7 1023 8 1024 9 1025 10 GND 11 1026 12 GND 13 1027 14 GND 15 1028 16 GND 17 1029 18 GND 5V 19 1030 20 GND or 5V 21 1031 22 GND or 5V 23 1032 24 GND or 5V 25 1033 26 GND or 5V Note 26 pin header P2 will match standard parallel port pin out if terminated with flat cable 26 pin receptacle DB25F cable with pints connected and header pin 26 left open A cable bracket hardware kit is available from MESA for the second port 5125 6 CONNECTORS JTAG CONNECTOR PINOUT P1 is JTAG programming connector Thi
Download Pdf Manuals
Related Search
Related Contents
Pilot Study of Systems to Drive Autonomous Vehicles on Test Tracks User manual / Technical Information DS-A1 Samsung SWT10H2 User Manual Origin Storage 512GB MLC SATA Válvulas de control HP y HPA Fisherr LG 19" New Artistic Design PC CHIPS M701G (V1.1) 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file