cancel
Showing results for 
Search instead for 
Did you mean: 

touchGFX function startMoveAnimation is leaving dots in the path. why ?

Eblec.1
Associate II

0693W00000NrFBWQA3.jpg

17 REPLIES 17
Osman SOYKURT
ST Employee

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

Osman SOYKURT
ST Software Developer | TouchGFX
Eblec.1
Associate II

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.

Osman SOYKURT
ST Employee

Hello Eyal,

Indeed that would be enough. And what is the "Display Interface" configuration you have on STM32CubeMX ? LTDC, FMC ?

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
Eblec.1
Associate II

hello, Oskt.

I set the display interface to Custom and added the file I have from the screen manufacture : st7789.c & .h .

Eblec.1
Associate II

I made changes to touchGFXHAL.cpp : copyFrameBufferBlockToLCD & flushFrameBuffer functions,

to be compatible to the st7789 I use.

Osman SOYKURT
ST Employee

Hello Eyal,

Have you tried to use other animations like screen transitions, fadeAnimation, changing box/screen color etc...

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
Eblec.1
Associate II

hello, Oskt.

No, I didn't !

Osman SOYKURT
ST Employee

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

Osman SOYKURT
ST Software Developer | TouchGFX