Borrar filtros
Borrar filtros

SDR Pluto Frequency Control

2 visualizaciones (últimos 30 días)
Zain Shafiq
Zain Shafiq el 26 de En. de 2022
Respondida: Pratik el 29 de Dic. de 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

Respuestas (1)

Pratik
Pratik el 29 de Dic. de 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!

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by