Skip to main content
Tliu.2
Associate
February 4, 2021
Question

the TouchGFX rendering frequency is 60 frames per second; now i want to change the frequency to lower; the main purpose is to save power(most of time i don't need to refresh the LCD)

  • February 4, 2021
  • 1 reply
  • 1091 views

..

This topic has been closed for replies.

1 reply

Romain DIELEMAN
ST Employee
February 4, 2021

Hi,

Maybe this post will help you.

The touchgfx render time is tied closely to the VSYNC of the display. If you wish to lower the fps you can change the pixel clock in your CubeMX project in "Clock Configuration", until you have the desired vsync frequency (16.66ms = 60Hz).

You can measure the vsync/render-time for your concrete application through signals exposed by TouchGFX. Have a look at the implementation of the GPIO class given by Martin in the post I linked.

/Romain

Mna.1
Associate III
February 4, 2021

Thank you for helping.

You'll excuse me from the side.

This number of 60 (fps) can be calculated by horizontal period * vertical period * LCD_CLK, so

Is it okay to interpret it as being determined by LCD_CLK?

Also, in the case of STM32F769, how many MHz can LCD_CLK be output at the maximum?

Thank you.