nRF52 Pulse Duration Counter for GPIO - The time between 2 consecutive rising edges

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.

Parents
  • 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.

Reply
  • 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.

Children