cancel
Showing results for 
Search instead for 
Did you mean: 

This is an inquiry regarding STM32G031 PF2-NRST, PA14-BOOT0 Pin settings.

Paul6
Associate II

I am using the STM32G031 MCU, and if you look at the picture below in the STM32 CubeMX,

there are no NRST and BOOT0 settings at the PF2-NRST and PA14-Boot0 Pin

 

Paul6_1-1727166748922.png

Paul6_2-1727166762163.png

I am curious as to whether it is set as default even if I do not configure it, or if there is a way to set it separately. help!!

 

2 REPLIES 2
STTwo-32
ST Employee

Hello @Paul6 and welcome to the ST community.

For the PF2-NRST, we have a note under the table 120 of the DS12992 that says:

"PF2-NRST default functionality is NRST, if used in this mode on SO8 and WLCSP, take particular care to configuration of other IOs connected to this pin." 

and for the PA14-BOOT0 is the default function if you are not setting the Pin for another function.

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.

TDK
Guru

The PF2-NRST pad is tied to both PF2 and NRST internally. Always. Similar for PA14-BOOT0. You can change how NRST and BOOT0 behave through the option bytes via STM32CubeProgrammer. Default values are highlighted here.

 

TDK_0-1727182307266.png

 

Note that since nBOOT_SEL=1 by default, the value on the BOOT0 pin is ignored in favor of the nBOOT0 option bit.

If you feel a post has answered your question, please click "Accept as Solution".