2020-06-11 01:23 PM
Hi, anyone know there is a register that can count the pulse directly on STM32H7?
I know there is a timer in capture mode, it can generate interrupt when detected edge high or low. But this counter does count the period time only, does not count how many time edge was high or low.
We can count every time interrupt is triggered but it is slow, we are looking for the register that store this value directly.
Thanks
2020-06-11 01:33 PM
Look for the external clock mode (ECM) feature of the timers, Clock selection in the timer functional description chapter.
2020-06-11 02:18 PM
Thanks a lot, look like that is what we are looking for.