691 views
in System Integration by

Hello,

I develop on the STM32L4R9 with a round display. On the STM32L4R9 is a 1.2 inch display with 390x390 resolution. I have adapted a 1.6 inch display with a resolution of 400x400.

By adjusting the display driver, the resolution from 390 to 400 and Embedded Wizard I get an image. Unfortunately, the display is not completely filled out. 

If I turn on this function",#define VIRTUAL_BUFFER_WIDTH (3072 / BSP_LCD_BYTE_PER_PIXEL)", this error will never get better. What do I have to set to fill the entire display?

Enclosed a picture:

https://ask.embedded-wizard.de/?qa=blob&qa_blobid=17684462899965956409

Thank you.

Best Regards

2 Answers

0 votes
by

Hello,

in your Embedded Wizard project have you configured the right screen resolution 400x400 piyxel in the Profile attribute ScreenSize? Also have you adapted the size of the GUI  components and the of the application component for the new screen size?

Best regards

Paul Banach

by
Hello Paul Banach,

yes I have configured it. I think that should be any setting from µVison to increase any framebuffer or something else. If you see the picture you can recognise that the boarder is removed and show white pixels. There is anywere a software part which removes the pixel of the edges, but where is this software part?

 

Best Regards,

 

DDMW
0 votes
by

Hello,

On STM32L4R9 a so-called GFXMMU is used to save framebuffer memory.
A display specific LUT is used to map a virtual framebuffer to the physical framebuffer memory.

To use another display, you have to modify stm32l4r9i_discovery_gfxmmu_lut.h 
according to your display and probably also to increase the physical framebuffer
memory in \TargetSpecific\ew_bsp_display.c.

For more information please have a look to the application note 'AN5051' of STM.
https://www.st.com/content/ccc/resource/technical/document/application_note/group0/74/21/86/42/af/d5/4f/58/DM00407777/files/DM00407777.pdf/jcr:content/translations/en.DM00407777.pdf

Best Regards,
Marrtin

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...