SDR Pluto Frequency Control

6 次查看(过去 30 天)
Zain Shafiq
Zain Shafiq 2022-1-26
回答: Pratik 2023-12-29
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

回答(1 个)

Pratik
Pratik 2023-12-29
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!

类别

Help CenterFile Exchange 中查找有关 Analog Devices ADALM1000 Support from Data Acquisition Toolbox 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by