Skip to main content
KTarc
Associate II
July 18, 2019
Question

disabling the LTDC

  • July 18, 2019
  • 2 replies
  • 1010 views

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
July 18, 2019

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

KTarc
KTarcAuthor
Associate II
July 18, 2019

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