816 Commits

Author SHA1 Message Date
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
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
Stefan `Sec` Zehl
14e23f7f83 New rad1o board has CLK4 and CLK5 swapped. 2015-07-24 00:49:40 +02:00
Christine Koppelt
054a5a3cc8 change BOARD Parameter in README 2015-07-23 00:12:56 +02:00
Stefan `Sec` Zehl
f8a2b60d6d Remove dependency on old dfu-suffix 2015-07-22 23:32:45 +02:00
Stefan `Sec` Zehl
1b58ccf006 Fix include paths 2015-07-22 22:56:17 +02:00
Dominic Spill
510dde7485 Update rad1o firmware and libhackrf to use rad1o PID 2015-07-21 21:22:34 +02:00
Stefan `Sec` Zehl
6fb5885b70 Export usb_phy_enable() 2015-07-10 22:57:02 +02: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
Tobias Schneider
a5986edb66 fix(max2871): Return the set frequency in Hz 2015-06-14 21:12:24 +02:00
Tobias Schneider
d7ecde3dc1 hack(hackrf_usb): Disable reading the serial number via IAP 2015-06-13 21:56:18 +02:00
Tobias Schneider
fb219b6f86 fix(usb_descriptor): Let the rad1o be a hack-rf on the usb for now 2015-06-09 14:08:57 +02:00
Tobias Schneider
418423bb7c fix(max2871): Increase CP current, use temp compensation and dbl buffering 2015-06-09 13:49:20 +02:00
Tobias Schneider
745456dc28 fix(max2871): Wait for VAS to finish before turning on RFA 2015-06-09 07:07:53 +02:00
Tobias Schneider
e7dedb761e feat(max2871): First mixer_set_frequency implementation 2015-06-08 00:54:56 +02:00
Tobias Schneider
c79c53c52f chore(name): We are now rad1o 2015-06-07 23:33:24 +02:00
Tobias Schneider
cf6fe302bc feat(max2871.c): POC 2015-06-07 17:07:36 +02:00
Tobias Schneider
b4b768c76f feat(max2871.c): Set the default values after reset 2015-06-07 13:58:46 +02:00
Tobias Schneider
9e6ae19e10 fix(rf_path): First version of rad10 path 2015-06-07 03:35:59 +02:00
Tobias Schneider
d3cb14650d fix(rf_path): TX/RX switch 2015-06-06 19:22:35 +02:00
Tobias Schneider
c05929fe25 fix(common, hackf_usb): Make it compile for rad10 2015-06-06 18:49:09 +02:00
Tobias Schneider
ce273438d4 fix(hackrf_core): new pin assignments 2015-06-06 18:18:23 +02:00
Tobias Schneider
b35431eddf doc(max2871): Some notes on how to use the PLL 2015-06-02 07:35:22 +02: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
Jared Boone
080a1ba9ac Si5351C: Extract I2C code into single transfer function. 2014-11-12 10:45:26 -08:00
Jared Boone
35b549816a Si5351C: Widen write() data_count argument type to size_t. 2014-11-12 10:38:22 -08:00
Jared Boone
4ea0f28d14 SI5351C: Rewrite si5351c_write_single() to use si5351c_write(). 2014-11-12 10:23:00 -08:00
Jared Boone
721f748677 Si5351C: Change write data arg to be const. 2014-11-12 10:21:34 -08:00