Skip to main content
Associate
November 14, 2025
Question

Is using an animation class more efficient than manually moving an image?

  • November 14, 2025
  • 2 replies
  • 190 views

Hi!

I'm currently working on a game for a st32U5 which is 80 MHz and I don't believe has any H.W. acceleration (right?) and I want to minimize the CPU workload.

I'm currently manually making an image move, by changing the position at 30Hz. I'm considering using an animation class, but I am worried that If I use the animation class it would then move at my touchGFX FPS (60Hz) and cause more CPU workload.

If using an animation is more efficient, then I suppose I won't worry about it.

 

2 replies

Osman SOYKURT
Technical Moderator
November 18, 2025

Hello @knight_8 ,

Which STM32U5 are you using? For instance, the STM32U5G9ZJ uses Neochrom as accelerator and therefore could suit your technical needs. And yes, I confirm that the animated image widget in TouchGFX Designer is accelerated by the graphic accelerator as described in our documentation. More details about Neochrom can be visible here.

Osman SOYKURTST Software Developer | TouchGFX
knight_8Author
Associate
November 20, 2025

Hi Osman thank you for the reply, I am currently using a STM32U585QIIx

Osman SOYKURT
Technical Moderator
December 4, 2025

Hello @knight_8 ,

For STM32U585QIIx, the Chrom-ART Accelerator (DMA2D) is available for enhanced graphic content creation (the NeoChrom (GPU2D) is not available). 

Osman SOYKURTST Software Developer | TouchGFX
Osman SOYKURT
Technical Moderator
December 17, 2025

Hello @knight_8 , 

Did I answer your question or do you need more information?

Osman SOYKURTST Software Developer | TouchGFX