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

CalibrateSDR with HackRF #17

Open
apppie123 opened this issue Apr 7, 2023 · 0 comments
Open

CalibrateSDR with HackRF #17

apppie123 opened this issue Apr 7, 2023 · 0 comments

Comments

@apppie123
Copy link

I'm trying to resolve an intermitted issue with my HackRF device so I thought about trying to find the crystal accuracy and if my cheap chinese 0.1ppm external crystal might have drifted.

To record data from the HackRF I'm using:
hackrf_transfer -r test.iq -f 220352000 -s 2048000
call hackrf_set_sample_rate(2048000 Hz/2.048 MHz)
call hackrf_set_hw_sync_mode(0)
call hackrf_set_freq(220352000 Hz/220.352 MHz)

I let it run for about 30 seconds.

Then I run CalibrateSDR:
python3 cali.py -f test.iq -rs 2048000 -v
{'f': 'test.iq', 'm': 'dab', 's': 'rtlsdr', 'c': 'all', 'rs': 2048000, 'rg': 20, 'rd': 0, 'nsec': 10, 'graph': False, 'verbose': True}
let's find your SDR's oscillator precision
loading file...
starting mode: dab
your sdr's precision is None ppm

However I'm getting a response of "None". What could be the issue?

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

1 participant