Introduction - If you have any usage issues, please Google them yourself
Based on SPWM generate 1Khz sine wave. On the STM32 implemented, the software generates fitting is required to see the sine wave through the filter circuit, to add a second order filter circuit in the hardware circuit.