2019-08-28 02:34 AM
ie: due to 1st request: dont finish a full PWM cycle, but make the PWM think that the cycle will end at the time that OUT was forced to low+ duty low time (shortening the cycle time).
1st request was easy: I've connected COMP to TIM2_ETR.
2nd request- is my question: I cant make COMP produce a DMA (to change TIM2 counter), it seems that TIM2 TRG (result of ETR) dosnt do DMA ither.
the only way I understand how to work around is:
output the COMP, connect it (pin to pin) to another TIM capture, and from there - with DMA.
is there an easier way (without an external connection)?
thanks
Yona White