cancel
Showing results for 
Search instead for 
Did you mean: 

softstart

jungilyong
Associate

How to create a soft start in the initial operation when generating a PWM signal with STM32

1 REPLY 1
Saket_Om
ST Employee

Hello @jungilyong 

To implement a soft start when generating a PWM signal with your STM32, you can gradually increase the PWM duty cycle from a start value to your desired value in small steps. This can be achieved by updating the timer’s compare register in a loop, with a short delay between each increment.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om