Thanks to both of you, this is really helpful.  Charles, this is what I was 
looking for and for this particular problem is what I need, but also thanks 
Bill I will have a look at this timer as well.

On Friday, December 7, 2018 at 7:35:21 PM UTC-5, Charles Steinkuehler wrote:
>
> On 12/7/2018 11:16 AM, alanmthomason via BeagleBoard wrote: 
> > I use the BeagleBone Black PRU for a very time critical task.  I 
> currently 
> > have registers that increment based on how many instructions I have just 
> > run and their type (SBBO's for instance take more than the usual 1 clock 
> > cycle per instruction) so that I can keep track of time.  I have seen 
> > somewhere that you can reset and read an internal clock on the BBB PRUs, 
> > but I just can't seem to find that again.   
> > 
> > Has anyone used this feature, and if so can you guide me on how to go 
> about 
> > reading and resetting? 
>
> There's the Industrial Ethernet Peripheral, mentioned by Bill which 
> includes support for 8 timers. 
>
> In addition, there is an ECAP module within the PRU fabric (separate 
> from the other BBB ECAP timer modules). 
>
> But I think you may be thinking of the Cycle/Stall registers.  You can 
> enable the cycle count register in the Ctrl register (CTR_EN bit), and 
> you can clear the cycle count when the counter is disabled, if desired. 
>
> -- 
> Charles Steinkuehler 
> [email protected] <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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1c969921-303f-4865-bef5-108620b6f67a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to