Is it possible for a PRU to know if it is PRU0 or PRU1? I want to run the 
same code on both PRUs but have it do slightly different things [*]. I 
guess I could write a "0" to PRU0's RAM and a "1" to PRU1's RAM and the PRU 
code could test this. But is there a more direct way, such as reading a 
config register? I looked over the Technical Reference Manual but couldn't 
find anything.

[*] Specifically, I want the PRU code to send an event to the ARM, 
with PRU_EVTOUT0 from PRU0 and PRU_EVTOUT1 from PRU1, so the ARM code knows 
which PRU sent the event. But I can't see how to do that without the PRU 
knowing if it is PRU0 or PRU1.

Thanks,
Ken

-- 
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/0f1e1f3f-7a9a-41ae-afbe-932f5d6bdd2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to