Skip to main content
Eblec.1
Associate III
May 31, 2022
Question

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

  • May 31, 2022
  • 17 replies
  • 6340 views

0693W00000NrFBWQA3.jpg

This topic has been closed for replies.

17 replies

Eblec.1
Eblec.1Author
Associate III
May 31, 2022

it is not happening on simulator. only on my real target !

Eblec.1
Eblec.1Author
Associate III
May 31, 2022

is there any initialization that is running on simulator and NOT on my real target ?

Eblec.1
Eblec.1Author
Associate III
June 1, 2022

today I tried this on evaluation board stm32l496g-disco and it works ok without dots left behind.

the disco has a screen 240*240. my screen is 320*240. can it be the reason to the dots left behind ?

Yoann KLEIN
ST Employee
June 3, 2022

Hello @Eblec.1​ ,

What do you mean with leaving dots in the path ? Could you provide more details about your issue and maybe also screenshots ?

Something else, next time you post something, please avoid answering to your own post. If you answer your own post, ST teams and other people might think that your issue/question could be answered or at least that someone is already helping you.

So, if you progress with resolving your issue, please edit your post and add news, that's preferable ;)

Thank you !

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Eblec.1
Eblec.1Author
Associate III
June 6, 2022

hello, Yoann.

I added an image that shows the dots left by the animation of moving the box through the screen.

thanks.

EKama.1
Associate
June 6, 2022

Hello Eblec,

Try use <box>.invalidate() for the background box and execute it in each tick event

Eblec.1
Eblec.1Author
Associate III
June 6, 2022

thanks. I'll try this. but isn't it a workaround to fix an animation problem ?

Osman SOYKURT
ST Technical Moderator
June 7, 2022

Hello Eblec.1,

You said that on the stm32l496g-disco it works fine but on which board it's not working fine ?

/Osman

ST Software Developer | TouchGFX
Eblec.1
Eblec.1Author
Associate III
June 7, 2022

hello, Oskt.

it works fine on the disco, which has 240*240 screen.

it leaves dots on my custom board with a screen 320*240.

I declare in touchGFX the 320*240 , and only the animation leaves dots.

thanks.

Osman SOYKURT
ST Technical Moderator
June 8, 2022

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

ST Software Developer | TouchGFX