Page 2
National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310, Canada (QuŽbec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 2321, France (1) 48 14 24 24, Germany 089/741 31 30, Italy 02/48301892, Japan (03) 3788-1921, Netherlands 03480-33466, Norway 32-848400, Spain (91) 640 0085, Sweden 08-730 49 70, Switzerland 056/27 00 20, U.K.
Page 3
Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures caused by owner's failure to follow the National Instruments installation, operation, or maintenance instructions;...
Page 4
Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel, and all traditional medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury or death should always continue to be used when National Instruments products are being used.
Page 5
Preface This manual describes the mechanical and electrical aspects of the AT-MIO-64F-5 board and contains information concerning its operation and programming. The AT-MIO-64F-5 is a high- performance, multifunction analog, digital, and timing I/O board for the IBM PC AT and compatible computers and EISA personal computers (PCs).
Page 7
¥ IBM Personal Computer AT Technical Reference manual You may also want to consult the following Advanced Micro Devices manual if you plan to program the Am9513A Counter/Timer used on the AT-MIO-64F-5: ¥ Am9513A/Am9513 System Timing Controller technical manual For more information on the effects of dither, see the following article: ¥...
Page 8
Preface Customer Communication National Instruments wants to receive your comments on our products and manuals. We are interested in the applications you develop with our products, and we want to help if you have problems with them. To make it easy for you to contact us, this manual contains comment and configuration forms for you to complete.
Page 15
Extended Analog Input Subconnector ...............D-1 Tables Table 1-1. Optional Equipment ...................1-4 Table 2-1. Default Settings of National Instruments Products for the PC ......2-4 Table 2-2. Switch Settings with Corresponding Base I/O Address and Base I/O Address Space....................2-5 Table 2-3. Available Input Configurations for the AT-MIO-64F-5........2-6 Table 2-4.
The AT-MIO-64F-5 is a high-performance multifunction analog, digital, and timing I/O board for the PC. The AT-MIO-64F-5 has a 5 µsec, 12-bit sampling ADC that can monitor a single input channel, or scan through the 64 single-ended or 32 differential channels (expandable with National Instruments multiplexing products) at a programmable gain of 0.5, 1, 2, 5, 10, 20, 50, or...
In addition to the analog input and analog output capabilities of the AT-MIO-64F-5, the AT-MIO-64F-5 also has eight digital I/O lines that can sink up to 24 mA of current, and three independent 16-bit counter/timers for frequency counting, event counting, and pulse output applications.
Chapter 1 Introduction What Your Kit Should Contain The contents of the AT-MIO-64F-5 kit (part number 776655-01) are listed as follows. Kit Component Part Number AT-MIO-64F-5 board 181395-01 AT-MIO-64F-5 User Manual 320487-01 NI-DAQ software for DOS/Windows/LabWindows, with manuals 776250-01 NI-DAQ Software Reference Manual for DOS/Windows/LabWindows...
SSR Series mounting rack and 1.0 m cable 8-channel with SC-205X cable Custom Cables The AT-MIO-64F-5 I/O connector is a 100-pin male ribbon-cable header. The manufacturer part number for this header is as follows: ¥ Robinson Nugent (part number P50E-100P1-SR1-TG) The mating connector for the AT-MIO-64F-5 is a 100-position polarized ribbon socket connector.
T&B Ansley Corporation (part number 609-0005) Unpacking Your AT-MIO-64F-5 board is shipped in an antistatic package to prevent electrostatic damage to the board. Several components on the board can be damaged by electrostatic discharge. To avoid such damage in handling the board, take the following precautions: ¥...
AT-MIO-64F-5, and cable considerations. Board Configuration The AT-MIO-64F-5 contains one DIP switch to configure the base address selection for the AT bus interface. The remaining resource selections, such as DMA and interrupt channel selections, are determined by programming the individual registers in the AT-MIO-64F-5 register set. The...
Base I/O Address Selection The AT-MIO-64F-5 is configured at the factory to a base I/O address of 220 hex. This base address setting is suitable for most systems. However, if your system has other hardware at this base I/O address, you must change either the AT-MIO-64F-5 base address DIP switch or the other hardware base address to avoid a conflict.
(LSBs) of the address (A4 through A0) used by the AT-MIO-64F-5 circuitry to decode the individual register selections. The don't care bits indicate the size of the register space. In this case, the AT-MIO-64F-5 uses I/O address hex 220 through hex 23F in the factory-default setting.
3E0 - 3FF Interrupt and DMA Channel Selection The base I/O address selection is the only resource on the AT-MIO-64F-5 board that must be set manually before the board is placed into the PC. The interrupt level and DMA channels used by the AT-MIO-64F-5 are selected via registers in the AT-MIO-64F-5 register set.
Configuration and Installation Chapter 2 The AT-MIO-64F-5 does not use and cannot be configured to use the 8-bit DMA channels 0 through 3 on the PC I/O channel for 16-bit transfers. Analog Input Configuration The analog input section of the AT-MIO-64F-5 is software configurable. You can select different analog input configurations by programming the appropriate register in the AT-MIO-64F-5 register set.
RSE input means that all input signals are referenced to a common ground point that is also tied to the analog input ground of the AT-MIO-64F-5 board. The negative (-) input of the differential input amplifier is tied to the analog ground. This configuration is useful when measuring floating signal sources.
AT-MIO-64F-5 ADC can accommodate. The AT-MIO-64F-5 board has gains of 0.5, 1, 2, 5, 10, 20, 50, and 100 and is suited for a wide variety of signal levels. With the proper gain setting, the full resolution of the ADC can be used to measure the input signal.
Analog Output Reference Selection Each DAC can be connected to the AT-MIO-64F-5 internal reference of 10 V or to the external reference signal connected to the EXTREF pin on the I/O connector. This signal applied to EXTREF must be between -10 and +10 V. Both channels need not be configured for the same mode.
AT-MIO-64F-5 register set. The AT-MIO-64F-5 can use either its internal 10 MHz timebase, or it can use a timebase received over the RTSI bus. In addition, if the board is configured to use the internal timebase, it can also be programmed to drive its internal timebase over the RTSI bus to another board that is programmed to receive this timebase signal.
3. Remove the expansion slot cover on the back panel of the computer. 4. Insert the AT-MIO-64F-5 into a 16-bit slot. Do not force the board into place. Verify that there are no extended components on the circuit board of the computer that may touch or be in the way of any part of the AT-MIO-64F-5.
AI GND signal pins. AI GND is an analog input common signal that is routed directly to the ground tie point on the AT-MIO-64F-5. These pins can be used for a general analog power ground tie point to the AT-MIO-64F-5 if necessary.
64 analog input channels of the AT-MIO-64F-5. In single-ended mode, signals connected to ACH<0..63> are routed to the positive (+) input of the AT-MIO-64F-5 PGIA. In differential mode, signals connected to ACH<0..7> and ACH<16..39>are routed to the positive (+) input of the AT-MIO-64F-5 PGIA, and signals connected to ACH<8..15>...
AT-MIO-64F-5 ground. The AT-MIO-64F-5 ADC measures this output voltage when it performs A/D conversions. All signals must be referenced to ground, either at the source device or at the AT-MIO-64F-5. If you have a floating source, the AT-MIO-64F-5 should reference the signal to ground by using the RSE input mode or the DIFF input configuration with bias resistors (see the Differential Connections for Nonreferenced or Floating Signal Sources section later in this chapter).
DIFF with bias resistors Differential Connection Considerations (DIFF Input Configuration) Differential connections are those in which each AT-MIO-64F-5 analog input signal has its own reference signal or signal return path. These connections are available when the AT-MIO-64F-5 is configured in the DIFF input mode. Each input signal is tied to the positive (+) input of the PGIA, and its reference signal, or return, is tied to the negative (-) input of the PGIA.
Chapter 2 Differential Connections for Ground-Referenced Signal Sources Figure 2-7 shows how to connect a ground-referenced signal source to an AT-MIO-64F-5 board configured in the DIFF input mode. The AT-MIO-64F-5 analog input circuitry must be configured for DIFF input to make these types of connections. Configuration instructions are included in Chapter 4, Register Map and Descriptions.
Configuration and Installation Differential Connections for Nonreferenced or Floating Signal Sources Figure 2-8 shows how to connect a floating signal source to an AT-MIO-64F-5 board configured in the DIFF input mode. The AT-MIO-64F-5 analog input circuitry must be configured for DIFF input to make these types of connections.
PGIA, and their common ground point is tied to the negative (-) input of the PGIA. When the AT-MIO-64F-5 is configured for single-ended input, up to 64 analog input channels are available. Single-ended input connections can be used when all input signals meet the following criteria: ¥...
AT-MIO-64F-5 provides the reference ground point for the external signal. The NRSE input configuration is used for ground-referenced signal sources; in this case, the external signal supplies its own reference ground point and the AT-MIO-64F-5 should not supply one.
(+) and negative (-) inputs of the PGIA and this difference is rejected by the amplifier. On the other hand, if the input circuitry of the AT-MIO-64F-5 is referenced to ground, such as in the RSE input configuration, this difference in ground potentials appears as an error in the measured voltage.
Chapter 2 Configuration and Installation The common-mode input range of the AT-MIO-64F-5 PGIA is defined as the magnitude of the greatest common-mode signal that can be rejected. The PGIA can reject common-mode signals as long as V + and V - are both in the range ±12 V.
Warning: Under no circumstances should these +5-V power pins be directly connected to analog or digital ground or to any other voltage source on the AT-MIO-64F-5 or any other device. Doing so can damage the AT-MIO-64F-5 and the PC. National Instruments is not liable for damages resulting from such a connection.
Note: EXTCONV* and the output of Counter 3 of the Am9513A are physically connected together on the AT-MIO-64F-5. If Counter 3 is used in an application, the EXTCONV* signal must be left undriven. Conversely, if EXTCONV* is used in an application, Counter 3 must be disabled.
EXTTMRTRIG* Signal The analog output DACs on the AT-MIO-64F-5 can be updated using either internal or external signals in posted update mode. The DACs can be updated externally by using the EXTTMRTRIG* signal from the I/O connector. This signal updates the DACs when A4RCV is disabled and the appropriate DAC waveform mode is programmed through one of the registers in the AT-MIO-64F-5 register set.
AT-MIO-64F-5. This clock signal is selected by a register in the AT-MIO-64F-5 register set and then divided by 10. The default value is 1 MHz into the Am9513A (10 MHz clock signal on the AT-MIO-64F-5). The...
Use individually shielded, twisted-pair wires to connect analog input signals to the AT-MIO-64F-5. With this type of wire, the signals attached to the CH+ and CH- inputs are twisted together and then covered with a shield. This shield is then connected only at one point to the signal source ground.
Configuration and Installation Chapter 2 ¥ Do not run AT-MIO-64F-5 signal lines through conduits that also contain power lines. ¥ Protect AT-MIO-64F-5 signal lines from magnetic fields caused by electric motors, welding equipment, breakers, or transformers by running the AT-MIO-64F-5 signal lines through special metal conduits.
Chapter 3 Theory of Operation This chapter contains a functional overview of the AT-MIO-64F-5 and explains the operation of each functional unit making up the AT-MIO-64F-5. Functional Overview The block diagram in Figure 3-1 is a functional overview of the AT-MIO-64F-5 board.
PC I/O Channel Interface Circuitry The AT-MIO-64F-5 board is a full-size 16-bit PC I/O channel adapter. The PC I/O channel consists of a 24-bit address bus, a 16-bit data bus, a DMA arbitration bus, interrupt lines, and several control and support signals.
AT-MIO-64F-5 multiple-function circuitry. The PC I/O channel has 24 address lines; the AT-MIO-64F-5 uses 10 of these lines to decode the board address. Therefore, the board address range is 000 to 3FF hex. SA5 through SA9 are used to generate the board enable signal.
AT-MIO-64F-5ÐIRQ3, IRQ4, IRQ5, IRQ7, IRQ10, IRQ11, IRQ12, and IRQ15. These interrupt levels are selectable from one of the registers in the AT-MIO-64F-5 register set. Six different interrupts can be generated by the AT-MIO-64F-5. Each of the following cases is individually enabled and cleared: ¥...
The ADC has two input modes that are software selectable on the AT-MIO-64F-5 board on a per channel basis, -5 to +5 V, or 0 to +10 V. The ADC on the AT-MIO-64F-5 is guaranteed to convert at a rate of at least 200 ksamples/sec.
ADC. This addition is useful for applications involving averaging to increase the resolution of the AT-MIO-64F-5 to more than 12 bits, as in calibration or spectral analysis. In such applications, noise modulation is decreased and differential linearity is improved by the addition of the dither.
(Counter 3 of the Am9513A Counter/Timer), or strobing the appropriate register in the AT-MIO-64F-5 register set. Any one of these operations will generate the timing shown in Figure 3-4. The ADC_BUSY* signal status can be monitored through a status register on the AT-MIO-64F-5.
Single-channel acquisition is enabled through a register in the AT-MIO-64F-5 register set. The data acquisition process can be initiated via software or by applying an active low pulse to the EXTTRIG* input on the AT-MIO-64F-5 I/O connector.
Scanning is similar to the single-channel acquisition in the programming of both the sample-interval counter and the sample counter. Scanning data acquisition is enabled through a register in the AT-MIO-64F-5 register set. Figure 3-7 shows the timing for a continuous scanning data acquisition sequence.
PGIA begin to settle to the new value while the conversion of the last value is still taking place. The circuitry on the AT-MIO-64F-5 is designed and defined to settle to within 0.5 LSBs, or 0.01% of full scale, in 5 µsec.
) multiplied by the digital code loaded into the DAC. Each DAC can be loaded with a 12-bit digital code by writing to registers on the AT-MIO-64F-5 board. The output voltage is available on the AT-MIO-64F-5 I/O connector DAC0 OUT and DAC1 OUT pins.
Output voltage accuracy is assured through the use of the onboard calibration circuitry of the AT-MIO-64F-5. This circuitry uses a stable, internal, +5 VDC reference that is measured at the factory against a higher accuracy reference; then its value is permanently stored in the EEPROM on the AT-MIO-64F-5.
2,048 values before updating the DAC. The RTSI latch is a special case of the posted update mode because data is not directly written to the AT-MIO-64F-5 board from the PC, but it is received serially from the AT-DSP2200. In this case, only one value can be buffered before updating the DAC.
Counters 1, 2, 3, or 5 of the Am9513A Counter/Timer, it can be supplied from the EXTTMRTRIG* signal at the I/O connector, or it can be obtained by accessing a register in the AT-MIO-64F-5 register set. In the posted update mode, requests for writes to the DAC are generated from the TMRREQ signal and can be acknowledged in one of three waysÐeither polled I/O through monitoring the...
CYCLICSTOP bit is set. Digital I/O Circuitry The AT-MIO-64F-5 has eight digital I/O lines. These eight digital I/O lines are divided into two ports of four lines each and are located at pins ADIO<3..0> and BDIO<3..0> on the I/O connector. Figure 3-16 shows a block diagram of the digital I/O circuitry.
Writing to an address location on the AT-MIO-64F-5 board generates an active low 500-nsec pulse on this output pin. EXTSTROBE* is not necessarily part of the digital I/O circuitry but is shown here because it can be used to latch digital output from the AT-MIO-64F-5 into an external device.
When BRDCLK is 10 MHz, the six internal timebases normally used for AT-MIO-64F-5 timing functions are 5 MHz, 1 MHz, 100 kHz, 10 kHz, 1 kHz, and 100 Hz. The 16-bit counters in the Am9513A can be diagrammed as shown in Figure 3-18.
Page 82
The GATE and OUT pins for Counters 1, 2, and 5 and SOURCE pins for Counters 1 and 5 of the onboard Am9513A are located on the AT-MIO-64F-5 I/O connector. A falling edge signal on the EXTTRIG* pin of the I/O connector or writing to the STARTDAQ register during a data acquisition sequence sets the flip-flop output signal connected to the GATE4 input of the Am9513A and can be used as an additional gate input.
FOUT pin. RTSI Bus Interface Circuitry The AT-MIO-64F-5 is interfaced to the National Instruments RTSI bus. The RTSI bus has seven trigger lines and a system clock line. All National Instruments AT Series boards with RTSI bus connectors can be wired together inside the PC and share these signals. A block diagram of the RTSI bus interface circuitry is shown in Figure 3-19.
Page 84
AT-MIO-64F-5. These onboard interconnections allow AT-MIO-64F-5 general-purpose and data acquisition timing to be controlled over the RTSI bus as well as externally, and allow the AT-MIO-64F-5 and the I/O connector to send timing signals to other AT boards connected to the RTSI bus.
AT-MIO-64F-5 board by reading this chapter. Register Map The register map for the AT-MIO-64F-5 is shown in Table 4-1. This table gives the register name, the register offset address, the type of the register (read-only, write-only, or read-and- write) and the size of the register in bits.
Two different transfer sizes for read-and-write operations are available on the PCÐbyte (8-bit) and word (16-bit). Table 4-1 shows the size of each AT-MIO-64F-5 register. For example, reading the ADC FIFO Register requires a 16-bit (word) read operation at the selected address, whereas writing to the RTSI Strobe Register requires an 8-bit (byte) write operation at the selected address.
The bit map field for some registers states not applicable, no bits used. Accessing these registers generates a strobe in the AT-MIO-64F-5. These strobes are used to initiate some onboard event to occur. For example, they can be used to clear the analog input circuitry or to start a data acquisition operation.
AT-MIO-64F-5 hardware. Command Registers 1, 2, 3, and 4 contain bits that control operation of several different pieces of the AT-MIO-64F-5 hardware. Status Registers 1 and 2 can be used to read the state of different pieces of the AT-MIO-64F-5 hardware.
Register Map and Descriptions Command Register 1 Command Register 1 contains 12 bits that control AT-MIO-64F-5 serial device access, and data acquisition mode selection. The contents of this register are not defined upon power up and are not cleared after a reset condition. This register should be initialized through software.
Page 90
RETRIG_DIS Retrigger Disable Ð This bit controls retriggering of the AT-MIO-64F-5 data acquisition circuitry. When RETRIG_DIS is set, retriggering of the data acquisition circuitry is inhibited until the end of the previous operation is acknowledged by clearing the DAQPROG bit in Status Register 0.
Page 91
RTSI Trigger Ð This bit controls multiple board synchronization through RTSI Bus triggering. If RTSITRIG is set, then triggering of the data acquisition sequence by another National Instruments board over the RTSI bus is enabled. Otherwise, if RTSITRIG is cleared, the data acquisition sequence is triggered by the onboard Start DAQ Register or a high-to-low transition on the EXTTRIG* signal at the I/O Connector.
Chapter 4 Command Register 2 Command Register 2 contains 15 bits that control AT-MIO-64F-5 RTSI bus transceivers, analog output configuration, and DMA channels A and B selection. Bits 8-15 of this register are cleared upon power up and after a reset condition. Bits 0-7 of this register are undefined upon power up and are not cleared after a reset condition.
Page 93
Reserved Ð This bit must always be set to zero. DMACHBB<2..0> DMA Channel B Select Ð These bits select the secondary DMA channel for use by the AT-MIO-64F-5. See Table 4-2. DMACHAB<2..0> DMA Channel A Select Ð These bits select the primary DMA channel for use by the AT-MIO-64F-5.
Page 96
I/O_INT Input/Output Interrupt Enable Ð This bit, along with the appropriate mode bits, enables and disables I/O interrupts generated from the AT-MIO-64F-5. To select a specific mode, refer to Table 4-3 for available modes and associated bit patterns. DMACHA DMA Channel A Enable Ð This bit controls the generation of DMA requests on DMA channel A as selected in Command Register 2.
Register Map and Descriptions Name Description (continued) INTCHB<2..0> Interrupt Channel Select Ð These bits select the interrupt channel available for use by the AT-MIO-64F-5. See Table 4-4. Table 4-4. Interrupt Level Selection Bit Pattern Effect Interrupt Level Enabled Level 3...
Chapter 4 Command Register 4 Command Register 4 contains 16 bits that control the AT-MIO-64F-5 board clock selection, serial DAC link over the RTSI bus, DAC mode selection, and miscellaneous configuration bits. Bits 8-15 of this register are cleared upon power up or following a reset condition. Bits 0-7 of this register are undefined upon power up and are not cleared after a reset condition.
Page 102
External Trigger Disable Ð This bit gates the EXTTRIG* signal from the I/O connector. If EXTTRIG_DIS is set, triggers from EXTTRIG* are ignored by the AT-MIO-64F-5 circuitry. If this bit is cleared, triggers from the EXTTRIG* signal are able to initiate data acquisition sequences.
Chapter 4 Register Map and Descriptions Status Register 1 Status Register 1 contains 16 bits of AT-MIO-64F-5 hardware status information, including interrupt, analog input status, analog output status, and data acquisition progress. Address: Base address + 18 (hex) Type: Read-only...
Register Map and Descriptions Chapter 4 Status Register 2 Status Register 2 contains 1 bit of AT-MIO-64F-5 hardware status information for monitoring the status of the A/D conversion. Address: Base address + 1A (hex) Type: Read-only Word Size: 16-bit Bit Map:...
ADC FIFO. Reading from the ADC FIFO Register location transfers data from the AT-MIO-64F-5 ADC FIFO buffer to the PC. Writing to the CONFIGMEM Register location sets up channel configuration information for the analog input section. This information is necessary for single conversions as well as single- and multiple-channel data acquisition sequences.
Page 112
7 and 15 CH_GAIN<2..0> Channel Gain Select Ð These three bits control the gain setting of the input PGIA for the selected channel. The following gains can be selected on the AT-MIO-64F-5: CH_GAIN<2..0> Actual Gain 2CHAN_LAST Channel Last Ð This bit should be set in the last entry of the scan sequence loaded into the channel configuration memory.
ADC Event Strobe Register Group The ADC Event Strobe Register Group consists of five registers that, when written to, cause the occurrence of certain events on the AT-MIO-64F-5 board, such as clearing flags and starting A/D conversions. Bit descriptions of the six registers making up the ADC Event Strobe Register Group are given on the following pages.
DAQ Start Register Accessing the DAQ Start Register location initiates a multiple A/D conversion data acquisition operation. Note: Several other pieces of AT-MIO-64F-5 circuitry must be set up before a data acquisition run can occur. See Chapter 5, Programming. Address:...
DAC Event Strobe Register Group The DAC Event Strobe Register Group consists of three registers that, when written to, cause the occurrence of certain events on the AT-MIO-64F-5 board, such as clearing flags and updating the analog output DACs. Bit descriptions of the three registers making up the DAC Event Strobe Register Group are given on the following pages.
General Event Strobe Register Group The General Event Strobe Register Group consists of five registers that, when written to, cause the occurrence of certain events on the AT-MIO-64F-5 board, such as clearing flags and starting A/D conversions. Bit descriptions of the six registers making up the General Event Strobe Register Group are given on the following pages.
Counter 4 is at a logic high state. BYTEPTR This bit represents the state of the Am9513A Byte Pointer Flip- Flop. This bit has no significance for AT-MIO-64F-5 operation because the Am9513A should always be used in 16-bit mode on the AT-MIO-64F-5.
The two registers making up the Digital I/O Register Group monitor and control the AT-MIO-64F-5 digital I/O lines. The Digital Input Register returns the digital state of the eight digital I/O lines. A pattern written to the Digital Output Register is driven onto the digital I/O lines when the digital output drivers are enabled (see the description for Command Register 2).
Register Map and Descriptions Chapter 4 Digital Input Register The Digital Input Register, when read, returns the logic state of the eight AT-MIO-64F-5 digital I/O lines. Address: Base address + 1C (hex) Type: Read-only Word Size: 16-bit Bit Map: BDIO3...
Register Map and Descriptions Digital Output Register Writing to the Digital Output Register controls the eight AT-MIO-64F-5 digital I/O lines. The Digital Output Register controls both ports A and B. When either digital port is enabled, the pattern contained in the Digital Output Register is driven onto the lines of the digital port.
Chapter 4 RTSI Switch Register Group The two registers making up the RTSI Switch Register Group, allow the AT-MIO-64F-5 RTSI switch to be programmed for routing of signals on the RTSI bus trigger lines to and from several AT-MIO-64F-5 signal lines. The RTSI switch is programmed by shifting a 56-bit routing pattern into the RTSI switch and then loading the internal RTSI Switch Control Register.
Sample count (> 65,536) Updating/cycle counting Table 5-1 provides a general overview of the AT-MIO-64F-5 resources to ensure there are no conflicts when using the counters/timers. As an example, if an interval scanning data acquisition sequence that requires less than 65,537 samples is in operation, Counters 2, 3, and 4 of the Am9513A are reserved for this purpose.
Programming Chapter 5 Initializing the AT-MIO-64F-5 The AT-MIO-64F-5 hardware must be initialized for the AT-MIO-64F-5 circuitry to operate properly. To initialize the AT-MIO-64F-5 hardware, complete the following steps: 1. Write 0 to Command Registers <1..4>. 2. Access the following strobe registers:...
Conversion Register. To initiate a single A/D conversion through hardware, apply an active low pulse to the EXTCONV* pin on the AT-MIO-64F-5 I/O connector. See the Data Acquisition and Analog Output Timing Connections section in Chapter 2, Configuration and Installation, for EXTCONV* signal specifications.
Programming Data Acquisition Sequences with Channel Scanning The preceding data acquisition programming sequence programs the AT-MIO-64F-5 for multiple A/D conversions on a single input channel. The AT-MIO-64F-5 can also be programmed for scanning multiple-analog input channels with different gain, mode, and range settings during the data acquisition operation.
EXTTRIG* is not pulled low at the I/O connector or the RTSI switch. To initiate the data acquisition operation through hardware, apply an active low pulse to the EXTTRIG* pin on the AT-MIO-64F-5 I/O connector. See the Data Acquisition and Analog Output Timing Connections section in Chapter 2, Configuration and Installation, for EXTTRIG* signal specifications.
After a data acquisition operation terminates, if no errors occurred and the sample count was less than or equal to 10000 hex, the AT-MIO-64F-5 is left in the same state as it was at the beginning of the data acquisition operation. The counters do not need to be reprogrammed; another data acquisition operation begins when a trigger is received.
The voltages at the analog output circuitry output pins (pins DAC0 OUT and DAC1 OUT on the AT-MIO-64F-5 I/O connector) are controlled by loading the DAC in the analog output channel with a 16-bit digital code. The DAC is loaded by writing the digital code to the DAC0 and DAC1 Registers, and then the converted output is available at the I/O connector.
The logic state of all eight digital I/O lines can be read from the Digital Input Register. If the digital output ports are enabled, the Digital Input Register serves as a read-back register; that is, you can determine how the AT-MIO-64F-5 is driving the digital I/O lines by reading the Digital Input Register.
Initializing the Am9513A section earlier in this chapter. RTSI Bus Trigger Line Programming Considerations The RTSI switch connects signals on the AT-MIO-64F-5 to the seven RTSI bus trigger lines. The RTSI switch has seven pins labeled A<6..0> connected to AT-MIO-64F-5 signals and seven pins labeled B<6..0>...
RTSI Switch Signal Connection Considerations The AT-MIO-64F-5 board has a total of nine signals connected to the seven A-side pins of the RTSI crossbar switch. These same signals also appear at the AT-MIO-64F-5 I/O connector. As shown in Table 5-2, two AT-MIO-64F-5 signals are connected to pin A2, and two signals are connected to pin A4.
1011, the signal connected to pin A5 appears at pin B4. This arrangement allows Trigger Line 4 to be driven by the AT-MIO-64F-5 OUT1 signal. In this way, boards connected via the RTSI bus can send signals to each other over the RTSI bus trigger lines.
A (DMA channel A) and memory buffer B (DMA channel B) are concurrently serviced, with buffer A serving DAC 0 and buffer B serving DAC 1. Interrupt Programming Seven different interrupts are generated by the AT-MIO-64F-5 board: ¥ Whenever a conversion is available to be read from the ADC FIFO ¥...
Chapter 6 Calibration Procedures This chapter discusses the calibration resources and procedures for the AT-MIO-64F-5 analog input and analog output circuitry. The calibration process involves reading offset and gain errors from the analog input and analog output sections and writing values to the appropriate calibration DACs to null out the errors.
Page 177
Factory ADC postgain offset Factory ADC pregain offset When the AT-MIO-64F-5 board is powered on, or the conditions under which it is operating change, the calibration DACs should be loaded with values from the EEPROM, or if desired, the board can be recalibrated. The AT-MIO-64F-5 calibration process is not difficult or lengthy, and requires no external equipment or wiring.
Page 178
If the Revision and Subrevision Field contain the binary value 00100010, this signifies that the accessed AT-MIO-64F-5 board is at Revision C and Subrevision 2. This number can be very useful in tracking boards in the field and in answering questions concerning board operation.
Page 179
If the ADC and DAC FIFO Depth Field contains the binary value 00010011, then the AT-MIO-64F-5 board that was accessed contains an ADC FIFO buffer of depth 512 and a DAC FIFO buffer of depth 2,048. This information is extremely useful in determining how many values to read from the ADC FIFO or write to the DAC FIFO when a half-full interrupt is generated.
±0.012% (±120 ppm) accuracy. According to standard practice, the equipment used to calibrate the AT-MIO-64F-5 should be 10 times as accurate; that is, the equipment should have ±0.001% (±10 ppm) rated accuracy. Practically speaking, calibration equipment with four times the accuracy of the item under calibration is generally considered acceptable.
REF5V Reference Calibration The AT-MIO-64F-5 has a stable voltage reference to which gain can be calibrated. The value of this voltage reference is determined through the reference calibration routine, which requires a known external voltage between 5 and 9.99 V to be connected differentially on any desired input channel.
Chapter 6 Calibration Procedures All these error sources may be calibrated without making any connections to the AT-MIO-64F-5. A properly calibrated board will be accurate in both bipolar and unipolar modes without adjustment. Pregain offset contributes gain-dependent error to the analog input system. This offset is multiplied by the gain of the PGIA.
Appendix A Specifications This appendix lists the specifications of the AT-MIO-64F-5. These are typical at 25¡ C unless otherwise stated. The operating temperature range is 0¡ to 50¡ C. A warmup time of at least 15 min. is required. Analog Input...
Because of this possible contribution to error by the calibration DACs, all gain and offset errors on the AT-MIO-64F-5 are specified including the contributions of the calibration DACs. The typical temperature coefficients are also given.
Page 186
±1 LSB of the ideal, one of its edges may be well beyond ±1.5 LSB; thus, the ADC would have a relative accuracy of that amount. National Instruments tests its boards to ensure that they meet all three linearity specifications defined in this appendix.
Page 187
National Instruments has determined that the character of the noise in the AT-MIO-64F-5 is fairly Gaussian, so the noise specifications given are the amounts of pure Gaussian noise required to produce our readings.
Appendix C MIO Subconnector This appendix describes the pinout and signal names for the AT-MIO-64F-5 50-pin MIO subconnector. Figure C-1 shows the AT-MIO-64F-5 50-pin MIO subconnector. AI GND AI GND ACH8 ACH0 ACH9 ACH1 ACH2 ACH10 ACH11 ACH3 ACH12 ACH4...
Appendix D Extended Analog Input Subconnector This appendix describes the pinout and signal names for the 50-pin extended analog input subconnector of the AT-MIO-64F-5. Figure D-1 shows the 50-pin extended analog input subconnector. ACH16 ACH40 ACH41 ACH17 ACH42 ACH18 ACH19...
Page 239
Filling out a copy of the Technical Support Form before contacting National Instruments helps us help you better and faster. National Instruments provides comprehensive technical assistance around the world. In the U.S. and Canada, applications engineers are available Monday through Friday from 8:00 a.m. to 6:00 p.m.
Page 240
National Instruments for technical support helps our applications engineers answer your questions more efficiently. If you are using any National Instruments hardware or software products related to this problem, include the configuration forms from their user manuals. Include additional pages if necessary.
Page 241
Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
Page 242
Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Title: AT-MIO-64F-5 Manual Edition Date: February 1994 Part Number: 320487-01 Please comment on the completeness, clarity, and organization of the manual.
Page 245
SCONVERT or EXTCONV* signal, 5-4 to 5-6 theory of operation, 3-6 to 3-7 analog input configuration, 2-6 to 2-8 available input configurations for AT-MIO-64F-5, 2-6 CHAN-AIS and CHAN-SE bit settings, 4-26 CHAN-CAL bit settings, 4-27 DIFF input (32 channels), 2-6 to 2-7...
Page 246
2-18 to 2-20 signal descriptions, 2-18, D-2 MIO subconnector signal descriptions, 2-14 to 2-16 pin assignments AT-MIO-64F-5 I/O connector, 2-12, B-1 extended analog input subconnector, 2-17, D-1 MIO subconnector, 2-13, C-1 warning against exceeding input ranges, 2-19...
Page 247
A-5 to A-6 offset error, A-6 relative accuracy, A-6 AO GND signal, 2-14, 2-27 to 2-28, C-2 AT bus interface, 2-3 AT-MIO-64F-5. See also specifications; theory of operation. block diagram, 3-1 board description, 1-1 to 1-2 analog input, 1-1 analog output, 1-1...
Page 259
NRSE. See nonreferenced single-ended (NRSE) input. offset error, analog output circuitry, A-6 operating environment specifications, A-7 operation of AT-MIO-64F-5. See theory of operation. optional equipment, 1-4 to 1-5 optional software, 1-3 OUT, GATE, and SOURCE timing signals, 2-33 to 2-37, 3-21 to 3-22, 3-24 OUT<5..1>...
Page 260
PC I/O channel interface circuitry, 3-2 to 3-4 PGIA. See AT-MIO-64F-5 PGIA. physical specifications, A-7 pin assignments Am9513A System Timing Controller, E-6 AT-MIO-64F-5 I/O connector, 2-12, B-1 extended analog input subconnector, 2-17, D-1 MIO subconnector, 2-13, C-1 polarity analog output polarity selection, 2-9...
Page 263
2-27 to 2-28 cabling considerations, 2-38 digital I/O signal connections, 2-28 to 2-29 extended analog input signal connections AT-MIO-64F-5 PGIA, 2-18 mapping channels in different input configurations (table), 4-28, 4-30 signal connection guidelines, 2-18 to 2-19 signal descriptions, 2-16, D-2...
Need help?
Do you have a question about the AT-MIO-64F-5 and is the answer not in the manual?
Questions and answers