National Instruments 653X User Manual

National Instruments 653X User Manual

High-speed digital i/o devices for pci, pxi, compactpci, at, eisa, and pcmcia bus systems
Hide thumbs Also See for 653X:
Table of Contents

Advertisement

Quick Links

DAQ
653X User Manual
High-Speed Digital I/O Devices for
PCI, PXI , CompactPCI, AT, EISA,
and PCMCIA Bus Systems
653X User Manual
January 2001 Edition
Part Number 321464C-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 653X and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Instruments 653X

  • Page 1 653X User Manual High-Speed Digital I/O Devices for PCI, PXI , CompactPCI, AT, EISA, ™ and PCMCIA Bus Systems 653X User Manual January 2001 Edition Part Number 321464C-01...
  • Page 2 Sweden 08 587 895 00, Switzerland 056 200 51 51, Taiwan 02 2528 7227, United Kingdom 01635 523545 For further support information, see the Technical Support Resources appendix. To comment on the documentation, send e-mail to techpubs@ni.com © Copyright 1997, 2001 National Instruments Corporation. All rights reserved.
  • Page 3: Important Information

    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.
  • Page 4 Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the equipment under the FCC Rules.
  • Page 5 • Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. • Consult the dealer or an experienced radio/TV technician for help. Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada.
  • Page 6 Conventions The following conventions appear in this manual: <> Angle brackets that contain numbers separated by an ellipsis represent a range of values associated with a bit or signal name—for example, DBIO<3..0>. » The » symbol leads you through nested menu items and dialog box options to a final action.
  • Page 7: Table Of Contents

    Contents Chapter 1 Getting Started with Your 653X 653X Device Overview ...1-1 Control Lines ...1-1 What You Need to Get Started ...1-2 Choosing Your Programming Software ...1-3 National Instruments Application Software ...1-3 NI-DAQ Driver Software ...1-4 Installing Your Software...1-5 Unpacking Your 653X Device ...1-5 Installing Your 653X Device ...1-6...
  • Page 8 Continuous Input ... 2-30 Choosing DMA or Interrupt Transfers ... 2-31 Connecting Signals ... 2-31 Creating a Program ... 2-31 Chapter 3 Timing Diagrams Pattern I/O Timing Diagrams ... 3-1 Internal REQ Signal Source ... 3-1 653X User Manual viii ni.com...
  • Page 9 Appendix A Specifications Appendix B Using PXI with CompactPCI Appendix C Connecting Signals with Accessories Appendix D Hardware Considerations Appendix E Optimizing Your Transfer Rates Appendix F Technical Support Resources Glossary Index © National Instruments Corporation Contents 653X User Manual...
  • Page 10: Getting Started With Your 653X

    PCMCIA, PCI-6534, PCI-DIO-32HS, PXI-6533, PXI-6534, or PCI/PXI-7030/6533 device. 653X Device Overview With 653X devices, you can use your computer or chassis as a digital I/O tester, logic analyzer, or system controller for laboratory testing, production testing, and industrial process monitoring and control.
  • Page 11: What You Need To Get Started

    Chapter 1 Getting Started with Your 653X Use Group 1 and 2 to: • • • What You Need to Get Started To begin using your 653X device, you need the following: ❑ ❑ ❑ ❑ ❑ ❑ ❑ 653X User Manual...
  • Page 12: Choosing Your Programming Software

    Choosing Your Programming Software When programming your National Instruments measurement hardware, you can use either National Instruments application software or another application development environment (ADE). National Instruments Application Software LabVIEW and LabVIEW RT feature interactive graphics, a state-of-the-art user interface, and a powerful graphical programming language. The...
  • Page 13: Ni-Daq Driver Software

    NI-DAQ Driver Software The NI-DAQ driver software shipped with your 653X device has an extensive library of functions that you can call from your application programming environment. These functions allow you to use all the features of your 653X device.
  • Page 14: Installing Your Software

    It is important to install the NI-DAQ driver software before installing your device(s) to ensure the device(s) are properly detected. Unpacking Your 653X Device Your 653X device is shipped in an antistatic package to prevent electrostatic damage to the device. To avoid such damage in handling the device, take the following precautions: •...
  • Page 15: Installing Your 653X Device

    Touch a metal part of your computer chassis to discharge any static electricity that might be on your clothes or body. Insert the 653X device into a 5 V PCI slot. It can be a tight fit, but do not force the device into place.
  • Page 16: Installing The Pxi-6533, Pxi-6534, Or Pxi-7030/6533

    Before installing a PXI device in a CompactPCI system that uses J2 connector lines for purposes other than PXI, see Appendix C, For maximum performance of your CompactPCI, install the PXI-653X in a slot that supports bus arbitration or bus-master cards. The PXI-653X contains onboard bus-master DMA logic that can operate only in such a slot.
  • Page 17: Installing The Daqcard-6533 For Pcmcia

    Chapter 1 Getting Started with Your 653X Now that your 653X device is installed, it is ready to be configured. Installing the DAQCard-6533 for PCMCIA You can install your DAQCard-6533 for PCMCIA in any available CardBus-compatible Type II PCMCIA slot. Consult the computer manufacturer for information about slot compatibility.
  • Page 18: In Mac Os

    NI-DAQ from the menu. In Mac OS To view and test current resource allocation: Do not configure the 653X resources in conflict with non-National Instruments Warning devices. For example, do not configure two devices to have the same base address.
  • Page 19: Using Your 653X

    I want to start and/or stop acquiring data upon a trigger and/or to transfer data at timed intervals. I want the 653X to capture input data only when certain lines change states. I want to monitor activity on input lines without continuously polling or transferring unnecessary data during periods of inactivity.
  • Page 20: Controlling And Monitoring Static Digital Lines-Unstrobed I/O

    Chapter 2 Using Your 653X Controlling and Monitoring Static Digital Lines—Unstrobed I/O This section explains how to control and monitor static digital lines through software-timed reads and writes to and from the digital lines of your 653X device. Configuring Digital Lines For unstrobed I/O, the direction of each of the 32 data lines is individually configurable.
  • Page 21: Using Control Lines As Extra Unstrobed Data Lines

    • Using Control Lines as Extra Unstrobed Data Lines The 653X device has two timing controllers for high-speed data transfer (Group 1 and Group 2). Each group contains four control lines which can be used to time the input/output of data with hardware precision. You can use Groups 1 and 2 to: •...
  • Page 22: Connecting Signals

    The boxes represent function names for the appropriate software, and the diamonds represent decision points. 653X User Manual Table 2-1. Port 4 Lines Direction Line 653X I/O Connector 68-Pin 68-to-50-Pin Adapter Pin Assignments. I/O Pins STOPTRIG 1 STOPTRIG 2 REQ 1...
  • Page 23: Programming The Control/Timing Lines As Extra Unstrobed Data Lines

    Digital Line VI Programming the Control/Timing Lines as Extra Unstrobed Data Lines If you want to use the control/timing lines as extra unstrobed data lines: • © National Instruments Corporation Only One Line? DIG_Out_prt DIG_In_Line Figure 2-1. Programming Unstrobed I/O in NI-DAQ...
  • Page 24: Transferring Data Between Two Devices-Handshaking I/O

    16 bits 32 bits Deciding Data Transfer Direction You can choose to send data from the 653X device to the peripheral device (output) or from the peripheral device to the 653X device (input). 653X User Manual LabVIEW—Use one of the top-level VIs: the Read From Digital Line VI to read from a digital port, and the Write to Digital Line VI to write to a digital port.
  • Page 25: Deciding Which Handshaking Protocol To Use

    ACK and REQ signals. From the perspective of the 653X device, the peripheral device requests the transfer of data by signaling on the REQ line. The 653X device acknowledges it is ready to transfer data by signaling on the ACK line.
  • Page 26: Selecting Ack/Req Signal Polarity

    Choosing Whether or Not to Use a Programmable Delay For all the protocols, you have the option to set a programmable delay. This is useful when the handshaking signals of the 653X device occur faster than the peripheral device can handle.
  • Page 27: Choosing Continuous Or Finite Data Transfer

    You can transfer data indefinitely to/from computer memory or finitely by specifying the number of points you want to transfer. Finite Transfers For finite transfers, the 653X device transfers the specified amount of data to/from a computer memory buffer and stops the operation. Continuous Input For continuous input, the 653X device transfers input data to the computer memory buffer continuously.
  • Page 28: Choosing Dma Or Interrupt Transfers

    653X I/O Connector 68-Pin and C-2, 68-to-50-Pin Adapter Pin Connect the ACK pin of the 653X device to the 653X-ready line of the peripheral device. Connect the REQ pin of the 653X device to the peripheral-ready line of the peripheral device.
  • Page 29: Choosing The Startup Sequence

    653X device: To control this initialization order, you need to enable and disable the peripheral device and control the order in which the 653X device and the peripheral device are enabled. You can use the extra input and output lines for this purpose.
  • Page 30: Controlling Line Polarities

    Controlling the startup sequence does not apply to buffered (block) operations. In a buffered operation, the NI-DAQ C interface configures and enables the 653X device at the same time, when you start the actual data transfer. For buffered operations, control the line polarities as a start-up method.
  • Page 31 DIG_Grp_Config DIG_Grp_Mode Read? Continuous? DIG_DB_Config DIG_Block_In Read? DIG_Block_Out Figure 2-4. Programming Buffered Handshaking I/O in NI-DAQ © National Instruments Corporation DIG_Block_In DIG_Block_Out DIG_Block_Check 2-13 Chapter 2 Using Your 653X Is the DIG_DB_HalfReady next half buffer ready? DIG_DB_Transfer Acquisition Complete? Acquisition...
  • Page 32 Chapter 2 Using Your 653X DIG_Grp_Config DIG_Grp_Mode Input? DIG_Grp_Status Ready? DIG_In_Grp DIG_In_Grp Done? DIO_Grp_Config 653X User Manual DIG_Out_Grp DIG_Grp_Status Ready? Done? DIO_Grp_Config * *Clear Configuration Figure 2-5. Programming Unbuffered Handshaking I/O in NI-DAQ 2-14 ni.com...
  • Page 33 DIO Config VI Operation? Digital Group Config VI Digital Single Read VI Digital Group Config VI Resets lines to default states. DIO Parameter VI © National Instruments Corporation Burst DIO Start VI Mode? Finite Reverse Buffer? PCLK Direction? DIO Read VI Reverse...
  • Page 34 Chapter 2 Using Your 653X Buffered DIO Config VI Operation? Digital Group Config VI Digital Single Write VI Digital Group Config VI Resets the lines to default states. DIO Parameter VI By default, for output buffered transfers the 6534 device will preload the on board memory with data before starting the output operation.
  • Page 35: Generating And Receiving Digital Patterns And Waveforms-Pattern I/O

    Transfer Width 16 bits 32 bits © National Instruments Corporation NI-DAQ C interface—In the the ND_FIFO_Transfer_COUNT to ND_NONE. LabVIEW—In the DIO Parameter VI, set the Scarabs Preload Enable attribute to OFF.
  • Page 36: Deciding Transfer Direction

    Chapter 2 Using Your 653X Deciding Transfer Direction You can choose to send data from your 653X device to the peripheral device (output), or from the peripheral device to your 653X device (input). Choosing an Internal or External REQ Source In pattern I/O, the 653X device acquires/generates data on every falling or rising edge (programmable) of the REQ signal.
  • Page 37: Deciding How To Start And Stop Data Transfer-Triggering

    When using a stop trigger, transfer starts upon a software command. Once a hardware trigger is received on the STOPTRIG pin, a predetermined amount of pretrigger and posttrigger data is saved in the buffer. Once this © National Instruments Corporation functions in NI-DAQ C interface). DIG_Block_Out Starting Data Transfer Using a Trigger Figure 2-8.
  • Page 38: Start And Stop Trigger

    Chapter 2 Using Your 653X data is in the buffer, transfer stops. If the stop trigger arrives before all the pretrigger data is acquired, NI-DAQ returns an error. Start and Stop Trigger When using a start and stop trigger, transfer starts upon receiving a trigger...
  • Page 39: Choosing Continuous Or Finite Data Transfer

    You can transfer data continuously into or from computer memory or specify the number of points you want to transfer. Finite Transfers For finite transfers, the 653X device transfers the specified amount of data to/from computer memory and stops the operation. Continuous Input For continuous input, the 653X device transfers input data to the computer memory buffer continuously.
  • Page 40: Continuous Output

    Data Overwrite/Regenerate parameter in the Digital Buffer Control VI, called by the DIO Start VI. Continuous Output Similarly, with continuous output, the 653X device continuously reads data from computer memory. As the device retrieves data from the buffer, call the...
  • Page 41: Monitoring Data Transfer

    Least significant 32-bit of transfer count LabVIEW—Use the Digital Buffer Write VI or the Digital Buffer Read VI, which are called by the DIO Read VI, the DIO Write VI, and the DIO Wait VI. 653X I/O Connector 68-Pin Assignments. 2-23 Chapter 2...
  • Page 42: Creating A Program

    Chapter 2 Using Your 653X If you are using external start and/or stop triggers, connect to the appropriate pins—start trigger (ACK/STARTTRIG) and/or stop trigger (STOPTRIG). Creating a Program Using the following flowcharts as a guide, create a program to perform pattern I/O.
  • Page 43 Read? DIG_Grp_Config DIG_Block_PG_Config Trigger? DIG_Trigger_Config DIO Config VI Write? DIO Write VI © National Instruments Corporation DIG_Block_In DIG_Block_Out DIG_DB_Config Figure 2-13. Programming Pattern I/O (Continuous) in NI-DAQ Digital Trigger Config VI Trigger? Digital Trigger Config VI DIO Start VI Figure 2-14. Programming Pattern I/O in LabVIEW/LabVIEW RT...
  • Page 44: Monitoring Line State-Change Detection

    The 653X device used alone will detect if a change occurred, but if used in conjunction with a 660X device (via a RTSI line), the relative time between changes can be acquired by the 660X device.
  • Page 45: Deciding Which Lines You Want To Monitor

    Digital Buffer Control VI called by the DIO Start VI in LabVIEW and the DIG_Block_In However, you have the option of using a hardware trigger to start, stop, or start and stop data transfer. © National Instruments Corporation Table 2-4. Port and Timing Controller Combinations (Continued) Possible Port Combinations...
  • Page 46: Start And Stop Trigger

    Chapter 2 Using Your 653X The three types of trigger signals available are the start trigger, the stop trigger, or the start and stop trigger. Start Trigger A start trigger is a trigger that initiates a pattern I/O upon receipt of a hardware trigger on the ACK (STARTTRIG) pin.
  • Page 47 • The 653X device detects any occurrence of a specific pattern immediately as the data comes in. When a match occurs, the 653X device starts acquiring data. For example, if you want to start an acquisition when the two least significant bits of your data are 1 and 0, you would specify your trigger parameters to match those in Figure 2-19.
  • Page 48: Choosing Continuous Or Finite Data Transfer

    You can acquire data continuously into or from computer memory or specify the number of points you want to transfer. Finite Transfers For finite transfers, the 653X device inputs the specified amount of data to a computer memory buffer and stops the operation. Continuous Input For continuous input, the 653X device transfers input data to the computer memory buffer continuously.
  • Page 49: Choosing Dma Or Interrupt Transfers

    NI-DAQ, while Figure 2-22 shows a LabVIEW programming flowchart. The boxes represent function names for the appropriate software, and the diamonds represent decision points. © National Instruments Corporation Chapter 2 653X I/O Connector 68-Pin Assignments. 2-31 Using Your 653X Assignments, or C-2, 653X User Manual...
  • Page 50 Chapter 2 Using Your 653X DIG_Grp_Config DIG_Block_PG_Config DIG_Trigger_Config Specify data mask here DIG_Grp_Config DIG_Block_PG_Config DIG_Trigger_Config Specify data mask here 653X User Manual DIG_Block_In DIG_DB_HalfReady DIG_DB_Config Figure 2-20. Programming Change Detection (Continuous) in NI-DAQ DIG_Block_In DIG_Block_Check Figure 2-21. Programming Change Detection (Single Buffer) in NI-DAQ...
  • Page 51 Chapter 2 Using Your 653X DIO Config VI Trigger Config VI Specify data mask here DIO Start VI DIO Read VI Done? DIO Clear VI Figure 2-22. Programming Change Detection for LabVIEW/LabVIEW RT © National Instruments Corporation 2-33 653X User Manual...
  • Page 52: Timing Diagrams

    Appendix E, Internal REQ Signal Source The 653X can internally generate a signal (REQ) with which to strobe data. To program the frequency of this signal, specify the timebase and interval as shown in the Your edge (active high) of this signal.
  • Page 53: External Req Signal Source

    I/O pins on the rising edge of the REQ signal. If active low, the 653X device will latch the data on the I/O pins on the falling edge of the REQ signal. The low time and high time of the REQ signal must each be >20 ns.
  • Page 54 Data Valid (Output Mode) Data Valid (Input Mode) Parameter © National Instruments Corporation 50 ns Min 20 ns Min 20 ns Min 30 ns Max 10 ns 20 ns...
  • Page 55: Handshaking I/O Timing Diagrams

    • Comparing the Different Handshaking Protocols For an overview of all handshaking protocols supported by your 653X device, see Table 3-1. Note Whether an ACK or a REQ signal occurs first in the handshaking sequence depends on the protocol and the direction of the transfer.
  • Page 56: Using The Burst Protocol

    653X device and the peripheral device share a clock signal over the PCLK line. The 653X device asserts the ACK signal if it is ready to perform a transfer. If the peripheral device also asserts the REQ signal indicating it is ready, a transfer occurs on the rising edge of the PCLK signal.
  • Page 57 PCLK Data Out Valid Since data is transferred only when both the 653X device and the peripheral device Note are ready (and thus ACK and REQ are asserted), it is not reasonable to expect data to arrive at consistent intervals. If consistent intervals are an important criteria for your application, use pattern I/O.
  • Page 58 The 653X device can either drive an output clock signal onto the PCLK line or receive an input clock signal from the PCLK line. By default, the PCLK line is set for input during output transfers, and set for output during input transfers.
  • Page 59 = programmable delay from 100 to 700 ns, or 50 ns if programmable delay is 0. Timebase stability for the onboard 20 MHz clock source is 100 ppm. All timing values are in nanoseconds. 653X User Manual Description Figure 3-5. Burst Input Timing Diagram (Default)
  • Page 60 Hold time from PCLK to ACK invalid PCLK to output data valid Hold time from PCLK to output data invalid All timing values are in nanoseconds. © National Instruments Corporation Description Figure 3-6. Burst Output Timing Diagram (Default) Chapter 3 Timing Diagrams...
  • Page 61 Hold time from PCLK to input data valid Output Parameters PCLK to ACK valid Hold time from PCLK to ACK invalid All timing values are in nanoseconds. 653X User Manual Description Figure 3-7. Burst Input Timing Diagram (PCLK Reversed) 3-10 Minimum Maximum —...
  • Page 62 = programmable delay from 100 to 700 ns, or 50 ns if programmable delay is 0. Timebase stability for the board 20 MHz clock source is 50 ppm. All timing values are in nanoseconds. © National Instruments Corporation Description Figure 3-8. Burst Output Timing Diagram (PCLK Reversed)
  • Page 63: Using Asynchronous Protocols

    653X device is similar to 8255 or 82C55 Programmable Peripheral Interface (PPI). Note The 653X devices does not emulate the bidirectional protocol of a 8255 device. The 653X device can perform back-to-back transfers much faster than a true 8255-based device. If your peripheral device requires more time between transfers, configure the 653X device to add a data-settling delay between transfers.
  • Page 64 Asserting the REQ signal causes the ACK signal to deassert. Deasserting the REQ signal causes the 653X device to latch input data. The 653X device reasserts the ACK signal when it has space and is ready for another input. A programmable delay can be inserted here.
  • Page 65 Chapter 3 Timing Diagrams When REQ Unasserted, Latch Input Data Wait Clear When REQ Asserted Initial State: ACK Set 653X User Manual Programmable Delay Send Wait Figure 3-10. 8255 Emulation Input State Machine 3-14 Wait Space When 6533 Device has space for data, input data.
  • Page 66 Reference Point When the 653X device has data to output, it asserts the ACK signal, then waits for the peripheral device to assert REQ to indicate it is ready to accept data The peripheral device asserts a REQ signal to accept the data.
  • Page 67 Chapter 3 Timing Diagrams When REQ Unasserted Wait Clear ACK When REQ Asserted 653X User Manual Initial State: ACK Cleared Programmable Delay Output Data, Then Send ACK Wait Figure 3-12. 8255 Emulation Output State Machine 3-16 Wait Data When 6533 Device has data to output, output data.
  • Page 68 REQ falling edge to ACK rising edge Output data valid to ACK falling edge doa* REQ rising edge to output data invalid All timing values are in nanoseconds. © National Instruments Corporation Description Figure 3-13. 8255 Emulation Output Timing Diagram 3-17 Chapter 3...
  • Page 69: Using The Level-Ack Protocol

    Point Initial State ACK is deasserted. The 653X device waits for an active REQ to indicate that the peripheral device is ready. The peripheral device may optionally drive the first data at this time. The transfer cannot begin until the peripheral asserts REQ; the peripheral may either pulse REQ, or hold REQ high until the first ACK occurs.
  • Page 70 Programmable Delay Send Wait When REQ Unasserted * With REQ-edge latching enabled, the data input is from the last active-going REQ edge. Figure 3-15. Level ACK Input State Machine © National Instruments Corporation 3-19 653X User Manual...
  • Page 71 (with REQ-edge latching disabled) Output Parameters ACK pulse width REQ to ACK inactive All timing values are in nanoseconds. 653X User Manual dir(1) dir(2) ACK and REQ are shown as active high Description Figure 3-16. Level ACK Input Timing Diagram...
  • Page 72 Initial State ACK is deasserted. When the 653X device has data to output, it drives the data onto the data lines, and then asserts ACK. ACK stays asserted, indicating the 653X device is ready, until the active-going REQ edge occurs.
  • Page 73 Chapter 3 Timing Diagrams When REQ Asserted Wait Clear ACK When REQ Unasserted 653X User Manual Initial State: ACK Cleared Programmable Delay Programmable Delay Send Wait * With REQ-edge latching enabled, the data output is delayed until the next inactive-going REQ edge.
  • Page 74 REQ edge is asserted. With REQ edge latching enabled, that data will be held for at most t ns after the REQ edge deasserts. © National Instruments Corporation ACK and REQ are shown as active high Description Figure 3-19. Level ACK Output Timing Diagram...
  • Page 75: Using Protocols Based On Signal Edges

    Chapter 3 Timing Diagrams Using Protocols Based on Signal Edges The 653X device can communicate via pulses on the ACK and REQ lines. The three edge protocols are: • • • You can also use long-pulse protocol to handshake with an actual 8255 or 82C55 PPI.
  • Page 76: Using The Trailing-Edge Protocol

    Initial State Reference Point Initial State ACK is deasserted. The 653X device waits for the peripheral device to pulse REQ to indicate it has data. The 653X device sends an ACK pulse of programmable width when ready to receive data.
  • Page 77 Input data valid needs to be held t When REQ-edge latching is disabled, input data valid needs to be held t going edge of the ACK signal occurs. 653X User Manual r*di ACK and REQ are shown as active high Description Figure 3-22.
  • Page 78 Point Initial State ACK is deasserted. The 653X device sends an ACK pulse of programmable width. This indicates new, valid output data. The peripheral device responds with a REQ pulse. The trailing edge of the REQ pulse deasserts the ACK signal and requests additional data.
  • Page 79 REQ occurs. With REQ-edge latching enabled, output r*do(1) data will be held at most t 653X User Manual ACK and REQ are shown as active high Description Figure 3-25. Trailing Edge Output Timing Diagram ns after the trailing edge of REQ occurs.
  • Page 80 If the peripheral pulses REQ, make sure to start the transfer on the 653X device before the pulse occurs, to avoid missing the pulse. The 653X device sends an ACK pulse when it is ready to receive data. The ACK pulse width is fixed, assuming the peripheral device has deasserted the REQ signal.
  • Page 81 Timing Diagrams Initial State: ACK Cleared When REQ Asserted Wait Clear Pulse When REQ Unasserted 653X User Manual Programmable Delay Programmable Delay Send Pulse Wait * With REQ-edge latching enabled, the data input is from the last active-going REQ edge.
  • Page 82 (with REQ-edge latching disabled) Output Parameters ACK pulse width REQ inactive to ACK inactive r*a* All timing values are in nanoseconds. © National Instruments Corporation r*a* dir(1) dir(2) ACK and REQ are shown as active high Description Figure 3-28. Leading Edge Input Timing Diagram...
  • Page 83 Initial State ACK is deasserted. The 653X device sends the ACK pulse after driving output data to indicate that it has new, valid output data. The ACK pulse width is fixed, assuming the peripheral device has deasserted the REQ signal. Otherwise, the ACK signal remains asserted until the peripheral device deasserts the REQ signal.
  • Page 84 Programmable Delay Send Pulse Pulse Wait When REQ Unasserted * With REQ-edge latching enabled, the data output is delayed until the next inactive-going REQ edge. Figure 3-30. Leading Edge Output State Machine © National Instruments Corporation 3-33 653X User Manual...
  • Page 85 With REQ edge latching disabled (default), output data valid will hold t Note the REQ edge occurs. With REQ edge latching enabled, that data will be held for at most ns after the REQ edge deasserts. 653X User Manual r*a* ACK and REQ are shown as active high Description Figure 3-31.
  • Page 86 Point Initial State ACK is deasserted. The 653X device waits for an active REQ to indicate that the peripheral device is ready. The peripheral device may optionally drive the first data at this time. The transfer cannot begin until the peripheral asserts REQ: the peripheral may either pulse REQ, or hold REQ high until the first ACK occurs.
  • Page 87 Clear Programmable Delay Pulse Wait When REQ Unasserted * With REQ-edge latching enabled, the data input is from the last active-going REQ edge. Figure 3-33. Long Pulse Input State Machine 653X User Manual 3-36 ni.com...
  • Page 88 (with REQ-edge latching disabled) Output Parameters ACK pulse width REQ inactive to ACK inactive r*a* (min.) = 125 + programmable delay © National Instruments Corporation r*a* dir(1) dir(2) ACK and REQ are shown as active high Description Figure 3-34. Long Pulse Input Timing Diagram...
  • Page 89 Initial State ACK is deasserted. The 653X device sends an ACK pulse with programmable width to indicate that it has data to output. Assuming the peripheral device has deasserted the REQ signal. Otherwise, the ACK signal remains asserted until the peripheral device deasserts the REQ signal.
  • Page 90 When REQ Asserted Wait Clear Pulse When REQ Unasserted © National Instruments Corporation Initial State: ACK Cleared Programmable Delay Send ACK Pulse Programmable Delay Wait * With REQ-edge latching enabled, the data output is delayed until the next inactive-going REQ edge.
  • Page 91 Note the REQ edge with REQ edge latching enabled, that data will be held for at most t after the REQ edge deasserts. 653X User Manual ACK and REQ are shown as active high Description Figure 3-37. Long Pulse Output Timing Diagram...
  • Page 92: Appendix A Specifications

    Specifications This appendix lists features and specifications for your 653X devices and the PCI/PXI-7030/6533 device. Specifications are typical at 25 °C unless otherwise noted. Digital I/O Number of channels ... 32 input/output; Compatibility ... TTL/CMOS (standard or Hysteresis ... 500 mV...
  • Page 93 AT-DIO-32HS ...16 S DAQCard-6533 for PCMCIA ...16 S PCI/PXI-6534 ...64 MB, two 32 MB modules PCI/PXI-7030/6533 ...16 S PCI-DIO-32HS ...16 S PXI-6533 ...16 S 653X User Manual Level (Continued) = 2.4 V) CPULL high CPULL low = 0.4 V) = 2.4 V)
  • Page 94: Change Detection

    PCI-6534/PXI-6534/ AT-DIO-32HS type... AT slave with dual DMA DAQCard-6533 for PCMCIA type ... PCMCIA slave Small transfer size is the size of the FIFO. © National Instruments Corporation Appendix A )... 20 MHz or digital pattern on user-selected data lines...
  • Page 95: Power Requirement

    Functional shock...MIL-T-28800 E Class 3 Operational random vibration (PXI only) ...5 to 500 Hz, 0.31 g 653X User Manual DAQCard-6533 for PCMCIA ...3.4 by 2.1 in. AT-DIO-32HS/PCI-653X...6.9 by 4.2 in. PXI-653X...6.4 by 3.9 in. PCI-DIO-32HS, PXI-6533, AT-DIO-32HS, PCI-6534, and PXI-6534 ...68-pin male SCSI-II type DAQCard-6533 for PCMCIA ...68-pin female PCMCIA...
  • Page 96 Note Random vibration profiles were developed in accordance with MIL-T-28800E and MIL-STD-810E Method 514. Test levels exceed those recommended in MIL-STD-810E for Category 1 (Basic Transportation, Figures 514.4-1 through 514.4-3). © National Instruments Corporation Appendix A Specifications , 3 axes...
  • Page 97: Using Pxi With Compactpci

    Using PXI with CompactPCI You can use your PXI-653X device as a plug-in device in a standard CompactPCI chassis, but you will not be able to access PXI-specific functions, such as RTSI bus features detailed in the PXI Specification, rev. 1.0.
  • Page 98: Control Signals

    Connecting Signals with Accessories This appendix describes how to connect signals to your 653X device. Use the first part of the appendix to acquaint yourself with the device control signals. Then go to appropriate pinout diagrams (68 or 50-pin), which display the layout of pin locations.
  • Page 99: Signal Connections

    Do not make connections that exceed any of the maximum input or output ratings on the 653X, listed in Appendix A, Specifications. This includes connecting any power signals to ground and vice versa. Doing so may damage your device and your computer.
  • Page 100: Signal Descriptions

    Signal Descriptions Use Table C-3 to find the function for each signal, which is based on the mode and protocol you are using. All the signals on the 653X device are referenced to the GND lines. © National Instruments Corporation...
  • Page 101 Group 1 and group 2 acknowledge lines Handshaking I/O—Acknowledge, a control line that indicates whether the 653X device is ready to transfer data. Pattern I/O—Used as a start trigger (STARTTRIG<1..2>) line. You can start pattern I/O operations upon the rising or falling edge of a signal on these lines.
  • Page 102 DIOB, DIOC, and DIOD) up or down when undriven. If you connect DPULL to +5 V on the external terminal connector, the 653X device pulls the data lines up. If you connect DPULL to GND or leave DPULL unconnected, the 653X device pulls the data lines down.
  • Page 103 Appendix C Connecting Signals with Accessories Making 50-Pin Signal Connections Use Table C-4 to find the accessories designed to connect to your 653X device. 653X User Manual DIOD1 DIOD4 DIOD0 DIOD3 DIOD6 DIOD7 DIOD5 DIOD2 DIOC7 DIOC5 11 12 DIOC3...
  • Page 104 DAQCard 6533 device. The female side of the R6850-D1 adapter connects directly to the 653X device or PSHR68-68M cable. The male side of the adapter provides the pin assignments shown in Figure C-2. The 50-pin adapter has no +5 V, CPULL, or DPULL pins.
  • Page 105: Block Diagrams

    Hardware Considerations This appendix covers several hardware considerations for your 653X device. As an advanced user, you can use these sections to understand how the hardware works in your 653X device. Block Diagrams Data Lines (16) Plug and Play Interface EEPROM ©...
  • Page 106 Appendix D Hardware Considerations Data Lines (16) PCMCIA Interface 653X User Manual Data Latches Internal Interface FIFOs DMA/ Handshaking Interrupt DAQ-DIO Requests Counters Clock Request Selection Processing Timers 20 MHz Oscillator Figure D-2. DAQCard-6533 for PCMCIA Block Diagram Data Lines...
  • Page 107 Data Lines (32) MITE PCI Interface EEPROM Figure D-3. PCI-DIO-32HS, PCI/PXI-7030/6533, and PXI-6533 Block Diagram © National Instruments Corporation Appendix D Data Latches Internal Interface FIFOs Drivers DMA/ Handshaking Interrupt DAQ-DIO Requests Control Counters Clock Request Selection Processing Timers 20 MHz...
  • Page 108 Appendix D Hardware Considerations MITE MITE Interface Interface EEPROM 653X User Manual SCARAB Memory 0 SCARAB Interface Interface DMA/IRQ FPGA Handshaking and Control SCARAB RTSI Interface Interface SCARAB Memory 1 Figure D-4. PCI/PXI-6534 Block Diagram Data Lines (32) Internal Data Latches...
  • Page 109: Power Connections

    Caution Do not connect CPULL, DPULL, or any other line directly to an external power supply while the 653X device is powered off. Doing this may prevent your computer from booting. For example, if you are using active-low handshaking signals, you can connect the CPULL line to +5 V to place the handshaking lines in the high, inactive state at power up.
  • Page 110 Do not connect the +5 V power pin directly to the GND, RGND, or any output pin of the 653X device or any voltage source or output pin on another device. Doing so can damage the device and the computer. National Instruments is not liable for damage resulting from such a connection.
  • Page 111 For example, if you make your +5 V connection through a long wire, back to the +5 V pin of the 653X device, add a capacitor to your termination circuit to stabilize the +5 V connection near the Schottky diodes.
  • Page 112 National Instruments does not specify the source or input impedance or slew rate of the 653X device or the characteristic impedance of the SH6868-D1 cable. However, the following information might be helpful: •...
  • Page 113 Make sure the sink current does not exceed 24 mA at 0.4 V to guarantee that TTL low voltage specifications are met. The sink current is the amount of current that flows into the 653X device when it asserts a TTL low signal (often denoted by I Also, it is important to make sure the source current does not exceed –24 mA at 2.4 V to guarantee TTL high voltage specifications.
  • Page 114 Instruments AT- and PCI-bus devices that have RTSI bus connectors can be cabled together inside a computer to share these signals. The PXI-653X uses pins on the PXI J2 connector to connect the RTSI bus to the PXI trigger bus as defined in the PXI Specification, rev. 1.0. All National Instruments PXI modules that provide a connection to these pins can be connected together by software.
  • Page 115 If you configure a signal to be received from the RTSI bus, do not attach it to an Note external source. Also, do not configure the 653X device to generate that signal internally. © National Instruments Corporation Appendix D...
  • Page 116 Determining the Maximum Transfer Rates The maximum sustainable transfer rate a 653X device can achieve depends on the minimum available bus bandwidth and is based on your computer system. The maximum sustainable transfer rate also depends on the number of other devices generating bus cycles, your operating system, and your application software.
  • Page 117 Supported if device is in a peripheral slot that allows bus arbitration PXI-6534 (bus mastering). Otherwise, use software to select interrupt-driven transfers. PXI chassis have bus arbitration for all slots. 653X User Manual Mode/Protocol Burst mode is the fastest handshaking protocol. You can further increase speed by using short cables.
  • Page 118 For example, 10 MS/s, where each sample is 16 bits or two bytes: The following applications were tested: • • • © National Instruments Corporation sample size (B) × ------- - ------------------------------------ - 10MS 2 bytes ×...
  • Page 119 PCI-DIO-32HS The following benchmarks are results using a Gateway 550 MHz PIII, 128 MB RAM, and Windows 98 SE. Pattern I/O– Single Shot Pattern I/O– Continuous 653X User Manual Table E-3. AT-DIO-32HS Benchmark Results Mode 8 Bit Input 1.67 Output 1.47...
  • Page 120 Single Shot Pattern I/O– Continuous Pattern I/O– Continuous Retransmit Burst Protocol– Continuous Burst Protocol– Continuous Retransmit © National Instruments Corporation Appendix E Table E-4. PCI-DIO-32HS Benchmark Results (Continued) Mode 8 Bit Output Input 19.93 Output 19.92 Table E-5. PXI-6533 Benchmark Results...
  • Page 121 The following benchmarks are results using a Dell Dimension XPS T600r, 600 MHz PIII, 128 MB RAM, and Windows 98 SE. Pattern I/O– Single Shot* Pattern I/O– Continuous Retransmit 653X User Manual Table E-6. DAQCard-6533 for PCMCIA Benchmark Results Mode 8 Bit Input 0.12 Output 0.12...
  • Page 122 Retransmit Burst Protocol– Single Shot* Burst Protocol– Continuous Retransmit** * Benchmarks made using buffer size ** Benchmarks made using buffer retransmitted © National Instruments Corporation Appendix E Table E-7. PCI-6534 Benchmark Results (Continued) Mode 8 Bit Input Output Output ≤...
  • Page 123 The following benchmarks are results using a PXI-8170, 450 MHz PIII, and the real-time operating system running on LabVIEW RT. Pattern I/O– Single Shot Pattern I/O– Continuous 653X User Manual Table E-9. PCI-7030/6533 Benchmark Results Mode 8 Bit Input 1.82 Output 1.82...
  • Page 124 Pattern I/O– Continuous Retransmit Burst Protocol– Continuous © National Instruments Corporation Appendix E Table E-10. PCI-7030/6533 Benchmark Results (Continued) Mode Output Input Output Optimizing Your Transfer Rates Benchmark Rate (MS/s) 8 Bit 16 Bit 32 Bit 2.50 1.25 1.25 19.98 19.97...
  • Page 125: Technical Support Resources

    Technical Support Resources Web Support National Instruments Web support is your first stop for help in solving installation, configuration, and application problems and questions. Online problem-solving and diagnostic resources include frequently asked questions, knowledge bases, product-specific troubleshooting wizards, manuals, drivers, software updates, and more. Web support is available...
  • Page 126: Worldwide Support

    Appendix F Technical Support Resources Worldwide Support National Instruments has offices located around the world to help address your support needs. You can access our branch office Web sites from the Worldwide Offices section of up-to-date contact information, support phone numbers, e-mail addresses, and current events.
  • Page 127 ≥ greater than or equal to Ω ohms percent ± plus or minus positive of, or plus +5 V (signal) +5 VDC source signal © National Instruments Corporation Value – 6 –3 –9 653X User Manual...
  • Page 128 Glossary amps acknowledge—handshaking signal driven by the 653X device, indicating that it is ready to transfer data Application Development Environment Application Programming Interface—a standardized set of subroutines or functions along with the parameters that a program can call asynchronous For hardware, it is a property of an event that occurs at an arbitrary time, without synchronization to a reference clock.
  • Page 129 Signals that regulate/control the timing of your data transfer in handshaking I/O and pattern I/O. There are four control signals in your 653X device: ACK (STARTTRIG), REQ, STOPTRIG, and PCLK. counter/timer a circuit that counts external pulses or clock pulses (timing) CPULL A user-configurable 2.2 kΩ...
  • Page 130 DAQ device. function a set of software instructions executed by a single line of code that may have input and/or output parameters and returns a value when executed 653X User Manual ni.com...
  • Page 131 Least significant bit low/high Refers to the active, or “on” state of handshaking I/O lines. For example, if ACK is active low, the 653X device is ready when its ACK line asserts (changes to) low. © National Instruments Corporation , used with units of...
  • Page 132 Most Significant Bit pattern I/O Data-transfer mode in which 653X transfers data on the falling or rising edge of a TTL signal, typically at a constant rate Peripheral Component Interconnect—A high-performance expansion bus architecture originally developed by Intel to replace ISA and EISA. It has achieved widespread acceptance as a standard for PCs and workstations;...
  • Page 133 Request—Handshaking signal generated by the peripheral device, indicating it is ready. In some transfer modes, the 653X device can internally generate a REQ signal. The REQ signal with a bar above the name indicates it is an inverted request signal.
  • Page 134 (2) a LabVIEW software module (VI), which consists of a front panel user interface and a block diagram program virtual channels channel names that can be defined outside the application and used without having to perform scaling operations 653X User Manual control signals ni.com...
  • Page 135 0 V for logic low, but tri-states the pin (puts the pin in the high-impedance state) for logic high © National Instruments Corporation Glossary 653X User Manual...
  • Page 136 Index Numbers +5 V signal, description (table), C-5 653X devices. See also hardware; specific device name. configuring, 1-8 to 1-9 installing, 1-6 to 1-8 overview, 1-1 to 1-2 requirements for getting started, 1-2 software programming choices, 1-3 to 1-5 National Instruments application...
  • Page 137 3-12 AT-DIO-32HS benchmark results (table), E-4 block diagram, D-1 installation, 1-7 to 1-8 support for DMA transfers (table), E-2 653X User Manual benchmark results. See optimizing transfer rates. block diagrams AT-DIO-32HS, D-1 DAQCard-6533 for PCMCIA, D-2 PCI-DIO-32HS, PCI/PXI-7030/6533, and...
  • Page 138 2-26 clocks, for RTSI and PXI trigger bus interfaces, D-10 CompactPCI, using with PXI, B-1 configuration, 653X devices Mac OS, 1-9 Windows, 1-8 to 1-9 connecting signals. See signal connections. continuous or finite data transfer...
  • Page 139 C-7 finite data transfer. See continuous or finite data transfer. GND signal, description (table), C-5 653X User Manual handshaking I/O, 2-6 to 2-17. See also handshaking I/O timing diagrams. ACK/REQ signal polarity, 2-8 connecting signals, 2-10 to 2-11...
  • Page 140 PCI-DIO-32HS, PCI-6534, or PCI-7030/6533 devices, 1-6 to 1-7 PXI-6533, PXI-6534, or PXI-7030/6533 devices, 1-7 software, 1-5 unpacking 653X devices, 1-5 to 1-6 power connections, D-5 to D-6 power-on state, D-5 RTSI and PXI trigger bus interfaces, D-10 to D-11 Index...
  • Page 141 PCI-DIO-32HS, PCI-6534, or PCI-7030/6533 devices, 1-6 to 1-7 PXI-6533, PXI-6534, or PXI-7030/6533 devices, 1-7 software, 1-5 unpacking 653X devices, 1-5 to 1-6 interrupt transfers. See DMA or interrupt transfers. LabVIEW and LabVIEW RT software, 1-3 leading-edge handshaking protocol, 3-29 to 3-34...
  • Page 142 NI-DAQ, 2-25 LabVIEW/LabVIEW RT, 2-25 single buffer, in NI-DAQ, 2-24 REQ polarity, 2-18 specifications, A-3 © National Instruments Corporation timing diagrams, 3-1 to 3-3 external REQ signal source, 3-2 to 3-3 internal REQ signal source, 3-1 to 3-2...
  • Page 143 I/O, 2-12 to 2-17 buffered handshaking I/O in NI-DAQ (figure), 2-13 handshaking input in LabVIEW/LabVIEW RT (figure), 2-15 653X User Manual handshaking output in LabVIEW/LabVIEW RT (figure), 2-16 unbuffered handshaking I/O in NI-DAQ (figure), 2-14 pattern I/O, 2-24 to 2-26...
  • Page 144 (figure), 3-35 input state machine (figure), 3-36 input timing diagram (figure), 3-37 © National Instruments Corporation output handshaking sequence (figure), 3-38 output state machine (figure), 3-39 output timing diagram (figure), 3-40 polarity for handshaking I/O...
  • Page 145 I/O connector, A-4 power requirement, A-4 triggers RTSI triggers (PCI, PXI, AT), A-3 start and stop triggers, A-3 653X User Manual standard output, unstrobed I/O, 2-2 start and stop trigger change detection, 2-28 to 2-29 pattern I/O, 2-20 to 2-21...
  • Page 146 2-20 to 2-21 start and stop trigger, 2-20 to 2-21 start trigger, 2-19 stop trigger, 2-19 to 2-20 unpacking 653X devices, 1-5 to 1-6 unstrobed I/O, 2-2 to 2-6 configuring digital lines, 2-2 to 2-3 standard output, 2-2 wired-OR output, 2-2 to 2-3...
  • Page 147 Index waveforms. See pattern I/O. Web support from National Instruments, F-1 wired-OR output, unstrobed I/O, 2-2 to 2-3 Worldwide technical support, F-2 653X User Manual I-12 ni.com...

This manual is also suitable for:

Daq 653x

Table of Contents