STM32F7 Discovery Board STemWin examples

stm32stm32f7

I've tried compiling the included ticker example with the STemWin_HelloWorld project included in STM32CubeF7. Functionally, it works OK but the draws seem to be corrupted.

Take a look at the video I've uploaded onto YouTube:

I suspect it as something to do with the configuration of the memory but I cannot be sure. This was compiled using SW4STM32.

Best Answer

Answer is taken from the ST forum here.

Turns out you have to disable caching by commenting out the line in the main function:

CPU_CACHE_Enable();