On 10/4/2013 12:13 PM, Nils Zottmann wrote:
> Has anyone an explanation for this behaviour? Perhaps it is a problem with 
> some kind of cache, how could I get around this? I'd like to implement a 
> ring buffer but it would have to be very large if it has to take data of 
> several seconds.

You are encountering caching effects on the ARM side.  The proper way to
deal with this is to set the memory flags appropriately in the MMU,
typically with kernel-level code that's setting up to do DMA.  The PRU
in this use case basically looks like a "smart" peripheral that can
modify the contents of memory directly.  That is the same as any other
DMA enabled I/O device, and requires the same care with handling of the
memory regions.

-- 
Charles Steinkuehler
[email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to