SAM4S Soft Reset

Discussion around product based on ARM Cortex M4 core.

Moderators: nferre, ncollot

foeg
Posts: 1
Joined: Mon Jul 20, 2015 3:25 am

SAM4S Soft Reset

Mon Jul 20, 2015 4:03 am

On SAM4S I am looking to understand if there is a different in soft reset between NVIC reset and RSTC reset.

NVIC_SystemReset()

invokes a soft reset via the interrupt controller.  The documentation is not very forthcoming on exactly what happens and which hardware units are reset.

I want to know if this path invokes the RSTC directly or if it is doing a reset via some other mechanism.

I am particularly interested in whether the peripherals are being reset 
e.g the equivalent of 
        p_rstc->RSTC_CR = RSTC_KEY | RSTC_CR_PROCRST | RSTC_CR_PERRST;

or whether the NVIC path is really just a CPU reset. The doc implies its more than that.

I ask because we have some "in-the-field" indication that a soft reset via the NVIC is not the same as a soft reset via the RSTC.

Return to “SAM4 Cortex-M4 MCU”

Who is online

Users browsing this forum: No registered users and 4 guests