SPI/I2C Commands for Low-Level Configuration of NI 5783 Module’s DAC

Updated Jun 5, 2025

Reported In

Hardware

  • NI-5783

Driver

  • FlexRIO

Issue Details

In the specifications of the NI 5783 module, it is stated that the analog outputs are based on DAC3484.

But how can we know if 

  1. Should the user use SPI or I2C commands to access the DAC's configuration registers?
  2. What is the exact meaning and format of the "User Command Arg 0" and "User Command Arg 1" when accessing the DAC's configuration registers?

Solution

If you have needed drivers installed to work with NI-5781, then you have access to the FlexRIO Transceiver Help (on disk at C:\Users\Public\Documents\National Instruments\FlexRIO\Adapter Module Documentation\FRIOtransAMR.chm ).

 

From that doc, you can find the answers to the needed information.

  1. The Help document contains information, which protocol to use with the needed devices and for DAC3484 there is a need to use SPI commands
  2. The "User Command Arg" arguments are for configuring the clocking on the adapter module. The "User Command Arg 0" sets the clock mode of the adapter

    The "User Command Arg 1" is for sample rate and data rate configuration.