MCU: f446rct6 System: freertos Library: hal
Program logic:
- Initialize the timer to output the PWM wave and initialize the DMA and connect to the Capture/Compare register
- Start the timer
- When data needs to be updated, start a dma transmission
Phenomenon: There is no problem with the frequency and duty cycle of the PWM wave, but a strange triangular waveform often appears in the first or second waveform of DMA transmission.
Ask everyone, do you encounter similar waveforms when using pwm? Please give me a hint to locate this problem, thank you