AnsweredAssumed Answered

how to enable VSYNC IRQ with STM32F429 LTDC ?

Question asked by horbach.markus on Oct 11, 2016
Latest reply on Nov 5, 2016 by horbach.markus
I am using the STM32F429i-disco and configured the LTDC (with CubeMX 4.16.1) to generate an VGA output signal 800x480@565-RGB. So far working good with single layer. But for more fluid animations, i do a buffer swap (in SDRAM) after every redrawn frame. But i did not manage to synchronise my buffer swap to the vsync of the monitor. I enabled the LTDC IRQ, implemented void HAL_LTDC_LineEventCallback(LTDC_HandleTypeDef *hltdc), configured HAL_LTDC_ProgramLineEvent(&hltdc, 479) but the LineEventCallback is never called. Did I do the right steps to sync to the display ?

Best regards,
Markus.

Outcomes