I'm using MSP430F2013 . Is it possible to measure accurately the time taken to output a signal and input a signal? For example I want to output a clock using P1.2 and input a signal using P1.3. Some time passes between output and input perhaps a few micro seconds. I was thinking maybe something like setting a timer that starts at the beginning of the output and ends right when the input receives a rising or falling edge but have no idea how to code for this.Any help would be appreciated.
↧