Skip to main content
Visitor II
August 4, 2025
Question

softstart

  • August 4, 2025
  • 1 reply
  • 181 views

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

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    August 4, 2025

    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.