cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX not saving pinout for onboard LED1 and LED3 when using NUCLEO-H753ZI BSP

Howard_E
Visitor

When I assign pinouts for LED1 and LED3 on the NUCLEO-H753ZI in STM32CubeMX with the BSP selected, they are no longer assigned when the project is reloaded.

3 REPLIES 3
STTwo-32
ST Employee

Hello @Howard_E and welcome to the ST Community.

Could you please provide more details about How to reproduce this behavior.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Not sure if I selected Human Machine Interface when I first created the project but I can reproduce with a new project.

Create a new project and select NUCLEO-H753ZI from the board selector.

Click Start Project.

When Board Project Options dialog opens, click OK to select all options under Human Machine Interface.

Under Categories, click BSP and uncheck Human Machine Interface.

Pin PE1 (LD2) will be set to GPIO_Output, but PB0 (LD1) and PB14 (LD3) will now be reset.

Unlock PB0 and/or PB14 and change state GPIO_Output.

Save, close, and reopen project.

Pins PB0 and PB14 will be reset.

If you go back and enable the Human Machine Interface, PB0 and PB14 will still reset when you save, close, and reload the project file.

Hello @Howard_E 

Those two behaviors have been reproduced on my side, and I will escalate them internally for correction on the future. Thank you so much for your help.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.