Skip to main content
Eblec.1
Associate III
May 31, 2022 12:03 PM UTC
Question

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

0693W00000NrFBWQA3.jpg

This topic has been closed for replies.

17 replies

Eblec.1
Eblec.1Author
Associate III
Jun 8, 2022 8:44 AM UTC

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 Technical Moderator
Jun 8, 2022 2:17 PM UTC

Hello Eyal,

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

/Osman

ST Software Developer | TouchGFX
Eblec.1
Eblec.1Author
Associate III
Jun 8, 2022 2:26 PM UTC

hello, Oskt.

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

Eblec.1
Eblec.1Author
Associate III
Jun 8, 2022 2:30 PM UTC

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

to be compatible to the st7789 I use.

Osman SOYKURT
ST Technical Moderator
Jun 9, 2022 2:01 PM UTC

Hello Eyal,

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

/Osman

ST Software Developer | TouchGFX
Eblec.1
Eblec.1Author
Associate III
Jun 9, 2022 2:06 PM UTC

hello, Oskt.

No, I didn't !

Osman SOYKURT
ST Technical Moderator
Jun 9, 2022 2:19 PM UTC

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

ST Software Developer | TouchGFX