Pru Timer Capture

Hi All

I would like to use PRU on BBB to capture the time of an event on an external pin.
In short, how to use PRU timers to do input capture?

Many Thanks

Exactly the same way you use the timer/capture hardware on the ARM
side, you just have to write the code to run on the PRU instead. See
section 15.3 of the TRM "Enhanced Capture (eCAP) Module)" for use
cases and example setup.

Note the latest universal overlays now allow pin multiplexing for the
PRU eCAP and UART hardware, and I can verify the PRU eCAP works in PWM
mode (which is what I'm using) and it should work fine in capture mode
as well.