1˵
1STOPͻ˳ʾ


2ʹû

    /* ǰʹõƼ汾 */
    IDEߣKEIL MDK-ARM 5.34.0.0
      
    /* Ӳ̶ӦĿӲƽ̨ */
     N32G05xϵУ
            N32G05xRBQ7_STB V1.0
       N32G05xϵУ
            N32G05xRBL7_STB V1.0
     


3ʹ˵

    ϵͳã
        1ʱԴHSI+PLL
        2ʱƵʣ64M
        3ţPA2
        4ӡPA9-115200

    ʹ÷
        KEIL±¼壬ϵӡPWR_STOP INITһӡSTOP ENTRYSTOPˡ
        WAKEUP󣬴STOP EXITMCU.ֹͣλִС


4ע
    STOPģʽʱӹرգNRST˲ᵼŸλʧЧҪڽSTOPǰرNRST˲˳STOPٿNRST˲


1. Function description
    1. Example of STOP entry and wake-up exit.


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
      
    /* Hardware environment: the development hardware platform corresponding to the project */
     N32G05x series:
            Developed based on the evaluation board N32G05xRBQ7_STB V1.0
      N32G05x series:
            Developed based on the evaluation board N32G05xRBL7_STB V1.0


3. Instructions for use

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

    Instructions:
        After compiling under KEIL and burning it to the evaluation board, the output prints "PWR_STOP INIT" after power-on. After a while, the output prints "STOP ENTRY", indicating that it has entered STOP.
        After pressing the WAKEUP button, the serial port outputs "STOP EXIT" again, indicating that the MCU is awakened. Execute from the stopped position.


4. Matters needing attention
    The clock is off in STOP mode, and turning on the NRST filter will cause the pin reset to fail, so you need to turn off the NRST filter before going into STOP, and then turn on the NRST filter after exiting STOP.
