Commit Graph

  • 6212a4ef5e removed U3 test points (there is another UART exposed on the ISP header) Michael Ossmann 2013-09-29 18:58:25 -06:00
  • e9e6486c0c removed USB LEDs Michael Ossmann 2013-09-29 18:55:54 -06:00
  • dae8820357 removed some DNP parts and 0 ohm resistors Michael Ossmann 2013-09-29 18:55:01 -06:00
  • f78bb74dd9 removed boot headers, added reset and DFU pushbuttons Michael Ossmann 2013-09-29 18:47:39 -06:00
  • 822b0e73fc HackRF One: started hardware design by copying Jawbreaker Michael Ossmann 2013-09-29 18:33:34 -06:00
  • 06da7fd83a Reduce drive strength from clock generator (Si5351C) to first mixer (RFFC5072). This reduces every-50MHz spurs in RX by 10 to 15dB. Jared Boone 2013-09-22 11:54:37 -07:00
  • 314b3cdc7b Don't put MAX2837 into shutdown mode -- powering up takes a bit too long (500us for PLL to stabilize). Will need to revisit, because the MAX2837 chews up significant current (35 to 45mA) when not in shutdown. Remove excess calls to max2837_start() and max2837_stop(). Jared Boone 2013-09-22 11:52:45 -07:00
  • b4f883595f Remove MAX2837_FREQ_NOMINAL_MHZ #define -- it must be updated now that IF is adjustable. So I pushed the calculation directly into the two places it was used. Jared Boone 2013-09-21 20:27:27 -07:00
  • 2ed5c9d057 Consolidate hackrf_usb and hackrf_usb_rom_to_ram projects -- with generation of SPIFI binary by default. Jared Boone 2013-09-20 20:15:39 -07:00
  • 6901107c7f Adjust Makefile_inc.mk to serve both M0 and M4 targets through the LPC43XX_TARGET variable. Jared Boone 2013-09-20 20:04:28 -07:00
  • 43596e07c5 Break off a chunk of local RAM to serve the M0 processor. Jared Boone 2013-09-20 20:03:24 -07:00
  • e2d4a501be Link floating point library and related/required libraries. Jared Boone 2013-09-20 15:08:23 -07:00
  • 322dea1884 Add make target for .s files. Jared Boone 2013-09-20 15:07:42 -07:00
  • 61a8d0f1d6 Move set_transceiver stuff back hackrf_usb.c, since it seems to fit better there. Jared Boone 2013-09-20 14:24:05 -07:00
  • 5c76b0ff50 Add miscellaneous Jawbreaker pins SCU #defines. Jared Boone 2013-09-20 14:19:07 -07:00
  • 7b50dfa12c Factor out USB API for transceiver control into separate files. Pull out streaming control functions into common/streaming.[ch]. Remove excess #includes in hackrf_usb.c. Jared Boone 2013-09-20 12:54:56 -07:00
  • db432842da Sync related Makefiles with changes to hackrf_usb/Makefile. Jared Boone 2013-09-20 12:09:47 -07:00
  • 9120e0b7ba Extracted USB API for board information into separate files. Jared Boone 2013-09-19 22:45:38 -07:00
  • aab36292db Moved USB API for manipulating RF chip registers into separate files. Jared Boone 2013-09-19 22:37:36 -07:00
  • cde5e1af8a Extracted USB API for SPI flash erase/write/read into separate files. Jared Boone 2013-09-19 22:29:49 -07:00
  • f7a42e0747 Move USB API for CPLD management into separate files. Jared Boone 2013-09-19 19:52:14 -07:00
  • 82ce660932 Broke some application-specific USB code into separate files within hackrf_usb/. Hoping I can use them as necessary in other projects, or push them into a library eventually. Jared Boone 2013-09-19 19:51:32 -07:00
  • 5b7b98be6c Clean up SGPIO vector assignment code. Jared Boone 2013-09-17 22:37:40 -07:00
  • c06facdd25 Push SGPIO configuration into RF path API. Jared Boone 2013-09-17 22:32:10 -07:00
  • 2e2275ed51 Pull out leaky tri-state transceiver_mode value from sgpio_configure(), replace with SGPIO_DIRECTION_* #defines. Jared Boone 2013-09-17 22:29:41 -07:00
  • aebea16b0f Remove USB endpoint fiddling from baseband_streaming_disable(). Create baseband_streaming_enable() to do SGPIO IRQ and stream enable. Jared Boone 2013-09-17 22:23:18 -07:00
  • 76704be008 Remove unused local variable causing a compiler warning. Jared Boone 2013-09-17 22:21:11 -07:00
  • 04e70483a2 Move RF path configuration to early in the tuning process -- before the MAX2837 is tuned. Jared Boone 2013-09-17 21:59:01 -07:00
  • 1ec9f560b4 Move more RF path stuff (initialization and MAX5864 state management) into rf_path.c. Changed initial RF path mode to lowest power (OFF). Remove initial MAX2837 IF setting -- it's a waste of effort when the first (and necessary) tuning operation will reset it anyway (perhaps to a different value). Jared Boone 2013-09-17 17:25:00 -07:00
  • b92e916b21 Forgot an #include in rf_path.c, from moving MAX2837 code. Jared Boone 2013-09-17 15:36:59 -07:00
  • 53415a620d Allow set_transceiver_mode(OFF) to fall through the rest of the function, now that sgpio_configure() is expecting OFF as a value. Jared Boone 2013-09-17 15:33:07 -07:00
  • 52dda32a18 Adjust logic in sgpio_configure() to treat transceiver modes outside TX and RX as RX. "OFF", for example... Jared Boone 2013-09-17 15:32:11 -07:00
  • 0e8e3c8d53 Push MAX2837 state management into rf_path_set_direction(). Jared Boone 2013-09-17 15:27:16 -07:00
  • e02d2f0325 Remove dependencies on application-specific USB descriptors. Jared Boone 2013-09-17 15:13:12 -07:00
  • fe2a700f8f Move files that have no application-specific bits (e.g. USB stack, tuning, and RF path APIs) to ../common/. Jared Boone 2013-09-17 15:10:46 -07:00
  • 78121f5a3e Merge branch 'refs/heads/bgamari_usb_merge' into jboone_refactor_20130906 Jared Boone 2013-09-17 13:10:30 -07:00
  • 4984a8b681 Fix to SPIFI addressing during hackrf_spiflash read operation. This fixes mismatches between programmed and read-back data. Jared Boone 2013-09-17 12:18:33 -07:00
  • d13e80b520 With bgamari's new USB configuration for CPLD, be sure to turn up CPU clock to maximum. Jared Boone 2013-09-16 15:21:28 -07:00
  • c0274cd2d3 Merge remote-tracking branch 'bgamari/usb' into bgamari_usb_merge Jared Boone 2013-09-16 15:18:14 -07:00
  • 0a46aae5b9 Convert from unsigned to two's complement inside CPLD. TODO: This requires changes to gr-osmosdr and software that uses hackrf_transfer files directly. Jared Boone 2013-09-16 14:59:14 -07:00
  • 4cd7662f7c hackrf_usb_rom_to_ram: Add usb_queue to Makefile Ben Gamari 2013-09-15 18:29:33 -04:00
  • b3f6134fc1 hackrf_cpldjtag: Update for new hackrf_cpld_write interface Ben Gamari 2013-09-08 13:46:03 -04:00
  • d21d616576 libhackrf: Rework hackrf_cpld_write to use new firmware interface Ben Gamari 2013-09-08 13:43:29 -04:00
  • 67a181ac36 hackrf_usb: Update transceiver_mode on all configuration changes Ben Gamari 2013-09-09 00:54:24 -04:00
  • 64ef3f71c0 hackrf_usb: Make main loop non-blocking Ben Gamari 2013-09-09 00:53:41 -04:00
  • 3ba8d33de8 hackrf: Enter cpld_update from main loop Ben Gamari 2013-09-08 23:47:18 -04:00
  • dc9c6c9667 cpld: Stream CPLD data from host Ben Gamari 2013-09-02 19:44:22 -04:00
  • d2b2b11998 xapp058/ports: Clean up comments and dead code Ben Gamari 2013-07-09 19:05:00 -04:00
  • 8e897be975 usb_standard_request: Multiple config support Ben Gamari 2013-09-08 22:29:56 -04:00
  • 34fabad121 usb_standard_request: Sent descriptors can be const Ben Gamari 2013-09-08 22:28:40 -04:00
  • 4773ee5a53 hackrf_usb: Port to use usb_queue Ben Gamari 2013-09-08 13:54:56 -04:00
  • 693c262134 libhackrf: Stop streaming before killing transfer thread Ben Gamari 2013-09-08 13:54:25 -04:00
  • 500aa5888c usb_queue: Introduce queue management Ben Gamari 2013-09-02 19:22:27 -04:00
  • 24d5a5c4f1 usb: Add usb_endpoint_append_td Ben Gamari 2013-06-28 21:30:46 -04:00
  • 1a44890095 usb_descriptor: Add description strings for configurations Ben Gamari 2013-09-08 12:47:08 -04:00
  • 21ad0778d2 usb_descriptor: Fix whitespace Ben Gamari 2013-09-02 19:40:29 -04:00
  • 7075cc6c1c More constraints clean-up: Associating timing specification groups on the NET declarations. Updated setup/hold constraints -- old constraints were incomplete and possibly incorrect, though I'm still not *positive*. Jared Boone 2013-09-11 16:52:11 -07:00
  • d628e2d09c Add CODEC_CLK to adc_data constraint group. Jared Boone 2013-09-11 16:22:39 -07:00
  • e9236e50c2 Fix CPLD constraint to assume SGPIO frequency of 40MHz, not 20MHz. Jared Boone 2013-09-11 16:21:16 -07:00
  • 5a7b927db6 Change line endings in CPLD user constraints file license header to match the rest of the file. Jared Boone 2013-09-11 16:20:43 -07:00
  • d7e2a8d133 Added note on generating XSVF inside Xilinx tools. Jared Boone 2013-09-11 15:54:17 -07:00
  • 042229ea19 Set transceiver mode to OFF whenever USB configuration changes. Jared Boone 2013-09-08 15:52:36 -07:00
  • 0411ffe3f0 Set RF path direction to "off" when transceiver_mode is OFF. Jared Boone 2013-09-08 15:44:37 -07:00
  • 98e33fbb5b Remove commented RFFC5071 code in set_transceiver_mode. Jared Boone 2013-09-08 15:36:25 -07:00
  • d00123ed24 Update RFFC5071 enable state when switching RF path direction. TODO: There's some stuff here that needs refactoring -- duplicate code is showing up. Jared Boone 2013-09-08 15:20:47 -07:00
  • a897c4f016 Add RF_PATH_DIRECTION_OFF enum and code. Jared Boone 2013-09-08 15:16:51 -07:00
  • 217630d82c Convert rf_path_set_direction from if/else to switch/case. Jared Boone 2013-09-08 15:13:44 -07:00
  • 9b2b7b0817 Move SGPIO ISRs to separate .c/.h files. Move usb_bulk_buffer* to separate .c/.h files. Jared Boone 2013-09-08 15:10:19 -07:00
  • 1c81fa895c Bump mossmann/libopencm3 commit. Jared Boone 2013-09-07 22:34:36 -07:00
  • ddf4c01f66 Forgot to propagate license to rf_path.[ch]. Jared Boone 2013-09-07 22:30:48 -07:00
  • 14eba3d947 Extract tuning code into separate .c/.h file. Jared Boone 2013-09-07 22:30:13 -07:00
  • b5dc264d22 Extract rf_path code into a separate .c/.h. Add an rf_path_init() function to do initial, idle configuration during start-up. Jared Boone 2013-09-07 22:22:03 -07:00
  • 7cf4058372 Move various switchctrl manipulation into clearly-defined rf_path_*() implementations. Jared Boone 2013-09-07 22:06:01 -07:00
  • bf297e0e08 I might've been a bit hasty removing volatile from transceiver_mode. Jared Boone 2013-09-07 22:01:46 -07:00
  • 4ad3680428 Break SGPIO interrupt handlers in two -- RX and TX. Assign an SGPIO interrupt handler function at runtime, based on RX or TX mode. NOTE: This is incompatible with placing the vector table in ROM, which is fine on a device with no internal flash). Remove SGPIO interrupt-time dependency on volatile transceiver_mode variable. Side effect is that a few cycles are probably saved inside the SGPIO interrupt. Jared Boone 2013-09-07 20:58:08 -07:00
  • e7c6408473 Add comment describing SWITCHCTRL pins vs. RF path configurations. Jared Boone 2013-09-07 20:21:43 -07:00
  • d65314db37 Clean up switchctrl code a bit -- redundant #ifdefs and complex if conditions. Jared Boone 2013-09-07 20:20:48 -07:00
  • bafe97e302 Extract knowledge of RF path configurations from the RFFC5071 driver. Change initial RF path mode to SWITCHCTRL_SAFE. (Previously started at SWITCHCTRL_SAFE and then immediately switched to SWITCHCTRL_AMP_BYPASS.) Jared Boone 2013-09-07 12:59:57 -07:00
  • 6dee455ef2 Contain calls to rffc5071_(rx|tr) to a single location. Jared Boone 2013-09-07 12:40:09 -07:00
  • 518c46a111 Oops, missed a spot where I should've called a MAX2837 mode function. Jared Boone 2013-09-06 23:01:40 -07:00
  • b89f43e97e Replace transceiver_mode dependent MAX2837 mode management with max2837_mode() -> max2837_set_mode() calls. Jared Boone 2013-09-06 22:50:04 -07:00
  • a367f84d15 Add MAX2837 mode set/get functions. Jared Boone 2013-09-06 22:29:57 -07:00
  • a5c0b5deeb Add MAX2837 functions to control operating mode. Replace direct manipulation of GPIOs controlling MAX2837 with operating mode functions. Jared Boone 2013-09-06 21:29:31 -07:00
  • 7c5db57f02 Hide the MAX2837 intermediate frequency behind a function. It also prevents leakage of the freq_*_cache variables. Jared Boone 2013-09-06 16:28:19 -07:00
  • 1ac3d59875 Update libopencm3 submodule commit. Jared Boone 2013-09-06 16:02:01 -07:00
  • 5cad831075 Fixed cut-and-paste oops in variable name. Jared Boone 2013-09-06 15:37:24 -07:00
  • 5143456d6d Update libopencm3 submodule commit. Jared Boone 2013-09-06 15:25:34 -07:00
  • b893b0a694 Merge remote-tracking branch 'bgamari/usb' into bgamari_usb_merge Jared Boone 2013-09-06 15:20:58 -07:00
  • 266003f3af Added two CGU debugging tools: Jared Boone 2013-09-04 16:34:20 -07:00
  • 6c0d803647 Cleaned up management of SGPIO and transceiver mode state vs. USB configuration state. This should help with power management. It may also be necessary when operating at low speed (48MHz), to keep the SGPIO interrupts from chewing up ALL available CPU cycles. Jared Boone 2013-09-04 16:27:43 -07:00
  • 1f5b979fd9 Added usb_set_configuration_changed_cb() call that bgamari fixed in his as-yet-unmerged USB branch. Jared Boone 2013-09-04 16:24:19 -07:00
  • d76d72665e Adjusted cpu_clock_pll1_low_speed() to operate at 48MHz, as per several comments with the code. The actual MSEL value was previously selecting 84MHz. Jared Boone 2013-09-04 16:23:32 -07:00
  • 237bf6ecdb Pulled redundant PLL1 initialization code from cpu_clock_init(). Called cpu_clock_pll1_low_speed() instead. Jared Boone 2013-09-04 16:22:41 -07:00
  • 189d245868 Merge remote-tracking branch 'TitanMKD/master' into titanmkd_overclock_fix Jared Boone 2013-09-04 12:41:03 -07:00
  • d5cebd92de Merge pull request #98 from mikeryan/blockdiagram-images Jared Boone 2013-09-04 10:44:41 -07:00
  • a90c3b2324 Merge pull request #100 from jboone/master Jared Boone 2013-09-02 11:10:11 -07:00
  • 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. TitanMKD 2013-08-28 22:01:57 +02:00
  • 10d67a8265 doc: block diagram of HackRF Mike Ryan 2013-08-17 10:07:03 -07:00
  • 2648107a0b added dfu-util requirement Michael Ossmann 2013-08-11 14:56:32 -06:00
  • 11156d958d Delete jawbreaker_boot_mode.pdf Jared Boone 2013-08-11 12:51:50 -07:00