1627 Commits

Author SHA1 Message Date
Dominic Spill
1511268e7b Merge pull request #270 from pothosware/master
hackrf_transfer - cast with uint32_t
2016-07-21 07:15:15 +01:00
Josh Blum
cccde1b431 hackrf_transfer - cast with uint32_t
The compiler (MSVC 2013) didnt have the uint typedef,
switched to using uint32_t which is the type of sample_rate_hz.
2016-07-20 17:37:35 -07:00
Michael Ossmann
ab58c3c29c Merge pull request #261 from rgerganov/std-in-out
Add support for transmitting/receiving from stdin/stdout
2016-07-20 15:20:15 -06:00
Dominic Spill
be2f3ea04a Merge branch 'uhwsin-uhwsin-hackrf_transfer_crystal_correct-1' into mossmann-master 2016-07-20 22:03:13 +01:00
Dominic Spill
1c34b19fb3 Merge uhwsin PPM correction changes 2016-07-20 22:00:49 +01:00
Michael Ossmann
0eb3e89e5a Merge pull request #266 from miek/bom
Re-generate BOM using mossmann's kicad-bom-scripts
2016-07-20 12:03:43 -06:00
Michael Ossmann
fa2149d3ed Merge pull request #268 from dominicgs/WCID
Add WCID descriptors
2016-07-19 12:07:05 -06:00
Dominic Spill
5138486b1b Add Windows Compatible ID descriptors 2016-07-17 22:20:32 +01:00
Dominic Spill
23c44b1d6e Remove unused USB configuration for CPLD update 2016-07-13 14:38:34 +01:00
Dominic Spill
20c9bc54ae Merge pull request #264 from dodgymike/master
Added flags + code to hackrf_si5351c program, to open device by index or serial number
2016-07-08 11:04:30 +01:00
Mike Walters
92e015f4e5 Re-generate BOM using mossmann's kicad-bom-scripts
Fixes issues with quoting that were making GitHub unhappy
Groups items by part for easier ordering

Fixes #265 and #262
2016-07-07 15:10:32 +01:00
Michael Ossmann
5538927d19 transferred trademark from Michael Ossmann to Great Scott Gadgets 2016-06-26 09:53:43 -06:00
Mike Davis
c1d1a483aa Added flags + code to open device by index or serial number 2016-06-21 14:15:16 +02:00
Dominic Spill
7229c4b99a Update HackRF One photo size 2016-06-01 10:51:34 -06:00
Dominic Spill
978fd500c2 Update HackRF photo 2016-06-01 09:42:54 -06:00
Dominic Spill
0e0119394d Fix sign comparison warnings 2016-05-30 18:55:04 -06:00
Radoslav Gerganov
51419b7efc Add support for transmitting/receiving from stdin/stdout
When '-' is used for filename, write samples to stdout when receiving or
read samples from stdin when transmitting. This allows using
hackrf_transfer in shell pipes with tools like csdr.
User info messages are written to stderr.
2016-05-29 13:41:34 +03:00
Dominic Spill
04687dce50 Add Travis CI configuration 2016-05-26 17:13:41 -06:00
Michael Ossmann
66e9a4cdc4 fixed label in stackup documentation 2016-05-17 18:13:57 -06:00
Michael Ossmann
4bee6b87c4 updated toolchain URL 2016-05-17 18:13:30 -06:00
Michael Ossmann
93b66f1478 LNA915 updates 2016-02-22 09:51:53 -07:00
Dominic Spill
3f4d1a44e7 Apply C89 patch from guruofquality to support older compilers 2016-01-26 08:16:25 +00:00
Dominic Spill
b278f059d0 Merge pull request #224 from schneider42/fix-hackrf-disabled-unused-clocks
fix(hackrf-core): Disable unused clock outputs
2016-01-22 18:24:08 +00:00
Dominic Spill
0418d13e72 Add dummy byte for w25q80bv fast read command timing 2016-01-18 19:42:13 +00:00
Dominic Spill
6522caa2ce Merge "abstract buses" and "fix sgpio example to work with signed samples" 2016-01-16 10:40:22 +00:00
Dominic Spill
75dfc5c2cb Merge branch 'sgpio_rx_samples_signed' of https://github.com/jboone/hackrf into jboone-sgpio_rx_samples_signed 2016-01-16 10:37:43 +00:00
Dominic Spill
eec30d817b Merge pull request #229 from dominicgs/dfu_build_fix
Support both commonly available versions of dfu-util (0.7/0.8)
2016-01-14 18:22:21 +00:00
Dominic Spill
7f41ab4d20 Merge pull request #218 from dominicgs/spiflash_length_default
Default SPI flash read length to size of SPI flash
2016-01-14 18:22:10 +00:00
Dominic Spill
57ee59ceea Add error handling to hackrf_trasfer argument parsing 2016-01-14 17:33:00 +00:00
Dominic Spill
327e08a16c Merge pull request #191 from ckuethe/friendlier_rates
allow user to specify frequencies in scientific notation
2016-01-13 23:01:04 +00:00
Dominic Spill
eea2e60eaa Merge pull request #233 from mossmann/jboone-abstract_buses
Abstract buses
2016-01-13 20:45:28 +00:00
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
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
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
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
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