Skip to main content
Chandan Bhatia1
Associate III
Question

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

This topic has been closed for replies.

32 replies

Slh
Senior

Change (reduce) the LCD-Clock Speed and test.

Chandan Bhatia1
Associate III

I tried.. Kinda same

Move widget, which is flickering, to top, above other widgets

Like this

0693W000006HQTbQAO.png

Alexandre RENOUX
Visitor II

Hello Chandan Bhatia,

From the look of your video, I suppose that you have created your project from scratch with a custom display.

I believe it's related to the DMA2D. First check your MPU settings.

Also uncomment all the lines where you have SCB_CleanInvalidateDCache(); (They should be located in STM32DMA.cpp and TouchGFXHAL.cpp).

/Alexandre

Chandan Bhatia1
Associate III

@Alexandre RENOUX​  Hi, 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

Below are the settings for DMA2D

0693W000006HUi7QAG.png 

In My project, I searched for SCB_CleanInvalidateDCache(), but I am not directly calling it anywhere.

0693W000006HUiLQAW.pngI didn't enable MPU. Check my system view.

0693W000006HUiVQAW.png

Alexandre RENOUX
Visitor II

MPU needs to be enabled. Please refer to the Application Template F746-DISCO available in TouchGFX Designer.

/Alexandre