‎2020-10-25 2:08 PM
Hi there
MCU:STM32F429.
I have a signal like in the picture below.(input to MCU)
I want to change one of it's pulses width and send it to the output.
Is it possible to do it with timer peripheral?
‎2020-10-25 7:56 PM
Changing the CCRx register will change the duty cycle. With preload enabled (OCxPE bit), you would wait for an update, change CCRx to the new value, wait for another update, then change CCRx back. It's doable.
‎2020-10-27 12:48 PM
thanks for quick reply.
I want to know if i can do it without coding.
I have a synchronization clock.
Can I use the clock as ETR and the signal as a trigger?
Regards
‎2020-10-27 12:55 PM