So to do that we need to put the Pin PR1_ECAP0_ECAP_CAPIN_APWM_O in input mode.
Where can we find the source code of the libpruio doing that in the pru ? Le mer. 30 mars 2016 à 17:09, TJF <jeli.freih...@gmail.com> a écrit : > You don't need GPIOs. Instead analyse the pulse train by hardware. The > eCAP modules in the PWMSS subsystems are designed for that purpose. The > simplest (and most powerful) solution is to use libpruio > <http://beagleboard.org/project/libpruio/>. Check out the example pwm_cap > <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/_cha_examples.html#SubSecExaPwmCap> > . > > BR > > -- > 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 beagleboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.