フィルターのクリア

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 Center および File ExchangeAnalog 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