cancel
Showing results for 
Search instead for 
Did you mean: 

How do I measure the time between the rising edge and falling edge of a square wave

nadza
Associate II

How do I measure the time between the rising edge and falling edge of a square wave

4 REPLIES 4

Which STM32?

Use​ input capture of a timer on two channels set to opposite edge of the same input signal, as described in the PWM input subchapter of TIM chapter in RM.

JW​

Which STM32?

Use​ input capture of a timer on two channels set to opposite edge of the same input signal, as described in the PWM input subchapter of TIM chapter in RM.

JW​

STM32F103C8T6

But how ?