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
ea136038a9
SPI: Rename spi_t to spi_bus_t to match I2C naming.
2014-11-13 10:16:39 -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
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
Jared Boone
453f622b74
MAX2837: De-singleton the driver.
...
Conflicts:
firmware/common/hackrf_core.c
firmware/common/hackrf_core.h
2014-11-10 16:37:34 -08:00
Jared Boone
4f3cae2e41
MAX2837: Extract hardware/bus dependent stuff into separate layer.
...
Conflicts:
firmware/CMakeLists.txt
firmware/hackrf_usb/Makefile
firmware/mixertx/Makefile
firmware/sgpio/CMakeLists.txt
firmware/simpletx/Makefile
firmware/spiflash/CMakeLists.txt
firmware/startup/Makefile
firmware/startup_systick/Makefile
firmware/startup_systick_perfo/Makefile
2014-11-10 16:33:00 -08:00
Jared Boone
a367f84d15
Add MAX2837 mode set/get functions.
2013-09-06 22:29:57 -07:00
Jared Boone
a5c0b5deeb
Add MAX2837 functions to control operating mode.
...
Replace direct manipulation of GPIOs controlling MAX2837 with operating mode functions.
2013-09-06 21:29:31 -07:00
Hoernchen
233c56c79d
libhackrf/firmware: merge txvga gain into one gain range of 0-47
2013-05-29 00:53:41 +02:00
Hoernchen
abc3cd1f4f
firmware: gain control
2013-05-27 14:01:22 +02:00
TitanMKD
13a6b9086e
Fixed some makefile and set default BOARD to JAWBREAKER (instead of JELLYBEAN).
2013-02-10 18:33:01 +01:00
Jared Boone
549c943979
Add USB control of LPF baseband filter.
...
Add max2837_set_lpf_bandwidth() function to choose available LPF filter bandwidth based on bandwidth in Hz.
Change configuration of MAX2837 to set LPF_EN and FT at max2837_setup(), not in max2837_rx() or max2837_tx() (which was overriding prior filter configuration).
2012-10-17 17:00:36 -07:00
Jared Boone
570efc1361
Added max2837_rx() function.
2012-06-14 13:06:48 -07:00
Michael Ossmann
d876ae7e86
max2837 and simpletx additions, still not quite working
2012-06-11 15:09:33 -06:00
Will Code
cd7e054f7d
max2837: extern additional functions, put test code in ifdef
2012-05-29 21:24:01 -04:00
Will Code
61b8be45fe
max2837 driver under construction
2012-05-29 18:10:52 -04:00