Hello,
I was trying to find an example of a simple example of data transfer from DDR to PRU SRAM using EDMA which will be triggered by the PRU, the only example I've seen was this post below:
e2e.ti.com/support/processors/f/791/t/149738?DMA-from-PRU-to-DDR-RAM-under-Linux which points to PRU_edmaConfig (accessing the EDMA without precautions as per that example crashes the system)
Some interesting work was also done here:
github.com/.../beaglebone-pru-dma
both of which are based on PRU_SW project that was discontinued. This is the environment we're using:
- Linux-rt 4.19
- ARM-PRU communication using remoteproc
- Goal: ARM will allocate a buffer in DDR, passes the details (address, size) to the PRU with RPMsg, then PRU to initiate EDMA transfer.
Please let us know what is the best approach to achieve this.
Thank you.