-
Notifications
You must be signed in to change notification settings - Fork 89
Home
Benjamin Vernoux edited this page Mar 2, 2024
·
6 revisions
See Troubleshooting Wiki if you have any issue with AirSpy or host tools.
airspy_calibrate
help
Specify either read or write option.
Usage:
-r: Read and display calibration data.
-w <calibration in ppb>: Erase and Write calibration in ppb.
See code https://github.com/airspy/airspyone_host/blob/master/airspy-tools/src/airspy_calibrate.c
ppb = ((actual_freq_MHz - observed_freq_MHz) / actual_freq_MHz) * 1e9
The airspy_calibrate
tool will erase previous calibration and write the new one with your provided ppb value (+ or - accepted of course)
Actual Frequency 1544.500MHz vs Observed Frequency 1544.503 MHz
((1544.500-1544.503)/1544.500)*1e9 = -1942 ppb
- To be sure of your new correction you shall first erase calibration using 0 ppb with
airspy_calibrate -w 0
- PowerOff / PowerON AirSpy (as Calibration is read/applied during boot)
- Do the measurement with your tool and check the Frequency vs Frequency Expected like you have done then do again the computation (using https://www.sitime.com/ppm-hz-calculator ...) to find ppm & ppb (the important is to use ppb rounded to nearest)
- Apply the new ppb computed (example -1942) with
airspy_calibrate -w -1942
- PowerOff / PowerON AirSpy (as Calibration is read/applied during boot)
- Check with your software all is fine now