XRFdc_CustomStartUp - 2.6 English

Zynq UltraScale+ RFSoC RF Data Converter v2.6 Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269)

Document ID
PG269
Release Date
2023-10-18
Version
2.6 English

Function Prototype

u32 XRFdc_CustomStartUp(XRFdc *InstancePtr, u32 Type, int Tile_Id, u32 StartState, u32 EndState);

Arguments

XRFdc *InstancePtr
Pointer to the driver instance.
u32 Type
RF-ADC or RF-DAC; 0 for RF-ADC and 1 for RF-DAC.
int Tile_Id
RF-ADC/RF-DAC tile number. Valid values are 0-3 and -1 (for all tiles).
u32 StartState
The state to start the IPSM from.
u32 Endstate
The state to top the IPSM.
Table 1. Valid Macros for StartState and EndState Arguments
Macro Description
XRFDC_STATE_OFF Tile is off/reset to initial conditions
XRFDC_STATE_SHUTDOWN Tile is shut down (no reset)
XRFDC_STATE_PWRUP Tile is in Standby Mode
XRFDC_STATE_CLK_DET Tile can be in SysRef or clock distribution chain
XRFDC_STATE_CAL Foreground calibration (RF-ADC only)
XRFDC_STATE_FULL Full start up (EndState only)

Description

This API function runs the IPSM from StartState to EndState for the tile as requested through Tile_Id. If -1 is passed as Tile_Id, the function runs for all the enabled tiles. Existing register settings are lost or altered if StartState is XRFDC_STATE_OFF.

Return Value

XRFDC_SUCCESS

XRFDC_FAILURE