Related 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
2023-10-18
Version
2.6 English

The RFdc driver API can be used to get the decimation rate set in the IP core using the following code.

// Get Decimation factor for Tile0, DDC Block1

int Tile = 0;
u32 Block = 1;
u32 Decimation_Factor;
if( XRFdc_GetDecimationFactor (ptr, Tile, Block, &DecimationFactor) == XST_SUCCESS)  {
 xil_printf("ADC Tile%1d,%1d Decimation Factor is: %d", Tile, Block, Decimation_Factor);
}