I wan to communicate PRU0 and PRU1.
I think to, we can use __xin() and __xout(), in PRU sdk example.
But, __xin() can not do this.
typedef struct{
unsigned int reg5;
unsigned int reg6;
unsigned int reg7;
unsigned int reg8;
unsigned int reg9;
unsigned int reg10;
} bufferData;
PRU0 process is :
bufferData xout_buff;
__xout(14, 5, 0, xout_buff);
PRU1 process is:
bufferData xin_buff;
__xin(14, 5, 0, xin_buff);
PRU need register setting ? or other setting ?
Please help.