Hi,
Suppose I map 4 system events from PRU0 to a channel and then map to PRU_EVTOUT0, then, when 1 of these system events triggered, arm get the interrupt of PRU_EVTOUT0, how can arm side program knows which system event of PRU was triggered?
-Zhu
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Zhu,
After detecting the interrupt of PRU_EVTOUT0, the ARM can read the System Interrupt Status Raw/Set Register 2 within the INTC (http://processors.wiki.ti.com/index.php/PRU_Interrupt_Controller#System_Interrupt_Status_Raw.2FSet_Register_2_.28SRSR2.29). This register corresponds to the physical address 0x01C34204.
Regards,
Melissa