Skip to main content
fzhan.3
Visitor II
March 17, 2023
Question

Touchgfx cannot be initialized

  • March 17, 2023
  • 1 reply
  • 1141 views

I use fmc to drive LCD, and the LCD initialization can be used normally. The program is stuck here. What should I do?0693W00000aJBPTQA4.png0693W00000aJBPdQAO.png

This topic has been closed for replies.

1 reply

Romain DIELEMAN
ST Employee
March 17, 2023

The issue is hit in HAL::initialize() ? Could you share a bit more context on your configuration and what you face in the debugger ?

By the way I am surprise by the #include ./LED/bsp_led.h" line in the TouchGFXGeneratedHAL.cpp, is it something you added manually ? Because if it is the case it will be overwrittent at every code generation from STM32CubeMX.

/Romain