cancel
Showing results for 
Search instead for 
Did you mean: 

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

MAyaz.1
Associate II
 
6 REPLIES 6
Javier1
Principal

what do you want to accomplish with NVIC_SystemReset ?

what do you mean with unreset GPIO?

we dont need to firmware by ourselves, lets talk
MAyaz.1
Associate II

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
Associate II

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

I am using stm32l071cbt6

ONadr.1
Senior III

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

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 Venmo
Up vote any posts that you find helpful, it shows what's working..