Other Parts Discussed in Thread: TIDA-01555
Tool/software:
Hi,
I am using the PRU to access some of the main DDR memory on the AM3358. A block of memory is excluded from use by the OS using an overlay, and the PRU writes to it (in a ping-pong buffer style). The main application (on the ARM core) reads from this memory after the receipt of an rpmesg informing it which area (ping or pong) has been written to.
The problem I am experiencing is significant memory access latency (around 1 - 2 usec, regardless of how much is being written) which is causing some jitter in my PRU (ADC) sampling loop. This problem does not occur when writing to the PRU local shared memory.
My questions are:
1) Is this expected behaviour?
2) Is this possible to mitigate the variance in these access times?
3) Can the ARM core access the PRU shared memory?
4) Any suggestions on an alternate approach?
Sampling to DDR:
Sampling to PRU mem
Thanks,
Tom