Clear Filters
Clear Filters

SDR Pluto Frequency Control

6 views (last 30 days)
Zain Shafiq
Zain Shafiq on 26 Jan 2022
Answered: Pratik on 29 Dec 2023
Hi,
I am simply trying to control the center frequency of the SDR Pluto. I would like to set the frequecy to 1 GHz.
I have connected and tested the connection using the Pluto support package.
My code is as follows:
clc,clear all , close all;
deviceName = 'Pluto';
samplerate = 1000000;
Frequency = 1.0e9;
Gain = -10;
tx = sdrtx(deviceName,'BasebandSampleRate',samplerate, ...
'CenterFrequency',Frequency,'Gain', Gain);
I have the Tx port of the pluto connected to a spectrum analyser and I can see it is only outputting 2.4GHz.
Any suggestions on what I should do?
Many thanks,
Zain

Answers (1)

Pratik
Pratik on 29 Dec 2023
Hi Zain,
As per my understanding, you are trying to set the center frequency of the SDR Pluto to 1GHz. However, the value shown in spectrum analyser is different.
According to the documentation of “sdrtx”, the default “CenterFrequency” is 2.4GHz , which matches what the spectrum analyzer shows. Therefore, the problem might be that the “CenterFrequency” isn't being modified, despite it being a tuneable parameter.
One possible workaround is to use “release” function. It releases system resources such as memory, file handles, or hardware connections, and allows you to change properties and input characteristics.
Please refer to the documentation of “release” function for more information:
Hope this helps!

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!