cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot set full PWM

Mario Luzeiro
Senior

If I set the Counter Period (AutoReload Register) to max 0xFFFF and the TIM capture/compare register to 0xFFFF too, I cannot get a full width output, I still get one tick on output.

Is that expected?

1 ACCEPTED SOLUTION

Accepted Solutions

Yes. To achieve "full width", you have to set CCRx > ARR. Try with ARR=0xFFFE.

JW

View solution in original post

1 REPLY 1

Yes. To achieve "full width", you have to set CCRx > ARR. Try with ARR=0xFFFE.

JW