On Mon, Mar 10, 2014 at 11:00 PM, Paddu <[email protected]> wrote:

>
> Hi,
>
> Thank you for sharing very useful information.
> With your suggestions currently I am able to read the Cycle count using
> using this register.
> Please let me ask more question about CCNT register.
>
> Just for the confirmation, I would like to know is this a 32 bit register?
> or 64 bit?
> and what would happen if the count value is overflown, will the register
> reset to "0" ?
>

It is a 32bit register(use "mrc" to read it instead of "mrrc"). If you are
afraid of overflow and don't want to deal with the interrupt, you could set
the D bit in PMCR register(c9, c12, 0). Than PMU will divide the cycle with
64.

-- 
Cheers,
Grissiom

-- 
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