Skip to main content
MAyaz.1
Associate
September 9, 2022
Question

Is it possible to unreset some GPIO pins while using NVIC_SystemReset function?

  • September 9, 2022
  • 4 replies
  • 1370 views

..

This topic has been closed for replies.

4 replies

Javier1
Principal
September 9, 2022

what do you want to accomplish with NVIC_SystemReset ?

what do you mean with unreset GPIO?

hit me up in https://www.linkedin.com/in/javiermuñoz/
MAyaz.1
MAyaz.1Author
Associate
September 9, 2022

I want to reset system but only software. I dont want to reset hardware. For instance B9 pin must be set always. But when ı use NVIV_SystemReset function, B9 pin goes low 200 ms even if ı set it in MX_GPIO_Init() function.

MAyaz.1
MAyaz.1Author
Associate
September 9, 2022

I research and find out NVIC_CoreReset function but ı guess M0 cortex does not support this property.

MAyaz.1
MAyaz.1Author
Associate
September 9, 2022

I am using stm32l071cbt6

ONadr.1
Senior III
September 9, 2022

I think, the only solution is use external latch registers, for GPIO pins, which must stay at the same state, while MCU is reseting.

Tesla DeLorean
Guru
September 9, 2022

Don't most of the pins just tri-state? In which case a pull-up to the desired state would at least hold over.

The question is why is a reset desirable over some other more controlled means of transferring execution?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..