Max throughput with pluto devices as standalone device

Hello,

the usb give us a max trougthput between 24-21MB between the host and the pluto device for this reason we have a limit capture sampling rate.

but what happens if we capture signal directly in pluto device with the embedded linux?. what max throughput we can achieve?.

how we can test it?.

Thanks,

regards,

j.

Parents
No Data
Reply
  • You can do something like this instead:

    Welcome to Pluto
    pluto login: root
    Password:
    Welcome to:
    ______ _       _        _________________
    | ___ \ |     | |      /  ___|  _  \ ___ \
    | |_/ / |_   _| |_ ___ \ `--.| | | | |_/ /
    |  __/| | | | | __/ _ \ `--. \ | | |    /
    | |   | | |_| | || (_) /\__/ / |/ /| |\ \
    \_|   |_|\__,_|\__\___/\____/|___/ \_| \_|

    v0.22-3-g0da0-dirty
    http://wiki.analog.com/university/tools/pluto

    # time iio_readdev -b 100000 -s 100000000 cf-ad9361-lpc > /dev/null
    real    0m 3.29s
    user    0m 0.05s
    sys     0m 0.04s
    # iio_attr -c ad9361-phy voltage0 sampling_frequency
    dev 'ad9361-phy', channel 'voltage0' (input), attr 'sampling_frequency', value '30720000'
    dev 'ad9361-phy', channel 'voltage0' (output), attr 'sampling_frequency', value '30720000'
    #

    If you what to add additional tools you need to rebuild your firmware.

    Alternatively copy the files over to your pluto using SCP, or share files using the USB thumb drive.

    -Michael  

Children
  • HI ,

    Your 30MSPS result of iio_readdev is quite impressive!

    Could you show us your iio_info/iio_reg setup that made it possible?

    I have never made it beyond 7.6MSPS in standalone mode. When I run the same command as your's, this is what I get:

    # time iio_readdev -u local: -b 100000 -s 100000000 cf-ad9361-lpc > /dev/null
    real    0m 13.06s
    user    0m 0.06s
    sys     0m 0.03s

    I think I have right rx_path_rates setting, so not quite sure what I need to do to speed this up.

    # iio_attr -a -i -d ad9361-phy rx_path_rates
    Using auto-detected IIO context at URI "local:"
    dev 'ad9361-phy', attr 'rx_path_rates', value :'BBPLL:983039993 ADC:491519996 R2:245759998 R1:122879999 RF:61439999 RXSAMP:61439999'

    # iio_attr -a -i -c ad9361-phy voltage0 | egrep '(freq|band)'
    dev 'ad9361-phy', channel 'voltage0' (input), attr 'rf_bandwidth', value '56000000'
    dev 'ad9361-phy', channel 'voltage0' (input), attr 'sampling_frequency_available', value '[2083333 1 61440000]'
    dev 'ad9361-phy', channel 'voltage0' (input), attr 'sampling_frequency', value '61439999'
    dev 'ad9361-phy', channel 'voltage0' (input), attr 'rf_bandwidth_available', value '[200000 1 56000000]'