Quantcast
Channel: EngineerZone : Discussion List - Virtual Classroom for ADI University Program
Viewing all 295 articles
Browse latest View live

issue with builing the firmware image for ADALM-PLUTO

$
0
0

Hello! 

I followed the instruction in Building the Firmware Image [Analog Devices Wiki] 

And I get this message at the last step : 

user@user-ThinkPad-T530:/home/plutosdr-fw$ make
make -C u-boot-xlnx ARCH=arm zynq_pluto_defconfig
make[1] : on entre dans le répertoire « /home/plutosdr-fw/u-boot-xlnx »

*** Error during writing of the configuration.

scripts/kconfig/Makefile:114 : la recette pour la cible « zynq_pluto_defconfig » a échouée
make[2]: *** [zynq_pluto_defconfig] Erreur 1
Makefile:477 : la recette pour la cible « zynq_pluto_defconfig » a échouée
make[1]: *** [zynq_pluto_defconfig] Erreur 2
make[1] : on quitte le répertoire « /home/plutosdr-fw/u-boot-xlnx »
Makefile:39 : la recette pour la cible « u-boot-xlnx/tools/mkimage » a échouée
make: *** [u-boot-xlnx/tools/mkimage] Erreur 2

 

Ubuton's version is 16.04; The source is coming from

git clone --recursive https://github.com/analogdevicesinc/plutosdr-fw.git

Who met the same problem? Or who can give me some advice? Thanks!


In Pluto SDR, PL reprogramming from Linux crashes IIO streaming

$
0
0

Hello

 

My name is Danil.
I am very excited about the new Pluto SDR, it works very well.


I'm actually working on my own custom PL image for Pluto SRD and want to replace original system_top.bit. I want to reprogram PL using command in Pluto SDR Linux shell:

cat ./custom_top.bit > /dev/xdevcfg

As first, I'm trying to use original system_top.bit from plutosdr-jtag-bootstrap-v0.22.zip archive, which I download here Releases Tag v0.22. But after cat ./system_top.bit > /dev/xdevcfg I have problem with ad9361-iiostream and iio_adi_xflow_check programs.

 

I got following errors:

 

(1)
# iio_adi_xflow_check iio:device3
Monitoring cf-ad9361-dds-core-lpc for underflows/overflows
Unable to push buffer: Connection timed out

 

(2)
# iio_adi_xflow_check iio:device4
Monitoring cf-ad9361-lpc for underflows/overflows
Unable to refill buffer: Connection timed out

 

(3)
# ad9361-iiostream
* Acquiring IIO context
* Acquiring AD9361 streaming devices
* Configuring AD9361 for streaming
* Acquiring AD9361 phy channel 0
* Acquiring AD9361 RX lo channel
* Acquiring AD9361 phy channel 0
* Acquiring AD9361 TX lo channel
* Initializing AD9361 IIO streaming channels
* Enabling IIO streaming channels
* Creating non-cyclic IIO buffers with 1 MiS
* Starting IO streaming (press CTRL+C to cancel)
Error refilling buf -110
* Destroying buffers
* Disabling streaming channels
* Destroying context

 

I also done re-init in Linux, but it doesn't solve the problem.

 

# /etc/init.d/rcK
# /etc/init.d/rcS

 

For me is important to reprogram Pluto SDR PL part with Linux.
How can I do that?

 

Any help appreciated, thanks.

PLUTO used LVDS or CMOS?

pluto only streaming the real part to RF

$
0
0

Hello,

I discover that my pluto only streams the real part of complex signal to RF I don't understand why. I explain:

 

I'm using the pluto as standalone and using the python from iprium to run a simple loopback code.

 

In software part code I can assure everything is OK because debugging the FPGA with the ILA from Vivado I can see the samples going out from DMA buffer output and the interpolator.

 

is hard to understand the structure for the ad9361 core due the only documentation i found was this:

AD9361 HDL Reference Designs [Analog Devices Wiki]  also in design for pluto is hard due it is a generic core for the ad9361 where instances for 2 input and 2 outputs are instantiated while the pluto only use 1x1.

 

The further point I was able to achieve was found the problem in the signal going out from the instance i_tx_channel_1(marked as blue in ILA). it has zero values while it should not due in interpolator out there are values so maybe is taking the signal from other point or is disabled.

 

The curious part is in the schematic (see pdf attached) from Vivado pluto project it

put the signal in from dma from 3 bit to 0 bit to ground while in the i_tx_channel_0 for the real part all bits are routed inside.

 

Maybe there is some configuration in design is not propagated correctly in design and the ad9361 core is with bad configuration.

 

I remember I had to create the pluto project from scratch running the source tcl instance by instance due I had errors with the make script so maybe some errors could be done generating the project in this way.

 

Thanks,

regards.

 

P.D. maybe this is not the place to put this question and I should publish it in other place. please let me know it.

tx without reffill the buffer

$
0
0

I want to transmit and receive with pluto at high sample rates and because my signal is periodically I just need to fill with samples the buffer once and avoiding to redoing the buffer write process maybe can save time to speed up the sample rate.

I tried to call the push function in tx buffer several times after fill the buffer with samples but for some reason I see lost samples and don't know if this behavior is expected or I'm doing something wrong or missing something because still I'm not clear with the iio driver behavior.

 

Thanks,

regards.

Does the Scopy App. for the ADALM 20000 allow the user to capture and export raw data for further analysis? *

$
0
0

No further details to the question.

ADALM2000 FSK demodulation ?

$
0
0

Is there any available material on how to implement an FSK demodulator using ADALM2000 ?

Using either WIFI or Wire Ethernet with adalm-pluto


ethernet usb not recognized with adalm pluto

$
0
0

Hi,

I have an Ethernet usb adapter like this:

https://www.amazon.es/AmazonBasics-Adaptador-red-LAN-Ethernet/dp/B00M77HLII/ref=sr_1_29?ie=UTF8&qid=1525853686&sr=8-29&keywords=usb+ethernet

but for some reason when I plug this device to the pluto usb througth and OTG cable with an usb power connected to the other usb for powering the pluto the ethernet adapter doesn't turn on(green led is OFF) and do nothing.

 

I don't know what to do because with this device connected to usb I can't go inside pluto to see if device is recognized or not.

 

the adapter is working correctly with usb 2.0 in a windows machine.

 

I tried to use a usb hub for powering the adapter with an external power source but nothing.

 

Any ideas?.

thanks.

PlutoSDR different RX/TX sample rate (iio library)

$
0
0

Hi. Is it possible to set different sample rate for RX and TX to switch between transmitting/receiving process without changing it via IIO library?

 

Best regards, Eugene

Can't open SDK 2016.4 on ubuntu 16.04, how to fix that?

$
0
0

 

Hello,

I installed Vivado 2016.4 (and SDK), 

I can startup vivado without problem, but when I startup sdk, it failed. 

Knowing that I added the commande :
export SWT_GTK3=0  to  /opt/Xilinx/SDK/2016.4/settings64.sh 

That would be verry helpful if someone can help me.

Regards

libsmu

$
0
0

Hi Everyone.

I have just landed on the  analogdevicesinc/libsmu page, and I'm trying to download  libsmu-setup-x64.exe for Windows but I keep getting "(HTTP 404 Not Found)" error. Is this an issue with my settings or is there another solution other than using Linux.

Cheers

ADALM-Pluto: How to change settings with quick settling

$
0
0

Hi,

One of our users of the ADALM-Pluto is applying it in labs for their communication course. Extending on the possibilities in the lab, they want to change the settings of the receiver quickly. Using GNURadio they encounter 1 sec stall / blank time after doing a change. 

I myself checked with SDR# and e.g. a frequency change seems to be immediate. 

Below the description (without pictures) and attached a pdf with the same description and the pictures:

 

===

The software package we currently use is GNURadio. This package communicates with the PlutoSDR by using the LIBIIO library (over usb). Below you will find a straight-forward block diagram to transmit and receive a single sine wave with the same device:

 

[BlockDiagram]

 

As you can see, I also implemented a numeral input variable for the local frequency (ID: carrier). When this block diagram is compiled into the corresponding python code, the following GUI is created, which allows us to change the local frequency 'on the fly':

[FFT plot]

 

 

In the waterfall display below, we can see the FFT plot over time where the amplitude is represented by a color. I think this is where the miscommunication happened; Whenever the local frequency is changed, the device cannot transmit or receive any samples to or from the device for ~1 second (between ~5.1 and ~5.2 seconds in the graph below). We called this a 'reboot' in our previous e-mail because the device is unresponsive for a noticable amount of time, but we probably should have called it an 'unavailability' since the device is not actually rebooting, but merely changing the local frequency attribute.

[Waterfall]

 

Our purpose is to have many adalm plutos communicate with each other over a set of carrier frequencies. For this to happen, each unit needs to claim an available (unused) frequency and do a frequency sweep to find other devices transmitting on other frequencies. If we need one second to switch per frequency, the sweeping process will take too long. We need to get this 'transition' time down to a few milliseconds - preferably even less - otherwise the device won't be usable for our purpose.

 

I looked through the code and found the following:

 

The python function that we get from GNURadio to change the local frequency is this:

 

[python def set_carrier]

 

The 'set_params' method above calls the following C function from the gr-iio library: https://github.com/analogdevicesinc/gr-iio/blob/85cf3200691ddf57f84001f0489f0a0ce4c34532/lib/pluto_sink_impl.cc#L66

 

If I follow the chain of all functions that call each other, the C function linked from the gr-iio repository above links back to this command from the libiio repository: https://github.com/analogdevicesinc/libiio/blob/560027bfa271c7c994ca5c383c9030f26a5b1d88/examples/ad9371-iiostream.c#L95

 

Assuming I observed this chain of functions correctly, does that mean that since GNURadio is directly writing the lo_fr (local frequency) attribute to the ad9371 chip using the libiio library, that there is no more optimal or faster way of doing this? Does this mean that we are stuck with the delay of 1 second to change between frequencies? Is this a limitation by the method of communicating between the petalinux mcu with the ad9371 chip inside the adalm pluto or a limitation from communicating with the device externally over usb? Is there other software we can use (than GNURadio) that allows us to do a frequency sweep at a higher speed?

===

 

Could you please help with how to getting the settling of settings for the Pluto fast?

Thanks!

Best regards,

Rob

ADALM1000 – need assistance with PC-connection

$
0
0

I have tried to install Pixelpulse2 (v1.0.2) with bundled drivers, but there was an error with the WinUSB driver. Then I have installed the WinUSB drivers, using Zadig, as previously done here by other people (I am using Windows 7 machine, 64 Bit). Device manager showed, that the driver is properly installed: “ADALM1000 WinUSB driver”.
After restarting the computer I am trying to connect ADALM1000 to it. When I connect the ADALM1000 the LED turns on. The USB-cable is ok. Then I am trying to run Pixelpulse2 (v1.0.2) but it does not see the ADALM1000 (empty window). ALICE says, that there are no devices connected.
What could be the problem?

ADALM1000 Voltage Output

$
0
0

Hi.

I'm using pixel pulse with the ADALM1000 set up to "source voltage and measure current". I have no load connected but I want to produce a steady DC of about 1.5V, and looking at the output on the DSO I see on a 1.5V square wave. This is also true if I select the sinewave output I see a very erratic sine wave. Is this a settings problem?

 

Cheers


Python inside ADALM-Pluto (PlutoSDR)

$
0
0

Hello all

 

I want to share my experience how to use Python inside ADALM-Pluto.

 

Python installation:

(1) Download Python-2.7.3.tar.gz from rankeney user's message here

Add python (or any rpm) on Petalinux - Community Forums
(2) Copy Python-2.7.3.tar.gz to ADALM-Pluto to /tmp folder (SCP protocol)
(3) Open SSH connection to ADALM-Pluto and execute

gzip -d /tmp/Python-2.7.3.tar.gz

tar -xvf /tmp/Python-2.7.3.tar -C /usr

 

Now you can use Python inside ADALM-Pluto. I tried iio.py from ADI github and it works as expected,
I can perform AD9364 configuration, RF signal generation and RF signal capture with Python inside ADALM-Pluto and avoid any PC-to-Pluto data transfer (USB). I can generate signals with higher sampling rate because USB connection is not bottleneck anymore.

 

N.B. Python installation is not permanent, you will lose all your Python scripts and Python program itself after Pluto restart/reset/reboot.

 

ADI stuff, I think it's very useful to add python in your buildroot and make python permanent in ADALM-Pluto.

 

Danil Shendrik, IPrium LLC

ADALM-PLUTO kit availability.

$
0
0

Would be interested to know when will the ADALM-PLUTO kits be available for purchase.

If anyone is interested to sell his/her kit - please let me know.

 

Thanks in Advance.

Developing the FPGA of ADALM-PLUTO

$
0
0

Hello Everyone,  

 

         I would like to use the FPGA of plutot for computing the FFT for my application, so I start by using the projet given on GitHub - analogdevicesinc/hdl with vivado.

   

        I found out that there are a lot of things that are already there. Can someone explain to me what this is, because I see things that normally exist in AD9363, like the FIR filter, the Decimator and Interpolator... and all this uses a lot of FPGA resources! Why are they there ? Are they indispensable ?

 

Thanks,

Regards.

 

Es,

latest source code release of the ALICE 1.2 desktop

$
0
0

Hello again,

 

The wiki-page with the ALICE User’s Guide https://wiki.analog.com/university/tools/m1k/alice/desk-top-users-guide points for the latest source code release of the ALICE 1.2 desktop tool to  https://github.com/analogdevicesinc/alice/releases/download/1.2.1/alice-1.2.zip

 

Sadly there is nothing there (404).

 

And it says The source code for ALICE desktop 1.2 requires libsmu version 1.0.
Is it possible to have both libsmu version 1.0 and the older 0.89 version installed?


And if not, can version 1.0 get another name so that both version can live together?

 

Requards,

 

Ton

ADALM2000 doesn't come with a case?

$
0
0

I've received my long backordered ADALM2000 finally but it doesn't come with a case like the ADALM-PLUTO I've also got. The PCB is inside a piece of clear heatshrink sleeve and the ADALM2000 label is taped onto the top.

 

Is there a reason why the case was dropped? This is going to be fragile without the sturdy plastic case.

Viewing all 295 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>