Search code examples
stm32f4

STM32F412-Discovery + TouchGFX


Hi I've write a very simple, (although the demos appear to do the same) a TouchGFX project, one button two shapes.. seems to work perfectly in the simulator, just when i download using either the designer or the IDE, when I run i just get this screenScreen on run i'm assuming i've missed some configuration, but to be honest the designer tool, seems to do most of it... I've tried two Discovery boards, both the same, and i've run the very simple Hello World project that could in the 1.27 FW pack.. and that works so i'm thinking the hardware is ok. Could anyone give me any pointers please, I think i've just missed a step

Thank you

Andy

It should look like this


Solution

  • Looks like an STM32412 DISCO board. It hits an assert initialising the touch driver. The later version of the board has a different touch controller, see UM2032 D04 revision swaps the display to a FRD154B2902-D-CTQ, which changes the touch controller to an FT3267. The TouchGFX project creator uses the BSP FT6x06 touch driver. ST do have an ft3x67 BSP driver (used on the STM32L4R9IEVAL board). If you bring that into the touchGFX project and modify the STM32TouchController.cpp file to use it, the