RFdc Driver API Commands - 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
2024-05-30
Version
2.6 English

The RFdc driver API can be used to get the interpolation rate set in the AMD Vivado™ IDE using the following code.

// Get Interpolation factor for Tile0, DUC Block1

int Tile = 0;
u32 Block = 1;
u32 Interpolation_Factor;
if( XRFdc_GetInterpolationFactor (ptr, Tile, Block, &Interpolation_Factor) == 
XST_SUCCESS) {
 xil_printf("DAC Tile%1d,%1d Interpolation Factor is: %d", Tile, Block, 
Interpolation_Factor);
}