I use BeagleboneBlack with Debian, kernel v3.15, and I want to implement an
accurate timer on my BBB.
I use clock_nanosleep() to wait for 1 second. However, it always turns to
be 1 second and 100~120 microsecond delay. (I measured clock_nanosleep()
between clock_gettime() and with oscilloscope.)
Try the "cycle counter" in the pru.
look in the pru section of the forum
On Thu, Jul 17, 2014 at 10:35 PM, wrote:
> I use BeagleboneBlack with Debian, kernel v3.15, and I want to implement
> an accurate timer on my BBB.
> I use clock_nanosleep() to wait for 1 second. However, it always turns t
Hello, John,
Excuse me, may I ask that PRU can be used beyond linux system clock?
Because I need to synchronize my BBB with ourter PTP(precision time
protocol) message , if PRU using its clock, then the BBB will become
asynchronized device..
Thanks.
John Stampfl於 2014年7月17日星期四UTC+8下午11時02
You also might find accessing the timers from PRU is more accurate
On Fri, Jul 18, 2014 at 12:10 AM, wrote:
> Hello, John,
> Excuse me, may I ask that PRU can be used beyond linux system clock?
> Because I need to synchronize my BBB with ourter PTP(precision time
> protocol) message , if PRU us
From:
Reply-To: "beagleboard@googlegroups.com"
Date: Thursday, July 17, 2014 at 9:10 AM
To: "beagleboard@googlegroups.com"
Subject: Re: [beagleboard] inaccuracy issue of clock_nanosleep() with
Debian
> Hello, John,
> Excuse me, may I ask that PRU can be used