1˵
    1OPA PGAģʽŴѹ2
2ʹû
     KEIL MDK-ARM V5.30.0.0
     Ӳ      N32G031C8L7-STB V1.0
3ʹ˵
     ϵͳã
         1ʱԴ
                    HSE=8M,PLL=48M,AHB=48M,APB1=48M,APB2=48M,OPA CLK=48M
         2˿ã
                    PA1ѡΪģ⹦OPA VP
                    PA6ѡΪģ⹦OPA OUT
         3OPA
                    OPA PGAܣŴ2
      ʹ÷
         1򿪵ģʽʾ۲OPA
         2OPA=2*OPA
4ע
     


1. Function description
    1. OPA PGA mode, amplifies the input voltage by 2 times
2. Use environment
    Software development environment: KEIL MDK-ARM V5.30.0.0
    Hardware Environment: Developed based on the development board N32G031C8L7-STB V1.0
3. Instructions for use
    System Configuration;
        1. Clock source:
                    HSE=8M,PLL=48M,AHB=48M,APB1=48M,APB2=48M,OPA CLK=48M
        2. Port configuration:
                    PA1 is selected as analog function, OPA VP
                    PA6 is selected as analog function, OPA OUT
        3. OPA:
                    OPA PGA function, 2x magnification
    Instructions:
        1. Open the debug mode after compiling, and observe the input and output of the OPA with an oscilloscope
        2. OPA output = 2*OPA input
4. Matters needing attention
   None