662 Commits

Author SHA1 Message Date
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
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
91a9bf5ca3 Initial commit of libhackrf. 2012-10-16 20:33:41 -07: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
1391bfc61e Flip endian-ness on USB MAX2837 register read request. 2012-10-16 16:56:25 -07: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
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
c0cb64f316 Add support for TX mode.
Add getopt control of RX or TX mode.
2012-10-11 13:07:25 -07:00
Jared Boone
0f81d361c7 Added code to support transmit from usb_test host program.
Reorganization of code to support making usb_test a useful utility...
2012-10-10 22:11:44 -07:00
Jared Boone
09b768631e Tragic, but simple and effective libusb test program for reading data from the HackRF bulk IN endpoint, and dumping it to a file. 2012-10-10 15:22:41 -07:00