Page 2
FlexRIO NI-7931R/7932R/7935R User Manual NI-793xR User Manual August 2015 375181B-01...
Page 3
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100 For further support information, refer to the NI Services appendix. To comment on National Instruments documentation, refer to the National Instruments website at ni.com/info enter the Info Code feedback...
Page 4
National Instruments Corporation. National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
Page 5
™ The ExpressCard word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under license. The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
Page 6
Operation of this hardware in a residential area is likely to cause harmful interference. Users are required to correct the interference at their own expense or cease operation of the hardware. Changes or modifications not expressly approved by National Instruments could void the user’s right to operate the hardware under the local regulatory rules.
Page 11
About This Manual Table 1. Documentation Overview (Continued) Document Location Description FPGA Module Help This document is a book within With the LabVIEW FPGA the LabVIEW Help. Access this Module and LabVIEW, you can document by navigating to create VIs that run on National Start»All Programs»National Instruments FPGA targets.
About This Manual Additional Resources Table 3. FlexRIO Development Resources Development Resource Location Description FlexRIO website Contains information about ni.com/flexrio FlexRIO devices, application areas, and technical resources. FlexRIO Instrument The FlexRIO Instrument https://decibel.ni.com/ content/docs/DOC-15799 Development Library Development Library is a set of host and FPGA code that provides FPGA capabilities commonly found in...
Chapter 1 Before You Begin Xilinx Licensing Information Refer to the Xilinx Documentation section of About This Manual for a list of Xilinx documentation that contains important Xilinx licensing information. 1-2 | ni.com...
Page 17
Chapter 2 Mounting the NI-793xR You can mount the NI-793xR in a variety of configurations. The following table lists the ecommended mounting methods. Table 2-1. Mounting Options Method Required Accessory Kit NI Part Number Direct mounting — — Panel Panel Mount Accessory Kit 784365-01 The following sections contain instructions for the mounting methods.
Chapter 2 Mounting the NI-793xR Installing the Rubber Feet The NI-793xR ships with optional rubber feet. Install the rubber feet to the bottom of the device, as shown in Figure 2-3. Caution Do not install rubber feet when directly mounting the NI-793xR. The rubber feet will prevent full contact between the unit and the mounting surface.
Page 21
Chapter 3 Hardware Architecture The following figure shows the NI-7931R LEDs in more detail. Figure 3-2. NI-7931R LEDs Status Power FPGA User RT User 3-2 | ni.com...
Chapter 3 Hardware Architecture NI-7931R Key Features The NI-7931R device includes the following key features. Refer to the NI-7931R Specifications for more details. • Kintex-7 XC7K325T FPGA • 2 GB onboard FPGA-accessible DRAM • NI Linux Real-Time (32-bit) controller • FPGA to host data transfer rates of 200 MB/s (single direction), 150 MB/s (bidirectional) •...
Page 25
Chapter 3 Hardware Architecture NI-7932R The NI-7932R is an embedded FlexRIO controller with a LabVIEW Real-Time processor and reconfigurable FPGA. The NI-7932R includes a high-speed serial interface that uses Xilinx multi-gigabit transceiver (MGT) technology; you can reuse existing protocol IP that works with MGTs, or you can develop your own protocol IP.
Page 27
Chapter 3 Hardware Architecture The following figure shows the available signals on the NI-7932R adapter module connector. Figure 3-8. NI-7932R FPGA Connector Pinout Secondary Side Primary Side Secondary Side Primary Side +3.3V +3.3V S148 GPIO_CC_38_n S114 GPIO_CC_14_n TB_Power_Good S147 TB_Present_n GPIO_CC_38 S113 GPIO_CC_14...
Page 29
Chapter 3 Hardware Architecture The following figure illustrates the key components of the NI-7932R architecture. Figure 3-9. NI-7932R Architecture Key Components Controller RT Host 1 Gig E LabVIEW NV Storage RT Clock Host VI Watch Dog Interrupts Controls/Indicators NI-Defined Bus TRIG Interfaces/Streaming IP REF IN...
Page 31
Chapter 3 Hardware Architecture NI-7935R The NI-7935R is an embedded FlexRIO controller with a LabVIEW Real-Time processor and reconfigurable FPGA. The NI-7935R includes a high-speed serial interface that uses Xilinx multi-gigabit transceiver (MGT) technology; you can reuse existing protocol IP that works with MGTs, or you can develop your own protocol IP.
Page 33
Chapter 3 Hardware Architecture The following figure shows the available signals on the NI-7935R adapter module connector. Figure 3-13. NI-7935R FPGA Connector Pinout Secondary Side Primary Side Secondary Side Primary Side +3.3V +3.3V S148 GPIO_CC_38_n S114 GPIO_CC_14_n TB_Power_Good S147 TB_Present_n GPIO_CC_38 S113 GPIO_CC_14...
Chapter 3 Hardware Architecture Clocking Architecture The NI-7935R device includes dedicated clocking hardware to provide a flexible clocking solution for your FlexRIO system. Refer to Chapter 4, Developing with LabVIEW FPGA, for information about configuring clocks with LabVIEW FPGA. The NI-7935R clocking architecture includes the following clocks: •...
Chapter 4 Developing with LabVIEW FPGA Adding Items to the NI-793xR Target You can add new or existing FPGA VIs, FPGA I/O items, FPGA FIFO, or FPGA clocks to the NI-793xR target in the Project Explorer window. You can also use folders to organize items under the FPGA target in the Project Explorer window.
Chapter 4 Developing with LabVIEW FPGA During interactive front panel communication, you cannot use LabVIEW debugging tools, including probes, execution highlighting, breakpoints, and single-stepping. To identify errors before you compile, download, and run the FPGA VI on the FPGA target, consider using a test bench.
Chapter 4 Developing with LabVIEW FPGA For more information about Run, Reset, and other Invoke methods, refer to the LabVIEW FPGA Module Help. When self-configuration executes, the clocking configuration enters an Note indeterminate state. When the clocking configuration is in an indeterminate state, you cannot rely on clocking stability from the clocking and routing hardware on the NI-793xR.
Chapter 4 Developing with LabVIEW FPGA Simulating FPGA Behavior You can simulate an FPGA VI that has been added to an NI-793xR target; however, you cannot open a reference to the simulated FPGA VI from the NI-793xR target. Instead, you must open a reference to the simulated FPGA VI by changing the application instance to My Computer.
Chapter 5 Programming the High-Speed Serial Ports Developing MGT Socketed CLIP This section provides steps for creating socketed CLIP for use with your application. Socketed CLIP provides the following functionality: • Allows you to insert HDL IP into an FPGA target, enabling VHDL code to communicate directly with an FPGA VI.
Chapter 5 Programming the High-Speed Serial Ports Generating an IP Core from the Xilinx Vivado IP Catalog You may need to purchase and install additional licenses to generate some protocol IP core from Xilinx or third-party IP vendors. Refer to UG 973: Vivado Design Suite: Release Notes, Installation, and Licensing at for information about managing licenses.
Page 50
Chapter 5 Programming the High-Speed Serial Ports The following figure shows the cells associated with the design in the Netlist window. To build files for an associated cell, enter the following command: .edf write_edif -cell <name of cell> <file name>.edf For example, to create an , enter the following command: .edf...
Chapter 5 Programming the High-Speed Serial Ports • If you generate an asynchronous reset within your CLIP VHDL, create a false path constraint from the register that generates the reset signal. Include a “don’t touch” attribute for any false path constraints. –...
Chapter 5 Programming the High-Speed Serial Ports Configuring MGT Socketed CLIP in the NI-793xR LabVIEW FPGA Targets Complete the following steps to configure MGT Socketed CLIP in your NI-793xR LabVIEW project: Create a new project by selecting File»New»Project, or open an existing project by selecting File»Open.
Chapter 6 Programming with the Real-Time Target • Host computer—The computer you use to design a real-time application. You deploy a real-time application from the host computer to the RT target. You can also communicate with the RT target through a user interface running on the host computer. •...
Chapter 6 Programming with the Real-Time Target To query the CPU Temp x and FPGA Temp sensors, filter for the resource and query system the properties under the category. System Resources::Temperature Sensors Figure 6-1. Querying Fan and CPU Temperatures You can also monitor the FPGA Temp sensor on the RIO0 resource. To do this, filter for the resource and query the property.
Chapter 6 Programming with the Real-Time Target Network Communication With network communication, a host VI runs on the host computer and communicates with the VI running on the RT target using specific network communication methods such as TCP, VI Server, and in the case of non-networked RT Series plug-in devices, shared memory reads and writes.
Page 64
Appendix A CLIP Signals Table A-1. NI-7932R CLIP Signals (Continued) Port Direction Clock Domain Description aResetSl Async This signal is not required. This signal is an asynchronous reset signal from the LabVIEW FPGA environment. If you create an input signal to your CLIP and assign it as Reset in the CLIP wizard, that signal is driven as an asynchronous reset...
Page 66
Appendix A CLIP Signals Table A-1. NI-7932R CLIP Signals (Continued) Port Direction Clock Domain Description sPort<0..1>_ SocketClk40 Enables or disables the power EnablePower supply to Port <0..1>. This signal is active high. sPort<0..1>_ SocketClk40 Indicates that the power supply PowerGood to the cable for Port <0..1>...
Page 68
Appendix A CLIP Signals Table A-2. NI-7935R CLIP Signals (Continued) Port Direction Clock Domain Description Port<0..1>_Tx_ Async When high, this output shuts Disable down the transmitter optical transmitter. When low, operation is enabled. Port<0..1>_Rs<0..1> Async Rate selection pins. Port<0..1>_SCL In/Out Async Bidirectional serial clock signal for the two-wire communication...
Page 71
NI Services National Instruments provides global services and support as part of our commitment to your success. Take advantage of product services in addition to training and certification programs that meet your needs during each phase of the application life cycle; from planning and development through deployment and ongoing maintenance.
Page 72
Appendix C NI Services • Training and Certification—The NI training and certification program is the most effective way to increase application development proficiency and productivity. Visit for more information. ni.com/training – The Skills Guide assists you in identifying the proficiency requirements of your current application and gives you options for obtaining those skills consistent with your time and budget constraints and personal learning preferences.
Need help?
Do you have a question about the FlexRIO NI-7931R and is the answer not in the manual?
Questions and answers