I wonder if any of you clever people can help with a problem I am having with a SAM4N16C micro. In my exception handlers I am invoking a reset using the CorTex-M4's AIRCR register. The reset works; however, the system is stalled for over 16 seconds.
I would imagine this is because the Watchdog has been reset back to its default settings, and it is the Watchdog that ultimately restores normal functionality.
Is there a better/quicker way of resetting the micro and its on-chip peripherals?