2022-05-31 05:03 AM
2022-06-08 01:34 AM
Hello Eblec.1,
Ok, and what did you put for dimensions of your application on TouchGFX Designer ? 240*240 or 320*240 ?
Also did you modify the dimension of your display with STM32CubeIDE ?
/Osman
2022-06-08 01:44 AM
Hello, Oskt.
I declared the 320 width, 240 height in stm32cubemx for software-packs / touchGFX / display.
I didn't see any other place to set this.
in touchGFX config / display I see it as W 320 * H 240.
I didn't look for it in the IDE.
thanks. eyal.
2022-06-08 07:17 AM
Hello Eyal,
Indeed that would be enough. And what is the "Display Interface" configuration you have on STM32CubeMX ? LTDC, FMC ?
/Osman
2022-06-08 07:26 AM
hello, Oskt.
I set the display interface to Custom and added the file I have from the screen manufacture : st7789.c & .h .
2022-06-08 07:30 AM
I made changes to touchGFXHAL.cpp : copyFrameBufferBlockToLCD & flushFrameBuffer functions,
to be compatible to the st7789 I use.
2022-06-09 07:01 AM
Hello Eyal,
Have you tried to use other animations like screen transitions, fadeAnimation, changing box/screen color etc...
/Osman
2022-06-09 07:06 AM
hello, Oskt.
No, I didn't !
2022-06-09 07:19 AM
Ok, try with that, it will help us to see if it's a bug related to the animations or the screen itself.
Also, we have an article to check the display screen, you can have a look and try the example with changing the screen color.
/Osman