Refresh quick tune

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
nils
Posts: 1
Joined: Thu Mar 02, 2023 12:59 am

Refresh quick tune

Post by nils »

Hi,

I am writing a program, that sweeps over a range of frequencies many times a second and uses quick tune parameters to lower the tuning times. In the documentation it says:
Note
These parameters are sensitive to changes in the operating environment, and should be "refreshed" if planning to use the "quick retune" functionality over a long period of time.
To refresh the parameters i tried calling bladerf_get_quick_tune() again, but after some time I get this error:

[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1417] Reached maximum number of RX quick tune profiles.

Is there a different way to refresh the quicktune parameters?
MutluAYDIN
Posts: 2
Joined: Tue Dec 21, 2021 4:52 am

Re: Refresh quick tune

Post by MutluAYDIN »

Hi,

NUM_BBP_FASTLOCK_PROFILES can be 256 at most according to documentation.

In that post (viewtopic.php?f=16&t=9761 ), it was asked if it could be increased further. There is no answer.

But I think it's enough for most application. For example,

40 MHz * 256 = 10,240 GHz
30 MHz * 256 = 7,680 GHz

For BladeRF Micro 2.0:
6000 MHz - 47 MHz = 5,953 MHz
5,953 MHz / 256 = ~23.254 MHz

It can easily cover the entire frequency band.
flangedislike
Posts: 3
Joined: Wed Jan 24, 2024 12:07 am

Re: Refresh quick tune

Post by flangedislike »

Thank you for the advice, it has beenphrazle resolved.
Post Reply