Table Of Contents

User Command Reference

Last Modified: May 17, 2017

The NI 5793 allows you to configure settings with the User Command, User Data 0, and User Data 1 signals.

The status register returns 0x00 if the command succeeded. The status register returns a non-zero value if there is a problem with the command. Ensure that all user commands and arguments are valid before you commit the command to the hardware. Once you commit the command, the CLIP brings the idle signal low, processes the command, acknowledges the command, and reports idle.

Read the user return and user status ports only after the CLIP returns to idle. The CLIP holds the values until you issue the next command.

User Setting User Command User Data 0 Value (U8) User Data 1 Value
Set Clock Select

Sets the sample clock to the specified setting.

0

0 = Internal Sample clock

1 = Internal Sample clock locked to an external Reference clock through the CLK IN connector

2 = External Sample clock through the CLK IN connector

3 = Internal Sample clock locked to an external Reference clock through the IoModSyncClock

N/A
Set CLK Out Source

Determines the CLK OUT output.

1

0 = disabled

1 = Reference Clock

2 = Sample Clock

N/A
DAC Sync User Start

Sets up the DAC to receive a user supplied SYNC pulse. After this command returns, send a rising edge on the Synchronize DAC CLIP signal to send a SYNC pulse to the DAC, then send CmdDacSyncUserEnd. Refer to the DAC datasheet for the use of the SYNC signal.

2 N/A N/A
DAC Sync User End

Finalizes DAC synchronization and checks for errors.

3 N/A N/A
Set Tx Attenuation

Sets the Tx Programmable Attenuator to the attenuation specified in UserData0.

9 Attenuation (.25 dB per LSB, max 31.75 dB or 0x7F) N/A
Set LO Filter

Configures the Tx LO filter path.

32

0 = Rx LO

Non-zero = Tx LO

Byte setting.
Byte Cut-off Frequency (MHz)
0xF1 316
0xEC 474
0xE9 711
0xD6 1,066
0xD3 1,600
0xCE 2,400
0xCB 3,600
0xF4 >3,600
Set Front End Filter

Configures the Tx front end filters.

33 Non-zero = Tx Byte setting.
Byte Cut-off Frequency (MHz)
0x00 <3,600
0x01 <2,400
0x02 <1,600
0x03 <1,066
0x04 <711
0x05 <474
0x06 <316
0x07 >3,600
Set LO Power

Turns the LO and the LO power supply on and off.

34 0 = LO 0 = off

Non-zero = on

Set Routing Mux

Configures all the multiplexers that control LO paths and signal paths (not including filters). Each mux is either 2:1 or 1:2, so there are only two options for UserData1 per mux.

37

Refer to the MUX Select Enumeration table below.

0 = off/default

Non-zero = on

Refer to the MUX Select Enumeration table below.

Read Revision Lower

Reads the lower two bytes of the CLIP Revision.

240 N/A N/A
Read Revision Upper

Reads the upper two bytes of the CLIP Revision.

241 N/A N/A
Read Oldest Compatible Revision Lower

Reads the lower two bytes of the oldest compatible revision of the CLIP.

242 N/A N/A
Read Oldest Compatible Version Upper

Reads the upper two bytes of the oldest compatible revision of the CLIP.

243 N/A N/A
Reinitialize

Reinitializes the module and CLIP. The CLIP pulls the Initialization Done signal low before acquiring the Reinitialize command. Wait for the Initialization Done signal to go high before proceeding.

255

Refer to the MUX Select Enumeration table below.

0 = off/default

Non-zero = on

Refer to the MUX Select Enumeration table below.

Mux Select Enumeration

Use the following table to configure the multiplexer.

Value Name Setting
0 LoSource 0 = Internal LO

Non-zero = External LO

2 LoOut 0 = LO Out off

Non-zero = LO Out on

3 TxModBypass 0 = Tx modulator bypass disable

Non-zero = Tx modulator bypass enable

5 TXPath 0 = TX Out

Non-zero = Internal wrapback.


Recently Viewed Topics