375 Commits

Author SHA1 Message Date
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
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
118953b451 Lot of comments added. 2013-04-04 19:19:59 +02: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
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
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
TitanMKD
f9d72a7f87 Merge branch 'master' of git://github.com/mossmann/hackrf 2013-03-07 21:32:56 +01: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
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
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
0874f9fe19 speed up SPI flash data rate 2013-02-22 18:42:17 -07:00
Michael Ossmann
653599ee9d test program to program CPLD from microcontroller 2013-02-16 07:23:04 -07:00
Michael Ossmann
1b7eeaf83b removed defunct lpc43.h 2013-02-14 17:52:52 -07:00
Michael Ossmann
6cf1721a28 cleanup 2013-02-14 17:52:29 -07:00
Michael Ossmann
415c364db1 attempted to implement waitTime() properly - not really sure 2013-02-14 17:43:28 -07:00
Michael Ossmann
907325aa12 CPLD JTAG GPIO 2013-02-14 17:23:45 -07:00
Michael Ossmann
de69b1f290 turned off debug mode 2013-02-14 16:55:24 -07:00
Michael Ossmann
23883aacce tuned lenval.h MAX_LEN for CoolRunner/II 2013-02-14 16:04:20 -07:00
Michael Ossmann
435de16c02 source code from XAPP058 for CPLD programming from the microcontroller 2013-02-14 15:59:54 -07:00
Michael Ossmann
4fdffe5863 made some args consts 2013-02-14 15:35:49 -07:00
Michael Ossmann
7f252a2002 Do you ever forget your own preferred coding style? 2013-02-14 15:32:05 -07:00
Michael Ossmann
5a76816b54 program SPI flash with arbitrary data 2013-02-13 22:12:32 -07:00
Michael Ossmann
369f5eef4a started a rudimentary driver for writing to SPI flash 2013-02-13 18:25:56 -07:00
TitanMKD
13a6b9086e Fixed some makefile and set default BOARD to JAWBREAKER (instead of JELLYBEAN). 2013-02-10 18:33:01 +01:00
TitanMKD
d46a59fba3 Fix for LPC4330 MCU frequency to be set to 204MHz instead of 102MHz. 2012-11-26 23:41:13 +01:00
TitanMKD
a453d161ab Fix problem with ".data" section which was not included, now it include all loadable section defined in elf. 2012-11-10 00:36:58 +01:00
TitanMKD
b8ede43963 Fix problem with .bin generated without .data section (only .text) !! 2012-11-09 22:18:25 +01:00
Jared Boone
cc5f1c61c7 Fix clock edge for TX mode. TX data was completely crapped up due to skew on my Jellybean/Lemondrop board. Hopefully, this also applies to Jawbreaker. I'll recheck once I have hardware in-hand. 2012-11-02 22:34:43 -07:00
Jared Boone
fc9632f19d Add code to control MAX2837 B1 through B7 from Jellybean. Another feeble attempt to control DC bias. 2012-10-17 22:28:10 -07:00
Jared Boone
143d845b05 Add code to control RXHP pin on MAX2837 (Jellybean only). I was hoping this would control the baseband DC offset problem, but no, it doesn't seem to help at all. 2012-10-17 21:48:41 -07:00
Jared Boone
549c943979 Add USB control of LPF baseband filter.
Add max2837_set_lpf_bandwidth() function to choose available LPF filter bandwidth based on bandwidth in Hz.
Change configuration of MAX2837 to set LPF_EN and FT at max2837_setup(), not in max2837_rx() or max2837_tx() (which was overriding prior filter configuration).
2012-10-17 17:00:36 -07:00
Jared Boone
9c4a0e94b0 Factor out sample_rate_set() from cpu_clock_init().
Implement switching between several supported sampling rates for Jellybean and Jawbreaker.
Commit bits of the Si5351C USB request support that I apparently missed in a prior commit.
2012-10-17 16:57:26 -07:00
Jared Boone
6babcbe579 Add USB vendor requests to read/write Si5351C registers. 2012-10-17 11:57:44 -07:00
Jared Boone
7fdfde9314 Make use of i2c0_init() argument to control duty cycle, when APB1 clock shifts from IRC (~12MHz) to PLL1 (204MHz). 2012-10-17 11:48:35 -07:00
Jared Boone
63b1a25979 Consolidate a few clock setup tasks that repeat among many projects into cpu_clock_init(). 2012-10-17 11:45:30 -07:00
Will Code
334366aac3 Merge remote-tracking branch 'upstream/master' 2012-10-14 08:15:23 -04:00
Jared Boone
d398cfcc1d Use new ssp_transfer() function instead of ssp_write().
Implement max2837_spi_read().
2012-10-13 16:58:22 -07:00
Jared Boone
5a428a460f Merge branch 'master' of https://github.com/mossmann/hackrf 2012-10-13 13:48:21 -07:00