ATAM893X-TKHYZ ATMEL [ATMEL Corporation], ATAM893X-TKHYZ Datasheet - Page 33

no-image

ATAM893X-TKHYZ

Manufacturer Part Number
ATAM893X-TKHYZ
Description
Flash Version for ATAR080, ATAR090/890 and ATAR092/892
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Figure 5-9.
4680C–4BMCU–01/05
CL1
Write of the
T1C1 register
Timer 1 and Watchdog
T1C1
WDC
T1RM T1C2 T1C1 T1C0
WDL
This timer starts running automatically after any power-on reset! If the watchdog function is not
activated, the timer can be restarted by writing into the T1C1 register with T1RM = 1.
Timer 1 can also be used as a watchdog timer to prevent a system from stalling. The watchdog
timer is a 3-bit counter that is supplied by a separate output of Timer 1. It generates a system
reset when the 3-bit counter overflows. To avoid this, the 3-bit counter must be reset before it
overflows. The application software has to accomplish this by reading the CWD register.
After power-on reset the watchdog must be activated by software in the $RESET initialization
routine. There are two watchdog modes, in one mode the watchdog can be switched on and off
by software, in the other mode the watchdog is active and locked. This mode can only be
stopped by carrying out a system reset.
The watchdog timer operation mode and the time interval for the watchdog reset can be pro-
grammed via the watchdog control register (WDC).
Figure 5-8.
WDR WDT1 WDT0
Decoder
Decoder
3
RES
CL
2
SUBCL
SYSCL
Q1 Q2 Q3 Q4
Timer 1 Module
mode control
Watchdog
RES
MUX
T1CS
Q5
MUX for watchdog timer
MUX for interval timer
Q6
CL1
Q8
Q8
Prescaler
14-bit
Q11
Q11
T1MUX
WDCL
Q14
Q14
T1BP
T1C2
T1MUX
WDCL
SUBCL
T1BP T1IM
T1IM
Watchdog
Divider/8
Watchdog
4-bit
Divider
RESET
Read of the
CWD register
T1IM=0
T1IM=1
ATAM893-D
NRST
INT2
T1OUT
(NRST)
INT2
T1OUT
RESET
33

Related parts for ATAM893X-TKHYZ