2019-09-30 04:30 PM
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 ?
2019-10-01 12:06 AM
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