ADI SDR Adalm Pluto programmatic control via libiio in Windows.

  Рет қаралды 1,440

solaraeng

solaraeng

5 жыл бұрын

ADI SDR Adalm Pluto programmatic control via libiio in Windows.
The context that worked for me is described below...
iio_create_context_from_uri()
Where const char *uri can either be ip: or usb:
How to get the USB URI?
~$ iio_info -s
Library version: 0.10 (git tag: c95ff6a)
Compiled with backends: local xml ip usb
Available contexts:
0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=104473222a87000c1b000c009b8ed5c48e [usb:1.11.5]
~$
ctx = iio_create_context_from_uri("usb:1.11.5")
or
ctx = iio_create_context_from_uri("ip:192.168.2.1")
The default context did not work and tosses an Assert fault in Visual Studio. I do not recommend going that route. Definitely use : iio_create_context_from_uri

Пікірлер: 15
@doodelinux
@doodelinux 9 ай бұрын
Nice video, I've been struggling with plutosdr for a few days now. Do you have the code public on github ?
@zafarqos
@zafarqos 3 жыл бұрын
Hi, Thanks for sharing. I noticed in the video you used c script for 9361 while pluto has 9364. Any special configuration needed?
@solaraeng
@solaraeng 3 жыл бұрын
They are identical...
@MrMilanCar
@MrMilanCar 4 жыл бұрын
What version of VS are you using? I would like to sample some receiving signals from Pluto using VS. I have vs2010 and had problem with booleans (tried switching to c++ but got large number of errors). I am beginner at this so if you have time to share a bit of your experience with me i would be thankful :)
@solaraeng
@solaraeng 4 жыл бұрын
Let me see what I did...I'll get back to you! Cheers, Mario
@MrMilanCar
@MrMilanCar 4 жыл бұрын
@@solaraeng I managed to sample some received signals and convert them to complex numbers and now i am hoping i will be able to do fft on them :) Cheers
@solaraeng
@solaraeng 4 жыл бұрын
I looked over what I have done so far and the answer is very little custom programming compared to what I would have liked to...So I can at least maybe help you with the compiler which is what I have done by following instructions using the awesome CMake plaform. More instructions on how to create that project hierarchy in CMake and MinGW or Visual Studio in our case on Windows (I use VS version 2017 which is 15.7 revision number that works great on my Alienware R15 laptop). I have built straight from Michael Hennerich's git as libiio-0.18. The idea for ADI to use CMake was brilliant and the examples are also CMake Projects, I believe! just follow this link and travel the blogs for some keywords in Google to compile the examples : wiki.analog.com/resources/tools-software/linux-software/building_libiio_for_windows Hope this helps to get you started to compile libiio like I did from scratch via the GIT. You can also download the pre-compiled binaries to get you there faster. If you are good with VS, just setup those projects for the examples from scratch, but I did everything using CMake to get every dependency working on my laptop...Might wanna do a search on this guy Michael Hennerick he did an excellent presentation on the guts of ADALM Pluto. Prepare for some head scratching the FPGA guts on the Zynq-7000 are a bit complex since they are VHDL and may require Vivado Suite from Xillinx if you wanna mess with the details of synthesis and the wrapper logic is Linux which may be another complex head scratcher using their custom peripheral drivers layer internal to Linux side of libiio. It is a deep firmware project and I would navigate its firmware structure carefully if working on updates so as not to brick it mistakenly. Search for 8-Michael_Hennerich.pdf on google. Good luck and keep me posted of your progress!
@solaraeng
@solaraeng 4 жыл бұрын
@@MrMilanCar How exciting...Would be a cool project for a wireless synthesizer or remote audio streaming...Keep up the good work man! :)
@MrMilanCar
@MrMilanCar 4 жыл бұрын
@@solaraeng Thank you for help :) Maybe i post something one day. Who knows ;)
@larspregge6420
@larspregge6420 4 жыл бұрын
libiio isnt a Proprietary lib. "The library is released under the GNU Lesser General Public License (LGPL), version 2.1 " github.com/analogdevicesinc/libiio
@solaraeng
@solaraeng 3 жыл бұрын
No but I am sure the chip is very proprietary and costs a pretty penny...None of the ADI stuff is cheap I have all their DSP's Sharc and Blackfin and the licensing is very proprietary causing people to switch to ARM cores instead...
@larspregge6420
@larspregge6420 3 жыл бұрын
@@solaraeng ppl may switch to ARM, ARM is cool, but DSP (Blackfin etc) has more power for SDR. And who cares a chip is proprietary? U buy, and u have it. Software counts. And btw. Adalm is fucking cool shit.
@kintadaatchyutarao3180
@kintadaatchyutarao3180 3 жыл бұрын
can you share me that pluto player c code to me, it was great help for my project
@kintadaatchyutarao3180
@kintadaatchyutarao3180 3 жыл бұрын
i have pluto player c code available in github that is related to ubuntu
@kintadaatchyutarao3180
@kintadaatchyutarao3180 3 жыл бұрын
please share me AD9361 IIO Stream.c code
Intel's CPUs Are Failing, ft. Wendell of Level1 Techs
23:59
Gamers Nexus
Рет қаралды 357 М.
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 114 МЛН
Spectrum Analyzer and Tracking Generator with Pluto SDR
12:37
SignalsEverywhere
Рет қаралды 8 М.
ADALM PLUTO Full Duplex Software Defined Radio
13:05
Tech Minds
Рет қаралды 85 М.
Hacker's Guide to UART Root Shells
17:40
Flashback Team
Рет қаралды 467 М.
ADALM-PLUTO and IIO Workshop
1:32:01
GNU Radio
Рет қаралды 11 М.
Linus Torvalds On Future Of Desktop Linux
44:18
TFiR
Рет қаралды 357 М.
What is a Protocol? (Deepdive)
18:14
LiveOverflow
Рет қаралды 160 М.
Decoding GPS using an RTL SDR Receiver
10:01
Tech Minds
Рет қаралды 48 М.
Build Your Own Phased Array Beamformer
30:38
Jon Kraft
Рет қаралды 194 М.
Receiving FM Broadcast Signals using PlutoSDR
16:01
Charleston Dale Ambatali
Рет қаралды 8 М.
ESP32 Sound - Working with I2S
46:04
DroneBot Workshop
Рет қаралды 322 М.
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 97 М.
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 726 М.
PART 52 || DIY Wireless Switch forElectronic Lights - Easy Guide!
1:01
HUBAB__OFFICIAL
Рет қаралды 44 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 2,2 МЛН