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
Jared Boone
81dfde2a29
RFFC5071: Remove extraneous #include.
2014-11-10 17:05:31 -08:00
Jared Boone
569f320826
SPI: Pull remaining hardware bits out of MAX2837/5864/W25Q80BV device drivers.
2014-11-10 17:05:19 -08:00
Jared Boone
8ced9415c2
SPI: Remove MAX2837/5864, W25Q80BV driver dependence on target code.
...
Conflicts:
firmware/common/tuning.c
2014-11-10 17:05:02 -08:00
Jared Boone
6d57c08e28
MAX2837: Add virtual function for setting device mode.
2014-11-10 17:02:57 -08:00
Jared Boone
905cd2b919
SSP: Merge SSP0 and SSP1 code into single unit.
...
Conflicts:
firmware/common/hackrf_core.c
2014-11-10 17:02:45 -08:00
Jared Boone
264ee53d47
SPI: Move SCU/pin config to target layers.
2014-11-10 17:00:25 -08:00
Jared Boone
21eb27c3f3
SSP0: Extract SPI interface from W25Q80BV code.
2014-11-10 17:00:15 -08:00
Jared Boone
79fd31d5d6
SSP1: Fix argument name to match SPI naming.
2014-11-10 17:00:06 -08:00
Jared Boone
b8421cc14f
SSP1: Merge MAX2837 and MAX5864 SPI code to use single SPI interface.
...
Conflicts:
firmware/common/hackrf_core.c
firmware/common/hackrf_core.h
2014-11-10 16:59:47 -08:00
Jared Boone
58e3465ce5
W25Q80BV: Finish abstracting SPI code.
2014-11-10 16:55:22 -08:00
Jared Boone
20d6d5a5a2
MAX2837: Header clean-up.
2014-11-10 16:55:12 -08:00
Jared Boone
e6c02bea62
MAX5864: Abstract SPI, extract target code
2014-11-10 16:55:02 -08:00
Jared Boone
579f8212a6
MAX2837: Finish SPI abstraction.
...
Conflicts:
firmware/common/hackrf_core.c
2014-11-10 16:54:46 -08:00
Jared Boone
58e7ef4171
MAX2837: Refactoring toward abstracted SPI.
...
Conflicts:
firmware/common/hackrf_core.c
firmware/common/hackrf_core.h
firmware/common/tuning.c
2014-11-10 16:53:27 -08:00