2019-07-15 05:46 AM
2019-07-26 01:08 AM
As described in RM440:
8.3.16 Using PG10 as GPIO
See description on the NRST pin in Section 6.1.2: System reset
2024-02-22 10:49 PM
Where could I refer this NRST pin section 6.1.2 u r mentioning? Could u please help.
2024-02-22 11:37 PM
@NVDS Unfortunately, @Yoichi Shinoda has taken the text from an old revision of RM0440, the section Using PG10 as GPIO can now be found as point 9.3.16 in the current revision 7. The reference in the last sentence has therefore also slipped back one section from 6.1.2 to 7.1.2.
Hope that helps?
Good luck!
/Peter
2024-04-24 05:54 PM
@Peter BENSCHHi Peter, I've read the parts of the RM0440 Reference Manual which deal with NRST_MODE bits and the nBOOT0 bit. On the firmware creation side, where should I set the NRST_MODE and bBOOT0 ?
Is it something that's done through CubeMX? If so, which rubric is it under?
Is this something I should call from my code? Is there an code example?
What's the best practice?
I want to use the NRST as a reset input only. nBOOT0 has a 10k pull-down. Neither will be used as GPIO.
[I poked around CubeMX. Tried to look it up on the web. Searched the generated code for NRST_MODE. But alas haven't found anything yet.]
2024-04-25 02:41 AM
@Nick Alexeev This can be set in the option bytes, either via the STM32CubeProgrammer (function OB on the left) or from your code via the HAL function FLASH_OB_UserConfig or HAL_FLASHEx_OBProgram, for example. In most applications, however, the option bytes are programmed in production using the respective programmer.
Hope that helps?
Regards
/Peter