Im trying to measure the time between 2 consecutive rising endges (Rising and Falling Edge together) on GPIO continuously but I did not find any leads. will appreciate the support.
Im trying to measure the time between 2 consecutive rising endges (Rising and Falling Edge together) on GPIO continuously but I did not find any leads. will appreciate the support.
Dear Senchoi, Thanks for the reply. I also read your other threads regarding this. Actually I have 2 requirements for my application,
1 - I need to measure the 900ns pulse period (consecutive rising to rising/consecutive falling to falling edges).
2 - The rising or falling edge should be captured from the 1.65V (if the input signal is 3.3V). below 1.65v (either rising or falling should be ignored because of noise signals)
I haven’t tried half tall edges accurately but in my vague experience, it doesn’t pick up that half tall edges very well. I don’t think there’s an option to pick up such signal well. So my suggestion for detecting such is to use saadc although it may get complicated.
The reson behind to start tick/measure when half edge reached to ignore the smal edges of the noise.
The reson behind to start tick/measure when half edge reached to ignore the smal edges of the noise.