2019-05-07 09:58 PM
I need to implement the reset button functionality without pressing the reset button by using, maybe, a GPIO pin on the STM board by giving HIGH or LOW on a specific pin using a GPIO of the Raspberry Pi. How can I do that?
2019-05-07 10:07 PM
Not sure what exactly you're describing, attach a diagram.
NRST can be pulsed low using NVIC_SystemReset
To reset something else configure a pin in OD pull up mode, and set low for a few milliseconds
2019-05-07 10:18 PM
Kinda "wash me, but don't get me wet" question.
One could surely call the NVIC_SystemReset function on events like GPIO transitions. But that might not work in cases were you need it most.
The NRST does the reset regardless of the current state.
2019-05-07 10:31 PM
Also I guess that is an attitude: "Sometimes something stops working, so I'll reset the system." First of all, one should debug and correct the firmware. But even for emergency resets there is an another much more reliable and better solution - watchdog.
2019-05-08 09:58 PM
What I am trying to ask is I basically am using a raspberry pi to upgrade the firmware of STM32F446RE by using the dfu-util package of linux which is hosted by the raspberry pi. After the firmware upgrade takes place, I need to press the reset button on the STM board after removing HIGH logic from the BOOT0 pin of STM board to bring it back to normal mode. So, I was asking how can I reset the STM board through the raspberry pi's GPIO, maybe, by giving a high or a low on a certain pin of STM board so that I can get to reset it with the help of the raspberry pi when the STM is in the bootloader mode. Kindly help
Thanks
Siddharth