AnsweredAssumed Answered

Update Duty-cycle in Channel Interrupts?

Question asked by Abhijit Jagtap on Sep 27, 2013
Latest reply on Oct 7, 2013 by Abhijit Jagtap

Hi

 

Till now i would update TPMCnV with duty values in overflow interrupt ISR.

I want to use 2 channels of the same timer w/ different pulse widths.

For this i need to update values in channel interrupt (rather than overflow interrupt).

I am using Edge aligned PWM mode for the timer.

 

Can someone share a snippet or at least guide with some top level advice?

 

Thanks and Regards

Outcomes