Skip to main content
Karan 123
Senior
July 11, 2020
Solved

Unable to Configure : STM32G071R8 NRST as Input/Output/Interrupt

  • July 11, 2020
  • 4 replies
  • 1988 views

Hi,

I am working on STM32G0 Nucleo Board with STM32 Cube IDE 1.3.0

How to configure STM32G071R8 64-Pin LQFP Package

as Input or Output or Interrupt with STM32 Cube IDE 1.3.0 . ?

0693W000001sh7RQAQ.png

Is there any special setting ? Which I am missing ?

--

Karan

This topic has been closed for replies.
Best answer by TDK

Change the NRST_MODE option bits to 0b10 using STM32CubeProgrammer to disconnect that pin from internal NRST. See info in the reference manual.

4 replies

TDK
TDKBest answer
July 11, 2020

Change the NRST_MODE option bits to 0b10 using STM32CubeProgrammer to disconnect that pin from internal NRST. See info in the reference manual.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Karan 123
Karan 123Author
Senior
July 11, 2020

Thanks..Solved..

Karan 123
Karan 123Author
Senior
July 11, 2020

One More question , Is there any way to Program Option Bytes for NRST_MODE  and Program Lock (Read Out Protection Byte ) in .c file ?

TDK
July 11, 2020

Yes, look at HAL_FLASHEx_OBProgram. You need to unlock option bytes first. Should be examples in the CubeG0 repository.

It's also possible to change them during programming via the linker file, but that's a bit more complicated to set up.

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