AnsweredAssumed Answered

Chang sample rate from 50MHz to 2.1 MHz takes about 1.6 seconds, Is this normal?

Question asked by jgm on Mar 26, 2018
Latest reply on Apr 4, 2018 by mhennerich

I tried to change the sample rate from 50M to 2.1 M and it took around 1.6 seconds. If I do 50M to like 40M it takes around 60  milli seconds. Is this normal behavior?

 

# ./ad9361_sample_rate.sh 50000000 2100000
It took 1598 mseconds to change the sampling frequency from 50000000 to 2100000 ...
# ./ad9361_sample_rate.sh 50000000 2100000
It took 1594 mseconds to change the sampling frequency from 50000000 to 2100000 ...
# ./ad9361_sample_rate.sh 50000000 40000000
It took 64 mseconds to change the sampling frequency from 50000000 to 40000000 ...

 

Im using the kernel driver for the ad9361 , the Ref clock going into the part is an external clock of 50MHz.

Outcomes