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 can't share my project. Hope you understand my point.

Ok. Share file, which name is like "touchgfx....HAL...Generated.c" (I dont remember name).

@EEuge​ I can't find and file with same name inside touchgfx folder.

TouchGFXGeneratedHAL.cpp

share it here

show me code of function " void TouchGFXGeneratedHAL::initialize() {} "

I think its changed in touchgfx 4.15 . I can see below function in boardconfiguration.cpp.

0693W000006HUuHQAW.png

You are using the old way, please update to CubeMX 6.0.1, TouchGFX 4.15.

And look at the Application Template F746-DISCO.

/Alexandre​

@Alexandre RENOUX​ Ok I am updating.

Look!!!!

You have

	   lockDMAToFrontPorch(false);

set it to true!

This is bug of new version of CubeMX - this line is not written in the generated code. I have to write it manually every time I update the Cube project. I wrote here about this to the developers.

@EEuge​  Ok i will change it. Currently I am updating CubeMX  , touchgfx.

Also I am facing one more issue related to similar. Please check below link.

https://community.st.com/s/question/0D53W00000TIH7MSAX/stm32f746-display-getting-stuck

@Alexandre RENOUX​  I updated cubemx and toughgfx 4.16, But i m facing one issue while generating code.

0693W000006HWZkQAO.pngMy project path is D:\Color Dev\__CustmizedKitBootloader\Custmized_Kit_v0.7 and previously same path was fine with toughfx 4.15.

0693W000006HWaiQAG.png