How to get 0% and 100% duty cycle for PWM using DMA, in STM32F103C8T6.
My board is STM32F103C8T6.I am generating complementary PWM using TIMER 1 with DMA for changing duty cycle.to be precise SINE WAVE PWM (or SPWM) using CENTRE ALIGNED MODE 2.Now i also want to generate SQUARE wave from channel2 , the wave should have...