486 Commits

Author SHA1 Message Date
Hoernchen
233c56c79d libhackrf/firmware: merge txvga gain into one gain range of 0-47 2013-05-29 00:53:41 +02:00
Hoernchen
19e8628650 firmware: fix plus 16db tx gain 2013-05-27 15:28:51 +02:00
Hoernchen
abc3cd1f4f firmware: gain control 2013-05-27 14:01:22 +02:00
Michael Ossmann
9276b9e89a moved cpld stuff out of hardware/jellybean where people would be unlikely to look for it 2013-05-18 09:48:37 -06:00
Michael Ossmann
389cbc6ac4 renamed usb_performance to hackrf_usb 2013-05-18 08:51:34 -06:00
TitanMKD
18932692ab Updated hackrf_transfer(host) and ubs_performance(firmware) extended frequency range from 5MHz to 6800MHz. 2013-05-17 23:41:32 +02:00
Michael Ossmann
60d21a3310 commenting out CGU_PLL1_CTRL_DIRECT=1 because it breaks boot from spifi 2013-05-11 18:55:00 -06:00
Jared Boone
d0e609429d Merge branch 'master' of https://github.com/mossmann/hackrf 2013-05-11 16:59:00 -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
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
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
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
Michael Ossmann
4793030848 cpldjtagprog: blink all LEDs on success. This helps with factory test. 2013-03-24 07:37:53 -06: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
Michael Ossmann
9f5057d154 renamed LPC4330_M4_ROM_to_RAM.ld for case sensitive platforms like mine 2013-03-23 10:02:06 -06: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
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
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
Michael Ossmann
052d842f36 temporary fix for gpo/switchctrl. only works for TX 2013-03-07 16:56:44 -07:00
TitanMKD
64a3356a8e Merge branch 'master' of git://github.com/mossmann/hackrf
Conflicts:
	firmware/usb_performance/usb_performance.c
2013-03-07 23:47:21 +01:00
TitanMKD
e3784c886e set_freq for firmware & host. tested basicly checking with debugger value mhz/hz from host to fw. 2013-03-07 23:24:00 +01:00
Michael Ossmann
50f7481682 usb_vendor_request_set_amp_enable 2013-03-07 15:18:05 -07:00
Michael Ossmann
0c342f9cea .gitignore additions: .dfu in /firmware, .pdf and .svg in /hardware 2013-03-07 14:56:32 -07:00
TitanMKD
f9d72a7f87 Merge branch 'master' of git://github.com/mossmann/hackrf 2013-03-07 21:32:56 +01:00
Michael Ossmann
2039b23e20 basic rffc5071 tx/rx control from USB 2013-03-07 12:34:32 -07:00
Michael Ossmann
155a688d11 updated rffc test/commments 2013-03-07 10:35:49 -07:00
TitanMKD
e2c05fbfe2 Draft in progress (not tested at all) set_freq(). 2013-02-26 00:17:18 +01:00
Michael Ossmann
f150732215 Merge pull request #32 from TitanMKD/master
Added ROM to RAM version (makefile) for usb_performance
2013-02-24 18:55:34 -08:00
TitanMKD
f8a8a867d3 rom to ram version (requires latest fix in libopencm3 => libopencm3_lpc43xx_rom_to_ram.ld) 2013-02-25 02:03:05 +01:00
Michael Ossmann
85dfc2a930 implemented transceiver mode OFF 2013-02-24 15:13:39 -07:00
Michael Ossmann
771b93fe62 increased rffc5071 serial speed 2013-02-24 14:25:51 -07:00
Michael Ossmann
14c671c552 indicate RX on LED2 2013-02-24 12:55:54 -07:00
Michael Ossmann
a74cd9fdf9 clear MAX2837 RXENABLE when going into TX mode and vice versa 2013-02-24 10:17:50 -07:00
Michael Ossmann
79587574b4 Merge pull request #31 from TitanMKD/master
jtagprog fixed for test
2013-02-23 10:26:05 -08:00
TitanMKD
0afc0813bf jtagprog fixed. (to be checked by reading back the CPLD to be sure of the programming). 2013-02-23 18:52:56 +01:00
Michael Ossmann
d2b35517b3 firmware version string 2013-02-23 10:22:58 -07:00
Michael Ossmann
c703b380cf SPI flash chip erase USB command, updated hackrf_spiflash.c to operate one page at a time 2013-02-22 22:20:19 -07:00
Michael Ossmann
198857d516 got control OUT data working for usb_vendor_request_write_spiflash() 2013-02-22 21:35:31 -07:00
Michael Ossmann
6fb0aa2877 still trying to get control OUT data working 2013-02-22 19:12:51 -07:00
Michael Ossmann
3351a390ba trying to get control OUT data working 2013-02-22 18:56:07 -07:00
Michael Ossmann
0874f9fe19 speed up SPI flash data rate 2013-02-22 18:42:17 -07:00