Hello,
I use CPU1 and CPU2 in my software, and I've a question :
Is it possible to drive a GPIO (for example GPIO0) with CPU1, and changed master which control this GPIO pin to CPU2 while program is running ?
For example, if I have a program which execute CPU1 then CPU2 :
CPU1 :
EALLOW; GpioCtrlRegs.GPACSEL1.bit.GPIO0 = 0x0; // CPU1 selected EDIS; GpioDataRegs.GPADAT.bit.GPIO0 = 1; DELAY_US(500); EALLOW; GpioCtrlRegs.GPACSEL1.bit.GPIO0 = 0x2; // CPU2 selected EDIS;
CPU2 :
GpioDataRegs.GPADAT.bit.GPIO0 = 0; DELAY_US(500);
It doesn't seem to work.
Thanks for your feedback.
Regards,