AnsweredAssumed Answered

FTM changing FTMx_CxV

Question asked by Wojciech Serek on May 19, 2015
Latest reply on May 20, 2015 by Earl Orlando Ramirez Sanchez



I'm using FTM3 on channel 0 to generate PWM signal. Processor expert was use to setup the timer. It works ok.


Now I want to change FTM3_C0V register in my app. Changing value of this register does not change the puls width.


I noticed that such action works:


FTM3_SC &= ~(1<<3);
FTM3_C0V = value
FTM3_SC |= (1<<3);

Do I really need to stop the timer to chanche C0V value?