On 12/18/2016 5:08 PM, Amr Alanwar wrote: > 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?
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. -- Charles Steinkuehler [email protected] -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/186275e9-9b60-52c3-9111-940784a48417%40steinkuehler.net. For more options, visit https://groups.google.com/d/optout.
