﻿﻿1、功能说明
    1、PD模式的进入和唤醒退出。


2、使用环境

    /* 软件开发环境：当前工程使用的软件工具名称及版本号 */
    IDE工具：KEIL MDK-ARM 5.34.0.0
                 IAR EWARM 8.50.1
      
    /* 硬件环境：工程对应的开发硬件平台 */
     N32A052系列：
            基于评估板N32A052KBQ7_STB V1.0开发
     


3、使用说明

    系统配置；
        1、时钟源：HSI+PLL
        2、时钟频率：64M
        3、唤醒引脚：PA0
        4、打印：PA9-115200

    使用方法：
        在KEIL下编译后烧录到评估板，串接电流表，上电后过一会，电流明显变小。按下WAKEUP按键，电流回到了mA级别。过了一会又降到uA。
        如果开启打印输出，可以看到串口输出“Lower Power Entry”，唤醒后输出“PWR_PD INTI”，说明PD唤醒后从0地址开始执行。
            


4、注意事项
    无


1. Function description
    1. Entry and wake-up exit of PD mode.


2. Use environment

    /* Software development environment: the name and version number of the software tool used in the current project */
    IDE tool: KEIL MDK-ARM 5.34.0.0
                 IAR EWARM 8.50.1
      
    /* Hardware environment: the development hardware platform corresponding to the project */
     N32A052 series:
            Developed based on the evaluation board N32A052KBQ7_STB V1.0



3. Instructions for use

    System Configuration;
        1. Clock source: HSI+PLL
        2. Clock frequency: 64M
        3. Wakeup pin: PA0
        4. Log: PA9-115200

    Instructions:
        After compiling under KEIL, it is burned to the evaluation board, and the ammeter is connected in series. After a while, the current becomes significantly smaller. Press the WAKEUP button and the current returns to mA level. After a while it drops to uA again.
        If you turn on the print output, you can see that the serial port outputs "Lower Power Entry", and after waking up, it outputs "PWR_PD INTI", indicating that the PD starts to execute from address 0 after waking up.
            

4. Matters needing attention
    none