Reset button of the Nucloe-G031K board does not work.
The NRST pin of Nucleo-G031K8 is always low. The reset button does not do anything. Should not it reset MCU?
The NRST pin of Nucleo-G031K8 is always low. The reset button does not do anything. Should not it reset MCU?
The NRST pin on the STM32G031 can work in a number of different ways. As can be read in the RM0444, section 3.4.1, NRST_MODE[1:0], the NRST pin is per default set to be a:
Bidirectional reset: NRST pin configured in reset input/output mode (legacy mode)
(ST production value of the User and read protection option bytes: 0xFFFF FEAA)
But... at the NUCLEO-G031K8 these bits are programmed from 11 to 10, which RM0444 describes as
GPIO: standard GPIO pad functionality, only internal RESET possible.
(NUCLEO value of the User and read protection option bytes: 0xF7FF FEAA)
Of course you can change it to whatever setting you like.
[edit]Please verify the content of the register FLASH_OPTR at 0x40022020, as it definitely should contain 0xFFFFFEAA (thanks to @Community member for his effort)[/edit]
Good luck!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
/Peter
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.