1˵
    1TIM1 CH3 CH3Nźÿ6ڸıһռձ
2ʹû
      KEIL MDK-ARM V5.26.2.0
    Ӳ      N32L40XM-STB_V1.0
3ʹ˵
    ϵͳã
        1ʱԴ
            HSE=8M,PLL=64M,AHB=64M,APB1=16M,APB2=32M,TIM1 CLK=64M,DMA CLK=64M
        2˿ã
            PA10ѡΪTIM1 CH3
            PB15ѡΪTIM1 CH3N
        3TIM
            TIM1 CH3 CH3Nÿ6ڴһDMA
        4DMA
            DMA1_CH5ͨѭģʽ3SRC_Buffer[3]TIM1 CC3Ĵ
    ʹ÷
        1򿪵ģʽʾ߼ǹ۲TIM1 CH3 CH3NĲ
        2TIM16ڸıһCH3 CH3Nռձȣѭı
4ע
    

1. Function description
     1. TIM1 CH3 CH3N complementary signal changes the duty cycle every 6 cycles
2. Use environment
     Software development environment: KEIL MDK-ARM V5.26.2.0
     Hardware environment: Developed based on N32L40XM-STB_V1.0
3. Instructions for use
     System Configuration;
         1. Clock source:
             HSE=8M,PLL=64M,AHB=64M,APB1=16M,APB2=32M,TIM1 CLK=64M,DMA CLK=64M
         2. Port configuration:
             PA10 is selected as TIM1 CH3 output
             PB15 is selected as TIM1 CH3N output
         3. TIM:
             TIM1 CH3 CH3N complementary output, trigger a DMA transfer every 6 cycles
         4. DMA:
             DMA1_CH5 channel circular mode transfers 3 half-word SRC_Buffer[3] variables to the TIM1 CC3 register
     Instructions:
         1. After compiling, turn on the debug mode, use an oscilloscope or logic analyzer to observe the waveform of TIM1 CH3 CH3N
         2. Change the duty cycle of CH3 and CH3N once in 6 cycles of TIM1, and change cyclically
4. Matters needing attention
     without