2019-07-17 07:13 PM
I want to measure the time from GPIO low level to high in RC circuit,
how to count the time
use rtc or tim?
2019-07-17 07:42 PM
A free running, maximal count, TIM could be use in Input Capture mode. For high precision, long duration, use a 32-bit TIM if available.
SysTick could count off milliseconds. EXTI to interrupt on edges.
2019-07-17 08:00 PM
got it, if the pin to the low value of high level, then timer should stop, Input Capture mode is ok?
2019-07-17 08:00 PM
got it, capture is a precise way. if the pin P1.2 just reaches 0.70 x VDD, then timer should stop, Input Capture mode is ok?