This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Detect RESET cause on Cortex M3 (STM32F107)?

Hi.

 

I have a problem HW-resetting an external HW-circuit on my PCB (my MCU is STM32F107):

Because the POWER to my HW-circuits arrives later that to my MCU, I need to (re-) generate a delayed RESET-signal from my MCU towards the RESET-pin of the external HW-circuits.

Q-1: Is there a ”RESET-instruction” (assembly code) that I could use to generate this (common) RESET signal?

Q-2: Is there a way (assembly code) to detect the “reset cause” to avoid repeating (indefinitely) this reset-sequence (the RESET must be done only once)?

Q-3: Or is there an alternative way of achieving this (without modifying the HW by using a GPIO)?

 

Best Regards

Terje Bøhler