1˵

    /* ̹ */
    òʾòͬϵͳʱӣMCOPB3


2ʹû

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

3ʹ˵

    /* ģ÷:ʱӣI/O */
    USARTTX - PA9115200
    GPIOPB3 - ΪMC0ʱ

    /* DemoĲԲ */
    1.سλУ
    2.ֱϵͳʱΪHSIHSEPLLLSIֱʹôڴӡǰSYSCLKHCLKPCLK1PCLK2ϢҿʹPB3ʱӣʾ鿴


4ע
   ϵͳʱΪLSIʱΪ1200ܴӡ
    

1. Function description

     /* Briefly describe the engineering function */
     This example configures and demonstrates the setting of different system clocks, and uses MCO to output from PB3


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

     /* Describe the configuration method of related modules; for example: clock, I/O, etc. */
     USART: TX-PA9, baud rate 115200
     GPIO: PB3-multiplexed as MC0 clock output

     /* Describe the test steps and phenomena of Demo */
     1. After compiling, download the program to reset and run;
     2. Configure the system clock as HSI, HSE, PLL and LSI respectively, and use the serial port to print out the current SYSCLK, HCLK, PCLK1, PCLK2 and other information, and use the PB3 multiplex pin to output the clock and view it with an oscilloscope;


4. Attention
    Printing is only possible when system clock is LSI and the baud rate is configured to 1200