2024-08-23 04:47 AM
My configuration is that I use TIM2 CH1 to capture the time between COMP4 edges. This works ok. Now I would like to use TIM3 to generate some ISRs on several channels, I would like to let TIM3 to reset based on TIM2 capture ch1. I set TIM2 TRGO to "update event, TIM3 is in slave mode, using ITR1.
Now the problem is that it seems to work, but TIM3 only gets reset when it's own period has elapsed? I would like to have TIM3 responding immediately on TIM2 capture event. What can be the issue here?
Solved! Go to Solution.
2024-08-23 05:06 AM
ok, just found solution, I had to set TIM2 in slave reset mode, with trigger source "ETR1 through remap". Now it's working ok.
2024-08-23 05:06 AM
ok, just found solution, I had to set TIM2 in slave reset mode, with trigger source "ETR1 through remap". Now it's working ok.