Skip to main content
Chandan Bhatia1
Associate III
January 4, 2021
Question

Display flickering STM32F746

  • January 4, 2021
  • 32 replies
  • 4767 views

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
January 4, 2021

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

Chandan Bhatia1
Associate III
January 4, 2021

I tried.. Kinda same

January 4, 2021

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

Like this

0693W000006HQTbQAO.png

Alexandre RENOUX
Visitor II
January 5, 2021

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
January 5, 2021

@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
January 5, 2021

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

/Alexandre