1019 Commits

Author SHA1 Message Date
TitanMKD
c393bd994a Merge branch 'master' of git://github.com/mossmann/hackrf 2012-11-07 20:31:33 +01:00
Michael Ossmann
bc950640ed jawbreaker documentation (schematic, assembly diagram, bom) 2012-11-06 19:38:13 -07:00
Michael Ossmann
5b34714995 visibility fixes for assembly diagram 2012-11-06 19:33:43 -07:00
Michael Ossmann
4de33d7c76 renamed boot pins to agree with data sheet 2012-11-06 14:06:09 -07:00
Michael Ossmann
98e0c7bb27 some schematic notes 2012-11-06 13:58:37 -07:00
TitanMKD
8920e94353 Merge branch 'master' of git://github.com/mossmann/hackrf 2012-11-05 19:59:43 +01:00
Michael Ossmann
c2181d79fa Merge branch 'master' of github.com:mossmann/hackrf 2012-11-05 08:45:59 -07:00
Michael Ossmann
190d8fb8e7 Makefile fixes for bad max2837_set_lpf_bandwidth references 2012-11-05 08:43:07 -07:00
Michael Ossmann
2bd20b768e switched back to SPIFI boot by default 2012-11-04 15:29:57 -07:00
TitanMKD
638e70d7d6 Merge branch 'master' of git://github.com/mossmann/hackrf 2012-11-04 12:16:42 +01:00
Michael Ossmann
edd6846da6 Merge pull request #25 from jboone/master
Fix for TX DAC sample vs. clock skew.
2012-11-02 22:44:55 -07: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
f60383c161 Merge branch 'master' of https://github.com/mossmann/hackrf 2012-11-01 23:16:19 -07:00
Jared Boone
413b34eb86 Add #includes required for Linux. 2012-11-01 22:48:45 -07:00
Michael Ossmann
92474c4228 Merge pull request #24 from jboone/master
Initial libhackrf release.
2012-11-01 15:53:53 -07:00
Jared Boone
526a8e9e7a Add typed request return value that indicates request is OK or requires endpoint STALL.
Changed vendor request to a lookup table, instead of an ever-growing switch statement.
2012-10-18 19:47:25 -07:00
Jared Boone
e8b30f3489 Oops. Request handlers called from setup handler could access the IN side of the endpoint, which does not get a copy of the SETUP bytes.
TODO: Make a single copy of the SETUP bytes, and provide a clean way to access those bytes regardless of whether you're holding the IN or OUT endpoint. (This was a problem in the IN complete handler, and probably other places, too.)
2012-10-18 19:42:36 -07:00
TitanMKD
5616b1be42 Merge branch 'master' of git://github.com/jboone/hackrf 2012-10-18 19:30:10 +02:00
TitanMKD
a8c3aa0cf5 Merge branch 'master' of git://github.com/mossmann/hackrf 2012-10-18 19:29:19 +02: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
2d79f6d69f Added support for hackrf_max2837 utility to accept registers and values as "0x" (base-16) or "0b" (base-2). 2012-10-17 20:55:48 -07:00
Jared Boone
2a58528782 Made explicit a few libhackrf result tests -- comparing against HACKRF_SUCCESS instead of checking for non-zero. 2012-10-17 17:02:44 -07:00
Jared Boone
93c1175362 Add a quick, dirty, and marginally-useful text configuration option to hackrf_si5351c example. 2012-10-17 17:01:56 -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
d4da08a3d7 Oops! Forgot to change MAX2837 mode from RX to TX when transceiver mode is changed.
Initialize MAX5864 earlier, in "transceiver" mode (where both ADC and DAC are active), and then shift SSP1 into MAX2837 mode and leave it there, for faster tuning and RX/TX switching.
2012-10-17 15:59:47 -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
Jared Boone
34b4729cfe Whacked the usb_test project, which was transformed into libhackrf.
Moved the Python utilities (such as they are) into a host/python directory.
2012-10-16 20:46:41 -07:00
Jared Boone
0ad2ad3c9a Merge branch 'master' of https://github.com/mossmann/hackrf 2012-10-16 20:33:50 -07:00
Jared Boone
91a9bf5ca3 Initial commit of libhackrf. 2012-10-16 20:33:41 -07:00
Michael Ossmann
27b4bab680 updated PCB specs to match sunstone 2012-10-16 20:00:23 -06:00
Michael Ossmann
0e420db0c8 plot options, zone updates 2012-10-16 18:05:17 -06:00
Jared Boone
38b6382c5a Add a guard for stream data file read/write, to ensure fd is valid. 2012-10-16 16:58:36 -07:00
Jared Boone
6cd8da6930 Return of the hand-optimized assembly for SGPIO read and write interrupt.
Reset only the one SGPIO slice flag that is actually causing the interrupt.
2012-10-16 16:57:35 -07:00
Jared Boone
1391bfc61e Flip endian-ness on USB MAX2837 register read request. 2012-10-16 16:56:25 -07:00
Michael Ossmann
f249898f8b fixed missing GND on U18 2012-10-16 14:02:00 -06:00
Michael Ossmann
c1005740ba silkscreen zone for writing 2012-10-16 13:41:48 -06:00
Michael Ossmann
356dbe2132 updated date on silkscreen 2012-10-16 13:40:21 -06:00
Jared Boone
4cc865de54 Swapped constant names for HackRF VID and PID. Fortunately, I also had them backward in my call to libusb... Now the names are right! 2012-10-15 15:55:44 -07:00
TitanMKD
34420d3911 Merge branch 'master' of git://github.com/mossmann/hackrf 2012-10-14 22:13:37 +02:00
Michael Ossmann
537b7da06a Merge pull request #23 from jboone/master
Crude USB vendor request API
2012-10-14 13:00:33 -07:00
Jared Boone
14e90781be Merge branch 'master' of https://github.com/mossmann/hackrf 2012-10-14 12:37:28 -07:00
Jared Boone
bd2fab0a12 Move USB SET_CONFIGURATION-time initialization of SGPIO and bulk endpoints into a separate function.
Initialize transceiver mode at SET_CONFIGURATION time.
Provide switching of transceiver mode via vendor request.
Provide read/write access to MAX2837 registers via vendor requests.
Python utility to dump MAX2837 registers.
Python utility to switch transceiver RX/TX mode.
2012-10-14 12:37:16 -07:00
Jared Boone
a25d48f5d5 Switch default transceiver mode back to RX. 2012-10-14 12:25:22 -07:00
TitanMKD
52cb84959b Merge branch 'master' of git://github.com/mossmann/hackrf 2012-10-14 18:44:38 +02:00
Will Code
020d15dcc1 Merge pull request #22 from willcode/master
Fix 2 more typos in max2837 def file
2012-10-14 05:37:04 -07:00
Will Code
334366aac3 Merge remote-tracking branch 'upstream/master' 2012-10-14 08:15:23 -04:00