Part Number: AM3358
Hello,
I wrote the ADC/DMA code for a ping pong buffer configuration. The code works and it can run in the firmware correctly on the PRU. I am using the Linux SDK 06.00.00.07.
I am trying to figure out how I can integrate the ADC/DMA firmware code with FFTW. Ideally, I want to be able to do FFT calculations on the ping/pong buffers.
The issue I am having is I don't know how to integrate these two code files together. I can enable the ADC/DMA code from the FFTW code using Remoteproc. However, the issue is that since I am assuming I have to run the FFTW code in the userspace, I am not sure how to access the ping/pong buffers.
For instance, let's say my ping buffer is at 0x81000000 and my pong buffer is at 0x82000000. How can I access these buffers from the userspace in the FFTW code? I assuming all code compiled in the userspace is using virtual memory from what I understand.
Any advice is greatly appreciated.
Best Regards,
Tyler