Friday, February 6, 2015

Re: [Discuss-gnuradio] Multiple SDR Devices on the same computer

I've placed an "*" before any arguments that affect both the source & sink (i.e., the underlying device), when applied to either.


Argument: bladerf[=0]
Notes: Device instance. Currently, this is a 0-based device index.

In the future, additional device attributes such as (a subset of) the serial number or desired backend would be desirable attributes to consider for this argument.

*Argument: fpga=<'/path/to/the/bitstream.rbf'>
Notes: Load the FPGA bitstream from the specified file. This is required only once after powering the bladeRF on. If the FPGA is already loaded, this argument is ignored, unless 'fpga-reload=1' is specified.

*Argument: fpga-reload=1
Notes: Force the FPGA to be reloaded. Requires fpga=<bitrstream> to be provided to have any effect.

Argument: buffers=<count>
Notes: Number of sample buffers to use. Increasing this value may alleviate transient timeouts, with the trade-off of added latency. This must be greater than the 'transfers' parameter. Default=32

Argument: buflen=<count>
Notes: Length of a sample buffer, in *samples* (not bytes). This must be a multiple of 1024. Default=4096

Argument: transfers=<count>
Notes: Number of in-flight sample buffer transfers. Defaults to one half of the 'buffers' count.

Argument: stream_timeout_ms=<timeout>
Notes: Specifies the timeout for the underlying sample stream. Default=3000.

*Argument: loopback=<mode>
Note: Configure the device for the specified loopback mode (disabled, baseband, or RF). See the libbladeRF documentation for descriptions of these available options: none, bb_txlpf_rxvga2, bb_txlpfk_rxlpf, bb_txvga1_rxvga2, bb_txvga1_rxlpf, rf_lna1, rf_lna2, rf_lna3. The default mode is 'none'.

*Argument: verbosity=<level>
Notes: Controls the verbosity of output written to stderr from libbladeRF. The available options, from least to most verbose are: silent, critical, error, warning, info, debug, verbose. The default level is determined by libbladeRF.I've attached a text file with all the bladeRF arguments. A very useful
option for higher sample rates (above 5 Msps or so) is to increase the
USB buffering. I almost always use this argument list for my applications.

bladerf=0,buffers=128,buflen=32768

Ron

On 02/05/2015 11:41 PM, Nguyễn Văn Lý wrote:
It works now.
Thank you very much Ron.

Van-Ly


Van-Ly Nguyen,
Research Assistant, 
Signals and Systems Laboratory - SSL  
Faculty of Electronics and Telecommunications - FET         
University of Engineering and Technology - UET      
Vietnam National University, Hanoi - VNU  

Tel: (+84) 97 881 9406


On Fri, Feb 6, 2015 at 10:44 AM, Ron Economos <w6rz@comcast.net> wrote:
Use bladerf=0 in one instance of the osmocom Source and bladerf=1 in another.

Ron


On 02/05/2015 07:29 PM, Nguyễn Văn Lý wrote:
Dear all,

I'm using BladeRF hardware in my system. I want to use two devices on the same computer. The "osmocom Source" lets me choose several channels, I actually need to use 2 channels. However, I don't know how to set the parameter "Device Arguments". Could anyone help me with this?

Thank you so much,
Van-Ly

Van-Ly Nguyen,
Research Assistant, 
Signals and Systems Laboratory - SSL  
Faculty of Electronics and Telecommunications - FET         
University of Engineering and Technology - UET      
Vietnam National University, Hanoi - VNU  

Tel: (+84) 97 881 9406


No comments:

Post a Comment