STM32H743 Weird screen flickering
- December 23, 2021
- 2 replies
- 4071 views
Using TouchGFX with FreeRTOS I got very strange screen flickering issue. For me it looks like broken LTDC buffer addresses, but I have no idea how it could happen.
Screen is updated few times every second.
And the thing what I can't understand is that code breaking screen has absolutely nothing related to LTDC or TouchGFX. For example, I can repair video by disabling one of the FreeRTOS tasks. Or comment out a function that does only some memory buffers initialization and moreover this function is not called for first 10 minutes of firmware uptime. But as soon as I uncomment this function call my screen become crazy. So it is more like kind of static memory issue.
Tasks stacks are placed in separate MCU memory region and all tasks have free stack space.
