Skip to main content
Bala1
Associate III
June 5, 2020
Solved

How many frame buffers are selected in Demo project generated by TouchGFX designer.

  • June 5, 2020
  • 2 replies
  • 1683 views

I am using STM32L4R9 Evaluation board for my development.

When we generate a Demo Project from the TouchGFX Designer, how do we check that how many Frame buffers are used by default and how to check whether we are using any External RAM to store the Frame Buffer.

Regards,

Bala

This topic has been closed for replies.
Best answer by Martin KJELDSEN

@Bala​ ,

You can check the TouchGFXGeneratedHAL.cpp, specifically the setFrameBufferStartAddresses() - the arguments will tell you how many framebuffers you're using.

I can give you the answers for this board, though - It's:

One (since the display has GRAM) and Internal.

 setFrameBufferStartAddresses((void*)0x30000000, (void*)0, (void*)0);

/Martin

2 replies

MMoon.1
Visitor II
June 8, 2020

Open up CubeMx project (IOC file):

for SDRAM check if fmc-sdram is configured

for buffering strategy check in additional software the configuration

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
June 10, 2020

@Bala​ ,

You can check the TouchGFXGeneratedHAL.cpp, specifically the setFrameBufferStartAddresses() - the arguments will tell you how many framebuffers you're using.

I can give you the answers for this board, though - It's:

One (since the display has GRAM) and Internal.

 setFrameBufferStartAddresses((void*)0x30000000, (void*)0, (void*)0);

/Martin

Bala1
Bala1Author
Associate III
July 1, 2020

Hi @Martin KJELDSEN​,

Thank you so much for the details.

could you please give me details on below,

What is the GRAM size of the Display which is used in STM32L4RI Discovery kit ?

What is the minimum GRAM size required to use a 390x390 display with RGB888 ? and if display don't have GRAM can we use only single buffer for animation.

Thanks and Regards,

Bala

Bala1
Bala1Author
Associate III
July 9, 2020

H,

Could you please give details on above.

Thanks and Regards,

Bala