Datasheet

345
11011B–ATARM–21-Feb-12
SAM3N
24.10 Fast Startup
The SAM3N device allows the processor to restart in less than10 µs while the device is in Wait
mode. The system enters Wait mode either by writing the WAITMODE bit at 1 in the PMC Clock
Generator Main Oscillator Register (CKGR_MOR), or by executing the WaitForEvent (WFE)
instruction of the processor while the LPM bit is at 1 in the PMC Fast Startup Mode Register
(PMC_FSMR).
A Fast Startup is enabled upon the detection of a programmed level on one of the 16 wake-up
inputs (WKUP), SM or upon an active alarm from the RTC and RTT. The polarity of the 16
wake-up inputs is programmable by writing the PMC Fast Startup Polarity Register
(PMC_FSPR).
The Fast Restart circuitry, as shown in Figure 24-3, is fully asynchronous and provides a fast
startup signal to the Power Management Controller. As soon as the fast startup signal is
asserted, this automatically restarts the embedded 4/8/12 MHz Fast RC oscillator.
Figure 24-3. Fast Startup Circuitry
Each wake-up input pin and alarm can be enabled to generate a Fast Startup event by writing at
1 the corresponding bit in the Fast Startup Mode Register PMC_FSMR.
The user interface does not provide any status for Fast Startup, but the user can easily recover
this information by reading the PIO Controller, and the status registers of the RTC and RTT.
fast_restart
WKUP15
FSTT15
FSTP15
WKUP1
FSTT1
FSTP1
WKUP0
FSTT0
FSTP0
RTTAL
RTCAL
RTT Alarm
RTC Alarm