2010-05-10 05:56 AM
Best way to measure time difference between two signals
2011-05-17 04:50 AM
Set up TIM3 and TIM4 counters to the same frequency. Capture the TIM3 and TIM4 counter registers when the respective channel 1 pulses occur. When the second pulse occurs, subtract the first captured counter value from the second captured counter value and allow for counter overflow. Then it is simple arithmetic to convert pulses at the counter frequency to a time difference.
If you need more help than this, restate the request. Cheers, Hal2011-05-17 04:50 AM