Commit Graph

102 Commits

Author SHA1 Message Date
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
Sylvain Munaut bdb4f8e5ca tuner_e4k: Fix band setting method mask & calls
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 23:36:09 +02:00
Sylvain Munaut 60d88b6ed2 tuner_e4k: Fix closest_arr_idx
The previous method tried to do clever stuff assuming the sequence is
sorted. Unfortunately:

1) this didn't really find the 'closest' match
2) this didn't work for the first or last interval
3) this didn't work for freq slightly above or below the last/first freq

All in all, it's easier to try them all.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 23:35:36 +02:00
Sylvain Munaut a95b61f397 sdr-test: Add a 'dfu' serial command to enter DFU mode
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 10:39:28 +02:00
Sylvain Munaut 311885441c tuner_e4k: Fix reference to 65535 vs 65536
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 08:47:51 +02:00
Sylvain Munaut 585c6d378a tuner_e4k: Max VCO frequency is 3.9GHz not 3.6GHz
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 08:46:48 +02:00
Dimitri Stolnikov e50954ed80 fix messed up uninstall template 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov 3e92095778 cmake: adding uninstall target from gnuradio tree 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov ac1f76f1a9 fix cmake swig header installation 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov ef685b73b0 remove QUIET to make it work with cmake <2.8.2 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov 4e27c67d8f applied cmake module fixes from gnuradio master 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov 2beba60c27 use abstract "address" instead of explicit device name 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov 3dd0f54a5b use fftsink in demo app 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov a922dad658 adopt UHD-style interface for the source 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov 289c68f54a make range_t types compile 2012-03-06 23:19:44 +01:00
Dimitri Stolnikov a9d5247a7a import range_t type from UHD project 2012-03-06 23:19:44 +01:00
Christian Daniel 4683c1c21a tuner_e4k: add manual i/q correction 2012-03-06 15:29:33 +01:00
Christian Daniel 7abdbca85c Merge branch 'master' of git.osmocom.org:osmo-sdr 2012-03-06 14:45:39 +01:00
Christian Daniel 463a3f9c28 tuner_e4k: add setting for common mode 2012-03-06 14:43:03 +01:00
Harald Welte 04864faac5 add check_ctr.c 2012-03-06 13:05:46 +01:00
Harald Welte 6d95768e9c fast_source: Add FPGA_TEST_STATS #define for FPGA/SSC verification
Using fpga.test_mode=1 this code can compute statistics on the
incrementing-counter-with-every-sample behaviour.
2012-03-06 12:26:33 +01:00
Harald Welte 66235f593e SSC: use rising edge of RF (Rx Frame), not falling 2012-03-06 12:15:55 +01:00
Harald Welte 3745d083f6 SSC: Inclode Overrun in statistics 2012-03-06 10:48:33 +01:00
Harald Welte 31d11c2bf8 tuner_e4k: fix the Y value to b e 65536, not 65535 2012-03-05 23:31:33 +01:00
Harald Welte bab0eb62ce tuner_e4k: Introduce #define for OUT_OF_SPEC operation
The device can be used from 50..1900 MHz and not only 64..1700
2012-03-05 23:29:48 +01:00
Harald Welte ef60309e63 osdr_fpga: Add support for enabling test (counter) mode 2012-03-05 23:20:18 +01:00
Christian Daniel df93598cc8 add modified binary libportaudio.a 2012-03-05 18:48:40 +01:00
Christian Daniel 956debafb8 add sweep tool (Linux only) 2012-03-05 18:48:13 +01:00
Harald Welte bd2b9a9697 main: add dc offset calibration commands 2012-03-05 18:37:44 +01:00
Harald Welte 9ce29d79e8 e4k: fix unresolved symbols in dc offset calibration 2012-03-05 18:37:18 +01:00
Harald Welte c4c7c6add5 e4k: add dc offset calibration code 2012-03-05 18:25:11 +01:00
Harald Welte 5a23c52120 fast_source: We switch the LED based on the streaming IN interface, not OUT 2012-03-05 17:03:09 +01:00
Harald Welte b6697b17fc fast_source: implement get/set of mute feature
this avoids unneccessary stalls on EP0
2012-02-29 11:52:21 +01:00
Harald Welte cc42e4df36 e4k: initialize tuner with smalles filters possible 2012-02-29 02:45:06 +01:00
Harald Welte be7d17091d uart_cmd: make sure 'set' type commands are visible on the console 2012-02-29 02:31:02 +01:00
Harald Welte 8c63475355 fix erroneous printing of command failure 2012-02-29 02:30:34 +01:00
Harald Welte f49513d482 tuner gain is not gettable 2012-02-29 02:15:40 +01:00
Harald Welte 67877f1692 improve commandline readability (prompt) and more tuner commands 2012-02-29 02:11:06 +01:00
Harald Welte c8ac848695 increase command buffers from 16 to 32 bytes 2012-02-29 02:10:36 +01:00
Harald Welte 00123abb2d move SSC commands to osdr_ssc.c 2012-02-29 01:57:39 +01:00