670 Commits

Author SHA1 Message Date
Mike Davis
976c99c1ad Kind of working hardware sync 2016-12-10 21:42:20 +02:00
Mike Davis
3672f38b27 Experiments with gpio pins, for hardware sync 2016-12-10 18:47:38 +02:00
Mike Davis
242f73efb1 Added multiple device sync 2016-12-10 01:13:43 +02:00
Mike Davis
4a8e3d0d94 Merge branch 'master' into multi-device-hardware-sync 2016-12-09 23:39:20 +02:00
Mike Davis
c5e0cfef45 Merge remote-tracking branch 'remotes/origin/master' 2016-12-09 23:38:03 +02:00
Mike Davis
b57b32afa5 Start of sync flag 2016-12-09 23:36:46 +02:00
Dominic Spill
cec4f1a11d Update readme to reflect DFU changes 2016-10-27 12:47:26 -06:00
Dominic Spill
8ed9d91111 Build SPI flash and DFU versions of firmware every time 2016-10-01 13:50:05 +01:00
Mike Davis
03155691ae Merge branch 'mossmann-master' 2016-08-29 06:38:13 +02:00
Dominic Spill
2dffba9c47 Remove unude set_configuration() code for CPLD updates
- now handled under the default configuration
2016-07-21 13:50:14 +01:00
Dominic Spill
ea2f1a8921 Reduce configuration count to 1 2016-07-21 13:47:45 +01: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
Mike Davis
47ea4326e9 Used delay instead of equivalent code 2016-07-08 23:36:03 +02:00
Michael Ossmann
4bee6b87c4 updated toolchain URL 2016-05-17 18:13:30 -06: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
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
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
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
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
Michael Ossmann
af13e756d9 turn off RF amplifier at end of transmission, fixes bug #178 2015-07-08 16:37:49 -06:00
Dominic Spill
d3ce4779e9 Fix inconsistent indentation 2015-07-07 07:23:48 +01:00
Dominic Spill
ce9ad343e0 Fix issue #113 - CPLD update fails on Windows
Using the patch from @supersat
2015-07-06 21:25:01 +01:00
Heikki Hannikainen
35b9e0bea0 Create a #define/constant for the usb_descriptor_string_serial_number length.
Clean up a compilation warning, libusb headers do not like the 'const'.
2015-02-24 01:13:06 +02:00
Heikki Hannikainen
9e92adda79 Refactor obtaining LPC serial number and chip ID into separate API and header/source files. Remove from main().
Create a usb_set_descriptor_by_serial_number(), called before USB stack is started.
2015-02-24 01:12:49 +02:00
Jared Boone
9dbe967bf2 Serial number firmware and host-side changes. Very hacky at this point.
Among the TODOs:
* Refactor obtaining LPC serial number and chip ID into separate API and header/source files. Remove from main().
* Create a usb_set_serial_number_descriptor() or similar function to be called before USB stack is started.
* Ensure USB serial number descriptor is valid even if code forgets to initialize the serial number before the USB stack is started. May be as simple as providing default initializer for usb_descriptor_string_serial_number[].
* Create a #define/constant for the usb_descriptor_string_serial_number length.
* Identify what's causing intermittent crashes in hackrf_transfer when no serial number is specified. I'm probably misusing getopt.
* Permit serial number without leading zeros so you don't have to type as much.
* Add support for serial number argument in other hackrf_* tools.
* Provide libhackrf support for enumerating multiple HackRFs, so that hackrf_info can list all devices. May require an additional libhackrf function, outside of hackrf_open().

...and anything else that makes this less of a hack.
2015-02-23 19:23:31 +02:00
Michael Ossmann
4e98bc6b1b updated DFU make instructions 2014-12-03 14:58:53 -07:00
Michael Ossmann
017a80604a removed .svn directory that never should have been there 2014-12-03 14:01:35 -07:00
Jared Boone
5363ec3672 Use new GPIO API to abstract GPIO in various drivers.
Had to do it all at once due to name conflicts with API exposed in libopencm3.
Quite invasive patch! Also precipitated an LED API...
2014-11-15 16:26:59 -08:00
Jared Boone
7eee145365 Add "pin" interface to abstract GPIO pins. 2014-11-13 16:12:54 -08:00
Jared Boone
32aea14318 Merge branch 'abstract_i2c' into abstract_buses
Conflicts:
	firmware/common/hackrf_core.c
	firmware/common/hackrf_core.h
	firmware/hackrf-common.cmake
2014-11-13 11:26:41 -08:00
Jared Boone
02cc5814b1 I2C: Interface: Rename init()->start(), add stop(). 2014-11-13 10:32:38 -08:00
Jared Boone
ea136038a9 SPI: Rename spi_t to spi_bus_t to match I2C naming. 2014-11-13 10:16:39 -08:00
Jared Boone
05b8c4c153 SPI: Interface: Rename init()->start(), add stop(). 2014-11-13 09:51:48 -08:00
Jared Boone
28d629e099 Si5351C: Bring I2C wrapper into main driver. 2014-11-12 18:32:00 -08:00
Jared Boone
eb0dea483f I2C: Finish extracting from Si5351C code. 2014-11-12 14:03:27 -08:00