![]() The watchdog timer can take advantage of the high-precision crystal oscillator used by the microcontroller, rather than the imprecise RC oscillator used by most independent watchdog timers. By moving the watchdog timer inside the microcontroller, the number of devices in the system is reduced, increasing the overall system reliability. The Secure Microcontroller family eliminates the need for external components by incorporating an internal watchdog timer. Many systems have been designed using an external watchdog timer. For instance, it would not be wise to have the reset state of a magnetic stripe card reader enabling the write head. The reset condition must be a "safe" state. If the system software has been designed correctly and there has been no hardware failure, the reset will cause the system to operate properly again. When the watchdog timer times out, it will cause a reset of the microcontroller. When software or the device is not functioning correctly, software will not restart the watchdog timer before it times out. After being restarted, the watchdog will begin timing another predetermined interval. In a properly operating system, software will periodically "pet" or restart the watchdog timer. ![]() In these environments, a watchdog timer is a useful peripheral that can help catch and reset a microcontroller that has gone "out of control."Ī watchdog timer is a simple countdown timer which is used to reset a microprocessor after a specific interval of time. Program corruption caused by bus corruption and electromagnetic discharges can cause a microprocessor to execute erroneous instructions. Microcontrollers are often used in harsh environments where power supply transients, electromagnetic interference (EMI), and electrostatic discharge (ESD) are abundant. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |