Home
IP-Unidig-I-O
Contents
1. 24 Control Register Interrupt Vector Register Interrupt Enable Register lines 1 8 Interrupt Enable Register lines 9 16 Interrupt Enable Register lines 17 24 Interrupt Polarity Register lines 1 8 Interrupt Polarity Register lines 9 16 Interrupt Polarity Register lines 17 24 Interrupt Clear Register lines 1 8 Interrupt Clear Register lines 9 16 Interrupt Clear Register lines 17 24 Interrupt Pending Register lines 1 8 Interrupt Pending Register lines 9 16 Interrupt Pending Register lines 17 24 Figure 6 Byte Access ISA Address Map Bit map of bytes at base 0 base 4 base 12 base 16 and base 1A DataBit 7 6 5 4 3 2 11 0 YO Line 8 7 615 4 3 2 1 Bit map of bytes at base 1 base 5 base 13 base 17 and base 1B DataBit 7 6 5 4 3 2 1 0 IO Line 16 15 14 13 12 11 10 9 Bit map of bytes at base 2 base 6 base 14 base 18 and base 1C DataBit 7 6 5 4 3 2 1 0 11 1 0 Line Bit map of byte at base C D ata au 7 3 ae FF ee ae See ee Write Mode Enable Clock Polarity Dbl Buffer En Read 0 Mode Enable Clock Polarity Dbl Buffer En Bit map of the Interrupt Vector Register at base 10 DataBit 7 6 5 4 3 2 1 Vec Bit 7 6 5 4 3 2 14 0 12 I O Pin Wiring This section gives the pin assi
2. TTL compatible source may be used The input registers are always clocked by the IP Clock to ensure proper timing of the interrupt circuits Double buffering is controlled by a bit in the Control Register Reset disables all output transmitters and disables double buffering Figure 1 shows a block diagram of the IP Unidig I O Xilinx FPGA Input 1 Input 1 Clock Register Opto Coupler Control Output 1 Output 1 Output Register Opto Coupler Transistor Control 241 O only 241 O only Register Input 13 Input 13 Register Opto Coupler 24l and 241 and UP Bus 2410 only 2410 only Interface Output 13 Output 13 Register Opto Coupler Output 121120 and 121120 and Transistor 24V O only 241 0 only Input 24 Input 24 Register Opto Coupler 24l and 24l and 2410 only 2410 only Output 24 Output 24 Register Opto Coupler Output 121120 and 121120 and Transistor 2410 only 2410 only Figure 1 IP Unidig I O Block Diagram VMEbus Addressing IP Unidig I O normally is accessed one word at a time in the host s I O space Alternatively byte or long word accesses may be used If long words are used the host or support module must map 32 bit long words into two 16 bit cycles This is common for 68020 and 68030 implementation of the I O space The 121120 option has Input lines 1 12 and Output lines 13 24 Only lines 1 12 in all of the Interrupt Registers are valid for this option The 24I does not
3. any bit to a 0 disables an interrupt from the corresponding Input line For the IP to actually request an interrupt an edge or level must be seen on the corresponding Input line Since the IP monitors interrupts regardless of the state of the enable bit it is possible to get an interrupt immediately upon enabling any bit in this register The Interrupt Enable Register is cleared on reset Thus all channels are disabled from generating interrupts on reset 18 Interrupt Polarity Register The Interrupt Polarity Register is used to set the polarity of the transition which is to generate an interrupt for each Input line Programming any bit to a 1 will generate an interrupt when the input data changes from a logic zero to alogic one on the corresponding Input line Programming any bit to a 0 will generate an interrupt when the input data changes from a logic one to a logic zero For the IP to actually request an interrupt the corresponding bit in the Interrupt Enable Register must be u 1 u 3 The Interrupt Polarity Register is cleared on reset This makes the default to interrupt on a falling edge for all Input lines The IP s logic monitors writing to this register If a bit in this register is changed and the static input on the corresponding line matches the programmed bit the interrupt flip flop for that line is set This feature is critical to prevent the loss of an interrupt due to aline transition which might occur during an inter
4. at GreenSpring Computer s sole option to replace the defective product The product must be returned by the original customer insured and shipped prepaid to GreenSpring Computers All replaced products become the sole property of GreenSpring Computers GreenSpring Computer s warranty of and liability for defective products is limited to that set forth herein GreenSpring Computers disclaims and excludes all other product warranties and product liability expressed or implied including but not limited to any implied warranties of merchandisability or fitness for a particular purpose or use liability for negligence in manufacture or shipment of product liability for injury to persons or property or for any incidental or consequential damages GreenSpring s products are not authorized for use as critical components in life support devices or systems without the express written approval of the president of GreenSpring Computers Inc Service Policy Before returning a product for repair verify as well as possible that the suspected unit is at fault Then call the Customer Service D epartment fora RETURN MATERIAL AUTHORIZATION RMA number Carefully package the unit in the original shipping carton if this is available and ship prepaid and insured with the RMA number clearly written on the outside of the package Include a return address and the telephone number of a technical contact For out of warranty repairs a purchase order for repair
5. charges must accompany the return G reenSpring Computers will not be responsible for damages due to improper packaging of returned items For service on GreenSpring Products not purchased directly from GreenSpring Computers contact your reseller Products returned to GreenSpring Computers for repair by other than the original customer will be treated as out of warranty Out of Warranty Repairs Out of warranty repairs will be billed on a material and labor basis The current minimum repair charge is 100 Customer approval will be obtained before repairing any item if the repair charges will exceed one half of the quantity one list price for that unit Return transportation and insurance will be billed as part of the repair and is in addition to the minimum charge For Service Contact Customer Service Department GreenSpring Computers 1204 O Brien Drive Menlo Park CA 94025 415 327 1200 415 327 3808 fax 31 Specifications Digital Interface Output Interface Level Input Interface Level Output Update Rate Isolation V oltage Software Interface Initialization Access Mode Wait States Transfer Rate Onboard O ptions Dimensions Construction Temperature Coefficient IP Unidig O 121120 12 dedicated optically isolated latched inputs 12 dedicated optically isolated double buffered outputs 24 optically isolated double buffered I O lines 24 dedicated optically isolated latched inputs IP Unidig O 24
6. have any Output lines Standard Word Access I O Space base 0 write Output lines 1 16 base 2 write Output lines 17 24 base 0 read Read Back lines 1 16 base 2 read Read Back lines 17 24 base 4 read Direct Read lines 1 16 base 6 read Direct Read lines 17 24 base C read write Control Register base 10 read write Interrupt V ector Register base 12 read write Interrupt Enable Register lines 1 16 base 14 read write Interrupt Enable Register lines 17 24 base 16 read write Interrupt Polarity Register lines 1 16 base 18 read write Interrupt Polarity Register lines 17 24 base 1A write Interrupt Clear Register lines 1 16 base 1C write Interrupt Clear Register lines 17 24 base 1A read Interrupt Pending Register lines 1 16 base 1C read Interrupt Pending Register lines 17 24 Figure 2 Word Access VME Address Map Bit map of words at base 0 base 4 base 12 base 16 and base 1A DataBit 15 14 13 12 11 10 9 8 7 61 5 4 3 2 1 O Line 16 15 14 13 122 11 100 9 8 7 615 4 3 2 1 Bit map of words at base 2 base 6 base 14 base 18 and base 1C DataBit 15 14 13 12 1 10 9 8 7 6 5 A 3 2 1 IO Lines Px HZ DEE neo ee EB EI 280 22 a ED ED ERDE Note data in bits 15 through 8 are ignored in writes read as 0 s Bit map of word at base
7. 1 in the Input Register due to an inverter in the FPGA IP VCC Vil iR Fee Zorn gen Internal Pull up Resistor 47K resistor tolerance 5 5V 0 8V 94pA 47K 5 24 To generate the 94pA on the output 495pA must be run through the input LED of the opto coupler I sink Dime CTR min 94pA z495pA 1996 The 495pA translates to 1 04 V across the 2K series resistor when the 5 resistor tolerance is taken into consideration Vres I in x Rin Rin x Rin tol 495pA x 2K 2K x5 1 04V The VF of the opto coupler at an IF of 495pA is approximately 1 4 V taken from the data sheet curves This gives the minimum threshold voltage of 2 5V Vthesh Vres VF 1 04V 1 45V 249V Using these equations users may change the 2K series resistors values and calculate the new threshold voltage The opto couplers have a 25 mA absolute maximum input current rating and a 3V reverse voltage rating Output Data Lines The 121120 has 12 dedicated outputs and the 24IO has 24 lines which may be used either for input or output The 24I option does not have outputs Figure 13 shows a diagram of one output 25 Isolated VCC Opto Coupler Xilinx FPGA Output Latch Clk Isolated GND Figure 3 Output Circuit Each output consists of an opto coupler and an open collector transistor The output register is contained in the X ilinx FPGA and drive the opto coupler input The output
8. 10 IP Unidig O 24I 0 volts to External Power Supply 20 volts max 64 mA 10 K pullup resistor standard Standard 0 V to 20 V Common Mode 500 pA min 1 Mbit second maximum 100 volts min This voltage is also dependent on the carrier board isolation and may be less for some carrier boards Seven 24 bit registers O utput Read Back Input Interrupt Enable Interrupt Pending Interrupt Polarity Interrupt Clear Two 8 bit registers Control Interrupt V ector 300 Millisecond delay from reset Forces all lines to be inputs Disables double buffering Byte or word in I O Space Zero 8 Mbytes second maximum continuous All options are software programmable Standard Single High IndustryPack width and length 1 8 x 3 9 inches IP Unidig O 121120 Typel IP Unidig O 2410 Type III max height 0 14 IP Unidig O 24l Type III max height 0 14 Conformal Coated FRA 4 layer Printed Circuit Surface mounted components 0 89 W C for uniform heat across IP 32 Power Requirements 5 0 VDC 510 mA typical 33
9. 29 I O 15 29 n c 30 In 15 30 In 15 30 Out 16 31 In 16 31 I O 16 31 n c 32 In 16 32 In 16 32 Out 17 33 In 17 33 I O 17 33 n c 34 In 17 34 In 17 34 Out 18 35 In 18 35 I O 18 35 n c 36 In 18 36 In 18 36 Out 19 37 In 19 37 I O 19 37 n c 38 In 19 38 In 19 38 Out 20 39 In 20 39 I O 20 39 n c 40 In 20 40 In 20 40 Out 21 41 In 21 41 I O 21 41 n c 42 In 21 42 In 21 42 Out22 43 In 22 43 I O 22 43 n c 44 In 22 44 In 22 44 Out 23 45 In 23 45 I O 23 45 n c 46 In 23 46 In 23 46 Out 24 47 In 24 47 I O 24 47 n c 48 In 24 48 In 24 48 Isolated VCC 49 n c 49 Isolated VCC 49 Isolated GND 50 n c 50 Isolated GND 50 Figure 7 I O Pin Assignment 14 15 IndustryPack Logic Interface Pin Assignment Figure 8 below gives the pin assignments for the IndustryPack Logic Interface on the IP Unidig I O Pins marked n c below are defined by the specification but are not used on IP Unidig I O Also see the User Manual for your IP Carrier board for more information GND CLK Reset DOID Sel Din c D2n c D3n c 32 DAINTSel D5n c 34 D610 Sel D7n c 36 D8A1 D9n c 38 D10 14 39 D11 n c 15 40 D12 A3 16 41 D13 IntReq0 17 42 D14 A4 18 43 D15 n c 19 44 BS0 A5 20 45 BS1 n c 21 46 n c A6 22 47 n c Ack 23 48 5V n c GND GND 25 50 Note 1 The no connect n c signals above are defined by the IndustryPack Logic Interface Specification but not used by this IP See the Specification for more informat
10. C Dat Sala e ee Write Mode Enable Clock Polarity Dbl Buffer En Read 0 Mode Enable Clock Polarity Dbl Buffer En Bit map of the Interrupt Vector Register at base 10 DataBit 15 14 13 12 E 10 9 8 7 Ba a 3 2 1107 BESTER a EI BEE BI EI EI EI EA 5 Jt oS p aeq 93 Note data in bits 15 through 8 are ignored in writes read as 0 s Alternate Byte Access I O Space base 0 write Output lines 9 16 base 1 write Output lines 1 8 base 3 write Output lines 17 24 base 0 read Read Back lines 9 16 base 1 read Read Back lines 1 8 base 3 read Read Back lines 17 24 base 4 read Direct Read lines 9 16 base 5 read Direct Read lines 1 8 base 7 read Direct Read lines 17 24 base D read write Control Register base 11 read write Interrupt V ector Register base 12 read write Interrupt Enable Register lines 9 16 base 13 read write Interrupt Enable Register lines 1 8 base 15 read write Interrupt Enable Register lines 17 24 base 16 read write Interrupt Polarity Register lines 9 16 base 17 read write Interrupt Polarity Register lines 1 8 base 19 read write Interrupt Polarity Register lines 17 24 base 1A write Interrupt Clear Register lines 9 16 base 1B write Interrupt Clear Register lines 1 8 base 1D write Interrupt Clear Register lines 17 24 base 1A read Interrup
11. GreenSpring Modular I O User Manual IP Unidig I O 241 0 24l 121120 24 Optically Isolated Input Output with Interrupts IndustryPack Manual Revision 2 8 2 99 Hardware Revision A IP Unidig I O 241 0 24I 121120 24 Optically Isolated Input Output with Interrupts IndustryPack GreenSpring Computers 1204 O Brien Drive Menlo Park CA 94025 415 327 1200 415 327 3808 FAX ment contains information of proprietary interest to ng Computers It has been supplied in confidence cipient by accepting this material agrees that the atter will not be copied or reproduced in whole or in ts contents revealed in any manner or to any person meet the purpose for which it was delivered ng Computers has made every effort to ensure that al is accurate and complete Still the company 1e right to make improvements or changes in the sscribed in this document at any time and without irthermore G reenSpring Computers assumes no sing out of the application or use of the device herein onic equipment described herein generates uses and gt radio frequency energy O peration of this t in a residential area is likely to cause radio 2e in which case the user at his own expense will be 9 take whatever measures may be required to correct rence ng s products are not authorized for use as critical its in life support devices or systems without the itten approval of the president of G reenSpring s Inc uct has been
12. I O space Alternatively byte accesses may be used The actual application will depend on the carrier board See the carrier board manual for details The 121120 option has Input lines 1 12 and Output lines 13 24 Only lines 1 12 in all of the Interrupt Registers are valid for this option The 24I does not have any Output lines Standard Word Access I O Space base 0 write Output lines 1 16 base 2 write Output lines 17 24 base 0 read Read Back lines 1 16 base 2 read Read Back lines 17 24 base 4 read Direct Read lines 1 16 base 6 read Direct Read lines 17 24 base C read write Control Register base 10 read write Interrupt Vector Register base 12 read write Interrupt Enable Register lines 1 16 base 14 read write Interrupt Enable Register lines 17 24 base 16 read write Interrupt Polarity Register lines 1 16 base 18 read write Interrupt Polarity Register lines 17 24 base 1A write Interrupt Clear Register lines 1 16 base 1C write Interrupt Clear Register lines 17 24 base 1A read Interrupt Pending Register lines 1 16 base 1C read Interrupt Pending Register lines 17 24 Figure 5 Word Access ISA Address Map Bit map of words at base 0 base 4 base 12 base 16 and base 1A DataBit 15 14 13 2 11119019181 7 6 51 4 3 2 1107 WO Line 16 15 14 13 122 11 100 9 8 7165 4 3 24 1 Bit ma
13. Modules with components mounted on the both sides of theIP The components on the back side have a maximum height of 0 140 inches The IP is built with optical couplers which have an isolation voltage of 2500 volts and a common mode transient immunity of greater than 1000 volts microsecond Both transmitters and recievers will operate at up to 1 Mbit second The transmitters have an additional open collector transistor stage to increase the current drive capabilities Each transistor will sink up to 64 mA and has a 10K pull up resistor standard Smaller pull up resistors may be substituted for faster turn on times as long as the current for the Isolated VCC does not exceed 1A A user provided external power supply of 5 to 20 volts powers the user s equipment and the IP s isolated transmitters The use of this power supply assures full isolation between the user s system and the system containing the IP Writing a one to any output turns off the opto isolator allowing the pull up resistor to set the line to a passive logic high Writing a zero to any output turns on the opto isolator driving the line to a logic low All output lines may be enabled or disabled by writing a bit in the control register The isolated inputs have a series resistor which provides the current to turn on the opto couplers internal LED The standard resistor is a 2K 8 pin SIP resistor network which gives an input threshold of 2 5 V When the voltage between the plus an
14. The 121120 has 12 dedicated outputs while the 24IO has 24 lines which may be set on a per line basis for either input or output Both of these options have an enable bit Bit 2 in the Control Register which must be set to a 1 before data written to the O utput Register will appear on the outputs When set to a 0 all the output transistors will be turned off and the lines pulled up to alogic high When set to a 1 the output lines will follow the data written to the O utput Register O utputs 1 16 are written at address base 0 outputs 17 24 are written at address base 2 The 121120 option has outputs 13 24 only To write a logic low on an output signal line write a 0 to the Output bit location To write a logic high on an output signal line write a 1 to the O utput bit location For the 24IO option any lines used as input must have their corresponding output lines set to a 1 Writing a one and setting the signal line to input mode is the same Passive pull up resistors are used with open collector drivers to implement the interface Using word access up to 16 bits may be programmed at once The IP implements a read back register at the same address used for writing to the signal line O utput bits This permits set bit and clear bit instructions to be used in programming which are implemented by the host hardware as read modify write cycles Thus single bits at well as bit fields may be accessed The IP may also b
15. d minus inputs is greater than 2 5V the input will be read as a 1 It will be read as a 0 when the differential voltage is less than 2 5V Isolated input voltages are limited to 20 volts due to power dissipation in the resistor network Users may replace the 2K SIP resistor networks with other values to change the threshold and maximum voltages The interrupt latch circuits are edge sensitive with programmable polarity and are controlled through the following five registers Interrupt Pending Interrupt Request Interrupt Polarity Interrupt Enable and Interrupt Clear Each line corresponds to one bit in each of the registers making programming uniform and simple This architecture also prevents the loss of an event during the execution of the interrupt service routine With the 24IO order option any line may be used as either input or output If the data direction will be dynamically changed the minus side of the inputs must be tied to the isolated ground input The isolated inputs are limited to 20 V in this case When the I O line is used as an input the output must be left as a 1 This turns off the open collector output transistor allowing an external source to drive the line The IP s double buffering capability makes it possible to update many outputs on several IPs simultaneously A user provided clock common to all the IP s is used to latch the ioutput registers The IP Unidig T is ideally suited to provide this clock though any
16. del No CRC 2410 0x6A 0x8D 121120 0x70 0xB8 24I 0x66 OxE6 21 Theory of Operation IndustryPack Standards The IP Unidig I O is part of the IndustryPack family of modular I O products It meets the IndustryPack Logic Specification Contact G reenSpring Computers Inc for a copy of this Specification It is assumed the reader is at least casually familiar with both this document and 68000 processor architecture Control Logic All control logic is contained within a single Xilinx FPGA It is clocked by the 8 MHz IP Logic clock from the Support Module The IP responds to I O and ID selects It does not respond to memory selects however the MEMSel line is routed to the FPGA enabling easy modification for special needs The IP does not require wait states for either read or write cycles Thus the FPGA generates Ack on the clock cycle following either I O or ID Select Hold cycles from the Support Module are supported for both read and write cycles by extending A ck as required If no hold cycles are requested by the Support Module the IP is capable of supporting the full 8 MByte per second data transfer rate of the IP Logic Interface Specification Input Data Lines The 24I option has 24 dedicated inputs the 121120 has 12 dedicated inputs and the 24IO has 24 lines which may be used either for input or output Each input uses a Siemens SHF6313 O pto Coupler to provide the optical isolation They have an LED on the inpu
17. designed to operate with IndustryPack d compatible user provided equipment Connection atible hardware is likely to cause serious damage 1996 by GreenSpring Computers Inc All rights reserved IndustryPack is a registered trademark of G reenSpring Computers Macintosh is a registered trademark of Apple Computers Table of Contents Product D CSCTIPUOMs u a tee e t RR RR etta dte 1 MIME Dus A ddresSinig s et eR e ERR REN RR RENE E E RR Gn 3 NuBus A ddressinig o RR e RR RUNE GRE e RR Ue Reb 8 ISA IBM PC AT A ddressiti ii iita edi aan 9 1 O Pin dun 13 IndustryPack Logic Interface Pin ASSIGNMENE scssssessssessssecsssesssseccssscssscssssccsssccssecsssecsssecsssesssuesesneceseeess 15 PLO GVEA ING e 93 16 ID PRO Man ne Nee 20 PHEOKY Of O peradon 5er ERR RERO RERUM atom naan eI 21 Constr cbonsand Reliability ret ERROR anne 29 Warranty and Repait o RERO RUTRUM TEN E 30 SpecttiCaLiOns 5t I ERR RD RERO RR Oa Nd 31 Ori ad inire addis ROM 32 SCHEMALIES eder coe en De AARAA MEE E D EM ecu UR e Li EIE UM e NU E EAD E 33 List of Figures IP Unidig I O Block Diagram cesssscssssssssssssssssssssssssscsssesssecsssecsssescsssssssecsssccesscsssecsssesssecssss 2 Word Access VME Address Map scsssssssessssssssssssssssssssssscssssssssecsssessssessssssessecessccsssessssesssees 3 Byte Access VME Address Map sssssssssssssssssssssesssscsssc
18. e accessed using byte or long word accesses If long word accesses are used from a 68020 68030 or 68040 host the I O space must be mapped into D 16 68000 and 68010 hosts internally map all long word accesses into 16 bits so no special precaution is necessary The IP uses a Control Register to enable output double buffering and control the polarity of the Double Buffer Clock It also is used to enable the O utput drivers The 24I option does not implement the Control Register because it does not have any outputs Figure 9 below shows a table of the Control Register 17 0 Double Buffer Enable Read Write Double Buffer Clock Polarity Select Read Write Output Enable Read Write Figure 9 Control Register Bit Definitions Control Register Bit Definitions Bit 0 Double Buffer Enable not applicable in the 24I option This bit enables double buffering If this bit is set to a 1 the user must provide a clock on either the Double Buffer Clock pin 49 or the Slave Clock pin 45 depending on how bit 3 is set This clock may be up to 1 MHz Writing a 0 disables double buffering This is the power up and reset default Bit 1 Double Buffer Clock Polarity Select not applicable in the 24I option This bit controls the Double Buffer Clock polarity Writing a 1 will cause output data to be latched out of the IP on the falling edge of the Double Buffer Clock Writing a 0 will cause data to be latched on the rising edge of
19. g Register lines 1 24 Figure 4 Long Word Access VME Address Map Bit map of long words at base 0 base 4 base 12 base 16 and base 1A Data Bit O Line 16 15 14 13 12 11 100 9 8 7 65 4 3 2 1 DataBit 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 YOoline 24 23 22 21 20 19 18 17 Note data in bits 15 through 8 are ignored in writes read as 0 s Bit map of long word at base C Data Bit 31 19 15 0 Write Mode Enable Clock Polarity Dbl BufferEn Read 0 Mode Enable Clock Polarity Dbl BufferEn 0 Note data in bits 31 through 19 and 15 through 0 are ignored in writes read as 0 s Bit map of long word at base 10 Data Bit ec Bit ei enei EB pe Fe ee EB Fa spe p pm ED DataBit 15 14 13 12 11 10 9 e 7 6 5 4 3 2 1 10 Mi Bue e ee ee ee ee pee Note data in bits 15 through 8 are ignored in writes read as 0 s NuBus Addressing NuBus addressing requires computing the address from the byte addresses given above under VMEbus Addressing The formula is NuBus byte address VMEbus byte address 2 1 All byte data is still transferred on data lines D 7 D 0 Word addresses on the NuBus are the same as for VME Word data is transferred on data lines D15 D0 ISA IBM PC AT Addressing IP Unidig I O normally is accessed one word at a time in the host s
20. gnments and wiring recommendations for IP Unidig I O The pin numbers given in Figure 7 below correspond to numbers on the 50 pin IndustryPack I O connector to the wires on a 50 pin flat cable plugged into a standard IP carrier board and to the screw terminal numbers on the IP Terminal block For the 24IO option the inputs use two pins the IO X and the In X while the outputs only use the IO X pin The outputs are referenced to the Isolated GND pin 50 Systems which will dynamically switch lines between inputs and outputs must have the In X pin tied to Isolated Gnd 13 DIDO 24I 2410 In 1 Dbl Buf Clk 1 In 1 1 I O 1 Dbl Buf Clk 1 In 1 Dbl Buf Clk 2 In 1 2 In 1 Dbl Buf Clk 2 In 2 3 In 2 3 I O 2 3 In 2 4 In 2 4 In 2 4 In 3 5 In 3 5 1 0 3 5 In 3 6 In 3 6 In 3 6 In 4 7 In 4 7 I O 4 7 In 4 8 In 4 8 In 4 8 In 5 9 In 5 9 1 0 5 9 In 5 10 In 5 10 In 5 10 In 6 11 In 6 11 1 0 6 11 In 6 12 In 6 12 In 6 12 In 7 13 In 7 13 I O 7 13 In 7 14 In 7 14 In 7 14 In 8 15 In 8 15 1 0 8 15 In 8 16 In 8 16 In 8 16 In 9 17 In 9 17 Vo 9 17 In 9 18 In 9 18 In 9 18 In 10 19 In 10 19 I O 10 19 In 10 20 In 10 20 In 10 20 In 11 21 In 11 21 I O 11 21 In 11 22 In 11 22 In 11 22 In 12 23 In 12 23 I O 12 23 In 12 24 In 12 24 In 12 24 Out 13 25 In 13 25 I O 13 25 n c 26 In 13 26 In 13 26 Out 14 27 In 14 27 I O 14 27 n c 28 In 14 28 In 14 28 Out 15 29 In 15
21. he IP has an eight bit read write register to hold the interrupt vector required to service IP interrupts All interrupts from one IP Unidig I O use the same vector The Pending Interrupt Register is used to determine what combination of channels need service This allows the software to handle any number of equally weighted channels in a single interrupt service routine This register is cleared on reset Double Buffering Double buffering is a feature which allows all the outputs to be latched at the same time whether on a single IP or a system with multiple IPs This is useful for systems which require many outputs to be updated simultaneously Inputs are not double buffered to ensure proper timing for the interrupt circuits To use double buffering an external clock must be provided on Pins 1 and 2 the Double Buffer Clock and Double Buffer Clock pins Double buffering is turned on by setting the Double Buffer Enable bit Bit 0 in the Control Register to a 1 The Double Buffer Clock polarity is programmable via the D ouble Buffer Clock Polarity bit Bit 1 in the Control Register Setting this bit to a 0 will cause the outputs to be latched on the rising edge of the Double Buffer Clock while setting the bit to 1 will latch the outputs on the falling edge Double buffering is not available on the 24I because it has no outputs 20 ID PROM Every IP contains an IP PROM whose size is at least 12 x 8 bits The ID PROM aids in s
22. ion Note 2 The layout of the pin numbers in this table corresponds to the physical placement of pins on the IP connector Thus this table may be used to easily locate the physical pin corresponding to a desired signal Pin 1 is marked with a square pad on the IndustryPack Figure 8 Logic Interface Pin Assignment 16 Programming Programming the IP requires only the ability to read and write data in the host s I O space The base address is determined by the IP Support Module This document refers to this address as u base After power on reset or VME system reset the IP requires a minimum delay of 300 milliseconds before any accesses are made by the host system This is to allow the Xilinx FPGA to configured itself Any accesses during this time will result in a bus error Reset disables the outputs and clears all bits in the Control Register Inputs 1 16 are read at address base A inputs 17 24 are read at address base 6 The 121120 has inputs 1 12 only An input will be read as a 1 when the voltage between the plus and minus input pins is greater than the threshold voltage It will be read as a 0 when the voltage is less than the threshold voltage The IP comes standard with a 2K series resistor which gives a threshold voltage of 2 5V See the Theory of O peration section for a description of how to determine the threshold voltage Two order options the 121120 and 24IO have lines which may be used for outputs
23. is in an environment subject to high vibration the user may solder the four corner pins of each socketed IC into the socket using a grounded soldering iron The IndustryPack connectors are keyed shrouded and have gold plated pins on both plugs and receptacles They are rated at 1 Amp per pin 200 insertion cycles minimum These connectors make consistent correct insertion easy and reliable The IP is secured to the carrier with four M2 metric stainless steel screws The heads of the screws are countersunk into the IP The four screws provide significant protection against shock vibration and incomplete insertion For most applications they are not required The IndustryPack provides alow temperature coefficient of 0 89 W C for uniform heat This is based on the temperature coefficient of the base FRA material of 0 31 W m C taking into account the thickness and area of the IP This coefficient means that if 0 89 Watts is applied uniformly on the component side then the temperature difference between the component and the solder side is one degree Celsius 30 Warranty and Repair GreenSpring Computer warrants this product to be free from defects in workmanship and materials under normal use and service and in its original unmodified condition for a period of one year from the time of purchase If the product is found to be defective within the terms of this warranty GreenSpring Computer s sole responsibility shall be to repair or
24. n generating interrupts on both the rising and falling edge In this case the interrupt service routine ISR should change the Interrupt Polarity Register If the Input line has transitioned already an interrupt will be generated immediately When the ISR completes the interrupt will be waiting If a bit is used as an output it will still generate an interrupt when it is written to if the corresponding bit in the Interrupt Enable Register is set If this is undesired care must be taken to enable interrupts only for those bits used as input 22 Figures 11 and 12 show diagrams of the structure for each Input line Opto Coupler Xilinx FPGA Figure 11 Input Circuit 23 Read En Dx Interrupt Enable Interrupt Register Interrupt lt bi Level lt Detect Pending Interrupt Interrupt Clear Polarit Polarity Chip Select Pulse Figure 12 Intemal Xilinx FPGA Input Circuit The input threshold voltage is determined by the input series resistor These resistors are in 8 pin SIP networks with 4 individual resistors and are in sockets The factory standard value is 2K 5 resistor which gives a threshold of 2 5V Users may replace the resistors to change the threshold Use the following formulas to determine the threshold voltage The opto coupler has a minimum current transfer ratio CTR of 19 The Vi of the FPGA is 0 8V This requires the opto coupler to sink 94pA for the FPGA input to sense a low read as a
25. n the Pending Interrupt Register means the corresponding Input line either has generated an interrupt if that line is enabled or has an interrupt pending if it is disabled A pending interrupt will drive the interrupt request line as soon as the corresponding bit in the Interrupt Enable Register is set to 1 Both interrupts and pending interrupts are cleared for any line by writing a one to the corresponding bit position in the Clear Interrupt Register In general only Input lines which have been detected as pending by a read of the Pending Interrupt Register should be cleared This will prevent the loss of an interrupt which arrives between the read and write If the write to the Clear Interrupt Register were to be all 1 s an interrupt arriving on a new channel between the read and write would be lost Writing a 0 to any bit in the Clear Interrupt Register has no affect on the corresponding line Note that for simplicity the host software need only read the Pending Interrupt Register then immediately write the same value to the Clear Interrupt Register The software may then check the 19 bits in that byte taking whatever actions are required by the one or more Input lines recognized to need service To clear all pending and latent interrupts the software writes all 1 s to the Clear Interrupt Register The Pending Interrupt register is cleared on reset which clears all interrupts and pending interrupts Interrupt Vector Register T
26. of the opto coupler drives the open collector transistor This provides 64 mA of sink current for each output with a limit of 1A for the IP The opto coupler and pull up resistor on the transistor are powered by an external power supply This power supply should be the same supply which powers the user s equipment It may range from 5V to 20V DC The pull up resistor is a 9 pin 8 resistor SIP network in a socket The factory default is 10K though the user may change this value by replacing the resistor networks Each network pulls up eight outputs In the 121120 one network is only connected to four outputs Smaller values will give faster rise times at the expense of drive current The external power supply is limited to 1A as is the total sink current for all the outputs This limitation is due to the connector rating of 1A per pin The outputs have an output enable bit Bit 2 in the Control Register which controls all the output lines When it is set to 0 all the outputs will be disabled and the lines will be pulled up to a passive high This is the power up and reset state When it is set to 1 the outputs will follow the contents of the write register The purpose of this bit is to ensure the lines on the 24IO will power up as inputs All the registers in the Xilinx FPGA are cleared on reset and power up Without the enable bit all the I O lines would be driven low potentially damaging any equipment connected to lines which will be
27. oftware auto configuration and configuration management The user s software or a supplied driver may verify that the device it expects is actually installed at the location it expects and is nominally functional The ID PROM contains the manufacturing revision level of the IP If a driver requires a particular revision IP it may check for it directly Standard data in the ID PROM on the IP Unidig I O is shown in Figure 10 below For more information on IP ID PROMs refer to the IndustryPack Logic Interface Specification available from G reenSpring Computers Inc The ID PROM on the IP Unidig I O is implemented in the Xilinx FPGA device The location of the ID PROM in the host s address space is dependent on the carrier board used For most VME bus carriers the ID PROM space is directly above the IP s I O space or at IP base 80 Macintosh drivers use the ID PROM automatically RM1260 address may be derived from Figure 10 below by multiplying the addresses given by two then subtracting one RM1270 addresses may be derived by multiplying the addresses given by two then adding one 1F available for user 9 1 i Driver ID high byte m Driver ID low byte 00 reserved 00 Revision A1 Model No see table below Manufacturer ID GreenSpring a ASCII C 43 ASCII A D ASCII P 50 ASCII I d Figure 10 ID PROM Data hex The following table lists the Model No and CRC for the three order options Mo
28. output opto couplers D ata is latched into the internal latch on the rising edge of the IP Clock after the Ack line is driven low Double Buffering is not available for the Input lines to ensure proper timing of the interrupt circuitry Readback En Internal Latch Double Buffer Latch Write En Double Buf Pol Double Buf En Figure 15 Double Buffer Double buffering is enabled by setting the D ouble Buffer Enable Bit bit 0 in the Control Register toa 1 If double buffering is enabled the D ouble Buffer Clock Polarity Bit bit 1 in the Control Register is used to set the Double Buffer Clock polarity Setting the Double Buffer Clock Polarity Bit to a 0 will latch data on the rising edge and setting it to a 1 will latch data on the falling edge The power up default is 0 for both these bits 29 Construction and Reliability IndustryPacks were conceived and engineered for rugged industrial environments The IP UniD ig D is constructed out of 0 062 inch thick FR4 V0 material The six copper layers consist of two signal layers on the top and bottom and four internal layers Two internal layers are dedicated to power and ground planes and two are used for signal wiring Through hole and surface mounting of components are used IC sockets use gold plated screw machine pins High insertion and removal forces are required which assists in keeping components in place If the application requires unusually high reliability or
29. p of words at base 2 base 6 base 14 base 18 and base 1C DataBit 15 14 13 12 11 10 9 8 7 61 5 4 3 2 1 Yolme l 24 23 22 21 20 19 18 17 Note data in bits 15 through 8 are ignored in writes read as 0 s Bit map of word at base C D ata Bi 15 3 ee 2 Si sere TE Write Mode Enable Clock Polarity Dbl Buffer En Read 0 Mode Enable Clock Polarity Dbl Buffer En Bit map of the Interrupt Vector Register at base 10 DataBit 15 14 13 12 11 10 9 8 7 61 51 4 3 2 1 j aee me a Od FO ae EA ERER ES EI RIEH EUR Note data in bits 15 through 8 are ignored in writes read as 0 s 10 Alternative Byte Access I O Space base 0 base 1 base 2 base 0 base 1 base 2 base 4 base 5 base 6 base C base 10 base 12 base 13 base 14 base 16 base 17 base 18 base 1A base 1B base 1C base 1A base 1B base 1C write write write read read read read read read read read write read write read write read write read write read write read write write write write read read read Output lines 1 8 Output lines 9 16 Output lines 17 24 Read back lines 1 8 Read back lines 9 16 Read back lines 17 24 Direct Read lines 1 8 Direct Read lines 9 16 Direct Read lines 17
30. rupt service routine Example The software reads an input determines it is zero then enables that line to generate an interrupt on a rising edge Between the read and the write however the input changed to one With this special logic an interrupt is immediately generated or generated at the end of the current routine if interrupts are masked Without the logic the input transition would have been lost If the software does not care what the current state of the Input lines are and does not wish to receive any immediate interrupts then the procedure is 1 disable interrupts in the processor 2 program the IP s Polarity Register 3 write to all lines of the Clear Interrupt Register 4 enable interrupts in the processor Inverting a bit in this register each time the corresponding bit generates an interrupt will result in an interrupt for both rising and falling edges Clear Interrupt Register and Pending Interrupt Register These two registers are used to detect and clear pending interrupts from any combination of lines Both registers access the same interrupt flip flops They are arranged as one read only register the Pending Interrupt Register and one write only register the Clear Interrupt Register The flip flops that make up these two registers are set only by a transition on an Input line of the programmed polarity They are cleared by the software writing to the Clear Interrupt Register or by IP Reset Reading a one i
31. sssecsssesssssssssessssecsssecesecsssecssseessseceses 5 Long Word Access VME Address Map sssssssssessssessssesssscsssesssscsssesssssssssecssnecesnecsssessseesess 7 Word Access ISA Address Map ssssssssssssssssssssssessescsssssssssssssssesscsssscsesscsssscssssessecessssessesessess 9 Byte Access ISA Address Map cssssssssssssssssssssssssssscsssscssscssssssssssssssssssesssssssssessssecsssesesecsssees 11 VOPNA SOOME es te e e e ee E E e e ERR ER RN 14 Logic Interface Pin Assignment sccsssesssecssssssesssscsssescssecsssscssssssssecessessssecsseessssecssecsssees 15 Control Register Bit D efimitions ccssssssessssssssessssssssessssecssssscssecsssesessecessecsssecsssesssecsssees 17 ID PROM Data lex dece es u es 20 Input CHCU een OE OR ER RR RR eae neg 22 Internal X ilinx FPGA Input Circuit eeeeeeetteenttennttennttennttennttnnntis 23 Output CITCUIU sera e ae e P OR O RR Rea 25 TOM CUCU n 27 Double Buffer asian H 28 Product Description The IP Unidig I O is part of the IndustryPack family of modular I O components It provides up to 24 lines of optically isolated digital I O with any input line capable of generating an interrupt It comes in three order options the 121120 has 12 dedicated inputs and 12 dedicated outputs the 241 has 24 dedicated input lines and the 24I O has 24 lines which may be used as either input or output The 24I and 24I O are Type III IP
32. t Pending Register lines 9 16 base 1B read Interrupt Pending Register lines 1 8 base 1D read Interrupt Pending Register lines 17 24 Figure 3 Byte Access VME Address Map Bit map of bytes at base 1 base 5 base 13 base 17 and base 1B DataBit 7 6 5 4 3 2 1 0 10 Line 8 7 6 75 a es 21 Bit map of bytes at base 0 base 4 base 12 base 16 and base 1A DaaBi 7 6 5 4 3 2 1 0 IO Line 16 15 14 13 12 11 10 9 Bit map of bytes at base 3 base 7 base 15 base 19 and base 1D DataBit 7 6 5 4 3 2 1 0 1 0 Line Bit map of byte at base D D ata au 7 3 ae FF ae See ee Write Mode Enable Clock Polarity Dbl Buffer En Read 0 Mode Enable Clock Polarity Dbl Buffer En Bit map of the Interrupt Vector Register at base 11 DataBit 7 6 5 4 3 2 1 Vec Bit 7 6 5 4 3 2 14 0 Alternate Long Word Access I O Space base 0 write Output lines 1 24 base 0 read Read Back lines 1 24 base 4 read Direct Read lines 1 24 base C read write Control Register base 10 read write Interrupt V ector Register base 12 read write Interrupt Enable Register lines 1 24 base 16 read write Interrupt Polarity Register lines 1 24 base 1A write Interrupt Clear Register lines 1 24 base 1A read Interrupt Pendin
33. t side and a photo detector connected to the base of a transistor on the output The collector of the coupler s output transistor is connected to the input on the Xilinx FPGA and a 47K pull up resistor The FPGA inverts the input to make it positive true logic Interrupts The interrupt generation circuitry consists of an edge detector and a level sensor which feed the input of alatch The edge detector uses two latches in series clocked by the 8 MHz IP Clock to compare the current state of the Input line with the previous state If the two states are different and the difference matches the polarity set in the Polarity Register the Interrupt Latch is set If the Interrupt Enable bit is set for that I O line an interrupt is generated on IntReq0 This series of latches means there will be a minimum 125 ns delay one 8 MHz clock pulse from the time the I O line transitions until the interrupt is generated Individual interrupts are cleared by writing a 1 to the corresponding bit in the Interrupt Clear Register The level sensor is only active when writing to the Interrupt Polarity Register If a 1 is written to a bit in the Interrupt Polarity Register corresponding to a rising edge interrupt and the level on the Input line is already a 1 the level sensor will generate a pending interrupt If the Interrupt Enable bit is set for that Input line an interrupt is generated on IntReq0 This can be used to ensure an edge will not be missed whe
34. the Double Buffer Clock This is the power up and reset default Bit 2 Output Enable not applicable in the 24I option This bit enables and disables the output drivers Writing a 1 will enable the data written to the Output Register to appear on the output lines Writing a 0 will turn off all the output drivers setting all the output lines to a passive logic high through the pull up resistors This is the power up and reset default The 24I option will ignore this bit on writes and read it as a 0 Bit 3 7 Reserved These bits will be ignored during writes and read as 0 s It is recommended they be written as 0 s Interrupts The IP Unidig I O uses five 24 bit registers 12 bits in the 121120 option to control interrupt generation Each bit in each register corresponds to one Input line simplifying software development Inputs are not debounced Users may need to provide this feature either in software or with external hardware if noisy inputs such as mechanical switches are used to generate interrupts Interrupts from all Input lines are O R d together and are asserted on IntReq0 The IP responds to an interrupt cycle be putting out its 8 bit vector from the Interrupt V ector Register onto the data bus Interrupt Enable Register The Interrupt Enable Register is used to enable and disable interrupts from individual Input lines Programming any bit to a 1 enables an interrupt from the corresponding Input line Programming
35. used only for input 26 24IO Option The lines on the 24IO O ption may be used for either input or output This requires some special considerations because the input and output circuits are connected Figure 14 shows a schematic diagram By connecting the minus side of the input to isolated ground both the inputs and outputs will track That is the input will read a one when the output is set to one and read a zero when the output is set to zero The combination of the output pull up resistor and input series resistor must be small enough to generate the 495pA current to turn on the input opto coupler Without this the input will not read a one when the output is set to one If reads and writes don t need to track the minus side does not have to be connected to isolated ground However the minus side must not be more than 3V higher than isolated ground when the output transistor is turned on driving the I O line low 27 Isolated VCC Opto Coupler Xilinx FPGA Isolated GND N x N Opto Coupler Figure 14 I O Circuit 28 Double Buffering Each output has two latches associated with it If double buffering is enabled the D ouble Buffer Latch is clocked by the Double Buffer Clock The Double Buffer Clock may be up to 500 KHz Without double buffering the latches are clocked on the rising edge of the IP Clock Figure 15 shows a schematic diagram Outputs from the D ouble Buffer Latch directly drive the minus side of the
Download Pdf Manuals
Related Search
IP Unidig I O
Related Contents
Dynamode 3 Parallel Ports 10/100mbps Print Server Guía del Usuario 取扱説明書(380) IPH-24808 ENG IM 6000i CNC User`s Manual - Acu-Rite G- Matériel - ULM manual de procedimientos para la producción de forraje verde User Guide - Tesco Tech Support Pyle PLVWR1982 User Manual Copyright © All rights reserved.
Failed to retrieve file