in GUI Development by

I have MIMXRT1060-EVK and I am trying to build a GUI application overlayed on a video. Video is coming from live camera input as done in the SDK csi_rgb565 example. By the way I am using SDK_2_7_0_evkmimxrt1060. I know that I need to use PXP. Process surface buffer should contain camera display and alpha surface buffer should contain GUI drawings and widgets. But embedded wizard examples in the SDK(like brick game), I can not understand how to use PXP with your API and manipulate LCD buffers. Can you help me how to manage GUI overlayed video application with embedded wizard?

Any help will be appreciated.

1 Answer

0 votes

Hi there,


technically working with two frame buffers is a pretty good concept, but it is not necessary to use both PXP frame buffers. Embedded Wizard has some internal functions, which makes it easy to handle external content. This can be realised with an Applet. In the past we had a similar discussion for STM here, maybe you can use this as example how to bring the camera data into an applet.

Within that example the camera driver writes the camera data in a camera frame buffer (exactly two, cause it's also double buffered). This separate camera buffer directly represent data, which can be accessed by Embedded Wizards Applet. Next the camera driver gets the address of the currently used camera buffer and transfers the data into that memory parts. Every time when a camera pictures is captured completely, the API indicates that with an update flag and the camera buffer switches.

Working with this concept doesn't requires to use the second PXP buffer. Thus, it is also not necessary to use the Embedded Wizard function in ew_bsp_graphics.c.


Hopefully this helps,

best regards,


Embedded Wizard Website | Privacy Policy | Imprint