r/sdr • u/Complex_Solutions_20 • 19h ago
Airspy Mini - high failure rate?
(SOLVED)
I bought a few Airspy Mini SDRs from the "ITEAD" recommended store on Black Friday. They arrived but out of 4 of them only 1 seems to be working properly?
I'm at a loss, the same software, same cables, same antenna works fine on one of them but has poor sensitivity and can't decode digital P25 signals for the other three.
Symptoms include:
- Random USB disconnects
- Failing to decode signals
- Poor SNR when other SDRs indicate excellent SNR with the same cables/antennas
I'm having a hard time believing that I got this many DOA units from their official supplier, is there any way to do a proper diagnostic test before I give up entirely and attempt to get refunds for them all?
Solution:
I think I finally figured mine out! Seems they DIDN'T CALIBRATE THEM AT THE FACTORY!
I've now managed to bring all 4 of mine to working condition.
You'll need to use something that can scan known signals and then report the correct PPB offset value. I used the "LTE-Cell-Scanner" software which also works for RTL-SDR and a few others...you'll have to build it on your system. https://github.com/mmiller7/LTE-Cell-Scanner
That will give you the PPB offset value after it runs and scans a cell system:
$ src/CellSearch --airspy -s 751e6
LTE CellSearch (release) beginning. 1.0 to 1.1.0: An enhanced LTE Cell Scanner/tracker. Xianjun Jiao ([email protected])
PPM: 0
correction: 1
airspy_capture: (first) 751.000 MHz @ 6000000 S/s -> 751.000 MHz @ 1.92 MS/s, 3858760 samples
Airspy capture ready: /tmp/airspy_cellsearch_1656316.bin
Use file begin with 751MHz actual 751MHz 1.92e+06MHz
Search frequency: 751 to 751 MHz
with freq correction: 0 kHz
Search PSS at fo: -140 to 135 kHz
Examining center frequency 751 MHz ... try 0
PSS XCORR cost 1.40098s
Hit num peaks 1
try peak 0 tdd_flag 0
Detected a FDD cell! At freqeuncy 751MHz, try 0
cell ID: 14
PSS ID: 2
RX power level: -34.6021 dB
residual frequency offset: -65.8864 Hz
k_factor: 1
try peak 0 tdd_flag 1
Detected the following cells:
DPX:TDD/FDD; A: #antenna ports C: CP type ; P: PHICH duration ; PR: PHICH resource type
DPX CID A fc freq-offset RXPWR C nRB P PR CrystalCorrectionFactor
FDD 14 4 751M -65.9h -34.6 N 50 N one 0.99999991226839057834
PPM correction: +0.088 ppm PPB correction: +88 ppbThen you will need the airspy_calibrate utility. It didn't come with the Ubuntu airspy package so I had to get that off GitHub - https://github.com/airspy/airspyone_host
First, read the existing programmed calibration:
$ airspy_calibrate -r
Reading 12 bytes from 0x020000.
Calibration timestamp: 2106/02/07 01:28:15
Calibration correction in ppb: -1Notice mine reported a 2016 calibration date (same as firmware date) and "-1" value...that's not set!
Now compute your new value with the formula "old + correction = new"
So if you got PPB correction of -123 and old value of -1 it would be (-1)+(-123)=(-124). In my case above it was (-1)+(+88)=(87)
Then write it with airspy_calibrate -w new_value
Unplug/replug the SDR to reboot it with the new value and rerun the calibration - it should report a PPM of +/- 0.5 (the spec of the SDR) and now lock onto signals properly!
