PWR_SLEEP
Go to file
xiaoyuluoke 644261ea07 第一次提交 2024-07-25 14:55:28 +08:00
.vscode 第一次提交 2024-07-25 14:55:28 +08:00
CMSIS 第一次提交 2024-07-25 14:55:28 +08:00
cmake 第一次提交 2024-07-25 14:55:28 +08:00
n32g430_std_periph_driver 第一次提交 2024-07-25 14:55:28 +08:00
source 第一次提交 2024-07-25 14:55:28 +08:00
.clang-format 第一次提交 2024-07-25 14:55:28 +08:00
.gitignore Initial commit 2024-07-25 14:53:46 +08:00
CMakeLists.txt 第一次提交 2024-07-25 14:55:28 +08:00
README.md 第一次提交 2024-07-25 14:55:28 +08:00
n32g430_flash.ld 第一次提交 2024-07-25 14:55:28 +08:00
project.cmake 第一次提交 2024-07-25 14:55:28 +08:00
startup_n32g430_gcc.s 第一次提交 2024-07-25 14:55:28 +08:00

README.md

  1. 功能描述

    1. 进入和退出SLEEP模式。
  2. 使用环境 软件开发环境: KEIL MDK-ARM V5.34.0.0 IAR EWARM 8.50.1

    硬件环境: 基于评估板N32G430C8L7-STB V1.0开发

  3. 使用说明 系统配置:

    1. 时钟源HSE+PLL
    2. 时钟频率128MHz
    3. 唤醒源PA0
    4. 指示灯PA1

    使用方法: 在KEIL中编译后烧录到评估板上。通电后由PA1控制的指示灯熄灭。每隔一段时间按一次唤醒按钮PA0。 PA1控制的指示灯电平会翻转一次。

  4. 注意事项 在评估功耗时注意移除LED进行测量。

  5. Function description

    1. Enter and exit the SLEEP mode.
  6. Use environment Software development environment: KEIL MDK-ARM V5.34.0.0 IAR EWARM 8.50.1

    Hardware environment: Developed based on the evaluation board N32G430C8L7-STB V1.0

  7. Instructions for use System configuration:

    1. Clock source: HSE+PLL
    2. Clock frequency: 128MHz
    3. Wake up source: PA0
    4. Indicator light: PA1

    Usage: After compiling in KEIL, it is burned to the evaluation board. After powering on, the indicator light controlled by PA1 is off. Press the wake button PA0 every once in a while, The PA1 control indicator level will be flipped once.

  8. Precautions When evaluating power consumption, take care to remove the LED to measure.