ADC sampling rate

  • PYNQ version : v3.0.1
  • Board name : rfsoc4*2
    Is there a subroutine in Python to change the ADC sampling rate, or can it only be modified in Vivado

You can use PYNQ’s xrfdc driver to change the sampling rate. An example of how to set this can be found here.

However, the sample rate of the RF-DCs is directly related to the clock frequency driving the RF-DC, as well as other factors (decimation/interpolation rate etc.). If you want to change the sample rate you’ll need to make sure to shutdown the appropriate tile and update these as well.

I’d recommend reading PG269 or referring to the RFSoC Book for more information.