LPTIM_WakeUp
Go to file
xiaoyuluoke cb677d3587 第一次提交 2024-07-25 14:34:50 +08:00
.vscode 第一次提交 2024-07-25 14:34:50 +08:00
CMSIS 第一次提交 2024-07-25 14:34:50 +08:00
cmake 第一次提交 2024-07-25 14:34:50 +08:00
n32g430_std_periph_driver 第一次提交 2024-07-25 14:34:50 +08:00
source 第一次提交 2024-07-25 14:34:50 +08:00
.clang-format 第一次提交 2024-07-25 14:34:50 +08:00
.gitignore Initial commit 2024-07-25 14:33:47 +08:00
CMakeLists.txt 第一次提交 2024-07-25 14:34:50 +08:00
README.md 第一次提交 2024-07-25 14:34:50 +08:00
n32g430_flash.ld 第一次提交 2024-07-25 14:34:50 +08:00
project.cmake 第一次提交 2024-07-25 14:34:50 +08:00
startup_n32g430_gcc.s 第一次提交 2024-07-25 14:34:50 +08:00

README.md

1、功能说明 1.LPTIM定时产生EXTI20中断唤醒CPU进行IO翻转 2、使用环境 软件开发环境KEIL MDK-ARM V5.34.0.0 IAR EWARM V8.50.1 硬件环境基于N32G430C8L7-STB V1.0开发 3、使用说明 系统配置; 1.时钟源: HSE = 8M, PLL = 128M, AHB = 128M, APB1 = 32M, APB2 = 64M, LPTIM CLK = LSI 40K 2.中断: LPTIM周期触发EXTI20中断唤醒CPU 3.端口配置: PB7被选为IO输出 4. LPTIM LPTIM连续计时模式 指示: 1.编译后开启debug模式可以观察到PA1脚有一个周期翻转CPU继续进入低功耗模式 4、注意事项 无

  1. Function description
    1. LPTIM generates EXTI20 interrupt regularly, wakes up the CPU for IO flipping
  2. Use environment Software development environment: KEIL MDK-ARM V5.34.0.0 Hardware environment: Developed based on the evaluation board N32G430C8L7-STB V1.0
  3. Instructions for use System Configuration; 1. Clock source: HSE = 8M, PLL = 128M, AHB = 128M, APB1 = 32M, APB2 = 64M, LPTIM CLK = LSI 40K 2. Interrupt: LPTIM cycle triggers EXTI20 interrupt, wakes up CPU 3. Port configuration: PB7 is selected as IO output 4. LPTIM: LPTIM Continuous Timing Mode Instructions: 1. Turn on the debug mode after compiling, and it can be observed that the PA1 pin has a cycle flip, and the CPU continues to enter the low-power mode
  4. Matters needing attention none