cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring STM32F746GDISCOVERY TouchGFX graphic application via STM32CUBEMX and STM32CubeIDE

Jiri Klokocka
Associate II

I have just spent two days configuring STM32F746GDISCOVERY graphic application via CUBEMX an finally get it work. So I'm sharing my steps.

It is written for dummies like me =)

Many thanks to Martin Kjeldsen for background information.

There are DOCx, RARed images, ioc file and whole project in the attachmments.

Edit: I should have mentioned that all the code added to main.c and other settings are from project generated by TouchGFX Designer.

Edit2: QUAD SPI is not configured corretly, here is the roght configuration in the video:

https://www.youtube.com/watch?v=237lPdMsDZs

11 REPLIES 11

Yes, STM32F746G-DISCOVERY. QSPI is only needed for storing large images if the controller's FLASH memory is not enough?

0693W000000Tk34QAC.png

I figured it out.

Deleted #include <stm32746g_discovery_qspi.h> from STM32CCubeIDE -> Project -> Core -> main.c

Deleted "stm32746g_discovery_qspi.c" and "stm32746g_discovery_qspi.h" from STM32CCubeIDE->Project->Drivers->BSP

Deleted "n25q128a" from STM32CCubeIDE->Project->Drivers->BSP->Components

Great. I have just figured out that I actually didn't used QSPI :)

Here is everything in the video:

https://www.youtube.com/watch?v=237lPdMsDZs