Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - GPIO Interrupts not being caught by QNX interrupt handler on am335x: (2 Items)
   
GPIO Interrupts not being caught by QNX interrupt handler on am335x  
I am having an issue with GPIO interrupts in QNX.
I have been able to create and handle interrupts from other peripherals in QNX using InterruptAttach, following the 
documentation, but it does not receive any GPIO interrupts.
I have checked that the interrupts are getting unmasked, and the GPIO_IRQSTATUS_RAW interrupt bit is being set, but my 
code is still not receiving the interrupt. 

This is in QNX Neutrino 7.0 on a Beaglebone Black. I am trying to get a high level interrupt from GPIO port 1.
Does anyone know what might be causing this issue, or where I could find example code of GPIO interrupts in QNX on the 
Beaglebone Black?
Re: GPIO Interrupts not being caught by QNX interrupt handler on am335x  
I solved my problem.
The GPIO IRQ numbers are different in QNX, as described in the 2nd reply to this post:
http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc27325

They are defined in init_intrinfo.c in the BSP. So GPIO port 1 pin 14 is IRQ 814.