Hello,
I am developing an application based on the MiMX1052RT processor, embedded on a custom board and a custom color LCD display 320x240. I use MCU-Expresso with GuiGuider 1.7.0.-GA and LVGL version 8.3.10. All the toolchain works fine, but I have an issue in visualizing widget with rounded shapes on the display: all the boarders are stable and OK, while the internal colors appears to be scrached (see pictures enclosed).
I am pretty sure all the hardware settings to the display are OK (16bit RGB, double frame buffer scheme, 52Hz refresh rate) since:
- I send only one frame to the display, and
- all the syncronization signals are present and clean, with the correct frame rate
- the image remains stable
- the colors are fine
But the image is corrupted in the fillings.
I believe that there is something odd with the blending between the image and the alpha channel, since if I modify slightly the opacity setting (from 100% to 98%) the image get sharply worst (see pictures). Another thing to note is that also images (not shown in the example enclosed) are affected by this if I set the attribute True Color Alpha on GuiGuider, while they are perfect if I set True Color only.
I have tried a lot of things, but nothing worked.
Any idea?
Thank you
22/02/24 - UPDATE
I discovered that if I put on top a transparent image all the background widgets are drawn correctly. This supports the theory that there is something odd with the opacity. See "Image Custom Display - top transparency.jpg".
Please give me an help becouse I don't want to put this additional layer, it complicates me all the touch user interface features....
Hi @Amoro,
Are you seeing this issue on the example codes we provide on GUI Guider v1.7.0? Were you able to try using one of the LCD panels we ship with our EVKs?
Do you see any changes when adjusting the color depth profile? What is the optimization level on your project? Is the PXP graphics acceleration enabled? All of these settings can be checked and adjusted on the "Settings" tab of the right panel.
BR,
Edwin.
Hello EdwinHz,
thank you for your answer.
No, I cannot replicate the issue on and example or on a EVKs becouse both the board and the display are custom. On the simulator (over PC) there's no problem, while on the display it appears, unless I put on the top a transparent image....
Do you see any changes when adjusting the color depth profile? NO
What is the optimization level on your project? Balance
Is the PXP graphics acceleration enabled? No, and it is not a listed as a choise ... maybe becouse I set "Simulator" on the display panel type menu. By the way, how can I choose a custom display in display panel type or set a custom display when I set up a new GUI?
Hi @Amoro,
From what you mentioned, I understand that you selected "Simulator" when choosing a board template on the project creating window, and then you selected the appropriate display resolution, as follows:
Is this correct? Even though you are not using the actual RT1050-EVK, creating a project with this board as template allows the project to be created with all of the data and drivers required for the RT1050 MCU specifically. So, instead of selecting a simulator project with a simulator display type, I recommend you to select an RT1050-EVK and add the custom display as follows:
Note that the Display Panel Type box is text based, so you can manually type the display type that you are using. I wrote LCD as an example.
BR,
Edwin.
Hello EdWinZ,
yes, correct. I'll try, thank you.
My board is a custom board, different from the RT1050-EVK. Specifically:
- I use the Quad Flash SPI instead of the HyperFlash
- display controller is ST7789V, SPI driven for configuration and RGB interface for driving display
- I reconfigure FLEX-RAM in order to locate the buffer scheme
All my custom configurations will be maintained using a GUI-Guider RT1050-EVK based project?
Thank you
Hi @Amoro,
No, I'm afraid that the specific driver implementations to enable the changes you mention will most likely have to be manually adjusted on the generated GUI Guider project. However, the benefit of doing an RT1050-EVK based project is that it will include all of the drivers and APIs that we provide for the RT1050 MCU, so implementing these changes that you require should be simpler, as you can use the already included APIs rather than creating them from scratch.
I hope this helps.
BR,
Edwin.
Hello Edwin,
trials done, nothing changed, even if I activate pxp.
Again, if i activate a transparent top layer, visualization is OK. I enclosed both the resulting bad image, the simulator image and the good image (with transparent layer), with the complete MCUExpresso project for your check here:
https://www.dropbox.com/scl/fo/txr2rc9etq4614x0u6zpg/h?rlkey=snlauh9a2c3c6hueaijjttznb&dl=0
Any more idea?
Thank you!
Hi @Amoro,
Quick question: If you enable "Real Time Perf Monitor" and "Memory monitor" and run it on your board, what values do you see?
I am suspecting that the issue might be memory handling related, similarly to the following posts:
Display is Flickering in Single Frame Buffer Configuration - NXP Community
Solved: Camera image glitching/tearing when DEMO_CAMERA_BUFFER_COUNT 3 - NXP Community
BR,
Edwin.