Hi David,
I am also facing the exact problem, I am working on a MCF52259 & MQX 3.6 based design
I configure the IRQ7 pin in my (func mcf5225_init) as GPIO as
reg_ptr->GPIO.PNQPAR &= 0xBFFF;
I use following code in my application to initialize this IO pin
#define IRQ7 GPIO_PORT_NQ | GPIO_PIN7;
GPIO_PIN_STRUCT ss_gpio_rdrIRQ[] = { IRQ7 | GPIO_PIN_STATUS_0,
GPIO_LIST_END};
rdrIRQio_fh = fopen("gpio:read", (char_ptr) &ss_gpio_rdrIRQ);
ioctl( rdrIRQio_fh, GPIO_IOCTL_READ, (char_ptr) &ss_gpio_rdrIRQ );
(I am excluding the checks for simplicity sake)
Now whenever I try to read the status of the pin, MQX goes into Dummy fnc, & error report shows that the un handled interrupt in the task.
tempIRQStatus = ss_gpio_rdrIRQ[0];
I appreciate response on this, thanks in advance.
Best Regards,
Pradeep