Have you seen the PRU Cookbook[1]?  In chapter 7[2] I give a simple example 
of passing data between the two PRUs using xin() and xout().  It's a simple 
example, but a start.

BeagleLogic[3] has a better (and much more detailed) example of what you 
are wanting to do.

--Mark

[1] https://markayoder.github.io/PRUCookbook/
[2] 
https://markayoder.github.io/PRUCookbook/07more/more.html#_xout_and_xin_transfering_between_prus
 
[3] https://beaglelogic.readthedocs.io/en/latest/

On Wednesday, February 27, 2019 at 11:48:00 AM UTC-5, 
[email protected] wrote:
>
>
> Hello guys,
>
> I am trying to make an ADC using the PRU. I want to use one core as SPI 
> master and send the samples to the second core using scratchpad . On the 
> second core i want to do some DSP and than send it to the arm using 
> REMOTEPROC/RPMsg. The problem i am walking in to is that there is next to 
> no explanation on remoteproc or scratchpad. Are there better resources on 
> these topics? or are there better solutions to what i am trying to 
> accomplish? has anyone written a library in C for REMOTEPROC/RPMsg. I do 
> not mind researching but there is so little information that i am left to 
> copy pasting different parts of the TI examples which do not explain 
> anything.
>

-- 
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/ae43b8f0-270a-41cb-9296-8eb811b506d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to