cancel
Showing results for 
Search instead for 
Did you mean: 

Software reset in STM32Discovery

terence-b
Associate II
Posted on December 01, 2012 at 22:27

I need to configure a software reset so that it occurs when my firmware detects that my ADC value has reached a maximum or a minimum value. I realise that I need to have a RCC interrupt.

Is there someone who can help please; since in the RCC peripheral example apparently does not use any reset.

Regards,

Terence

#software-reset
3 REPLIES 3
Posted on December 01, 2012 at 23:06

Wouldn't NVIC_SystemReset() work?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on December 02, 2012 at 01:40

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Generating%20Reset%20with%20software&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx&currentviews=23]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fGenerating%20Reset%20with%20software&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex%5Fmx%5Fstm32%2FAllItems%2Easpx&currentviews=23

terence-b
Associate II
Posted on December 12, 2012 at 10:10

Thanks a lot, you were really helpful.