TouchGFX DSI display, not coming out of standby mode.
Hello @Romain DIELEMAN , @Martin KJELDSEN, I see that you have a lot of replies on the TouchGFX so I hope it's ok that I address you directly. I am running a low-power application with a DSI display and TouchGFX 13 (will update to latest eventually). The problem that I have is that I cannot bring the display out of power off mode without deleting and re-creating the TouchGFX task. My ideal approach would be to simply stop the tick (seem like the suggestion for this is to stop LTDC interrupt via __HAL_LTDC_DISABLE(&hltdc); / __HAL_LTDC_ENABLE(&hltdc). I've also tried touchgfx::HAL::getInstance()->disableInterrupts(); / touchgfx::HAL::getInstance()->enableInterrupts();. But it seems like whenever the interrupts are stopped, I am unable to get the tick running again - DSI_IRQHandler stoppes triggering.
My display power-off consists simply of issuing required DSI commands, then pulling power to the supply. Upon power-on I can tell that the display is active, but is not being refreshed by the application. If I delete and recreate the TouchGFX task in RTOS, this is resolved, but I believe there should be a way to kick start the application without needing to re-init the task. I suppose the main question is, how to restart Vsync / DSI interrupts after they've been disabled. Any thoughts on this would be very much appreciated.
