2020-05-16 08:14 AM
How to change NRST pin to a interrupt input pin on the G031?
2020-05-16 08:39 AM
The NRST pin function is fixed and cannot be changed.
2020-05-16 08:42 AM
I read that it could be an interrupt input also or wake-up. I tought the example also showed this function, but I don't understand how.
2020-05-16 09:02 AM
Where did you read that? Link the example.
2020-05-17 02:26 AM
STM32Cube_FW_G0_V1.3.0\Projects\STM32G0316-DISCO\Demonstrations --> check this one + docu
2020-05-18 12:43 PM
You're asking for trouble, but if you like: RM0444, 3.7.7: by bits NRST_MODE in FLASH_OPTR the NRST pin can be configured to be PF02.
However, I'd think twice before doing that, and only if I'm quite desperately in need of an extra GPIO pin ... And don't forget that even if programmed as
PF02, there are short periods where this pin is still actively driven by the internal reset logic, that's the warning in 5.1.2 ibid.
2020-05-18 12:51 PM
Dear,
We need it as PA0, since we need to be able to call a wakeup and we also need I2C2, so that is the only option. Just using the chip how it should be used!
Greetings
Thomas Van Aken
2020-05-18 01:24 PM
Oh wow, it actually is possible to remap NRST as a GPIO pin on the G0 series! I stand corrected. That's asking for trouble IMO.