Skip to main content
Trevor Jones
Senior
Sep 30, 2019 11:30 PM UTC
Question

Custom board

I have a custom board based on the H743Vi

it does not have external SDRAM but a QSPI flash for storage.

My board has an external Video Processor with SDram connected by FMC-LCD-16bit interface.

I would like to use TouchGFX ,

does it need the external SDram ?

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
Oct 1, 2019 7:06 AM UTC

Hi @Community member​,

You don't need external RAM to run TouchGFX. Here's a small example that shows how to configure one or the other:

#ifdef SINGLE_FRAME_BUFFER_INTERNAL
uint16_t frameBuffer[480 * 272];
static uint32_t frameBuf0 = (uint32_t)& frameBuffer[0];
#else
// Use SDRAM for frame buffers
static uint32_t frameBuf0 = (uint32_t)(0xC0000000);
#endif
 
...
 
hal.setFrameBufferStartAddress((uint16_t*)frameBuf0, 16, false, false);

 /Martin