991 Commits

Author SHA1 Message Date
Michael Ossmann
e018dbb07f Merge pull request #48 from TitanMKD/master
Fixed libhackrf, hackrf_cpldjtag (host) & usb_performance (firmware)
2013-05-11 16:55:59 -07:00
Jared Boone
1723cd12a1 Oops, read PLL1 documentation again. Looks like FBSEL=1 is for "normal operation". So include that, but use DIRECT=1 to skip the PSEL divider (which would prevent us producing 204MHz from an in-spec PLL frequency). 2013-05-11 12:25:54 -07:00
Jared Boone
e065cdfe20 Slowed down edges on LED and power enable signals -- they don't need to be fast, and this *might* have a negligible but positive effect on noise. 2013-05-11 12:13:00 -07:00
Jared Boone
d9884af8b8 PLL1 was misconfigured to run at 408MHz (way out of spec) instead of 204MHz. Corrected this by using DIRECT=1 instead of FBSEL=1. 2013-05-11 12:11:37 -07: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
Jared Boone
8dec5cb31a Tweak C/CXX_FLAGS to separate language standard used for C and C++ files. 2013-05-10 18:12:09 -07:00
Jared Boone
29b081f78a Merge remote-tracking branch 'mossmann/master'
Conflicts:
	hardware/jellybean/sgpio_if/default.svf
	hardware/jellybean/sgpio_if/default.xsvf
	hardware/jellybean/sgpio_if/top.jed
	hardware/jellybean/sgpio_if/top.vhd
2013-05-10 16:07:44 -07:00
TitanMKD
418680aed2 Fixed libhackrf, hackrf_cpldjtag (host) & usb_performance (firmware) to update CPLD through USB.
Use latest CPLD bitstream with following command line:
hackrf_cpldjtag.exe -x hackrf\hardware\jellybean\sgpio_if\default.xsvf
2013-05-09 00:29:42 +02:00
Michael Ossmann
6f0ae9bc99 Merge pull request #47 from TitanMKD/master
libhackrf fix and cleanup
2013-05-08 08:43:22 -07:00
TitanMKD
5225477164 * Modified API hackrf_is_streaming() now it returns an int HACKRF_TRUE when streaming is running.
* Added new hackrf_error especially for streaming to return more details.
* Adding management of usb transfer cancelled for hackrf_stop_rx()/hackrf_stop_tx().
* Added robustness on hackrf_close() to correctly close libusb related stuff even if USB device is removed or other problems.
* Fixed threading problems (start, stop() then start() ...).
* Cleanup the whole code.
2013-05-08 15:03:30 +02:00
TitanMKD
9749466512 Cleanup wave_file_hdr declaration for string WAVE ... thanks Hoernchen for the info. 2013-04-11 19:57:19 +02:00
TitanMKD
3a9d240b24 Merge branch 'master' of git://github.com/mossmann/hackrf 2013-04-07 19:10:04 +02:00
Michael Ossmann
99c8055d15 Merge pull request #45 from TitanMKD/master
Host and FW fix mainly spifi.
2013-04-07 10:04:55 -07:00
TitanMKD
a0b1736b61 Merge branch 'master' of git://github.com/mossmann/hackrf 2013-04-07 18:58:33 +02:00
TitanMKD
ead843ec2a hackrf_spiflash modified -l argument is not used anymore with -w argument, file len is automatically read. 2013-04-07 18:57:30 +02:00
TitanMKD
8777f93721 Cleanup on xxx_rom_to_ram directory now it contains only makefile, removed redundant .c file from xxx dir.
Fixed IAP "IAP_CMD_READ_SERIAL_NO" for LPC43xx flashless part not supporting IAP by using SPIFI w25q80bv Unique ID(64bits).
Fixed SPIFI erase/program also now it with check SPIFI w25q80bv Device ID = 0x13 at start of w25q80bv_setup()/w25q80bv_chip_erase()/w25q80bv_program().
2013-04-07 18:55:12 +02:00
Michael Ossmann
8ae6bd2874 Merge pull request #44 from TitanMKD/master
HackRF Jawbreaker Boot Mode documentation
2013-04-04 11:34:17 -07:00
TitanMKD
c5a799c134 HackRF Jawbreaker Boot Mode 2013-04-04 20:22:14 +02:00
Michael Ossmann
e900252d28 Merge pull request #43 from TitanMKD/master
HackRF IQ fix for CPLD and LPC4330 usb_performance
2013-04-04 11:16:41 -07:00
Michael Ossmann
978663d707 minor bom/dnp tweaks 2013-04-04 12:13:35 -06:00
TitanMKD
b8590db02a Comment fix. 2013-04-04 19:48:28 +02:00
TitanMKD
294e958472 sgpio_if (top.vhd) CPLD VHDL fix for IQ/aliasing problems for ADC. (cpldjtagprog => sgpio_if_xsvf.h updated to rebuild).
usb_performance.c SGPIO IQ fix for ADC (QI->IQ) for new CPLD (use usb_performance_rom_to_ram version else there is some packet lost even at 10Mhz sampling rate => make -f Makefile_rom_to_ram.)
2013-04-04 19:43:30 +02:00
TitanMKD
118953b451 Lot of comments added. 2013-04-04 19:19:59 +02:00
TitanMKD
3eb757c7d8 Merge branch 'master' of git://github.com/mossmann/hackrf 2013-04-04 19:18:55 +02:00
TitanMKD
fa47f8af8c Fix for IQ problem for ADC:
RX samples are ordered I0,Q1,I1,Q2,I2,... where they should be I0,Q0,I1,Q1,I2,Q2,...
This fix also alias/ghost problems to be confirmed on other boards/more tests...
Drawback now IQ is QI, will be fixed/swapped in LPC4330 SGPIO code.
2013-04-04 00:55:51 +02:00
Michael Ossmann
c6154a2dac exit when failing to transfer 2013-04-01 16:23:08 -06:00
TitanMKD
281c8701f8 Example cleanup/warning fix for better compatibility with GNU g++.
Adding hackrf_compute_baseband_filter_bw_round_down_lt() & hackrf_compute_baseband_filter_bw() in libhackrf.
Adding DLL export for _WIN32 (cdecl ..).
2013-04-01 18:35:32 +02:00
Michael Ossmann
cd343211e1 Merge pull request #42 from TitanMKD/master
Added hackrf_transfer option -w to receive file with Wav/RIFF Header and automatic name compatible with SDR# IQ file(*.wav)
2013-03-30 08:02:34 -07:00
TitanMKD
d62f4ede8b Added hackrf_transfer option -w to received file with Wav/RIFF Header and automatic name compatible with SDR# 2013-03-29 20:17:37 +01:00
Michael Ossmann
715b17db24 Merge pull request #41 from TitanMKD/master
hackrf_transfer -b baseband_filter_bw_hz option
2013-03-24 11:16:14 -07:00
TitanMKD
eefb98c4c0 hackrf_transfer -b baseband_filter_bw_hz option and cleanup. 2013-03-24 19:12:37 +01:00
Michael Ossmann
4793030848 cpldjtagprog: blink all LEDs on success. This helps with factory test. 2013-03-24 07:37:53 -06:00
Michael Ossmann
ddad4873b2 Merge pull request #40 from TitanMKD/master
Fixed problems/merge and code tested on both linux/windows with hackrf board
2013-03-24 06:36:02 -07:00
TitanMKD
a498208b12 Minor cleanup 2013-03-24 10:32:49 +01:00
TitanMKD
cb8343578c Cleanup (Windows/Linux) and fixed wrong arguments for printf ... 2013-03-24 10:18:44 +01:00
TitanMKD
1739d70372 Fix include not required for linux 2013-03-24 10:02:17 +01:00
TitanMKD
31356cc998 Merge branch 'master' of git://github.com/mossmann/hackrf
Conflicts:
	host/libhackrf/examples/hackrf_transfer.c
Fixed conflict with cleanup and fixed bug on 64bits value.
2013-03-24 09:56:56 +01:00
TitanMKD
cb2b82e9c4 Adding "sample_rate_hz" option, Ctrl C exit shall be fixed with also minor fix in hackrf lib (manage do_exit in thread).
Need more test on linux.
2013-03-23 18:14:49 +01:00
Michael Ossmann
9f5057d154 renamed LPC4330_M4_ROM_to_RAM.ld for case sensitive platforms like mine 2013-03-23 10:02:06 -06:00
Michael Ossmann
500baf9c49 hackrf_transfer -n num_samples 2013-03-23 09:55:32 -06:00
Jared Boone
2455ba92c0 Merge branch 'master' of https://github.com/mossmann/hackrf 2013-03-22 16:59:27 -07:00
TitanMKD
d509489fff ssp1_set_mode_max2837()/void ssp1_set_mode_max5864(void) SPI speed updated to 4.857MHz instead of 0.0498MHz
To do test it to check there is no problem.
2013-03-20 22:20:47 +01:00
TitanMKD
7836911c45 fault_handler add more info in case of crash. 2013-03-10 14:23:26 +01:00
Michael Ossmann
11db96e93f Merge pull request #38 from TitanMKD/master
Add host(hackrf_info)/fw(usb_performance) IAP read part id/serial no(to be checked)
2013-03-09 07:58:36 -08:00
TitanMKD
6620fe6ba9 Add host(hackrf_info)/fw(usb_performance) IAP read part id/serial no(to be confirmed). 2013-03-09 11:47:28 +01:00
Michael Ossmann
b77b0e82b6 Merge pull request #37 from TitanMKD/master
read_spiflash fixed (host/fw)
2013-03-07 17:22:09 -08:00
TitanMKD
b1821ae8da read_spiflash fixed. (Probably need to flush SPIFI "internal cache" before to read to be sure to read real SPIFI data). 2013-03-08 02:10:51 +01:00
Michael Ossmann
6dc82ae966 finished switchctrl handling 2013-03-07 17:52:31 -07:00
Michael Ossmann
8e46c6058c switchctrl updated by set_freq() 2013-03-07 17:45:27 -07:00
Michael Ossmann
1a2f871520 moved set_freq out of hackrf_core to facilitate switchctrl fixes 2013-03-07 17:35:48 -07:00