Hello there,
I am trying to add a PINT interrupt into a NXP BLE Stack example design using the #QN9090
I have taken the PINT example code from the drivers and placed it at the main_task() function in the "ApplMain.c" file. The pin used in the QN9090 is the PIO15(also tested with PIO7 and PIO4 from the expansion board).
The Interrupt is defined in the PIN via HW Config tools like:
blas_m_2-1686061745798.png
The initialization code looks like:
blas_m_0-1686061476517.png
The set-up code to trigger the interrupt contains only 2 commands(aside from the print-out):
blas_m_1-1686061588208.png
"pint_intr_callback" function prints-out a message every time the interrupt is called. However this message never gets called or the interrupt never gets listed when I read the Pint interrupts with the command :
PINT_PinInterruptGetStatusAll(PINT)
It looks like the Interrupt has not been set-up correctly or the Pin Interrupts are not enabled
What could I do to make it work?