1838 views|0 replies

1663

Posts

0

Resources
The OP
 

Arteli AT32F4xx_Use of Window Watchdog [Copy link]

 

Example Purpose
This example shows how to use the Windowed Watchdog (WWDG) of the AT32F4xx family.

Supported models:
AT32F4xx full series

1 Quick Use Instructions
1.1 Hardware Resources
AT-START-F403A V1.0 Experimental Board

1.2 Software Resources
This demo takes AT32F403A as an example, and the BSP version is AT32F4xx_StdPeriph_Lib_V1.1.8.
After the demo is reset, the program will configure and enable WWDG, and then continuously feed the dog in the main loop to prevent WWDG from resetting. However, by pressing the key (USER_KEY), the program will enter an infinite loop and cannot feed the dog, which will cause the watchdog to reset. When the watchdog is reset, LED4 will light up.

1.3 Example usage
1) After reset, the program will configure WWDG and feed the dog at regular intervals;
2) Pressing USER_KEY at any time will cause the program to enter an infinite loop and fail to feed the dog;
3) After WWDG reset occurs, the program will restart and LED4 will light up. 9:28 2021/3/28

The sample code source code is as follows

SC00015_AT32F4xx_窗口看门狗的使用.zip (1.12 MB, downloads: 17)

This post is from Domestic Chip Exchange
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list