Skip to main content
Tthur.1
Associate II
Nov 30, 2021 8:28 AM UTC
Question

Initialisation GPIO not work in CubeIDE V1.8.0

I detected a problem : If the MX GPIO_Init(); is called before the MX_APPE_Init(); the HAL_GPIO_Togglepin not work.

To solve it, I call MX_GPIO_Init(); after the MX_APPE_Init();

This topic has been closed for replies.

5 replies

TDK
Nov 30, 2021 9:59 PM UTC

Wonderful. Is this another order-of-initialization bug introduced by a new version of CubeMX?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Pavel A.
Dec 1, 2021 12:07 AM UTC

What is MX_APPE_Init? What peripheral or software it belongs to?

Tthur.1
Tthur.1Author
Associate II
Dec 1, 2021 7:50 AM UTC

The MX_APPE_Init it's the initialization of the BLE app on the STM32WB. He created by the CubeMX.

Tthur.1
Tthur.1Author
Associate II
Dec 1, 2021 10:40 AM UTC

Update, if the CFG_DEBUGGER_SUPPORTED is set at "1" the gpio works.