Peter
d41704a48e
Update hackrf_transfer.c
2016-01-13 22:24:18 +08:00
Peter
fed60c571c
Update hackrf_transfer.c
...
Intro:
Some of the Hackrf board use a bad performance crystal, it will cause some program can't work---such as GNSS(GPS) simulation. Most GPS receiver can capture the satellite
when the doppler within 10KHz, but 10ppm bias of the crystal will cause 15Khz doppler. And my hackrf board uses a 16ppm crystal :( normal
Of course, I can replace the crystal or use a external clock. But for most people, add a ppm correct function to hackrf_transfer is useful.
How to use:
1, measure your crystal's error
You can use a precision counter to measure it.
Connect the hackrf's "clock out" to the counter, get the frequency Fh, then ,
ppm = (Fh - 10000000)/10
You can use a standard clock source such as OCXO, TCXO, or Atom Clock, and a counter
to measure the crystal error too.
2, add an argument "-C ppm " when you use hackrf_transfer.
Eg. , your crystal error is -8ppm ( In other words , your clock is slower than the standard clock), then you should add "-C -8" follow the hackrf_transfer command.
Hope you can understand my poor English:)
--------------------------
Thanks to Michael Ossmann;
Thanks to Jared Boone ;
Thanks to Benjamin Vernoux ;
Thanks to GPL.
2016-01-13 22:12:42 +08:00
Tobias Schneider
bdb762f023
feat(max2871): Implement mixer_enable and mixer_disable
2015-12-26 16:19:58 +01:00
Tobias Schneider
98af0a9340
fix(hackrf-usb): Remove unneeded rad1o patch, not reading the serial number
2015-12-21 01:22:01 +01:00
Dominic Spill
87f59de104
Merge "abstract buses" changes with "fix SPI flash read"
2015-12-20 15:28:29 +00:00
Dominic Spill
b985d9c899
Merge branch 'abstract_buses' of https://github.com/jboone/hackrf into jboone-abstract_buses
2015-12-18 12:24:43 +00:00
Dominic Spill
90bc36c9da
Support both commonly available versions of dfu-util (0.7/0.8)
2015-12-17 19:09:29 +00:00
Tobias Schneider
d7c162902c
fix(hackrf-ui): Make the calls weak
2015-12-09 22:26:16 +01:00
Tobias Schneider
c6e7490397
Merge remote-tracking branch 'mossmann/master' into rad1o
...
Conflicts:
host/misc/udev/53-hackrf.rules.in
host/python/max2837_dump.py
host/python/set_transceiver_mode.py
2015-12-07 21:05:39 +01:00
Dominic Spill
fa6f29d742
Merge pull request #222 from skoslowski/c90_warning
...
Comment style fixup to prevent warning in c90 complier mode
2015-12-07 15:11:10 +07:00
Dominic Spill
c28ec603d1
Merge pull request #212 from pcfe/rad1o-USB-idProduct
...
rad1o USB idProduct cleanups
2015-12-07 14:42:37 +07:00
Tobias Schneider
86b424d9d3
feat(hackrf): Callbacks for a possible UI
2015-12-07 00:29:33 +01:00
Tobias Schneider
9e827b56be
hack(rad1o): Lower noise configuration
2015-12-05 23:46:59 +01:00
Tobias Schneider
4ba474807f
Merge remote-tracking branch 'upstream/rad1o' into rad1o
2015-11-30 00:24:20 +01:00
Tobias Schneider
9a45248829
fix(max2871.c): Switch to a 50 MHz PFD for better performance
2015-11-30 00:23:55 +01:00
Tobias Schneider
84d800eaeb
fix(hackrf-core): Disable unused clock outputs
...
They generate noise and are most likely not used
2015-11-14 21:35:39 +01:00
Sebastian Koslowski
e480a28c0a
Comment style fixup to prevent warning in c90 complier mode
2015-10-27 20:16:43 +01:00
schneider42
a15a4d6592
Merge pull request #10 from neeels/rad1o
...
host/misc/udev: fix CC15 to cc15 in udev rule.
2015-10-04 23:09:25 +02:00
Neels Hofmeyr
19d03d62ae
host/misc/udev: fix CC15 to cc15 in udev rule.
...
Capital letters don't work (tested on debian linux).
2015-10-04 21:41:45 +02:00
Dominic Spill
a062596819
Default SPI flash read length to size of SPI flash
...
Fixes #214
2015-09-09 12:08:28 +01:00
Dominic Spill
f83fc14951
Merge pull request #215 from jboone/spiflash_read_fix
...
hackrf_spiflash read fix
2015-09-09 11:38:55 +01:00
Jared Boone
2022cc6351
Only perform W25Q80BV setup once, at startup.
...
hackrf_usb firmware does not run from SPI flash once the ROM bootloader is done. Simplify assumptions by initializing SPI flash once, early. Do not initialize it every 256 bytes that are read from or written to the device.
2015-08-28 13:03:40 -07:00
Jared Boone
a4e447cb9e
Use W25Q80BV read function to retrieve SPI flash contents.
2015-08-28 12:50:07 -07:00
Jared Boone
7c98d3e14b
Add W25Q80BV function to fast-read from device.
2015-08-28 12:48:05 -07:00
Patrick C. F. Ernzer
f5a3692a66
rad1o USB idProduct cleanups
...
- udev rule should be lowercase (https://github.com/rad1o/f1rmware/pull/29 )
- add entries for rad1o storage from https://github.com/rad1o/f1rmware/blob/master/smartflash/90-rad1o-flash.rules
- Rad1o -> rad1o
- hackrf.h was NOT adjusted to lowercase cc15
2015-08-25 12:13:47 +02:00
Jared Boone
83d79be584
Push rf_path_set_direction() calls into test functions.
...
The tx_test() is now put into TX mode.
2015-08-24 10:20:57 -07:00
Jared Boone
f128a15117
Reduce mag^2 threshold a bit.
2015-08-17 11:15:58 -07:00
Jared Boone
149cd4effc
Configure SGPIO slice mode early.
2015-08-17 11:15:40 -07:00
Jared Boone
69db61c5c1
Remove extra SGPIO API calls.
...
Functions are now performed in rf_path_set_direction().
2015-08-17 11:14:55 -07:00
Jared Boone
adbc5a6f26
Fix calculation of mag^2.
2015-08-17 11:14:14 -07:00
Jared Boone
f2c0531bc2
Change frequency to center of 2.4GHz ISM.
2015-08-17 11:12:52 -07:00
Jared Boone
6f9e7fdab8
Adapt code to signed samples.
...
Necessary due to change in CPLD to produce signed samples.
2015-08-15 10:03:12 -07:00
Tobias Schneider
e612dfd8bf
fix(usb): Use new USB PID: 0xCC15
2015-08-11 11:19:58 +02:00
Tobias Schneider
dfbbbfb956
Merge remote-tracking branch 'upstream/rad1o' into rad1o
2015-08-11 11:08:08 +02:00
Tobias Schneider
5ce0cc853b
hack(tuning): Fix IF to 2.35 GHz
2015-08-11 11:03:37 +02:00
Stefan `Sec` Zehl
a5d234ded7
do not build host-tools by default anymore
2015-08-11 00:26:41 +02:00
Stefan `Sec` Zehl
6afe674de5
No longer copy the bin around
2015-08-11 00:10:17 +02:00
Stefan `Sec` Zehl
b9f702da8f
Simple "build all" toplevel Makefile
2015-07-30 01:32:26 +02:00
Stefan `Sec` Zehl
abab6b154a
Deal with the bigger flash we have on rad1o
2015-07-30 00:06:55 +02:00
Stefan `Sec` Zehl
62799d4158
HACK: wait until si5351 is powered up
2015-07-28 02:51:52 +02:00
Tobias Schneider
60b3ef3112
fix(sgpio): Fix rad1o HW bug which inverts RX Q
...
As it is only inverted in the RX path (in respect to the HackRF) we need
to distinguish between RX/TX and inverted and not inverted.
2015-07-27 11:30:52 +02:00
Tobias Schneider
dfa12fe169
fix(hackrf-core): Give rad1o its own clock configuration section
...
The old one was broken for the HackRF by
14e23f7f83fed366ddf0d25da92e43118cdbf87c
2015-07-27 09:38:58 +02:00
Tobias Schneider
9f142e3356
fix(hackrf-core): Add LED4 for rad1o
2015-07-27 09:28:56 +02:00
Tobias Schneider
1f38354416
fix(hackrf-core): Disable unused clock outputs
...
They generate noise and are most likely not used
2015-07-27 09:25:18 +02:00
Tobias Schneider
5bd5085cf1
fix(hackrf-core): Disable unused clock source to the MCU
...
It is not used and creates noise.
2015-07-27 09:22:18 +02:00
Tobias Schneider
cbf2185edc
fix(rf-path): Remove misplaced RX/TX switching
...
The LNA bypass sections were configuring the RX/TX path again. That was
redundant and prevented RX without the LNA.
2015-07-27 09:16:38 +02:00
Dominic Spill
90e1653613
Update build instructions to include pkg-config
2015-07-25 09:45:50 +01:00
Dominic Spill
499c8bc09e
Update build instructions to include pkg-config
2015-07-25 09:42:47 +01:00
Michael Ossmann
dd6c8ae045
Merge pull request #202 from dominicgs/cmake-fix
...
Move udev rule to libhackrf/
2015-07-24 09:54:23 -06:00
Dominic Spill
059c1cc2a7
Move udev rule to libhackrf/
2015-07-24 16:50:43 +01:00