AnsweredAssumed Answered

Can these Timer registers be set on the flight without a reset

Question asked by vu.andy on Dec 11, 2017
Latest reply on Dec 11, 2017 by waclawek.jan

Hi,

 

Can I set these Timer registers on the flight without a reset?  I need to implement a feature where the timer frequency and PWM duty cycle will change

continuously so it helps it I can change them without having to do a reset.

 

TIMx->PSC   (timer prescaler)

TIMx->ARR   (timer autoreload value)

TIMx->CCR1 (PWM duty cycle)

 

Once I program these registers, do I need to program any other register for these to take affect?

Or these values take affect automatically?

 

Thanks.

Outcomes