Available sample rates for USRP2

When I use uhd_fft.py -s 8M -f …

It reported that

UHD Warning:

The hardware does not support the requested RX sample rate:

Target sample rate: 8.000000 MSps

Actual sample rate: 7.692308 MSps

I am wondering how the actual rate 7.692308M is determined?

Is there any formula that I can use to ascertain that a given sample
rate is
available on USRP2?

Thanks

KZ

On Tue, Oct 25, 2011 at 6:18 PM, Kyle Z. [email protected] wrote:

Actual sample rate: 7.692308 MSps

I am wondering how the actual rate 7.692308M is determined?

Is there any formula that I can use to ascertain that a given sample rate is
available on USRP2?

100Msps / x, where x is an integer (in your case, 13).

–n

On 10/25/2011 06:18 PM, Kyle Z. wrote:

Actual sample rate: 7.692308 MSps

I am wondering how the actual rate 7.692308M is determined?

Is there any formula that I can use to ascertain that a given sample rate is
available on USRP2?

Only integer divisor rates of the master clock is possible. In this case
100Mhz/decimation = sample rate.

Querying the possible sample rates will be part of my next API revision.

-Josh