23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

14. Watchdog Timer (Runaway Detection Timer)<br />

The <strong>TMPM330</strong> has a built-in watchdog timer for detecting runaways.<br />

<strong>TMPM330</strong> (rev 0.4) 14-1<br />

<strong>TMPM330</strong><br />

The watchdog timer (WDT) is for detecting malfunctions (runaways) of the CPU caused by noises or<br />

other disturbances and remedying them to return the CPU to normal operation. If the timer detects a<br />

runaway, it generates a non-maskable interrupt to notify the CPU and outputs “0” from the output pin<br />

of the watchdog timer to notify peripherals.<br />

By connecting the output of the watchdog timer to a reset pin (inside the chip), it is possible to force<br />

the watchdog timer to reset itself.<br />

14.1 Configuration<br />

fSYS<br />

Internal reset<br />

Fig. 14-1 shows the block diagram of the watchdog timer<br />

WDMOD<br />

2 16 /fsys<br />

Watchdog timer out<br />

control<br />

2 18 /fsys<br />

2 20 /fsys<br />

Selector<br />

Write<br />

4EH<br />

2 22 /fsys<br />

2 24 /fsys<br />

2 26 /fsys<br />

Binary counter (26 stages)<br />

Reset<br />

Write<br />

B1H<br />

Watch dog timer<br />

Control Register WDCR<br />

Internal data bus<br />

WDMOD <br />

Q<br />

R S<br />

WDMOD <br />

Fig. 14-1 Block Diagram of the Watchdog Timer<br />

RESET pin<br />

Internal reset<br />

WDTOUT<br />

Interrupt<br />

request<br />

INTWDT<br />

Watchdog Timer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!