On 30/04/2024 03:20, Olo via USRP-users wrote:

Hi there,

I'm USRP B210 for a project. I'm trying to make a sweep spectrum analyzer that scans frequencies quickly. Currently, I'm tuning frequencies like this (which is I think the main issue):

tune_request = uhd.types.TuneRequest(self.steps[self.i], 1.0)
result = self.usrp_device.set_rx_freq(tune_request, self.rx_info.ch) I'm programming it in PyQt, and I've created a stream like this: self.stream_cmd_start = uhd.types.StreamCMD(uhd.types.StreamMode.num_done). (Because I've noticed that for a continuous stream, it takes eternity to retune.) Do you have any tips on how to do this faster? Any advice or code examples would be really helpful.

Thanks a lot,

Olo.


_______________________________________________
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-le...@lists.ettus.com
The synthesizer on the AD9361 is known to be relatively slow.  While UHD tries to optimize things for tunings that are within about
  100MHz of each other, you can see tune times as high as 100msec.

The AD9361 chip inside the B210 simply isn't optimized for rapid tuning -- at least the way UHD uses it.   The chip does have   a "cache" mechanism, where synthesizer register values and various gain and I/Q calibration values can be pre-stored, and   you "tune' using those registers.   The register cache isn't that large, AFAIR, but none of that is exposed in UHD.

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to