Effacer les filtres
Effacer les filtres

SDR Pluto Frequency Control

6 vues (au cours des 30 derniers jours)
Zain Shafiq
Zain Shafiq le 26 Jan 2022
Réponse apportée : Pratik le 29 Déc 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

Réponses (1)

Pratik
Pratik le 29 Déc 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!

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by