RedPitaya has Qt GUI window

Tell us how your experiment is running with Red Pitaya
Post Reply
pippo
Posts: 2
Joined: Sat Apr 14, 2018 9:18 pm

RedPitaya has Qt GUI window

Post by pippo » Sun Apr 15, 2018 5:50 pm

Succeeded to make HDMI video TX FPGA logic and LX device drivers on RedPitaya to have Qt GUI applications that runs directly on RedPitaya.
Generated HDMI video is SXGA (1280x1024@60fps, 24bit color, Pixel Clock 108MHz) resolution.
In attached picture the FPGA logic coloured with yellow is the one that implements HDMI TX (DMA video data from DDR, HDMI video stream, video timing and HDMI output signal generate logic).
All other logic (in blue) is some my adc data acquisition and processing logic.
With this support I have possibility to write stand alone (no network connection need) GUI applications to output video results directly to connected HDMI monitor.

I used Qt and Qwt for GUI framework, LX is 4.6 kernel version and video is handled by LX DRM driver.
On pictures you can also see the small HW board that I have to made to buffer HDMI output signals and drive them to HDMI TX connector.
From signal quality point of view (wire length and impedance) the board is far from perfect, but I need to make something quickly for proof of the concept.
I will now draw and make made a proper PCB board.

It would be also possible to add X driver to attach to DRM driver and than have complete X Window system on RedPitaya.
For my purposes the Qt GUI is far enough for my requirements (e.g. I don't need X terminal window) and also RedPitaya resources (amount of DDR memory and bandwidth) are limited.

On attached pictures are standard Qt and Qwt examples (framebuffer, cpuplot and sysinfo) that I cross compiled and than executed on RedPitaya to proof that it works.
Now I can start to write my own RedPitaya Qt GUI application.
You do not have the required permissions to view the files attached to this post.

amike88
Posts: 78
Joined: Tue Mar 29, 2016 7:41 pm

Re: RedPitaya has Qt GUI window

Post by amike88 » Tue Apr 17, 2018 9:30 am

Congrats looks good :)

what is the resources usage?

pippo
Posts: 2
Joined: Sat Apr 14, 2018 9:18 pm

Re: RedPitaya has Qt GUI window

Post by pippo » Tue Apr 17, 2018 8:22 pm

Sum done by Vivado utilization report for modules used by HDMI TX logic (colored yellow in attached picture above):
Slice LUTs (17600): Used=1993
Slice Registers (35200): Used=4003
Block RAM Tile (60): Used=3
OLOGIC (100): Used=8
BUFIO (8): Used=1
MMCME2_ADV (2): Used=1
BUFR (8): Used=2
In parenthesis is max avail for Z7010. All the rest is available for other FPGA processing stuff.
In my design the other processing logic (colored blue) is used for ADC data acquisition and processing.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 0 guests