Datasheet
321
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-14
A supply monitor detection either generates a reset of the core power supply or a wake-up of the core power supply.
Generating a core reset when a supply monitor detection occurs is enabled by writing the SMRSTEN bit to 1 in
SUPC_SMMR.
Waking up the core power supply when a supply monitor detection occurs can be enabled by writing the SMEN bit to 1 in
the Supply Controller Wake-up Mode register (SUPC_WUMR).
The Supply Controller provides two status bits in the Supply Controller Status register for the supply monitor which
determines whether the last wake-up was due to the supply monitor:
The SMOS bit provides real-time information, updated at each measurement cycle or updated at each Slow Clock
cycle, if the measurement is continuous.
The SMS bit provides saved information and shows a supply monitor detection has occurred since the last read of
SUPC_SR.
The SMS flag generates an interrupt if the SMIEN bit is set to 1 in SUPC_SMMR.
Figure 18-2. Supply Monitor Status Bit and Associated Interrupt
18.3.5 Backup Power Supply Reset
18.3.5.1 Raising the Backup Power Supply
As soon as the backup voltage VDDIO rises, the RC oscillator is powered up and the zero-power power-on reset cell
maintains its output low as long as VDDIO has not reached its target voltage. During this time, the Supply Controller is
entirely reset. When the VDDIO voltage becomes valid and zero-power power-on reset signal is released, a counter is
started for five slow clock cycles, which is the time required for the 32 kHz RC oscillator to stabilize.
After this time, the voltage regulator is enabled. The core power supply rises and the brownout detector provides the
bodcore_in signal as soon as the core voltage VDDCORE is valid. This results in releasing the vddcore_nreset signal to
the Reset Controller after the bodcore_in signal has been confirmed as being valid for at least one slow clock cycle.
Supply Monitor ON
3.3 V
0 V
Threshold
SMS and SUPC interrupt
Read SUPC_SR
Periodic Sampling
Continuous Sampling (SMSMPL = 1)