MATLab 2021a - ADALM-Pluto communication problem

14 views (last 30 days)
Hi everyone, I was wondering if someone can point me in the right direction. I have an Adalm-Pluto and I wanted to run the FM receiver tets script but I got a bunch of errors. One of those errors was about changing the center frequency. I found a few videos on how to enable the 46MHz to 6GHz frequency spand and then I ran:
rx = sdrrx('Pluto')
rx.CenterFrequency=1.01e+08
rx =
comm.SDRRxPluto with properties:
Main
DeviceName: 'Pluto'
RadioID: 'usb:0'
CenterFrequency: 101000000
GainSource: 'AGC Slow Attack'
ChannelMapping: 1
BasebandSampleRate: 1000000
OutputDataType: 'int16'
SamplesPerFrame: 20000
EnableBurstMode: false
ShowAdvancedProperties: false
Show all properties
now I am getting this error but I can't find any info online on how to fix this:
Error using matlabshared.libiio.base/cstatus
Failed to update LO for device: cf-ad9361-lpc. Specified center frequency is outside factory
default range. To assign the center frequency to 101000000, release the radio and click
configurePlutoRadio('AD9364','usb:0'). For more information, see help configurePlutoRadio.
Error in comm.plutoradio.rx/updateLO
Error in comm.libiio.AD9361.base_control/configureChanBuffers
Error in comm.libiio.AD9361.base/configureChanBuffers
Error in matlabshared.libiio.base/setupImpl
Error in comm.libiio.AD9361.base_control/setupImpl
Error in comm.libiio.AD9361.base/setupImpl
Error in comm.libiio.AD9361.rx_control/setupImpl
Error in comm.libiio.AD9361.rx/setupImpl
Error in comm.plutoradio.rx/setupImpl
Error in comm.SDRRxPluto/setupImpl
I did sucessfully installed the drivers and the libiio-0.23.gc14a0f8-Windows-setup. I also did a firmware upgrade using MATLAB
any information is apreciated. Thanks in advance!
-Frank

Answers (1)

Carlos Del Cid
Carlos Del Cid on 3 Oct 2021
In case someone has the same issue, I solved it by uninstalling the analog libiio-0.23.gc14a0f8-Windows-setup files and the communiations toolbox from Matlab. Then I had to reinstall the communications toolbox again, changed the Pluto to ad9364 (to enable the 46MHz to 6GHz) and comented out the "rcv = sigSrc();" from the FM sample script given my Matlab. the error went away and the pluto seems to be happy. PS: I am really new at this so try this fix at you own risk lol

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!