I read that IRQ7 can't be masked in MQX because of priority (level 7). I tried to use this IRQ7 but it didn't work properly.
Now, I want to disable the IRQ7 and use this pin as GPIO.
I wrote in bsp_init.c:
reg_ptr->GPIO.PNQPAR = 0x1555; //Disable IRQ7
But nothing was changed. When I change the pin value, the MQX hangs (seems that execute "spurious interrupt")