Measuring time interval between two different signal using cortex-m0

Status
Not open for further replies.

baskya

Newbie level 1
Joined
Dec 10, 2013
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
0
Activity points
9
using cortex-m0 (lpc1224) I am trying to measure the time difference between the rising or the falling edge of two square waves, that i get from the Zero Crossing Detectors.
I am trying to measure phase difference between Current and Voltages of an A.C. Circuit. Getting two inputs from Voltage and Potential transformers.
Someone told me to use CCP to measure the time but that can measure time difference between the events from input on single pin:roll:.
But I have two inputs from C.T. and P.T.

I have to measure the power factor of A.C. Circuit, but not finding a proper way to do that.

please ...any early help will be really significant or the logic in lpc1224 .

regards...

:grin:
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…