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 February 2015 02:34:11 UTC, Rick M wrote: > > I need to accurately measure frequency from a pressure transducer, and > make it available on a LAN. A BBB ought to be able to do this, if the PRU > can be made to accurately measure the frequency. > > The frequency range is 30 kHz to 42 kHz. I need better than 0.01% > accuracy. Overall latency in the reading is not too much of an issue, so > long as it's not more than a few seconds. > > Does the PRU let me connect a GPIO to a counter internally? I can measure > some cycles and compare that to a crystal-driven counter. > > Has anyone done this? > > TIA, > > -- > Rick Mann > rm...@latencyzero.com <javascript:> > > > -- 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.