Jared Boone
21eb27c3f3
SSP0: Extract SPI interface from W25Q80BV code.
2014-11-10 17:00:15 -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
e6c02bea62
MAX5864: Abstract SPI, extract target code
2014-11-10 16:55:02 -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
786a8fd2e1
RFFC5071: Rename rffc5071_drv->rffc5071_spi.
2014-11-10 16:48:31 -08:00
Jared Boone
5a77d196ea
W25Q80BV: Separate structures into algorithm and hardware access layers.
...
Also extract #define constants for W25Q80BV into driver structure. Driver could eventually extend to other devices.
2014-11-10 16:46:12 -08:00
Jared Boone
7639ef0e3e
W25Q80BV: De-singleton the driver.
2014-11-10 16:45:44 -08:00
Jared Boone
d55bd529e2
RFFC507x: De-singleton the driver code.
2014-11-10 16:42:08 -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
16709505fc
USB0 and USB1 LEDs are only on Jellybean and Jawbreaker.
2014-08-11 16:09:37 -07:00
Jared Boone
fb5dc6d5e0
Merge remote-tracking branch 'mossmann/master' into jboone_refactor_20130906
...
Conflicts:
firmware/common/si5351c.c
Preferred Si5351C configuration that drives 40MHz into the LPC43xx GP_CLKIN.
Added HACKRF_ONE qualifier for CPLD TMS/TDI swap.
2014-01-07 16:48:52 -08:00
Jared Boone
0ddb4cb7f2
Configure LPC43xx for GP_CLKIN input.
2013-12-31 20:07:11 -08:00
Michael Ossmann
355597d9e6
swapped CPLD JTAG pins for HackRF One 20131127
2013-12-09 19:06:24 -07:00
Jared Boone
b285b91e4c
Merge remote-tracking branch 'mossmann/master' into jboone_refactor_20130906
...
Conflicts:
firmware/common/hackrf_core.h
firmware/common/rffc5071.c
2013-11-20 18:43:40 -08:00
Jared Boone
9db166427f
Remove I2S pin definitions, since they're too specific for generic/shared HackRF code.
2013-11-20 15:46:53 -08:00
Michael Ossmann
5b14636c2c
initial firmware support for HackRF One
2013-11-19 10:01:26 -07:00
Jared Boone
5c76b0ff50
Add miscellaneous Jawbreaker pins SCU #defines.
2013-09-20 14:19:07 -07:00
TitanMKD
24ed48d93a
Fix for "issues/62 fix PLL1 overclock bug" see hackrf_core.c -> cpu_clock_init()
...
Fix for "issues/78 startup current too high" see hackrf_core.c -> New functions cpu_clock_pll1_low_speed()/cpu_clock_pll1_max_speed() & hackrf_usb.c to switch low_speed/max_speed.
2013-08-28 22:01:57 +02:00
Sylvain Munaut
f0c7fe66f1
firmware: New fractional sample rate algorithm and usb command
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-09 00:08:18 +02:00
Hoernchen
1925649a01
firmware: fractional sample rates
2013-06-07 14:29:14 +02:00
Jared Boone
a4a2a3d6ba
Added SCU pinmux data for USB LEDs, configured USB LEDs to be outputs (not float).
2013-05-11 08:09:07 -07:00
Michael Ossmann
85dfc2a930
implemented transceiver mode OFF
2013-02-24 15:13:39 -07:00
Michael Ossmann
907325aa12
CPLD JTAG GPIO
2013-02-14 17:23:45 -07:00
Michael Ossmann
369f5eef4a
started a rudimentary driver for writing to SPI flash
2013-02-13 18:25:56 -07:00
Jared Boone
fc9632f19d
Add code to control MAX2837 B1 through B7 from Jellybean. Another feeble attempt to control DC bias.
2012-10-17 22:28:10 -07:00
Jared Boone
143d845b05
Add code to control RXHP pin on MAX2837 (Jellybean only). I was hoping this would control the baseband DC offset problem, but no, it doesn't seem to help at all.
2012-10-17 21:48:41 -07: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
9c4a0e94b0
Factor out sample_rate_set() from cpu_clock_init().
...
Implement switching between several supported sampling rates for Jellybean and Jawbreaker.
Commit bits of the Si5351C USB request support that I apparently missed in a prior commit.
2012-10-17 16:57:26 -07:00
Jared Boone
6f0fda0bee
Moved transceiver_mode_t to hackrf_core.h.
...
Changed transceiver_mode to volatile, since it's liable to be accessed at interrupt time.
2012-10-11 15:12:25 -07:00
Jared Boone
4f9a5a1ba4
Fix-ups to copyrights -- missing e-mail address and inconsistent formatting.
2012-10-06 19:14:55 -07:00
Jared Boone
cf32fb96fe
Merge branch 'master' of https://github.com/mossmann/hackrf
2012-10-03 09:26:30 -07:00
Michael Ossmann
d6005d1cc5
fixed jawbreaker bug: different pin for SGPIO8
2012-10-02 17:51:05 -06:00
Jared Boone
ecb497aa97
Merge branch 'master' of https://github.com/mossmann/hackrf
...
Conflicts:
firmware/common/hackrf_core.c
2012-09-27 14:58:31 -07:00
Michael Ossmann
7d0c572569
Jawbreaker mixer serial interface support
2012-09-19 11:55:24 -06:00
Jared Boone
7d942c86ac
Exposing the delay() core function.
2012-09-11 11:32:20 -07:00
Jared Boone
f0e4cffb87
Removed release_cpld_jtag_pins() and incorporated code into pin_setup().
2012-07-31 22:03:01 -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
9a53fd3a07
New CPLD .svf.
...
Change Si5351C CLK2 to 10MHz.
Keep CLK3 at 20MHz, but not inverted.
Source SGPIO8 from P1_12 instead of P9_6. (See "SGPIO Clock Routing") modification at https://github.com/mossmann/hackrf/wiki/Future-Hardware-Modifications ).
2012-06-15 16:12:35 -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
68f9a1c6e4
fixed inconsistent naming of mixer pins
2012-06-14 10:44:22 -06:00
Michael Ossmann
25c3f6729d
Merge branch 'jboone-master'
2012-06-13 21:23:10 -06:00
Michael Ossmann
10cebd1f83
RFFC5071 pin defs
2012-06-13 21:08:07 -06:00
Jared Boone
ca18d36779
#defines for CPLD JTAG interface on LPC43xx.
2012-06-13 16:47:38 -07:00
Michael Ossmann
d876ae7e86
max2837 and simpletx additions, still not quite working
2012-06-11 15:09:33 -06:00
Michael Ossmann
65b02cf6c9
reversed include addition. lpc43.h is no longer needed now that we are using libopencm3.
2012-06-07 19:30:54 -06:00
Jared Boone
cea1a66d39
Added hackrf_core.h #include for lpc43.h dependency.
2012-06-07 16:34:36 -07:00
Michael Ossmann
aeced361cf
migrated common stuff to libopencm3
2012-06-07 08:14:16 -06:00
TitanMKD
acc806d5ce
* Add PIN_EN1V8 (1V8 work fine 1V8 LED is set to ON), and PIN_BOOT0, 1, 2 & 3(read only).
...
* Fixed wait() by using volatile else the loop was removed by GCC.
Tested it with SPIFI work fine:
SPIFI tested with LPCXpresso+NXP LPC Link (from LPCXpresso Board LPC1769 Debugger)
-> Program Flash with Flash Driver LPC1850A_4350A_SPIFI.cfx
-> Select file: firmware\blinky\blinky.bin
-> Base address 0x14000000 & option Erase only required pages
2012-05-28 00:02:48 +02:00
Michael Ossmann
a748e31328
started firmware directory with some basic stuff
2012-05-21 11:33:46 -06:00