Skip to main content
ANauz.1
Senior
January 25, 2023
Question

How to reduce TouchGFX refresh rate or MCU consumption ?

  • January 25, 2023
  • 5 replies
  • 1416 views

Hello,

I'm working on a STM32F769I-Eval demoboard.

I have a FreeRTOS and FreeRTOS-Plus-TCP running on it. I can ping the board with a 100% succes.

When I start a basic TouchGFX 4.21 Application, even without any refresh, the Ping response fall to 30%.

As the TouchGFX as no animation, the refresh rate is not so important. How can I reduce it to avoid the TCP task miss some ping packet?

Or is there any other possibility to reduce MCU consumption by TouchGFX?

Thank you

Antoine

This topic has been closed for replies.

5 replies

MM..1
Super User
January 25, 2023

Touchgfx mode ? LTDC / Custom Single Double Partial SPI ?...

ANauz.1
ANauz.1Author
Senior
January 26, 2023

Interface selected in CubeMX is custom. I do not change anything to the ioc file generated by TouchGFX designer from the board template.

Jnevi.1
Associate III
January 26, 2023

did you not implement a timer etc for genVSync() ? This should control how often the screen is updated

i use an spi display and call this function every 100ms. but only on screen changes the display is really updated. i do not know if this is maybe different with other displays?

ANauz.1
ANauz.1Author
Senior
January 26, 2023

Hello,

I do not implement any timer. I'm using the code generated from TouchGFX designer and CubeMX. I will have a look to change the VSync generation timer.

ANauz.1
ANauz.1Author
Senior
January 26, 2023

The generated code from TouchGFX Designer and CubeMX use a "Custom" interface instead of the "Parallel RGB (LTDC)" interface.

Is it not better to use it? Or is there a reason not to use it?