Skip to main content
AMerc.4
Senior
January 26, 2021
Question

Decrease Display FPS

  • January 26, 2021
  • 1 reply
  • 3421 views

Hello,

i'm running touchgf in my 720x720 18bit display. I need to decrease the fps because of the heavy rendering time.

I know that to decrease the refresh rate i need to change the LTDC clock frequency. Now it is working with 25MHz (which should be approximately 50Hz). I know also that i need to change the porch timings when i decrease the TFT frequency.

Actually they are:

HSW = 20

HBP = 20

Active Width = 720

HFP = 10

VSH = 10

VBP = 10

Active Height= 720

VFP = 10

My question is how much i need to decrease each value to get 25Hz frame rate? I kown that i have to change the TFT clock to 13MHz, but what about porch timings?

This topic has been closed for replies.

1 reply

MM..1
Chief III
January 27, 2021

Porch dont need changes , in datasheet is defined as min max typical . Only clock . Your actual FPS is around 45Hz , then try 16MHz ...

But better is leave FPS up and optimize rendering , maybe double buffer ...

AMerc.4
AMerc.4Author
Senior
January 27, 2021

I'm still using the double buffer, but when i need to render full screen animations it is not fluid. With 50% screen it is always fluid.

It is strange that i don't need to change the porch, because if i change only the clock the display doesn't show the image correctly. Only with 25MHz - 30MHz

MM..1
Chief III
January 27, 2021

When your display is DSI you need change some other but for RGB isnt changing porch critical. But your data when SYNC and BackPorch is equal isnt standart, check pdf for controller IC on LCD.