AnsweredAssumed Answered

Capture a timer value upon another timer update

Question asked by Gornstar on Dec 5, 2013
Latest reply on Dec 5, 2013 by Gornstar
Hi,
I have two timer running TIM2 and TIM4. I would like to capture TIM4 counter value when TIM2 overflows (update). I do not wish to sample the value inside the ISR because i need precision. I would like to use something like an input capture but with the trigger being the TIM2 update instead of an outside event.

I feel like there is a simple solution there but just can't see it. Anyone has done that before?
Thanks,

Justin

Outcomes