On 10/9/2013 9:39 PM, Kent Bowling wrote:
> I see in your code you're using scratch pad 0 (the 10 in your 
> instructions). I'm trying to use the direct PRU to PRU version (14) and 
> it's not working for me. I just tried your approach (pad 0, AKA 10) and it 
> works fine.
> 
> Am I wrong in thinking you could use 14 and copy registers directly between 
> the PRU's?

I haven't tried doing direct PRU to PRU transfers.  Note that it isn't
really in bold print in the documentation, but are you doing an XIN on
one PRU and an XOUT on the other?

If I'm reading things correctly (section 5.2.4.2, top of page 35 in
SPRUHF8A) the first PRU will stall until the other PRU performs the
matching XIN/XOUT instruction, or 1024 clocks go by.  So if you're
getting pr1_xfr_timeout events (you should be able to check for this in
the status bits of the INTC, it's interrupt number 3), you're getting
timeouts from not having a "matched set" of XIN/XOUT pairs.

-- 
Charles Steinkuehler
[email protected]

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to