941 Commits

Author SHA1 Message Date
Michael Ossmann
ca04d7c04b activated CLKOUT (always on) and CLKIN (automatically used when detected) 2014-03-14 21:28:13 -06:00
Michael Ossmann
d4a5c2290b replaced set_freq_if() with set_freq_explicit() and implemented explicit tuning option in hackrf_transfer 2014-03-13 16:06:51 -06:00
Michael Ossmann
08927ab50b fixed submodule instructions (no cmake for libopencm3) 2014-03-13 08:44:28 -06:00
Michael Ossmann
7c3f6340ed HackRF One antenna port power control in firmware, libhackrf, and hackrf_transfer 2014-03-12 17:21:49 -06:00
Michael Ossmann
dce15fa9f6 firmware support for HackRF One USB ID 2014-03-12 16:21:20 -06:00
Michael Ossmann
630a78aabe stale comment 2014-03-12 16:05:53 -06:00
Michael Ossmann
f5be40fe5b fixed tuning bug 2014-03-12 12:40:45 -06:00
Michael Ossmann
d3bba0dc89 reverted to low-side injection until/unless inverted spectrum is resolved 2014-03-03 18:28:23 -07:00
Michael Ossmann
a9592ea87e fixed bug with high-side injection tuning 2014-03-03 18:24:16 -07:00
Michael Ossmann
f74e9e9dc1 divided tuning frequencies above 2750 MHz into three ranges with graduated IF for spur avoidance 2014-03-03 16:30:48 -07:00
Michael Ossmann
768323e28f removed check for too low tuning frequency now that we permit tuning down to 0 Hz 2014-03-03 14:13:56 -07:00
Michael Ossmann
cd9a1c1366 high-side injection and graduated IF for tuning from 0 to 2150 MHz 2014-03-03 14:08:38 -07:00
Michael Ossmann
d051c42e3a increased maximum tuning frequency from 6800 MHz to 7250 MHz 2014-03-03 14:07:48 -07:00
Michael Ossmann
fbe4c481f2 reduced minimum tuning frequency from 5 MHz to 0 Hz 2014-03-03 12:21:28 -07:00
Michael Ossmann
dd6d192e13 increased allowed MAX2837 frequency range from 2300-2700 MHz to 2150-2750 MHz based on experimentation 2014-03-03 12:20:27 -07:00
Michael Ossmann
99f1ba6619 RUN_FROM=RAM and other details in firmware/README 2014-02-22 10:27:12 -07:00
Michael Ossmann
7f34c6cc92 disable antenna port power 2014-02-21 16:55:44 -07:00
Jared Boone
847289bf31 Fix attempt #2 for proper tuning frequency calculation. 2014-02-19 13:17:47 -08:00
Jared Boone
b1eccd4e79 Add integer promotion to tuning frequency calculation. 2014-02-19 13:08:02 -08:00
Jared Boone
84d7263fa4 Widen frequency argument/return paths in RFFC5071 code. 2014-02-19 12:56:24 -08:00
Jared Boone
e3025e94ff Apparent fix for .dfu not being generated.
TODO: Does not address the fact that make continues despite the .dfu creation failure...
2014-02-18 17:05:53 -08:00
Jared Boone
9797512186 Rename ldscript to be the one and only M0 embedding .ld, reading from .text. 2014-02-18 16:48:21 -08:00
Jared Boone
dfd04e3c89 Change default Makefile target board to HACKRF_ONE. 2014-02-14 10:49:11 -08:00
Jared Boone
a51eb9dd60 Remove usb_bulk_buffer declaration, it was causing duplicate buffers to exist in RAM. Allow ldscript to determine symbol's address by making buffer "extern" only. 2014-02-14 10:48:38 -08:00
Jared Boone
4aa3a3b553 Fix M0 ldscript breakage. 2014-02-14 10:47:05 -08:00
Jared Boone
ec508cadcd Fix relative path for libs and ldscripts in linking. 2014-01-12 14:51:54 -08:00
Jared Boone
a097879528 Un-hardcode base address of M0 memory region. 2014-01-11 17:49:26 -08:00
Jared Boone
bb8943ce5b Break ldscripts into smaller pieces that can be shared. 2014-01-11 17:38:27 -08:00
Jared Boone
ba2cc32ac6 Combine ram_usb[01] into a single region.
Assign usb_bulk_buffer symbol to ram_usb origin, instead of hard-coding a pointer in C.
Change declaration of usb_bulk_buffer from a pointer to an array.
2014-01-11 17:07:49 -08:00
Jared Boone
10e379f492 Add ldscripts for LPC4320 targets (e.g. HackRF One).
Qualify Makefile ldscripts based on BOARD.
2014-01-11 15:52:38 -08:00
Jared Boone
936e356040 ldscript memory region clean-up for LPC4330 targets. 2014-01-11 15:49:46 -08:00
Jared Boone
095f55abce Make a bit of room in the M0 AHB RAM region for fixed-location shared (M4, M0 cores) data structures. 2014-01-11 15:21:20 -08:00
Jared Boone
80047c9a0c Makefile: Add separate OBJ_M4_S and OBJ_M0_S variables for .S files. (Unused, but worked earlier and may be useful later.) 2014-01-11 15:20:10 -08:00
Jared Boone
572f2285f2 Let Xilinx ISE update some unimportant project file header stuff. 2014-01-11 15:17:47 -08:00
Jared Boone
19f285288c Reset decimator sample count when host_data_enable is 0, so that sample stream starts with a consistent phase. May not be particularly important, but feels cleaner this way... 2014-01-11 15:17:39 -08: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
75e1dcd9cf Don't update MAX2837 freq_cache unless set_freq() is successful. 2014-01-04 10:15:01 -08:00
Jared Boone
de10aa8b0e Bump libopencm3 submodule hash. 2014-01-02 22:05:42 -08:00
Jared Boone
574056c495 Fix long-standing example projects breakage due to tuning and SGPIO API and dependency changes. 2014-01-02 18:24:55 -08:00
Jared Boone
7c2f252d37 Bump libopencm3 submodule commit hash. 2014-01-02 17:56:34 -08:00
Jared Boone
dbba407069 Change M0 linking to use newlib-nano. snprintf() is a pig when the floating point junk gets pulled in on an M0... 2014-01-02 15:11:15 -08:00
Jared Boone
63292419c8 Moved M0 memory region to larger first AHB region (32K), moved USB bulk buffers to smaller AHB RAM area. 2014-01-02 15:10:09 -08:00
Jared Boone
7920490f1e Change USB bulk endpoint for baseband data to have only one queue item. Since there are only two baseband buffers, and one is transferring with the codec and the other with USB, enqueueing more than one buffer at a time would result in transferring an incomplete buffer. 2013-12-31 20:34:01 -08:00
Jared Boone
c6b1ec2979 Adjust SGPIO GPDMA trigger slice data to a single clock width pulse. Previously, it was 3 clocks long with a 4 clock period, which *seemed* to address GPDMA data drop-outs at maximum baseband speed (20Msps complex). 2013-12-31 20:27:14 -08:00
Jared Boone
fc5ec03353 Adjust tuning API to use a single 64-bit integer for frequency in Hz, since the Cortex-M4F has good support for uint64_t. 2013-12-31 20:12:47 -08:00
Jared Boone
7f35ceaff2 Set Si5351C CLK7 output to drive LPC GP_CLKIN at 40MHz, so that activity (e.g. audio) on the LPC can be synchronized with the baseband sample rate. 2013-12-31 20:09:44 -08:00
Jared Boone
0ddb4cb7f2 Configure LPC43xx for GP_CLKIN input. 2013-12-31 20:07:11 -08:00
Jared Boone
1bec883f80 Add baseband sampling frequencies useful for 48kHz audio output. 2013-12-31 20:05:26 -08:00
Michael Ossmann
06f98a3968 reverted a2e436e from incorrect merge 2013-12-24 23:14:17 -07:00
Michael Ossmann
a2e436e3a8 tester changes 2013-12-20 14:44:21 -07:00