Commit Graph

262 Commits

Author SHA1 Message Date
Dimitri Stolnikov a0b4f3b2c5 apps: enable bandwidth controls for osmocom_fft and osmocom_siggen 2013-06-08 16:39:47 +02:00
Dimitri Stolnikov 40fb250e8f hackrf: add fractional sample rate support introduced in libhackrf
d9c46cbdac
2013-06-07 22:32:21 +02:00
Dimitri Stolnikov 40483d09c8 hackrf: add human readable error prints for all libhackrf funcs 2013-06-07 21:43:52 +02:00
Dimitri Stolnikov 407be2c329 cmake: add gnuradio-pmt dependency for OSX linkage 2013-06-07 19:30:02 +02:00
Dimitri Stolnikov 86b906a019 apps: check for sample rate availability 2013-06-05 19:52:41 +02:00
Dimitri Stolnikov 7a129238b7 hackrf: set the default sample rate to 10M
this prevents a regression with early firmware who did not have 8M rate
but 5M instead. they both had 10M, so we use this as default.
2013-06-05 19:20:08 +02:00
Dimitri Stolnikov bbf06c7272 update README 2013-06-05 00:15:28 +02:00
Dimitri Stolnikov 5924f082b8 apps: remove outdated grc templates
osmocom_* tools shall be used to verify basic block functionality from
now on
2013-06-05 00:15:07 +02:00
Dimitri Stolnikov e17ee6d96e hackrf: change out-of-spec rate 5e6 to 8e6 default 2013-06-03 22:01:20 +02:00
Dimitri Stolnikov 40ca42013b hackrf: disable start/stop as it has caused lock-ups 2013-06-02 15:53:45 +02:00
Dimitri Stolnikov cf06b3caef hackrf: migrate to gain API introduced in libhackrf b5f275abc5 2013-06-02 15:29:19 +02:00
Sylvain Munaut 0c9af4b426 Move to support gr-iqbalance new namespace / include path
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-01 15:00:46 +02:00
Dimitri Stolnikov 834de6bc2d update revision to 0.1.0git 2013-05-30 17:07:28 +02:00
Dimitri Stolnikov c2e9c2a4ac cmake: update FindGnuradioIQBalance 2013-05-30 17:02:22 +02:00
Dimitri Stolnikov e37057ba19 apps: convert to gnuradio 3.7 interface 2013-05-30 17:01:16 +02:00
Dimitri Stolnikov 7e55cb9224 introduce osmosdr namespace, remove _c suffix
- the namespace conversion adopts the common gnuradio coding guidelines
- suffix removal is a preparation to support 8/16 bit complex data types
2013-05-30 16:14:22 +02:00
Dimitri Stolnikov 3e6a24e5d9 convert to gnuradio 3.7 interface 2013-05-29 22:34:40 +02:00
Dimitri Stolnikov 9912dcd1e6 update revision to 0.0.2git
for development of a gnuradio 3.7 version of the block
2013-05-28 20:23:28 +02:00
Dimitri Stolnikov a19c9f84ff update revision to 0.0.1
this is the last version for gnuradio 3.6
2013-05-28 20:13:01 +02:00
Dimitri Stolnikov ceb14f0f13 hackrf: enable buffers argument for the source block 2013-05-26 13:04:06 +02:00
Dimitri Stolnikov 193fd0ad88 osmosdr: remove deprecated device arguments 2013-05-26 13:02:14 +02:00
Dimitri Stolnikov 4c101ea44c update README 2013-05-26 01:07:24 +02:00
Dimitri Stolnikov de74870c04 cmake: make python support optional 2013-05-25 18:35:04 +02:00
Dimitri Stolnikov 7937110496 apps: add experimental gsm waveform to siggen app
TODO: implement power ramp
2013-05-14 00:04:09 +02:00
Dimitri Stolnikov c0b5ece489 apps: add spectrum sense app ported from gnuradio master 2013-05-09 13:50:45 +02:00
Dimitri Stolnikov 3393647bec apps: add named gain controls to fft and siggen apps
usage examples:

osmocom_fft -a hackrf -v
osmocom_fft -a rtl=0 -v
osmocom_fft -a uhd -v

osmocom_siggen -a hackrf -f 100e6 --sweep -x 2e6 -y 10 -v
osmocom_siggen -a uhd,subdev=A:0 -f 100e6 --sweep -x 2e6 -y 10 -s 4e6 -v
2013-05-09 13:48:16 +02:00
Dimitri Stolnikov 7c22e6975c hackrf: update to libhackrf 6f0ae9bc99 API 2013-05-08 21:37:30 +02:00
Hoernchen 905dd03ac6 hackrf: silence warning 2013-05-08 20:41:52 +02:00
Hoernchen eab1b61253 hackrf: default to sse2 on x86/64 2013-05-08 20:25:23 +02:00
Dimitri Stolnikov af819dfa4a uhd: add TX support 2013-05-07 22:46:07 +02:00
Dimitri Stolnikov 52e1272ba5 uhd: update includes 2013-05-07 22:44:08 +02:00
Hoernchen 80b4ad2921 offer avx and sse to speed up float->uint8 for tx 2013-05-06 21:52:19 +02:00
Dimitri Stolnikov 2d9e29ee46 hackrf: replace non-portable usleep with boost sleep 2013-05-02 23:08:32 +02:00
Dimitri Stolnikov 59ceddbb74 cmake: add boost thread & system dependencies again
thanks to Alberto Albiol for pointing this out.
2013-05-01 13:51:35 +02:00
Dimitri Stolnikov 1ae6a839bb file: update returned gain and frequency ranges 2013-04-30 21:46:01 +02:00
Dimitri Stolnikov a0c50c2df1 source/sink: rename antennas to express their function 2013-04-30 21:44:31 +02:00
Dimitri Stolnikov 13477f279f source/sink: return freq_range_t in get_bandwidth_range()
it was meta_range_t (which is binary compatible) before.
2013-04-30 21:00:57 +02:00
Dimitri Stolnikov 7ed94c6242 osmosdr: remove unimplemented sink template
transmit feature won't be available in final hardware
2013-04-30 20:29:47 +02:00
Dimitri Stolnikov a31ea525fb apps: add spectrum browser and signal generator
usage examples:

osmocom_fft -a "rtl=0" -f 100e6 -s 2.4e6 -g 15

osmocom_siggen_gui -a "hackrf=0" -s 5e6 -f 100e6 --sine
osmocom_siggen_gui -a "hackrf=0" -s 5e6 -f 100e6 --sweep -x 2M -y 1 -c34

known issues:
- switching between siggen modes is broken at the moment (WIP) and has
to be made via cli switches only.
- filter bandwidth controls have no effect for TX (this has to be
investigated)
2013-04-28 12:46:03 +02:00
Dimitri Stolnikov a5bdb27240 hackrf: add TX support (wip)
features:

- gain control for AMP & VGA
- frequency error correction
- automatic baseband filter
- up to 20M sampling rate

limitations:

- no DC offset correction implemented (yet)
- high sampling rates may not work on slow machines

the following TX named gain stages are available:

RF: MGA-81563, switchable 0 or 14dB
IF: MAX2837 VGA, 0 to 47dB in 1dB steps
2013-04-28 12:36:31 +02:00
Dimitri Stolnikov 882b6da6ac hackrf: updated source comments 2013-04-28 12:28:04 +02:00
Dimitri Stolnikov 37f6383c7c hackf: implement start & stop methods
This allows a block to enable an associated driver to begin
transfering data just before we start to execute the scheduler.
The end result is that this reduces latency in the pipeline
when dealing with audio devices, usrps, etc.
2013-04-26 21:50:50 +02:00
Dimitri Stolnikov 9bd7cbf4e1 source: update header documentation 2013-04-26 21:21:56 +02:00
Dimitri Stolnikov e157449a9e hackrf: don't skip first samples when streaming 2013-04-26 21:04:30 +02:00
Dimitri Stolnikov 98a805481e hackrf: make failures more verbose 2013-04-26 20:43:06 +02:00
Dimitri Stolnikov 871f0cc273 update cmake module from gnuradio master 2013-04-16 21:55:55 +02:00
Dimitri Stolnikov ae2de75272 cmake: add windows dll resource file 2013-04-16 21:53:09 +02:00
Dimitri Stolnikov afd56f4b5a hackrf: implement BB lowpass filter control
To use the default (automatic) bandwidth filter selection, this should
be set to 0.
2013-04-15 23:36:55 +02:00
Jaroslav Škarvada 8578eee7ce allow docdir location override
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-04-14 17:39:02 +02:00
Jaroslav Škarvada 2f6592566b doxygen package needs to be detetected before the doxygen is used
Without this patch the DOXYGEN_EXECUTABLE is set too late which results
in build failure when processing swig directory (with ENABLE_DOXYGEN).

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-04-14 17:35:18 +02:00