Watchdog and MCU

Publisher:BlossomJoyLatest update time:2015-08-10 Source: 21icKeywords:Watchdog Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
A watchdog, also known as a watchdog timer, is a timer circuit. It usually has one input, called kicking the dog or servicing the dog, and one output to the RST terminal of the MCU. When the MCU is working normally, it outputs a signal to the kicking dog terminal at regular intervals to clear the WDT. If the dog is not fed for a specified period of time (usually when the program runs wild), the WDT timing is exceeded and a reset signal is given to the MCU to reset the MCU and prevent the MCU from crashing. The function of the watchdog is to prevent the program from entering an infinite loop or running wild.
 
Working principle: After the system is running, the watchdog counter is started and the watchdog begins to count automatically. If the watchdog is not cleared after a certain period of time, the watchdog counter will overflow and cause a watchdog interrupt, causing the system to reset. Therefore, when using a chip with a watchdog, pay attention to clearing the watchdog.
Keywords:Watchdog Reference address:Watchdog and MCU

Previous article:MCU binary code comparison
Next article:MCU Application System Hardware Circuit Design Reference

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号