The commands supported by the evaluation tool are classified as basic commands, RFDC IP commands, board control commands, and PL data and control commands. The following table lists the supported commands.
| Command | Input Parameters | Output Parameters | Description |
|---|---|---|---|
| Basic Commands | |||
| GUI_Title | None | Rftool Version | Rftool version, for example, (RFEvalTool v2024.1). |
| RfdcVersion | None | Version Number(s) | RFdc API version. |
| Version | None | Rftool Version | Rftool version. |
| TermMode | Mode | None | Switch between UI mode (mode=0) and Interactive mode (mode=1). Interactive mode prints more status information to the terminal and should not be used with the evaluation tool GUI. |
| GetLog | None | Logged Strings | Uses metal_log to return any error, warning, or informational messages returned from the API or command interface. |
| JtagIdcode | None | Idcode | Return the device JTAG IDCODE. |
| Help | None | None | Print help on command interface. |
| Disconnect | None | None | |
| RFDC IP Commands | |||
| GetBlockStatus |
Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetCalFreeze | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetCalibrationMode | Tile, Block | Tile, Block,
CalibrationMode |
Cf. PG269 |
| GetClkDistribution | None |
DistributionSettings.Distributions[i].SourceType |
Cf. PG269 |
| GetClockSource | Type, Tile |
Type, Tile, |
Cf. PG269 |
| GetCoarseDelaySettings | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetConnectedData | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetDACCompMode | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetDataPathMode | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetDecimationFactor | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetDecimationFactorObs | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetDecoderMode | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetDither | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetDSA | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetFabClkOutDiv | Type, Tile |
Type, Tile,0 |
Cf. PG269 |
| GetFabRdVldWords | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetFabWrVldWords | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetFabWrVldWordsObs | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetFabRdVldWordsObs | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetFIFOStatus | Type, Tile |
Type, Tile, |
Cf. PG269 |
| GetFIFOStatusObs | Type, Tile | Type, Tile, Enable | Cf. PG269 |
| GetIMRPassMode | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetInterpolationFactor | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetIntrStatus | Type, Tile, Block | Type, Tile, Block, IntrStatus | Cf. PG269 |
| GetInvSincFIR | Tile, Block | Tile, Block, Enable | Cf. PG269 |
| GetIPStatus | None |
First all DAC tile,
IpStatus.DACTileStatus[Tile].IsEnabled, Then all ADC tile,
IpStatus.ADCTileStatus[Tile].IsEnabled, Finally: IpStatus.State |
Cf. PG269 |
| GetLinkCoupling | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetMixerSettings | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetMTSEnable | Type, Tile |
Type, Tile, |
Cf. PG269 |
| GetNyquistZone | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetOutputCurr | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetPLLConfig | Type, Tile | Type, Tile, | Cf. PG269 |
| GetPLLLockStatus | Type, Tile |
Type, Tile, |
Cf. PG269 |
| GetQMCSettings | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| GetThresholdSettings | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetSignalDetector | Tile, Block |
Tile, Block, |
Cf. PG269 |
| GetDACPower | Board_id, Tile |
Board_id, Tile, |
Cf. PG269 |
| IntrClr |
Type, Tile, Block, |
None | Cf. PG269 |
| IntrDisable |
Type, Tile, Block, |
None | Cf. PG269 |
| IntrEnable |
Type, Tile, Block, |
None | Cf. PG269 |
| MTS_Sysref_Config |
Enable, |
DAC_Sync_Config.Target_Latency, |
Cf. PG269 |
| MultiConverter_Init | Type, Tile_ref | None | Cf. PG269 |
| MultiConverter_Sync |
Type, ADC_Sync_Config.Target_Latency, |
Sync_config.Target_Latency, |
Cf. PG269 |
| Reset | Type, Tile | None | Cf. PG269 |
| ResetNCOPhase | Type, Tile, Block | None | Cf. PG269 |
| RF_ReadReg16 | Offset | Value | Cf. PG269 |
| RF_ReadReg32 | Offset | Value | Cf. PG269 |
| RF_WriteReg16 | Offset, Value | None | Cf. PG269 |
| RF_WriteReg32 | Offset, Value | None | Cf. PG269 |
| SetCalFreeze |
|
None | Cf. PG269 |
| SetCalibrationMode |
Tile, Block, |
None | Cf. PG269 |
| SetClkDistribution |
Distribution_Settings.SourceTileId |
None |
Cf. PG269 |
| SetCoarseDelaySettings |
Type, Tile, Block, |
None | Cf. PG269 |
| SetDACPowerMode |
Board_id, Tile, Block, |
Board_id, Tile, Block, |
Cf. PG269 |
| SetDACVOP |
Tile, Block, |
None | Cf. PG269 |
| SetDataPathMode |
Tile, Block, |
None |
Cf. PG269 |
| SetDecimationFactor |
Tile, Block, |
None | Cf. PG269 |
| SetDecimationFactorObs |
Tile, Block, |
None | Cf. PG269 |
| SetDecoderMode |
Tile, Block, |
None | Cf. PG269 |
| SetDither |
Tile, Block, |
None |
Cf. PG269 |
| SetDSA |
Tile, Block, |
None |
Cf. PG269 |
| SetFabClkOutDiv |
Type, Tile, |
None | Cf. PG269 |
| SetFabRdVldWords |
Tile, Block, |
None | Cf. PG269 |
| SetFabRdVldWordsObs |
Tile, Block, |
None | Cf. PG269 |
| SetFabWrVldWords |
Tile, Block, |
None | Cf. PG269 |
| SetIMRPassMode |
Tile, Block, Mode |
Tile, Block, |
Cf. PG269 |
| SetInterpolationFactor |
Tile, Block, |
None | Cf. PG269 |
| SetInvSincFIR |
Tile, Block, |
None | Cf. PG269 |
| SetMixerSettings |
Type, Tile, Block |
None | Cf. PG269 |
| SetMMCMReg |
Type, Tile, |
None | Cf. PG269 |
| SetNyquistZone |
Type, Tile, |
None | Cf. PG269 |
| SetQMCSettings |
Type, Tile, Block, |
None | Cf. PG269 |
| SetThresholdSettings |
Tile, Block, |
None | Cf. PG269 |
| SetSignalDetector |
Tile, Block, |
None | Cf. PG269 |
| SetupFIFO |
Type, Tile, |
None | Cf. PG269 |
| SetupFIFOObs |
Type, Tile, |
None | Cf. PG269 |
| Shutdown | Type, Tile | None | Cf. PG269 |
| StartUp | Type, Tile | None | Cf. PG269 |
| CustomStartup |
Type, Tile, |
None | Cf. PG269 |
| UpdateEvent |
Type, Tile, Block, |
None | Cf. PG269 |
| DynamicPLLConfig |
Type, Tile, |
RefClkDivider, |
Cf. PG269 |
| MultiBand |
Type, Tile, |
Type, Tile, |
Cf. PG269 |
| SetCalCoefficients |
Tile, Block, |
None | Cf. PG269 |
| GetCalCoefficients | Tile, Block, CalBlock |
Tile, Block, CalBlock, |
Cf. PG269 |
| DisableCoefficientsOverride | Tile, Block, CalBlock | None | Cf. PG269 |
| SetDACCompMode |
Tile, Block, |
None |
Cf. PG269 |
| GetEnabledInterrupts | Type, Tile, Block |
Type, Tile, Block, |
Cf. PG269 |
| SetDACDataScaler |
Tile, Block, |
None | Cf. PG269 |
| GetDACDataScaler | Tile, Block |
Tile, Block, |
Cf. PG269 |
| Board Control Commands | |||
| GetExtPllConfig |
Board_id = 3 for 216, 4 for 208, |
Freq | Return the current frequency of the LMX. |
| GetExtParentClkList | Board_id = 3 for 216, 4 for 208 | LMK_FREQ_LIST[LMK_FREQ_NUM] | Return a list of frequencies available for the LMK. |
| GetExtParentClkConfig | Board_id = 3 for 216, 4 for 208 | LMKCurrentFreq | Return the current LMK frequency. |
| GetExtPllFreqList |
Board_id = 3 for 216, 4 for 208, |
ADC_FREQ_LIST[LMX_ADC_NUM] |
Return a list of allowed values for the LMX. |
| rfclkReadReg |
Board_id = 3 for 216, 4 for 208, |
Board_id, |
Read a register from the LMK/LMX. |
| rfclkWriteReg |
Board_id = 3 for 216, 4 for 208, |
Board_id, |
Write a register from the
LMK/LMX with the following parameters: Board_id (always 0) chip_id ( 0 :PLL ADC, 1 PLL DAC, 2: LMK) reg_addr (register address from the TCS file) data (data from the TCS file) |
| SetExtParentclk |
Board_id = 3 for 216, 4 for 208, |
Board_id, |
Configure LMK clock with requested frequency. |
| SetExtPllClkRate |
Board_id = 3 for 216, 4 for 208, |
Board_id, |
Configure PLL (LMX) with requested frequency. |
| PL Data and Control Commands | |||
| GetMemtype | Type, Tile | Memtype | Get selected memory type (block RAM or DDR). |
| SetLocalMemSample |
Type, Tile, Block, |
None | Set the number of samples to be generated or captured. |
| SetMemtype |
Type, Tile, |
Error code on failure | Set memory type to DDR (0) or block RAM (1). |
| SetMMCM | Type, Tile |
None |
Reconfigure the MMCM according to the tile settings, block 0 of this tile, and Fs. |
| MTS_Setup |
Type, |
None | Setup the clocking scheme for multi-tile synchronization feature. |
| SetMMCMFin |
Type, Tile, |
None |
Reconfigure the MMCM based on tile settings, block 0 of this tile, and Fplin (user fabric clock input). |
| GetMMCMFin | Type, Tile |
Type, Tile, |
Returns the current MMCM frequency input. |
| GetMTS_Setup | Type |
Type, |
Get the current clocking scheme for all tiles (standard or MTS). |
| GetMMCMReg | Type, Tile |
Type, Title, Lock, |
Get the MMCM settings. |
| MMCM_Rst | Type, Tile | None | Reset the MMCM. |
| LocalMemInfo | Type |
Type, |
Get information on the memory. |
| LocalMemTrigger |
Type, |
None | Trigger the memory channel according to the mask rfdc_ch. |
| LocalMemAddr | Type, Tile, Block |
Type, |
Get the memory addresses associated with the tile and block. |
| WriteDataToMemory |
Tile, Block, |
None | In this case, the buffer address is allocated by Linux (CMA pool) from PS DDR and firmware writes the data to the buffer by reading data from a socket. |
| ReadDataFromMemory |
Tile, Block, |
None | In this case, the buffer address is allocated by Linux (CMA pool) from PL DDR and firmware reads the data from the buffer and sends it to a socket. In this command, the number of bytes should be aligned to 32. |
| SetTDDRTSPinCtrl |
Type, |
None | Set the channel to control, LSB channel 0, MSB channel 15. |
| GetTDDRTSPinCtrl | Type |
|
Get the channel to control, LSB channel 0, MSB channel 15. |
| GetTDDRTSTrigDelay | Tile | Trig_Delay | Get the trigger delay for ADC per tile. This is the delay between the TDD trigger (from SetTDDRTSTrigSlot) to the hw_trigger of the capture memory. Delay in AXI control clock cycles (slow clock), then resync to tile clock. |
| SetTDDRTSTrigDelay |
Tile, |
None | Set the trigger delay for ADC per tile. This is the delay between the TDD trigger (from SetTDDRTSTrigSlot) to the hw_trigger of the capture memory. Delay in AXI control clock cycles (slow clock), then resync to tile clock. |
| SetTDDRTSTrig | Trig | None | Set the trigger. 0: stop triggering the memory automatically via hw_trigger. 1: enable triggering of capture memories. |
| GetTDDRTSTrig | None | Trig | Get the trigger. 0: stop triggering the memory automatically via hw_trigger. 1: enable triggering of capture memories. |
| SetTDDRTSTrigSlot |
trig_symbol, |
None | Set the frame and symbol to trigger on. |
| GetTDDRTSTrigSlot | None |
trig_symbol, |
Get the frame and symbol to trigger on. |
| GetTDDRTSSlot | None |
Guard_Length, |
Get configuration of guard band, symbol length, and slot configuration (UL/DL). |
| SetTDDRTSSlot |
Guard_Length, |
None | Set configuration of guard band, symbol length, and slot configuration (UL/DL). |
| GetTDDRTSEnables | None | Enable | Read the enable/disable hw_trigger_en on capture mem, per tile. |
| SetTDDRTSEnables | Enable | None | Set the enable/disable hw_trigger_en on capture mem, per tile. |
| SetTDDRTSRst | Reset | None | Reset the counters in the TDD block. |
| GetTDDRTSRst | None | Reset | Read the reset register. |