2019-07-17 11:47 PM
Hi,
I have my own
PCB with the STM32F429, SDRAM, TFT and others. To avoid screen flickering, I am
disabling the clock for LTDC for a time when content is changing. If I do it very often (10 times per second) it
could happen that the MCU crash. It doesn’t matter if I use critical section
(disable isr), modify register or use bit banging, always the same, crash after
a few seconds (time is not constant).
I use this instruction:
RCC->APB2ENR &= ~RCC_APB2ENR_LTDCEN;
I also try to use bit banging, but the effect is the same.
Does one have any idea why? What is the most elegant way to avoid flickering?
BR
KWT
2019-07-18 12:16 AM
Hi. You can use double buffering. Some info here.
2019-07-18 12:39 AM
double buffering is not good for me. I do not have enought memory.