cancel
Showing results for 
Search instead for 
Did you mean: 

disabling the LTDC

KTarc
Associate II

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

2 REPLIES 2

Hi. You can use double buffering. Some info here.

KTarc
Associate II

double buffering is not good for me. I do not have enought memory.