Sample rate in LimeSuiteNG for Lime XTRX

Hi,

Thanks for the LimeSuiteNG development for Lime XTRX!

We are testing our board with different sample rates, and get a bit confused with the sampling rate.

In LimeSuiteNG/src/boards/LMS7002M_SDRDevice.cpp:936, the sampling rate range is fixed to be from 100 kHz to 61.44 MHz. But the description of the board is saying it can go up to 120 MHz.

So we are wondering what the proper way to set the sampling rate to be higher than 61.44 MHz is?

Thank you for your help!

1 Like

Tagging @VytautasB.

1 Like

That is general capabilities description, it’s not imposing a limit. You can set the XTRX sampling rate to 120MHz, but it is supported only in SISO mode.

2 Likes

Thank you for the answer @ricardas !

If we want to use a high sampling rate, do we need to change other configurations correspondingly?

For example, in the basicTX test, should we change arguments like oversample, samplesInPkt, etc?

1 Like

for a sample rate of 122.88 MHz, the oversample should be 1. And most likely the linkFormat should be set to DataFormat::I12.

the linkFormat has to be I12 if XTRX is connected to host using only Gen2 x1 PCIe lane.

2 Likes

Thanks @ricardas !

Now we can transmit and receive with a high sampling rate, it works well!