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.

AM2634: Fail to generate an interrupt from PRU to R5F

Part Number: AM2634
Other Parts Discussed in Thread: SYSCONFIG

I write 32(10 0000) to R31 to generate sys_event 16.

I used the PRUICSS_intcInit function to initialize INTC, and the Initialization parameters were written by me referring to the code generated by sysconfig in the AM243x SDK (as shown in the figure below), where I selected Channel-4 and Host-4.

Following is regular interrupt function initialization: (The intNum is 2)

But I set a breakpoint inside the interrupt function and found that it fails to enter the interrupt function.

I don't know now whether the interrupt was triggered but not mapped to an interrupt function, or if the interrupt was not triggered at all. I also wondered how to know if an interrupt was triggered, and if there was a flag bit like a PWM interrupt. 

I'm looking forward to any useful answers, thank you very much!