Martin Ling

Results 149 comments of Martin Ling

These gains are set by whatever software you're using. In `hackrf_transfer` and `hackrf_sweep` they are command line parameters. In GNU Radio you set them on the sink or source block...

Something odd is definitely happening there but it makes a bit more sense if you know how the sweep mode works. At each tuning step, we actually measure two 5MHz...

Interesting idea. Perhaps the approach in #1314 could be extended to control whether the LOs should be switched off when the transceiver is in OFF mode. The other approach, which...

To receive from four ports, taking four samples from each port, you can use: ```hackrf_operacake -m time -t A1 -t A2 -t A3 -t A4 -w 4``` The maximum switching...

Thanks for the report. As you note, this does look similar to some past issues, but you're running the latest code so there must still be something else going wrong.

> How precisely can I set the HackRF's sample rate? To the nearest MHz? Or to the nearest Hz? Or something in between? Something in between. The HackRF's Si5351 clock...

I wrote a quick script to check which values can be set exactly, and it looks like both 4,800,000 Hz and 14,318,180 Hz can be set exactly: ``` $ python...

`VCO_FREQ` is a `uint64_t`, not a `double`. There's no floating point involved in any of this, it's all integers. > If I select a sample rate that can only be...

The previous script was not quite right, although it was correct about the exact matches for 4.8MHz and 14.318180 MHz. Below is a corrected script, which displays all the results...

Vectorising the error calculation over all integer samplerates from 1 Hz to 20 MHz gives some interesting results: - The sample rate error is always positive. - The possible error...