Question
TouchGFX Partial Frame Buffer with LTDC
Hi, There are a lot of examples about TouchGFX with Partial Frame Buffer. But all of them with SPI or I2C LCDs. Even the TouchGFX support page:
I want to know how should I initialize TouchGFX with partial frame buffer by LTDC peripheral. I already did with SPI LCDs and I used this function:
void touchgfxDisplayDriverTransmitBlock(const uint8_t* pixels, uint16_t x, uint16_t y, uint16_t w, uint16_t h)
{
isTransmittingData = 1;
LCD_drawBuffer((uint16_t*)pixels, x, y, w, h);
DisplayDriver_TransferCompleteCallback();
}In this code function LCD_drawBuffer is defined in SPI LCD library.
How should I do for LTDC?
Thank you.
