10 Commits

Author SHA1 Message Date
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
e6c02bea62 MAX5864: Abstract SPI, extract target code 2014-11-10 16:55:02 -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
54ef8c19cf Add HackRF One RF power enable for samples that RX or TX. 2014-08-11 16:08:51 -07:00
Jared Boone
2538785165 Replace GPIO control of 1V8 supply with official function enable_1v8_power(). 2014-08-11 16:08:30 -07:00
Jared Boone
72ee83eda9 Moving gpio_setup() / pin_setup() functions in separate projects to hackrf_core.h/c.
Moved enable_1v8_power() and release_cpld_jtag_pins() to hackrf_core.h/c.
2012-07-31 21:38:57 -07:00
Jared Boone
f08fc3bb51 Pulled SSP1 configuration for MAX2837 into hackrf_core. Added SSP1 configuration for MAX5864. Added #defines for manipulating CS of both MAX parts. Changed a couple of #define names to be consistent with other names. Added explicit manipulation of MAX2837 CS via GPIO. 2012-06-14 13:06:10 -07:00
Michael Ossmann
a47e3fd57d got simpletx working but note comment in max2837.c about one weird register 2012-06-11 22:53:06 -06:00
Michael Ossmann
d876ae7e86 max2837 and simpletx additions, still not quite working 2012-06-11 15:09:33 -06:00
Michael Ossmann
5c6542d827 simpletx: test program to transmit a carrier, does not work yet 2012-06-07 22:19:32 -06:00