[beagleboard] Re: Measuring frequency

2015-02-26 Thread Jon E
Hi, I've got a simple frequency counting PRU example on github, might give you some ideas. It should be trivial to change the polling / reporting frequency, but not sure it will run as fast as you want? https://github.com/dresco/pru_examples/tree/master/frequency HTH, Jon On Thursday, 26

[beagleboard] Re: Measuring frequency

2015-02-26 Thread TJF
What about the CAP modules in the PWMSS? Two header pins are available (P9_28 and P9_42, max. 50 MHz). It's supported by libpruio http://beagleboard.org/project/libpruio/, ie. check out the pwm_cap example