Hello, I think I figured out what is wrong. It starts from the fact that ‘rfnoc_radio_loopback‘ example doesn’t change the decimation in the ‘DDC’ no matter what rate is selected. This is because ‘rate‘ parameter is applied to ‘Radio‘ RFNoC block. In the end the sample rate of the stream at the input of the ‘Gain‘ block is equal to ‘master_clock_rate’ (245.76MHz by default for X410).
However the ‘Gain‘ block uses ‘rfnoc_chdr‘ clock rate (200MHz for X410) both for control and the data. Taking into account that the ‘Gain’ clock processes one sample per clock cycle it is not able keep up with the input stream rate. A workaround was to increase the decimation by setting proper rate with use of ‘set_output_rate’ function of DDC controller. After that the ‘Gain’ block started to work as expected. However I need a ‘Gain’ block that is able to process samples coming with the maximum rate (without decimation). For this I’m trying to change the data clock to ‘ce’ (266.6(6) MHz for X410 AFAIK). I changed it to mimic i.e. what I ‘Moving_avg‘ has (so I changed ‘‘gain.yml’, ‘rfnoc_block_gain.v‘ and ‘noc_shell_gain.v’). But it doesn’t work yet. So the question is: how to change the ‘Gain’ block so that it uses ‘ce’ clock instead of ‘rfnoc_chdr‘?\ \ Best Regards,\ Piotr Krysik
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com