Datasheet

Table Of Contents
24
8493A–AVR–02/12
XMEGA C4
11.4 Reset Sources
11.4.1 Power-on Reset
A power-on reset (POR) is generated by an on-chip detection circuit. The POR is activated when
the V
CC
rises and reaches the POR threshold voltage (V
POT
), and this will start the reset
sequence.
The POR is also activated to power down the device properly when the V
CC
falls and drops
below the V
POT
level.
The V
POT
level is higher for falling V
CC
than for rising V
CC
. Consult the datasheet for POR char-
acteristics data.
11.4.2 Brownout Detection
The on-chip brownout detection (BOD) circuit monitors the V
CC
level during operation by com-
paring it to a fixed, programmable level that is selected by the BODLEVEL fuses. If disabled,
BOD is forced on at the lowest level during chip erase and when the PDI is enabled.
11.4.3 External Reset
The external reset circuit is connected to the external RESET
pin. The external reset will trigger
when the RESET
pin is driven below the RESET pin threshold voltage, V
RST
, for longer than the
minimum pulse period, t
EXT
. The reset will be held as long as the pin is kept low. The RESET pin
includes an internal pull-up resistor.
11.4.4 Watchdog Reset
The watchdog timer (WDT) is a system function for monitoring correct program operation. If the
WDT is not reset from the software within a programmable timeout period, a watchdog reset will
be given. The watchdog reset is active for one to two clock cycles of the 2MHz internal oscillator.
For more details see ”WDT – Watchdog Timer” on page 25.
11.4.5 Software Reset
The software reset makes it possible to issue a system reset from software by writing to the soft-
ware reset bit in the reset control register.The reset will be issued within two CPU clock cycles
after writing the bit. It is not possible to execute any instruction from when a software reset is
requested until it is issued.
11.4.6 Program and Debug Interface Reset
The program and debug interface reset contains a separate reset source that is used to reset
the device during external programming and debugging. This reset source is accessible only
from external debuggers and programmers.