Hello,

I'm writing a program for the PRU to determine the RPM of motor and do a 
number of other things as well.

Instead of having the PRU run a loop of pre-determined length to meter 
time, I would prefer to be able to access some hardware counter that is 
ticking away to see how many ticks have passed since the last event.  This 
way, the other things going on on the PRU won't screw up my timing 
measurements.

>From the technical reference I see that there are a number of timers 
available on the am335x chip.  Further, I see that my cape-universal is 
turning on number of things in the /sys/devices/ocp.3/ directory that have 
a ".timer" suffix.

But when I use devmem2 to look at the registers for the timers as called 
out in the technical reference, I don't see anything ticking???

Is there a counter some where that is just ticking away that I can use to 
mark time?  How can I access it?  How can I turn it on?

Thanks,

Bill




-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to