[beagleboard] Re: Can a PRU tell if it's PRU0 or PRU1?

2017-01-21 Thread Greg
So you are saying the firmware loaded to both PRUs has to be exactly the same? You can't use a slightly different #define to make a different constant in PRU0 vs PRU1? Regards, Greg -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscri

[beagleboard] Re: Can a PRU tell if it's PRU0 or PRU1?

2017-01-21 Thread Greg
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 y