I thought of another way.  Kind of crude, but it might work.  This would 
allow the firmwares to be identical.

Assuming you have a spare PRU GPI in each, you could set the pull-up on one 
pin, and a pull-down on the other.
Then you just read the appropriate value of the bit in __R31.  Of course 
you would have to carefully select the pins so they are the same bit in 
__R31.
So if those pins are spoken for in your application, this isn't going to 
work.

Hopefully someone will know a method which is baked-in to the system.

-- 
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/2516cd7b-d0ab-4a95-85a8-b26b832e8b94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to