5 reset state priorities – Rainbow Electronics AT91CAP9S250A User Manual

Page 93

Advertising
background image

93

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

15.3.4.5

Watchdog Reset

The Watchdog Reset is entered when a watchdog fault occurs. This state lasts Y

Slow Clock

cycles.

When in Watchdog Reset, assertion of the reset signals depends on the WDRPROC bit in
WDT_MR:

• If WDRPROC is 0, the Processor Reset and the Peripheral Reset are asserted. The NRST

line is also asserted, depending on the programming of the field ERSTL. However, the
resulting low level on NRST does not result in a User Reset state.

• If WDRPROC = 1, only the processor reset is asserted.

The Watchdog Timer is reset by the proc_nreset signal. As the watchdog fault always causes a
processor reset if WDRSTEN is set, the Watchdog Timer is always reset after a Watchdog
Reset, and the Watchdog is enabled by default and with a period set to a maximum.

When the WDRSTEN in WDT_MR bit is reset, the watchdog fault has no impact on the reset
controller.

Figure 15-8. Watchdog Reset

15.3.5

Reset State Priorities

The Reset State Manager manages the following priorities between the different reset sources,
given in descending order:

• Backup Reset

• Wake-up Reset

• Watchdog Reset

• Software Reset

• User Reset

Particular cases are listed below:

Only if

WDRPROC = 0

SLCK

periph_nreset

proc_nreset

wd_fault

NRST

(nrst_out)

EXTERNAL RESET LENGTH

8 cycles (ERSTL=2)

MCK

Processor Startup

= 2 cycles

Any

Freq.

RSTTYP

Any

XXX

0x2 = Watchdog Reset

Advertising