Hey, I’m using the CW Lite to supply a 32MHz signal clock to a device, but the values I’m getting for the sampling rate seem odd, as the max sampling rate for the CW Lite is said to be 105MHz.
Anyone has any idea what the problem might be?
I’m able to acquire traces using the CW Lite with this config, but can’t understand why the adc_freq exceed 105MHz.
Hi, thank you for your prompt response!
I’ll try to run the scope.clock.reset_adc().
For the clkgen_freq=32MHz should the adc_freq be automatically set to the max 105MHz?
scope.clock.clkgen_freq = 32e6 causes CW to generate an internal 32 MHz clock. This clock can be provided to the target if you set e.g. scope.io.hs2 = 'clkgen'.
scope.clock.adc_src = “clkgen_x1” means take that internal clock, multiply it by 1 (the other option being to multiply it by 4, by setting it to clkgen_x4), and use that as the ADC sampling clock. So, scope.clock.adc_freq would be 32e6.