SPI Display works only when code is launched via STM32CubeIDE
Hi everyone,
I'm using the STM32F407G-DISC1 development board, which is mounted on a custom PCB I designed and powered by an external power supply. I've connected a Capacitive Graphic LCD Display Module (EVE3-70G-BLM-TPC-F32) to the custom PCB via SPI. The display and touch functionality work perfectly when the STM32 is connected to a PC, and the code runs on the board as expected. Interestingly, if I first connect the dev board to the PC, run the code via STM32CubeIDE, and then disconnect it from the PC, both the display and touch functionality continue to work. However, when I power the board directly with the external power supply, the display powers on, but the touchscreen stops working.
