Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bladerf_schedule_retune behaves incorrectly! #1000

Open
GvozdevLeonid opened this issue Feb 7, 2025 · 2 comments
Open

bladerf_schedule_retune behaves incorrectly! #1000

GvozdevLeonid opened this issue Feb 7, 2025 · 2 comments

Comments

@GvozdevLeonid
Copy link

GvozdevLeonid commented Feb 7, 2025

For some reason I can only switch really fast between 8 frequencies. If I add 9 frequencies and more, the switching time becomes very long and I can't accurately predict the time to get samples.

Here are the logs for 9 frequency switches:

 create tune:70.0 real:100.0 device:100.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 0
 create tune:130.0 real:160.0 device:160.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 1
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 1
 create tune:190.0 real:220.0 device:219.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 2
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 2
 create tune:250.0 real:280.0 device:279.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 3
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 3
 create tune:310.0 real:340.0 device:339.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 4
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 4
 create tune:370.0 real:400.0 device:400.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 5
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 5
 create tune:430.0 real:460.0 device:459.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 6
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 6
 create tune:490.0 real:520.0 device:520.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 7
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 7
 create tune:550.0 real:580.0 device:579.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 8
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 0
 Sweeping from 70.0 MHz to 610.0 MHz
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:429] nios_config_read: Read 0x00010001
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:440] nios_config_write: Wrote 0x00010001
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/common.c:353] check_total_sample_rate: active_channels=1, rate_accum=60000000, maximum=80000000
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:502] nios_get_timestamp: Read RX timestamp: 846905
 setup tune:70.0 time_start:9846905
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=9846905 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 58852
 setup tune:130.0 time_start:11048021
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=11048021 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 1090
 setup tune:190.0 time_start:12249137
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=12249137 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 1452
 setup tune:250.0 time_start:13450253
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=13450253 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 1817
 setup tune:310.0 time_start:14651369
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=14651369 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2182
 setup tune:370.0 time_start:15852485
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=15852485 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2549
 setup tune:430.0 time_start:17053601
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=17053601 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2916
 setup tune:490.0 time_start:18254717
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=18254717 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3287
 setup tune:550.0 time_start:19455833
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=19455833 nios_profile=8 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 61491
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:466] sync_rx: Worker is idle. Going to reset buf mgmt.
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:486] sync_rx: Reset buf_mgmt consumer index
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:501] sync_rx: Worker is now running.
 get samples:70.0 time_at:10446905
 setup tune:70.0 time_start:20656949
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=20656949 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3407
 get samples:130.0 time_at:11648021
 setup tune:130.0 time_start:21858065
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=21858065 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3406
 get samples:190.0 time_at:12849137
 setup tune:190.0 time_start:23059181
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=23059181 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3404
 get samples:250.0 time_at:14050253
 setup tune:250.0 time_start:24260297
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=24260297 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3403
 get samples:310.0 time_at:15251369
 setup tune:310.0 time_start:25461413
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=25461413 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3401
 get samples:370.0 time_at:16452485
 setup tune:370.0 time_start:26662529
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=26662529 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3400
 get samples:430.0 time_at:17653601
 setup tune:430.0 time_start:27863645
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=27863645 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3398
 get samples:490.0 time_at:18854717
 setup tune:490.0 time_start:29064761
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=29064761 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 61491
 get samples:550.0 time_at:20055833
 setup tune:550.0 time_start:30265877
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=30265877 nios_profile=8 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 61491
 get samples:70.0 time_at:21256949
 setup tune:70.0 time_start:31466993
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=31466993 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3407
 get samples:130.0 time_at:22458065
 setup tune:130.0 time_start:32668109
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=32668109 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3406
 get samples:190.0 time_at:23659181
 setup tune:190.0 time_start:33869225
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=33869225 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3404
 get samples:250.0 time_at:24860297
 setup tune:250.0 time_start:35070341
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=35070341 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3403
 get samples:310.0 time_at:26061413
 setup tune:310.0 time_start:36271457
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=36271457 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3401
 get samples:370.0 time_at:27262529
 setup tune:370.0 time_start:37472573
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=37472573 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3400
 get samples:430.0 time_at:28463645
 setup tune:430.0 time_start:38673689
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=38673689 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3398
 get samples:490.0 time_at:29664761
 setup tune:490.0 time_start:39874805
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=39874805 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2926
 get samples:550.0 time_at:30865877
 setup tune:550.0 time_start:41075921
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=41075921 nios_profile=8 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 60768
 get samples:70.0 time_at:32066993
 setup tune:70.0 time_start:42277037
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=42277037 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3045
 get samples:130.0 time_at:33268109
 setup tune:130.0 time_start:43478153
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=43478153 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3406
 get samples:190.0 time_at:34469225
 setup tune:190.0 time_start:44679269
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=44679269 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3404
 get samples:250.0 time_at:35670341
 setup tune:250.0 time_start:45880385
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=45880385 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3403
 get samples:310.0 time_at:36871457
 setup tune:310.0 time_start:47081501
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=47081501 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3402
 get samples:370.0 time_at:38072573
 setup tune:370.0 time_start:48282617
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=48282617 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3400
 get samples:430.0 time_at:39273689
 setup tune:430.0 time_start:49483733
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=49483733 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3398
 get samples:490.0 time_at:40474805
 setup tune:490.0 time_start:50684849
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=50684849 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 61491
 get samples:550.0 time_at:41675921
 setup tune:550.0 time_start:51885965
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=51885965 nios_profile=8 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 61491
 get samples:70.0 time_at:42877037
 setup tune:70.0 time_start:53087081
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=53087081 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3407
 get samples:130.0 time_at:44078153
 setup tune:130.0 time_start:54288197
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=54288197 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3406
 get samples:190.0 time_at:45279269
 setup tune:190.0 time_start:55489313
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=55489313 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3405
 get samples:250.0 time_at:46480385
 setup tune:250.0 time_start:56690429
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=56690429 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3403
 get samples:310.0 time_at:47681501
 setup tune:310.0 time_start:57891545
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=57891545 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3402
 get samples:370.0 time_at:48882617
 setup tune:370.0 time_start:59092661
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=59092661 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3400
 get samples:430.0 time_at:50083733
 setup tune:430.0 time_start:60293777
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=60293777 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3398
 get samples:490.0 time_at:51284849
 setup tune:490.0 time_start:61494893
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=61494893 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 61491
 get samples:550.0 time_at:52485965
 setup tune:550.0 time_start:62696009
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=62696009 nios_profile=8 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 61491

And here is a really fast switching but with 8 frequency switches

 create tune:70.0 real:100.0 device:100.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 0
 create tune:130.0 real:160.0 device:160.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 1
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 1
 create tune:190.0 real:220.0 device:219.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 2
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 2
 create tune:250.0 real:280.0 device:279.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 3
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 3
 create tune:310.0 real:340.0 device:339.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 4
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 4
 create tune:370.0 real:400.0 device:400.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 5
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 5
 create tune:430.0 real:460.0 device:459.999998
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 6
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 6
 create tune:490.0 real:520.0 device:520.0
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1450] Quick tune assigned Nios RX fast lock index: 7
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:1454] Quick tune assigned RFFE RX fast lock index: 7
 Sweeping from 70.0 MHz to 550.0 MHz
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:429] nios_config_read: Read 0x00010001
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:440] nios_config_write: Wrote 0x00010001
[VERBOSE @ host/libraries/libbladeRF/src/board/bladerf2/common.c:353] check_total_sample_rate: active_channels=1, rate_accum=60000000, maximum=80000000
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:502] nios_get_timestamp: Read RX timestamp: 202424
 setup tune:70.0 time_start:9202424
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=9202424 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 1007
 setup tune:130.0 time_start:10403676
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=10403676 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 1091
 setup tune:190.0 time_start:11604928
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=11604928 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 1453
 setup tune:250.0 time_start:12806180
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=12806180 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 1816
 setup tune:310.0 time_start:14007432
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=14007432 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2182
 setup tune:370.0 time_start:15208684
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=15208684 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2548
 setup tune:430.0 time_start:16409936
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=16409936 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2916
 setup tune:490.0 time_start:17611188
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=17611188 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3286
 setup tune:70.0 time_start:18812440
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=18812440 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:466] sync_rx: Worker is idle. Going to reset buf mgmt.
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:486] sync_rx: Reset buf_mgmt consumer index
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync.c:501] sync_rx: Worker is now running.
 get samples:70.0 time_at:9802424
 setup tune:130.0 time_start:20013692
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=20013692 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:130.0 time_at:11003676
 setup tune:190.0 time_start:21214944
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=21214944 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:12204928
 setup tune:250.0 time_start:22416196
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=22416196 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:250.0 time_at:13406180
 setup tune:310.0 time_start:23617448
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=23617448 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:310.0 time_at:14607432
 setup tune:370.0 time_start:24818700
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=24818700 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:370.0 time_at:15808684
 setup tune:430.0 time_start:26019952
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=26019952 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:430.0 time_at:17009936
 setup tune:490.0 time_start:27221204
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=27221204 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:490.0 time_at:18211188
 setup tune:70.0 time_start:28422456
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=28422456 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:19412440
 setup tune:130.0 time_start:29623708
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=29623708 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:130.0 time_at:20613692
 setup tune:190.0 time_start:30824960
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=30824960 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:21814944
 setup tune:250.0 time_start:32026212
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=32026212 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3280
 get samples:250.0 time_at:23016196
 setup tune:310.0 time_start:33227464
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=33227464 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:310.0 time_at:24217448
 setup tune:370.0 time_start:34428716
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=34428716 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:370.0 time_at:25418700
 setup tune:430.0 time_start:35629968
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=35629968 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:430.0 time_at:26619952
 setup tune:490.0 time_start:36831220
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=36831220 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:490.0 time_at:27821204
 setup tune:70.0 time_start:38032472
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=38032472 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:29022456
 setup tune:130.0 time_start:39233724
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=39233724 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:130.0 time_at:30223708
 setup tune:190.0 time_start:40434976
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=40434976 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:31424960
 setup tune:250.0 time_start:41636228
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=41636228 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:250.0 time_at:32626212
 setup tune:310.0 time_start:42837480
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=42837480 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:310.0 time_at:33827464
 setup tune:370.0 time_start:44038732
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=44038732 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:370.0 time_at:35028716
 setup tune:430.0 time_start:45239984
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=45239984 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:430.0 time_at:36229968
 setup tune:490.0 time_start:46441236
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=46441236 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:490.0 time_at:37431220
 setup tune:70.0 time_start:47642488
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=47642488 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:38632472
 setup tune:130.0 time_start:48843740
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=48843740 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:130.0 time_at:39833724
 setup tune:190.0 time_start:50044992
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=50044992 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:190.0 time_at:41034976
 setup tune:250.0 time_start:51246244
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=51246244 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:250.0 time_at:42236228
 setup tune:310.0 time_start:52447496
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=52447496 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:310.0 time_at:43437480
 setup tune:370.0 time_start:53648748
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=53648748 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:370.0 time_at:44638732
 setup tune:430.0 time_start:54850000
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=54850000 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:430.0 time_at:45839984
 setup tune:490.0 time_start:56051252
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=56051252 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2926
 get samples:490.0 time_at:47041236
 setup tune:70.0 time_start:57252504
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=57252504 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 2922
 get samples:70.0 time_at:48242488
 setup tune:130.0 time_start:58453756
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=58453756 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3284
 get samples:130.0 time_at:49443740
 setup tune:190.0 time_start:59655008
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=59655008 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:50644992
 setup tune:250.0 time_start:60856260
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=60856260 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:250.0 time_at:51846244
 setup tune:310.0 time_start:62057512
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=62057512 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:310.0 time_at:53047496
 setup tune:370.0 time_start:63258764
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=63258764 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:370.0 time_at:54248748
 setup tune:430.0 time_start:64460016
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=64460016 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:430.0 time_at:55450000
 setup tune:490.0 time_start:65661268
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=65661268 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:490.0 time_at:56651252
 setup tune:70.0 time_start:66862520
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=66862520 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:57852504
 setup tune:130.0 time_start:68063772
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=68063772 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:130.0 time_at:59053756
 setup tune:190.0 time_start:69265024
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=69265024 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:60255008
 setup tune:250.0 time_start:70466276
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=70466276 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3281
 5 total sweeps completed, 4.91 sweeps/second
 get samples:250.0 time_at:61456260
 setup tune:310.0 time_start:71667528
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=71667528 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:310.0 time_at:62657512
 setup tune:370.0 time_start:72868780
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=72868780 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:370.0 time_at:63858764
 setup tune:430.0 time_start:74070032
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=74070032 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:430.0 time_at:65060016
 setup tune:490.0 time_start:75271284
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=75271284 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3645
 get samples:490.0 time_at:66261268
 setup tune:70.0 time_start:76472536
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=76472536 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:67462520
 setup tune:130.0 time_start:77673788
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=77673788 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:130.0 time_at:68663772
 setup tune:190.0 time_start:78875040
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=78875040 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:69865024
 setup tune:250.0 time_start:80076292
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=80076292 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3280
 get samples:250.0 time_at:71066276
 setup tune:310.0 time_start:81277544
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=81277544 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:310.0 time_at:72267528
 setup tune:370.0 time_start:82478796
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=82478796 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:370.0 time_at:73468780
 setup tune:430.0 time_start:83680048
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=83680048 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:430.0 time_at:74670032
 setup tune:490.0 time_start:84881300
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=84881300 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:490.0 time_at:75871284
 setup tune:70.0 time_start:86082552
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=86082552 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:77072536
 setup tune:130.0 time_start:87283804
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=87283804 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:130.0 time_at:78273788
 setup tune:190.0 time_start:88485056
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=88485056 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:79475040
 setup tune:250.0 time_start:89686308
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=89686308 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:250.0 time_at:80676292
 setup tune:310.0 time_start:90887560
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=90887560 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:310.0 time_at:81877544
 setup tune:370.0 time_start:92088812
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=92088812 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:370.0 time_at:83078796
 setup tune:430.0 time_start:93290064
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=93290064 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:430.0 time_at:84280048
 setup tune:490.0 time_start:94491316
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=94491316 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:490.0 time_at:85481300
 setup tune:70.0 time_start:95692568
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=95692568 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:86682552
 setup tune:130.0 time_start:96893820
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=96893820 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:130.0 time_at:87883804
 setup tune:190.0 time_start:98095072
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=98095072 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:89085056
 setup tune:250.0 time_start:99296324
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=99296324 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:250.0 time_at:90286308
 setup tune:310.0 time_start:100497576
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=100497576 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3279
 get samples:310.0 time_at:91487560
 setup tune:370.0 time_start:101698828
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=101698828 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3278
 get samples:370.0 time_at:92688812
 setup tune:430.0 time_start:102900080
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=102900080 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:430.0 time_at:93890064
 setup tune:490.0 time_start:104101332
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=104101332 nios_profile=7 rffe_profile=7
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:490.0 time_at:95091316
 setup tune:70.0 time_start:105302584
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=105302584 nios_profile=0 rffe_profile=0
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:70.0 time_at:96292568
 setup tune:130.0 time_start:106503836
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=106503836 nios_profile=1 rffe_profile=1
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:130.0 time_at:97493820
 setup tune:190.0 time_start:107705088
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=107705088 nios_profile=2 rffe_profile=2
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:190.0 time_at:98695072
 setup tune:250.0 time_start:108906340
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=108906340 nios_profile=3 rffe_profile=3
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:250.0 time_at:99896324
 setup tune:310.0 time_start:110107592
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=110107592 nios_profile=4 rffe_profile=4
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:310.0 time_at:101097576
 setup tune:370.0 time_start:111308844
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=111308844 nios_profile=5 rffe_profile=5
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
 get samples:370.0 time_at:102298828
 setup tune:430.0 time_start:112510096
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1180] nios_retune2: channel=RX1 timestamp=112510096 nios_profile=6 rffe_profile=6
                                port=0x8c spdt=0x0a
[VERBOSE @ host/libraries/libbladeRF/src/backend/usb/nios_access.c:1198] RX1 operation duration: 3646
@rthomp10
Copy link
Collaborator

The first 8 fastlock profiles are preloaded onto the AD9361. Subsequent profiles are stored in Nios memory. After the first 8 profiles are iterated through, the Nios core hot-loads the ones in Nios memory to the AD9361 which takes just under millisecond per profile.

@GvozdevLeonid
Copy link
Author

GvozdevLeonid commented Feb 12, 2025

@rthomp10
Can you tell me how loading from Nios works? As I understand, I can't set bladerf_schedule_retune for different quick_tune and different timestamp but with the same profile index, right? It seems like the new bladerf_schedule_retune overwrites the quick tuning profile in AD9361.

Also, according to my tests, switching takes from 5 to 6 milliseconds (my delay is calculated as
await_time = (sample_rate // 1000) * 6
For some reason, even if I call bladerf_schedule_retune much earlier, I still have to wait for these 6 milliseconds, although I expected that the switching time would be lower, since it seems that the data from quick_tune is written to the AD9361 immediately after calling bladerf_schedule_retune.

I implemented the sweep mode and noticed that with a delay of less than 6 milliseconds, I can get samples from the old frequency range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants