cancel
Showing results for 
Search instead for 
Did you mean: 

emWin GUIBuilder not working for STM32F746 Discovery?

Dave Brown
Associate
Posted on January 16, 2018 at 17:38

I am using the STemWin GUIBuilder for STM32F429 Discovery and this works fine. Trying the same procedure with the STM32F746 Discovery causes partial distortion on the screen. For example Slider and Buttons have a lot of distorted pixels, Multiedit boxes not. If I place the widget manually everything is ok. Same problem was posted a couple of month ago in this forum but never solved.

Has anyone a solution for this?

2 REPLIES 2
Dave Brown
Associate
Posted on January 20, 2018 at 12:17

The solution is to disable the data cache in the STM32F7 (thint from the Segger Forum). So adding   SCB_DisableDCache(); directly after CPU_CACHE_Enable(); in main() will help!

Posted on January 23, 2018 at 00:52

I had a similar problem.

My solution is here

https://arm-stm.blogspot.com/2017/04/stm32f746ng-discovery-ram-stemwin.html