Skip to main content
KTarc
Associate II
Jul 18, 2019 6:47 AM UTC
Question

disabling the LTDC

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

This topic has been closed for replies.

2 replies

oleksandr.karbivsky
Senior II
Jul 18, 2019 7:16 AM UTC

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

KTarc
KTarcAuthor
Associate II
Jul 18, 2019 7:39 AM UTC

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