Commit Graph

141 Commits

Author SHA1 Message Date
Dimitri Stolnikov 41eb541606 fix access violation error 2012-06-02 16:49:51 +02:00
Dimitri Stolnikov 292a986830 introduce getters for tuner parameters (gain, type) 2012-06-02 01:41:04 +02:00
Christian Daniel a2382d66d8 fix fix of fix for mixer_gain API 2012-06-01 00:31:39 +02:00
Christian Daniel d8d2cfc785 fix typo 2012-06-01 00:31:12 +02:00
Christian Daniel 4eed4e7870 provide accessors for expanded USB API 2012-06-01 00:17:33 +02:00
Christian Daniel 35355c704c expand USB API 2012-06-01 00:17:15 +02:00
Christian Daniel a5d9d2de81 swap I/Q by default (OsmoSDR is q first) 2012-06-01 00:16:28 +02:00
Christian Daniel 399d41474f added accessor functions for specific FPGA registers 2012-06-01 00:15:55 +02:00
Christian Daniel 83340d0b37 new fpga firmware - sorry, only one blob
new features:

- bit to swap I and Q (spectrum inversion)

- make GPS PPS input usable as clock reference (PPS acts as clock gate
  for a counter)

- change unused pins into GPIOs (input, output, etc. configuration via
  SPI register bank)

- LED connected to FPGA can be switched on and off

have a look at the updated register description ODF/PDF
2012-05-30 22:28:38 +02:00
Christian Daniel 1c329c8165 fix mixer setting in libosmosdr 2012-05-30 22:03:27 +02:00
Christian Daniel dda6e9c4cb add workaround for E4K gap between 325-350 MHz 2012-05-30 21:59:36 +02:00
Christian Daniel 83ebd2b310 add a few debug strings 2012-05-30 21:59:07 +02:00
Steve Markgraf e69305dedd fix build of usb-dfu-project
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 15:27:50 +02:00
Dimitri Stolnikov e1cef7b07b fix vid case in udev rules file 2012-05-27 19:28:36 +02:00
Dimitri Stolnikov c9e015c711 fix c&p error 2012-05-27 15:34:49 +02:00
Dimitri Stolnikov 4c49d57323 fix gain setting in CLI tool 2012-05-27 15:19:14 +02:00
Dimitri Stolnikov bcc45534de add preliminary tuner control 2012-05-27 15:17:39 +02:00
Christian Daniel f3f7a28cf8 add bulk mode and initial USB API 2012-05-26 22:19:49 +02:00
Christian Daniel 65f6e41c56 export subsystem structs and add support for bulk mode 2012-05-26 22:19:08 +02:00
Christian Daniel e28725c0dc remove a few debug messages to clean the output 2012-05-26 22:17:43 +02:00
Christian Daniel 3ee2b7e52d add bulk EP descriptors (switchable by #define) 2012-05-26 22:17:08 +02:00
Christian Daniel 6023743202 add an API function to directly write to an SI570 register 2012-05-26 22:14:33 +02:00
Christian Daniel 180193cecf import modified E4000 driver from rtl-sdr 2012-05-26 22:13:59 +02:00
Dimitri Stolnikov 5b2f5902b0 libosmosdr: update USB endpoint used for IQ streaming 2012-05-25 00:15:41 +02:00
Dimitri Stolnikov 8650ea86db add osmo_sdr utility 2012-05-20 16:44:57 +02:00
Dimitri Stolnikov 7d90bb808a introduce api function to read usb string descriptors
This API allows to read manufacturer and product names as well as the
serial number advertized by the device on the bus.
2012-05-20 16:43:59 +02:00
Dimitri Stolnikov 129324b3dd rename osmosdr.c to libosmosdr.c 2012-05-20 14:02:53 +02:00
Christian Daniel be360a2d60 added register description for FPGA firmware 2012-05-17 22:55:31 +02:00
Christian Daniel 5dcfd6a156 added DFU functionality for the FPGA - crudely removed stuff from the loader to make it fit into the 16k 2012-05-17 22:47:51 +02:00
Christian Daniel c46bad77e5 add vmelinearize utility, which combines algo and data-file from Diamond into a single DFUable file 2012-05-17 22:28:19 +02:00
Christian Daniel 2672f450de added fpga firmware images corresponding to source code 2012-05-17 22:22:37 +02:00
Christian Daniel c62f5734b7 added fpga source and project files for hardware v2 2012-05-17 22:18:26 +02:00
Christian Daniel 0f007d876a added schematics and board layout for hardware v2 (release) 2012-05-17 22:17:48 +02:00
Dimitri Stolnikov d01cbad359 add api version information to the library when building with cmake 2012-05-15 18:14:20 +02:00
Dimitri Stolnikov 5140eade9f fix a typo in Makefile.am 2012-05-14 20:46:50 +02:00
Dimitri Stolnikov 790aa13a5b fix a memory leak by unreferencing libusb devices 2012-05-12 16:08:02 +02:00
Dimitri Stolnikov c4ed664383 install pkg-config file when building with cmake 2012-05-12 16:07:41 +02:00
Dimitri Stolnikov ce0473f5fe initial commit of libosmosdr files
this is largely based on the code of rtl-sdr project.
2012-05-12 00:23:41 +02:00
Harald Welte ad240d9de9 update the readme 2012-05-08 21:17:22 +02:00
Harald Welte aa3c92f0ff rename sdr-test-project to osmosr-project 2012-05-08 21:12:47 +02:00
Dimitri Stolnikov 707d664b73 remove gr-osmo-sdr block files
Further development will be happening in git://git.osmocom.org/gr-osmosdr repository.
2012-04-06 16:22:37 +02:00
Sylvain Munaut ca53c22150 fw/tuner_e4k: Add some more magic init
It comes from the kernel driver. No idea what it does really ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:06:20 +02:00
Sylvain Munaut 088d53127b fw/tuner_e4k: Add function to enable/disable the IF channel filter
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:06:12 +02:00
Sylvain Munaut 6593b2be38 fw/tuner_e4k: Disable auto gain adjustement during DC table gen
We need them to be fixed during that time, so disable all auto
stuff

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:06:06 +02:00
Sylvain Munaut f1939647b4 fw/tuner_e4k: Avoid dual read of DC4 when generating DC table
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:06:00 +02:00
Sylvain Munaut 20487e8cb3 fw/tuner_e4k: DC offset table gen doc fixes
No we don't need to wait. I checked if the value ever changed after
the first read and it doesn't. Other e4k drivers don't wait either.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:05:55 +02:00
Sylvain Munaut a99f1b530e fw/tuner_e4k: Use signed int for if1_gain in the gain combination array
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:05:50 +02:00
Sylvain Munaut 0bcf409c54 fw/tuner_e4k: Mixer gain is 4 or 12 dB, not 0/12
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:05:46 +02:00
Sylvain Munaut 1d28c3065b fw/tuner_e4k: Fix the array_size of the filter fw settings.
This was causing the array length to be '1' and so we always
took the first possible setting (the widest) ...

Certainly not good when you only have a 500 kHz sample rate.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-02 09:05:40 +02:00
Sylvain Munaut 975c9813e9 tuner_e4k: Properly set the band
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 23:37:00 +02:00