1353 Commits

Author SHA1 Message Date
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
Michael Ossmann
38302cdbf6 date bump 2014-01-11 09:20:00 -07:00
Michael Ossmann
f6c153e73d switch to fixed SMA module 2014-01-11 08:11:45 -07:00
Michael Ossmann
771bc4af03 fixed SMA module (pad on wrong layer) 2014-01-11 08:11:27 -07:00
Michael Ossmann
ceb49ae0ae bom update for new SMA connectors 2014-01-10 12:58:36 -07:00
Michael Ossmann
88fb5f117e updated end plate template for new SMA connectors 2014-01-10 12:49:26 -07:00
Michael Ossmann
fc22bb1ff3 changed to a different SMA connector for physical strength and enclosure compatibility 2014-01-10 12:41:01 -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
Michael Ossmann
f9ffe902ed first pass at end plate templates 2014-01-06 13:04:09 -07: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
934303d37f HackRF One hardware documentation 2013-12-23 15:53:06 -07:00
Michael Ossmann
295aec3a3b nudged refs for assembly diagram readability 2013-12-23 15:43:29 -07:00
Michael Ossmann
bbbd221045 selected 8.5 mm tall (standard) female headers 2013-12-23 14:27:09 -07:00
Michael Ossmann
a2e436e3a8 tester changes 2013-12-20 14:44:21 -07:00
Michael Ossmann
d32a6c156b PCB README update 2013-12-12 22:13:22 -07:00
Michael Ossmann
a32724c119 removed a couple GND pins to shorten P20, improving laser cut enclosure ability 2013-12-12 16:42:05 -07:00
Michael Ossmann
54b69798db series resistance on CLKOUT to reduce overshoot 2013-12-12 16:37:21 -07:00
Michael Ossmann
72662dbbc4 load cap footprints for main crystal just in case 2013-12-12 15:54:53 -07:00
Michael Ossmann
6b482b94da set crystal load capacitance to 8 pF 2013-12-12 15:47:00 -07:00
Michael Ossmann
dc6ffc51be improved orientation marks for big QFNs 2013-12-12 15:06:48 -07:00
Michael Ossmann
7a06487c3d better orientation dot on U15 2013-12-12 14:59:31 -07:00
Michael Ossmann
ba7f3c86ea changed some 4k7 pull-up or pull-down resistors to 10k to reduce BOM 2013-12-12 14:55:46 -07:00
Michael Ossmann
a07762bb3e R16 description corrected 2013-12-12 14:41:11 -07:00
Michael Ossmann
669c027122 PCB layer markings in copper 2013-12-12 14:38:15 -07:00
Michael Ossmann
355597d9e6 swapped CPLD JTAG pins for HackRF One 20131127 2013-12-09 19:06:24 -07:00
Jared Boone
9f2260237b Add GPDMA LLI functions to create a loop or one-shot chain of LLIs. 2013-12-08 18:18:22 -08:00
Jared Boone
5b59f9cb0a Change GPDMA channel clli member to uint32_t, casting to/from gpdma_lli_t and dealing with the multiple fields was driving me crazy. 2013-12-08 18:16:58 -08:00
Jared Boone
6185b67008 Add GPDMA LLI function to enable interrupt after LLI operation is complete. 2013-12-08 17:49:50 -08:00
Jared Boone
ca070acad0 Expose SGPIO DMA LLI configuration function.
Remove LLI declarations internal to SGPIO DMA module.
Require a start LLI for SGPIO DMA start functions.
2013-12-08 13:14:26 -08:00