Geoff Roberts
|
Re: pidin irq reporting strange IRQ number
|
Geoff Roberts
04/01/2022 11:54 AM
post121775
|
Re: pidin irq reporting strange IRQ number
> On that platform, IRQ 48 is what's known as a cascade interrupt. A single
> interrupt which represents several others which are demuxed by specific
> callouts. You cannot attach directly to it, instead you attach to one of the
> demuxed interrupt vectors (which start at 200 for this particular cascade).
> See init_intrinfo.c in your BSP
Thanks for that!
I'll take a look at that file (init_intrinfo.c) over the weekend (it's early Sat morning here) and with the Xilinx FPGA
guru who is working with me (and knows nothing about QNX) try and get the GPIO interrupt working on Monday.
Am I correct however in assuming that even though InterruptAttach() returns a valid ID for IRQ 48 there is actually
more work to be done to get it working? If so, is it likely to be work on the QNX side or FPGA (PL) side? Or both?
It's the first time either of us have had to get this particular GPIO interrupt working with QNX but I gather from what
you say Petalinux would behave the same way. Is this correct? If so, and we can get that working, it should therefore be
relatively straight forward to get it working with QNX.
Geoff.
|
|
|