Associate II
May 26, 2021
Solved
Use Analog Watchdog (ADC AWD) as a reset for timer.
- May 26, 2021
- 5 replies
- 2452 views
I've to count till 30ms, but i've to restart the count if a signal goes above a threshold. So i want to use analog watchdog as trigger source for the timer.
I set up the timer in "slave reset mode" and with "ETR1 through ADC" as Trigger Source. I've also set ETR remap capabilities for TIM! in the correct way. The problem is that the timer never reset so it count to 30 ms every time. Anyone have any advice?
Thanks,
Marco