Sumit-micro mini pcie adapter board for sumit-enabled sbcs (14 pages)
Summary of Contents for VersaLogic STD32 VL-1225
Page 1
(217) 352-9330 | Click HERE Find the Versalogic VL1225 at our website:...
Page 2
Doc. Rev. 10/30/02 NOTICE: Although every effort has been made to ensure this documentation is error-free, VersaLogic makes no representations or warranties with respect to this product and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.
Overview Overview This manual details the installation and operation of VersaLogic’s VL-1225 and VL-1226 analog I/O cards. The VL-1225 card includes both analog input and output channels. The VL-1226 includes the same analog input channels, but no output channels. Both cards provide 10- or 11-bit input resolution.
Configuration Configuration Jumper Options Various options available on the VL-1225/6 cards are selected using removable jumper blocks (shorting plugs). Features are selected or deselected by installing or removing the jumpers as noted. The terms “In” or “Jumpered” are used to indicate an installed plug: “Out” or “Open” are used to indicate a removed plug.
Configuration – Board Addressing Board Addressing The VL-1225/6 supports 8-, 10-, and 16-bit I/O addressing, and 16-bit memory addressing. 8-bit I/O addressing is used with most 8-bit processors (Z80, 8085, 6809, etc.) which provide 256 I/O addresses. 10- or 16-bit addressing can be used with 16-bit processors (8088, 80188, 80186, etc.) to decode 1024 or 65536 I/O port addresses.
Configuration – Board Addressing 8-Bit I/O Addressing To configure the board for an 8-bit I/O address refer to the figure below. Use the table to select the jumpering for the appropriate upper and lower halves of the desired starting address (i.e., “3” and “0” = hex address 30).
Configuration – Board Addressing 10-Bit I/O Addressing To configure the board for a 10-bit I/O address refer to the figure below. Use the table to select the jumpering for the appropriate upper, middle, and lower hex digits of the desired starting address (i.e., “1” and “3”...
Configuration – Board Addressing 16-Bit I/O Addressing To configure the board for a 16-bit I/O address refer to the figure below. See the table to select the jumpering for the appropriate four hex digits of the desired starting address (i.e., “6” and “1” and “3” and “0”...
Configuration – Board Addressing IOEXP Signal The IOEXP (I/O expansion) signal on the STD Bus is normally used to select between two different I/O banks or maps. It can be used to double the number of available I/O addresses in the system (by selecting between two banks of I/O boards).
Configuration – Board Addressing 16-Bit Memory Addressing To configure the board for a 16-bit memory address refer to the figure below. Use the table to select the jumpering for the appropriate four hex digits of the desired starting address (i.e., “6” and “1” and “3” and “0”...
Configuration – Board Addressing MEMEX Signal The MEMEX (memory expansion) signal on the STD Bus is normally used to select between two different memory banks or maps. It can be used to double the number of available memory addresses in the system (by selecting between the two memory banks).
Configuration – Analog Input Configuration Analog Input Configuration The VL-1225/6 board accommodates 16 single-ended or 8 differential channels. Input Mode The VL-1225/6 board can be configured for three types of voltage inputs: differential, single-ended, and pseudo-differential. In addition, by adding an external user-supplied 500 W resistor, the VL-1225/6 can be hooked up to a 4-20 ma current loop.
Configuration – Analog Input Configuration Pseudo-Differential Mode The pseudo-differential mode is used for signals that are not referenced to ground, but are all connected to a single common return line. This mode can provide most of the advantages of full differential input while requiring fewer total wires.
Configuration – Analog Input Configuration Current Loop Mode While the VL-1225/6 cannot directly hook up to a 4-20 ma current loop, the addition of an external user- supplied 500 W precision dropping resistor can be used to develop a 2-10 volt signal proportional to the 4- 20 ma current.
Configuration – Analog Input Configuration Input Voltage Range The board may be operated with an input range of 0 to +10 volts, ±10 volts, or ±5 volts. The 0 to +10 volt range is preferred for signals which do not go negative, since the per volt resolution is twice that of the ±10 volt range.
Configuration – Analog Input Configuration Input Data Format The digital data format for the analog input channels can be jumpered for binary, offset binary, or two’s complement. The configuration affects all channels. The selection is dependent upon the input voltage range selected with jumper V3. Unipolar voltages should use the binary data format.
Configuration – Analog Output Configuration Analog Output Configuration The VL-1225 board accommodates two analog output channels. Both output channels are single-ended and are referenced to analog ground. Output Voltage Range Each output channel can be configured independently to produce output voltage ranges of 0 to +10 volts, ±5 volts, or ±10 volts as shown below.
Configuration – Analog Output Configuration Output Data Format The digital data format for the analog output channels can be jumpered for binary, offset binary, or two’s complement. Each channel can be configured independently. The selection is dependent upon the output voltage range selected with jumpers V1 and V2. Unipolar voltages should use the binary data format.
Configuration – Analog Output Configuration Output Power-Up Voltage Jumper V16 is provided to force the output voltage of both channels to zero volts when the VL-1225 powers up or the CPU is reset. The jumper position is dependent upon the output range and output data format. Refer to the table below for the proper configuration.
Configuration – Interrupt Configuration Interrupt Configuration Jumper V15 connects the interrupt request signal from the VL-1225/6 card to one of four STD Bus interrupt request lines. The choice of which jumper position to choose depends upon the capabilities of the CPU or interrupt controller used in the system. If an STD 32 Slot X interrupt controller is used, interrupts are requested on the dedicated slot specific signal IRQx (E47).
Page 29
2-22 VL-1225/6 Analog Input/Output Board...
Installation Installation Handling CAUTION: The VL-1225/6 card uses chips which are sensitive to static electricity discharges. Normal precautions, such as discharging yourself, work stations, and tools to ground before touching the board should be taken whenever the board is handled. The board should also be protected during shipment or storage by placing it in a conductive bag (such as the one it was received in) or by wrapping it in metal foil.
Installation – External Connections External Connections J1 is an unlatched 34-pin dual-row (.1" center) header type connector. External connections to the VL- 1225/6 can be made with standard cable assemblies, or with the following mating connectors: Mating Connectors Connector Mating Connector 34-pin socket type connectors such as 3M #3414-6634 Figure 3-1.
Installation – External Connections Connector Pinout J1 — Analog Input/Output Connector Single Ended or J1 Pin Pseudo-Differential Differential Channel 0 Channel 0– Channel 8 Channel 0+ Analog Ground Analog Ground Channel 9 Channel 1+ Channel 1 Channel 1 Analog Ground Analog Ground Channel 2 Channel 2–...
Page 33
Installation – External Connections All “low side” pseudo-differential analog voltages are connected PD — Pseudo Differential “Low Side”. together and brought to this pin for differential reference. These signals are the 8-bit analog output signals from the two D/A DAC0, DAC1 — Analog Outputs. converters (VL-1225 only).
The locations of the eight ports are determined by the board address, which is jumper selectable. For compatibility with Analog Devices RTI-1225/6 boards, VersaLogic ships the VL-1225/6 jumpered to memory address FF08H. However, most users configure the board using I/O mapping rather than memory mapping.
Registers – Analog Input Registers Analog Input Registers Input Channel Select Register Input Channel Select Register (SELECT) — FF0BH Figure 4-2. Input Channel Select Register The Channel Select register is a write register used to select the input channel number to be read. Writing a channel number to this register initiates a conversion cycle.
Registers – Analog Input Registers Input Data Low Register Input Data Low Register (IDLOW) — FF0CH Figure 4-4. Input Data Low Register The Input Data Low register is a read register containing the lower 8 bits of data from the A/D conversion results.
Registers – Analog Input Registers Input Data Representation The format of the data read from the board varies depending on the input range and the data format that is selected. Each of the data formats is discussed below. Input Binary Format (10-Bit Resolution) Binary format is used only with the unipolar 0 to +10V input range.
Registers – Analog Input Registers Input Binary Format (11-Bit Resolution) Binary format is used only with the unipolar 0 to +10V input range. 11-bit binary format divides the full 10 Volt analog input range into 2048 steps of 4.88 mV each. The code 0000H is associated with an analog input voltage of 0 Volts (ground).
Registers – Analog Input Registers Input Offset Binary Format (10-Bit Resolution) Offset binary format is used with the bipolar ±5 or ±10V input ranges. 10-bit offset binary format divides the full bipolar analog input range into 1024 steps. The code 0000H is associated with the most negative voltage, i.e.
Registers – Analog Input Registers Input Offset Binary Format (11-Bit Resolution) Offset binary format is used with the bipolar ±5 or ±10V input ranges. 11-bit offset binary format divides the full bipolar analog input range into 2048 steps. The code 0000H is associated with the most negative voltage, i.e.
Registers – Analog Input Registers Input Two’s Complement Format (10-Bit Resolution) Two’s complement format is used with the bipolar ±5 or ±10V input ranges. 10-bit two’s complement format, like 10-bit offset binary format, divides the full bipolar analog input range into 1024 steps. The code 0000H, however, is associated with an analog input voltage of 0 Volts (ground).
Registers – Analog Input Registers Input Two’s Complement Format (11-Bit Resolution) Two’s complement format is used with the bipolar ±5 or ±10V input ranges. 11-bit two’s complement format, like 11-bit offset binary format, divides the full bipolar analog input range into 2048 steps. The code 0000H, however, is associated with an analog input voltage of 0 Volts (ground).
Registers – Analog Output Registers Analog Output Registers Output Data Registers Channel 0 (OD0) — FF0EH Channel 1 (OD1) — FF0FH Figure 4-11. Output Data Registers The Output Data registers are write only registers used for D/A conversion. One register is assigned for each output channel.
Registers – Analog Output Registers Output Offset Binary Format Offset binary format is used with the bipolar ±5 or ±10V output ranges. It divides the full bipolar analog output range into 256 steps. The code 00H produces a negative full scale output, and the largest code (FFH) produces a positive full scale output.
Registers – Analog Output Registers Output Two’s Complement Format Two’s Complement format is used with the ±5V or the ±10V output ranges. It divides the full bipolar analog output range into 256 steps. The code 00H produces an analog output of 0 Volts. Positive digital values produce positive analog output voltages, and negative digital values produce negative analog output voltages.
Registers – Interrupt Registers Interrupt Registers Interrupt Control Register Interrupt Control Register (ICTRL) — FF08H Figure 4-15. Interrupt Control Register The Interrupt Control register is a write register used to enable and disable conversion-complete interrupts. These bits have no function in the VL-1225/6. It does not matter what value is written X —...
Page 47
4-14 VL-1225/6 Analog Input/Output Board...
Operation Operation This section describes how to operate the VL-1225/6. Two typical input modes of operation, polled mode, and interrupt mode are discussed, as well as a discussion of output mode. Code examples written in 80188 assembly language are included in the next section. Polled Mode Analog Input Polled mode operation is the simplest method of operating the VL-1225/6 for analog input.
Operation – Interrupt Mode Analog Input Interrupt Mode Analog Input Interrupt mode eliminates the need to repeatedly poll the Status register while waiting for the A/D conversion to complete. This frees up the CPU to execute unrelated code while the VL-1225/6 is busy with an A/D conversion.
This section shows some software examples written in Microsoft MASM 5.0 assembly language to assist you in constructing your own software routines. The interrupt code example is written specifically for use with VersaLogic’s 80188 CPU card, VL-188. Polled Mode Analog Input The following example reads channel 0 into the AX register.
Software Examples – Interrupt Mode Analog Input Interrupt Mode Analog Input The following code example shows how to operate the VL-1225/6 using interrupts. This specific example requests an A/D conversion from channel 0. When the data is ready, an interrupt is generated causing the DONE flag to be set.
Page 52
Software Examples – Interrupt Mode Analog Input 0012 read: 0012 C7 06 0002 R 0000 done,0 ;Clear done flag 0018 BA 0303 dx,select ;Select channel 0 and Trigger 001B B0 00 al,00h 001D EE dx,al ;Unrelated CPU code can be ;executed here.
Page 53
Software Examples – Interrupt Mode Analog Input 004C isr: ;INTERRUPT SERVICE ROUTINE 004C 50 push ;Save CPU registers 004D 51 push 004E 52 push 004F 1E push 0050 B8 ---- R ax,data ;Set data segment register 0053 8E D8 ds,ax ;Read A/D results 0055 BA 0305 dx,idhigh...
Software Examples – Analog Output Analog Output The following example outputs zero volts to D/A channel 1. It is assumed that the board is addressed at I/O location 0300H, and the output channel is jumpered for two’s complement format. The key program section is: Outputs the value 80h (zero volts) to D/A channel number 1.
The locations of the eight ports are determined by the board address, which is jumper selectable. For compatibility with Analog Devices RTI-1225/6 boards, VersaLogic ships the VL-1225/6 jumpered to memory address FF08H. However, most users configure the board using I/O mapping rather than memory mapping.
Reference – Calibration Calibration The VL-1225/6 is calibrated before shipment. However, it may be desirable to recalibrate the card after installation, and approximately once each year (depending on the accuracy requirements of the application). Required Equipment • A voltmeter with resolution and accuracy to ½ LSB of the input range being used. •...
Reference – External Connections Output Calibration (VL-1225 only) • Disconnect all inputs and outputs from the card and connect the voltmeter to channel 0. • Referring to the table below, select the column which matches the output range and data format of the channel being calibrated.
Reference – External Connections Physical Pin Locations Figure 7-10. I/O Connector Physical Pin Locations Connector Pinout The table below shows the pinout for the analog I/O connector. See page 3-3 for detailed information. J1 — Analog Input/Output Connector Single Ended or J1 Pin Pseudo-Differential Differential...
Reference – Decimal / Hex / ASCII Conversion Chart Decimal / Hex / ASCII Conversion Chart The chart below is useful for both ASCII and decimal / hex conversion. The “^” symbol denotes control characters. “^A” represents control-A, etc. Dec. Hex ASCII Dec.
Reference – STD 80 Bus Pinout STD 80 Bus Pinout COMPONENT SIDE SOLDER SIDE Signal Flow Description Signal Flow Description +5VDC Logic Power +5VDC Logic Power Logic Ground Logic Ground VBAT — Battery Power DCPDN* — DC Power Down A19/D3 Address/Data A23/D7 Address/Data...
Need help?
Do you have a question about the STD32 VL-1225 and is the answer not in the manual?
Questions and answers