cancel
Showing results for 
Search instead for 
Did you mean: 

Display flickering STM32F746

Hello, I am using STM32F746 with FMC SDRAM, QSPI flash, DMA2D. I observed my display is flicking. You can check video using below link.

https://drive.google.com/file/d/1j3uyyHWHlFO-fGW23RI33Iyos6meYaB-/view?usp=sharing

Any suggestions for solving this issue.

I am using custom board with MCU 746 with below software with version :

  • Touchgfx 4.15.0
  • CubeMX 5.4.0
  • IDE : System workbench for STM32

Thanks

32 REPLIES 32

@EEuge​ I am using using double buffer so don't need it now.

void TouchGFXGeneratedHAL::initialize()
{
    HAL::initialize();
 
    registerEventListener(*(Application::getInstance()));
    setFrameBufferStartAddresses((void*)0xC0000000, (void*)0xC0120000, (void*)0);
}

Please check my other post.

https://community.st.com/s/question/0D53W00000TpEyoSAF/stm32-resetting-after-adding-touchgfx-task-in-freertos 

I"m using double buffer too!

But if I set This parameter to "false", I see the same picture, as you.

Just try to follow my advise.

@EEuge​ Ok i ll update code as below. If you get time, plz check my other post : https://community.st.com/s/question/0D53W00000TpEyoSAF/stm32-resetting-after-adding-touchgfx-task-in-freertos 

void TouchGFXGeneratedHAL::initialize()
{
    HAL::initialize();
    registerEventListener(*(Application::getInstance()));
    setFrameBufferStartAddresses((void*)0xC0000000, (void*)0xC0120000, (void*)0);
   lockDMAToFrontPorch(true);
}