On 3/22/2017 12:08 AM, ags wrote: > > I need to provide about 32 KiB to the PRU within 5 milliSec, repeating > every 20 milliSec.
That's not much data. I recommend you just make a circular buffer in the PRU data memory, and run a periodic task on the ARM side to keep the buffer filled. Using the 12K shared data ram you can store almost 2 mS worth of data, which ought to be plenty. By way of example, the default Machinekit ARM side thread period is 1 mS and could easily be faster for something simple like this. Note you might need an -rt or -xenomai kernel to achieve reliable operation, I've seen the non-rt kernels occasionally "wander off into the weeds" for several hundred mS at a time. -- Charles Steinkuehler [email protected] -- 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/2eb65170-2666-173f-f5f8-82660e58f5f7%40steinkuehler.net. For more options, visit https://groups.google.com/d/optout.
