Jump to content
  • 0

Interrupt handling in petalinux


thenumberdevil

Question

Interrupt handling from PL to PS system

Hi,

    I could receive the Interrupt from PL in baremetal. #define XPS_FPGA0_INT_ID 61U .

    What is the workflow which should follow to get the same interrupt from PS to PL in linux.

    Since it is a shared  peripheral interrupt , I have been specifying my interrupt request number to be 29 ie (61-32).

     if (request_irq(29, &rotary_encoder_irq, IRQF_TRIGGER_HIGH, DRV_NAME, pdev)) {

After this registration I am not getting any callback. Please let me know some ideas

    What I am missing?. 

Thank you in advance.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...