cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WBA55 Example - How to handle pins in reset state?

ledi001
Senior

Hi,

i am using CubeIDE 1.16.1 and if i import the BLE_p2pServer example for NUCLEO-WBA55CG, a few pins (GPIOs for LEDs and buttons) are marked in reset state.

Can somebodey explain why they are in reset state and not in GPIO_Input or GPIO_Output?

2024-10-10_12h56_04.png

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @ledi001 

First let me thank you for posting.

Actually I checked the generated code for both LED and button configuration 

 

 

 GPIO_Init.Pin = LED_PIN[Led];

 GPIO_Init.Mode = GPIO_MODE_OUTPUT_PP; 

 GPIO_Init.Pull = GPIO_PULLUP;

--------------------------------------

 GPIO_Init.Pin = BUTTON_PIN[Button];

 GPIO_Init.Pull = GPIO_PULLUP;

 GPIO_Init.Speed = GPIO_SPEED_FREQ_HIGH;

if (ButtonMode == BUTTON_MODE_GPIO)

 {

/* Configure Button pin as input */

 GPIO_Init.Mode = GPIO_MODE_INPUT;

 

But I will check internally about the UI why is reset state and not in GPIO_Input or GPIO_Output

I will get back to you asap.

 

THX

Ghofrane

Hello again  @ledi001 

It has been reported to STM32CubeMX development team .

Internal ticket number:  193403  (This is an internal tracking number and is not accessible or usable by customer)

THX

Ghofrane