QQT912/新单片机-CW32L012/MCU厂资料/CW32L012_StandardPeripheral.../Examples/WWDT/WWDT_reset
yuquanjun ddb927ee30 Initial: CW32F030 reference + CW32L012 BLDC port
Add working CW32F030 BLDC Hall PID reference firmware and port the application to CW32L012 with Keil MDK project QQT912_L012.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 04:31:26 +08:00
..
EWARM Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00
MDK Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00
USER Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00
readme.txt Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00

readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

示例目的:
          本样例演示 WWDT 的启动及重载及复位

硬件资源:
          1. CW32L012F8P6 StartKit
          2. 时钟HSI
          3. 系统时钟由HSI提供,分频为8MHz, PCLK、HCLK不分频,
             PCLK=HCLK=SysClk=8MHz
          4. WWDT的时钟为PCLK/131072
          5. PB09设置为PUSH-PULL输出,驱动LED1          

演示说明:
          程序上电后,LED1快速闪烁4次,然后慢速闪6次,约1秒后,程序复位。
          
使用说明:
+ EWARM
          1. 打开project.eww文件
          2. 编译所有文件:Project->Rebuild all
          3. 载入工程镜像:Project->Debug
          4. 运行程序:Debug->Go(F5)

+ MDK-ARM
          1. 打开project.uvproj文件
          2. 编译所有文件:Project->Rebuild all target files
          3. 载入工程镜像:Debug->Start/Stop Debug Session
          4. 运行程序:Debug->Run(F5)