Skip to main content
Doe John
Visitor II
December 9, 2021
Solved

TGFX 4.18: RAM problem with the new video widget

  • December 9, 2021
  • 1 reply
  • 754 views

Dear all,

I have a problem with the new video widget in combination with the STM32F769NI-DISCO (MIPI DSI display 800x480 px, JPEG HW en-/decoder, 16 MB ext RAM, 64 MB ext QSPI Flash).

If I create with the TGFX designer 4.18 a new video example project with this board, the video runs without problems. If I change the video to the 800x480 sample video and increase also the video frame buffer in CubeMx it's not possible to build the project because the RAM size is out of limit.

It seems, that TGFX use just the internal RAM for the video framebuffer.

So the question is:

Is it possible to switch the video framebuffer also to the external RAM?

And if yes, how can I do this?

Thank you in advance.

BR,

John

This topic has been closed for replies.
Best answer by Alexandre RENOUX

Hello Doe John,

You are right, in TouchGFX 4.18.0 the video buffer can only be in internal RAM.

However, now 4.18.1 is out and this was fixed. Now, you can put the video buffer in external RAM :D

Please look at this article : https://support.touchgfx.com/4.18/docs/development/touchgfx-hal-development/scenarios/scenarios-video-decoding#placing-video-buffer-in-external-memory 

When your question is answered, please close this topic by choosing Select as Best.

/Alexandre

1 reply

Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
December 13, 2021

Hello Doe John,

You are right, in TouchGFX 4.18.0 the video buffer can only be in internal RAM.

However, now 4.18.1 is out and this was fixed. Now, you can put the video buffer in external RAM :D

Please look at this article : https://support.touchgfx.com/4.18/docs/development/touchgfx-hal-development/scenarios/scenarios-video-decoding#placing-video-buffer-in-external-memory 

When your question is answered, please close this topic by choosing Select as Best.

/Alexandre