cancel
Showing results for 
Search instead for 
Did you mean: 

TGFX 4.18: RAM problem with the new video widget

Doe John
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
Alexandre RENOUX
Principal

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

View solution in original post

1 REPLY 1
Alexandre RENOUX
Principal

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