Tool/software: TI-RTOS
I hope get a way to achieve:When PRU sends a interrupt to ARM , the ARM can know exactly which interrupt PRU sends, but it will not trigger the interrupt service of the ARM.
I researched the example C:\ti\pdk_am437x_1_0_10\packages\ti\drv\pruss\test\src\main_test_pruss2_pru0.c, it give us a way to trigger the host CPU inetrrupt server. it implement as follow:
Writing register R31 to generates PRU system events pr0_pru_mst_intr15_intr_req, it can map to Host Interrupts 2-6 and 8-9, corresponds to arm interrupt line 52-59(PRU_ICSS1_EVTOUTx) or 191-197(PRU_ICSS0_EVTOUTx), we can call the function PRUICSS_registerIrqHandler() to register a interrupt server to a corresponding interrupt line.
But I want to the ARM know which interrupt line is pending by polling without trigger the arm interrupt server to Interference with its main program.
CPU : AM437x, CCS7.4, pdk_am437x_1_0_10