• 0

Interrupt handling in petalinux


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 post
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now