Skip to main content
Associate II
Dec 15, 2023 7:39 AM UTC
Question

TouchGFX with stm32f412g-disco

Good morning,

I bought an stm32f412g-disco board but it's impossible to program the screen with a TOUCHGFX application.

I'm using TOUCHGFX Designer 4.23 and stm32cubef4-v1-28

I created a project directly from TOUCHGFX Designer for the F412G-disco board.

But my screen remains blurred (see photo)

Is there a modification to be made in the configuration (.ioc)

THANKS

20231215_080853.jpg

    This topic has been closed for replies.

    5 replies

    ST Employee
    Dec 15, 2023 2:00 PM UTC

    Hello @PhilZalkin ,

    Yes, I can confirm the problem. Sorry for the inconvenience. We will fix the board setup as soon as possible 

    Best regards

    Mohammad MORADIST Software Developer | TouchGFX
    Associate II
    Dec 20, 2023 12:32 PM UTC

    Hello Mahammad,

    Thank you for your answer, I'm waiting for the fix

    Associate
    Feb 24, 2024 6:26 AM UTC

    Any update on this one?

    I got stuck with the same effect. Non of the examples are working form me.

    TouchGfx newly created project do not displays properly.

    MM..1
    Super User
    Feb 24, 2024 6:49 AM UTC

    Check if this work for your board STM32CubeF4/Projects/STM32F412G-Discovery/Examples/BSP at master · STMicroelectronics/STM32CubeF4 · GitHub

    and after this work try add and customize TouchGFX normal way step by step.

     

    Associate
    Feb 24, 2024 9:38 AM UTC

    This one compiles and works not every example, but it's something.

    Now, I did learn already that my board is rev D, thus I have different touch controller, ft3x67 instead of ft6x06.

    Given that I've added a flag `USE_STM32412G_DISCOVERY_REVD` this enables touch sensor test that's a progress :grinning_face:.

     

    When it comes to TouchFX project, I've also notice that it uses ft6x06... after changing the generated code to use ft3x67 I finally get proper contents on a screen. :smiling_face_with_heart_eyes: