Example Code

QAM BER Testing with 5673 & 5665 - Shared Clocking

Code and Documents

Attachment

Overview

QAM BER Testing with 5673 & 5665 - Shared Clocking

Description

You can use the NI 5665 with an NI 5673 RF vector signal generator to generate and analyze communications signals up to 3.6 GHz with the NI 5665 (3.6 GHz) and up to 14 GHz with the NI 5665 (14 GHz). You can configure the NI 5665 and NI 5673 devices to use either an internal or external Reference clock. Attached MT examples show BER Testing with NI 5665 and NI 5673 devices


  • If you are using 3.6 GHz 5665, please make these connections between 5673 & 5665

5673-5665(3.6GHz).jpg

  • If you are using 14 GHz 5665, please make these connections between 5673 & 5665

5673-5665(14GHz).jpg

Steps to Implement or Execute Code

Hardware Configuration

  1. Install an NI 5603/5605 RF downconverter module in an available PXI Express or hybrid slot that has at least one empty slot to the left and at least two empty slots to the right.
  2. Install an NI 5622 IF digitizer module immediately to the left of the NI 5603/5605.
  3. Install an NI 5653 synthesizer/LO source immediately to the right of the NI 5603/5605.
  4. Install the NI 5652 LO source that shipped with your NI 5673 immediately to the left of the NI 5622.
  5. Install the NI 5611 I/Q vector modulator that shipped with your NI 5673 immediately to the left of the NI 5652.
  6. Install the NI 5450 I/Q signal generator that shipped with your NI 5673 immediately to the left of the NI 5611.
  7. Using a semi-rigid SMA-to-SMA cable (labeled A), connect CH 0+/I+ on the NI 5450 to I+ on the NI 5611.
  8. Using a semi-rigid SMA-to-SMA cable (labeled A), connect CH 0-/I- on the NI 5450 to I- on the NI 5611.
  9. Using a semi-rigid SMA-to-SMA cable (labeled A), connect CH 1+/Q+ on the NI 5450 to Q+ on the NI 5611.
  10. Using a semi-rigid SMA-to-SMA cable (labeled A), connect CH 1-/Q- on the NI 5450 to Q- on the NI 5611.
  11. Using a semi-rigid SMA-to-SMA coaxial cable (labeled B), connect RF OUT on the NI 5652 to LO IN on the NI 5611.
  12. Using a semi-rigid SMA-to-SMA cable (labeled K), connect IF OUT on the NI 5603/5605 to IF IN on the NI 5622.
  13. Using a semi-rigid SMA-to-SMA cable (labeled J), connect LO1 OUT on the NI 5653 to LO1 IN on the NI 5603/5605.
  14. Using a semi-rigid SMA-to-SMA cable (labeled J), connect LO2 OUT on the NI 5653 to LO2 IN on the NI 5603/5605.
  15. Using a semi-rigid SMA-to-SMA cable (labeled J), connect LO3 OUT on the NI 5653 to LO3 IN on the NI 5603/5605.
  16. Using a flexible coaxial cable, connect REF OUT (100 MHz) on the NI 5653 to CLK IN on the NI 5622.
  17. Using a flexible coaxial cable, connect REF OUT (10 MHz) on the NI 5653 to CLK IN on the NI 5450.
  18. Using a flexible coaxial cable, connect REF IN/OUT  on the NI 5652 to CLK OUT on the NI 5450.
  19. (Optional) If you want to use an external clock, use a flexible coaxial cable to connect the external clock of your choice to the REF IN connector on the NI 5653. Set the clock rate to the output frequency of the external clock source for the Reference clock using the clock rate parameter of the niRFSA Configure Ref Clock VI or the refClockRate parameter of the niRFSA ConfigureRefClock function.
  20. Set the NI 5673 clock source parameter of the niRFSG Configure Ref Clock VI to ClkIn or set the clockSource parameter of the niRFSG_ConfigureRefClk function to ClkIn. Set the clock rate to 10 MHz for the Reference clock using the clock rate parameter of the niRFSG Configure Ref Clock VI or the refClockRate parameter of the niRFSG_ConfigureRefClk function.
  21. Connect a 50 Ω termination to the following connectors:
    • LO OUT on the NI 5611
    • LO1 OUT on the NI 5603/5605
    • LO2 OUT on the NI 5603/5605
    • LO3 OUT on the NI 5603/5605

Software Configuration :

QAM BER Testing - RFSG & RFSA Shared Clocks.jpg

Requirements

Software

LabVIEW 2011, MT 4.3.4

Hardware

RFSG : 5673

RFSA : 5665

Additional Images or Video



Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors