I have asked this of TI but haven’t really gotten a firm answer and I can’t seem to find a clear discussion in the Technical Reference Manual.
I would like to set up PRU1 to monitor two analog input lines and take an action on two GPIOs depending on the values it reads. It would just be started by either the host program through remoteproc or by PRU0.
Simultaneously, I need PRU0 to read three other analog lines and do more complex control work with those.
I can have PRU1 do all the ADC configuration including setting up steps 1, 2 and 3 to read three analog lines in one-shot mode while steps 4 & are set up to read the other two analog lines in continous mode. I’ll write data from steps 1, 2 and 3 into FIFO0 and 4 & 5 into FIFO1.
The question is can PRU0 read FIFO0 while PRU1 might try to read FIFO1 at the same time?