µTasker Forum

µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: Pursuit20 on July 31, 2008, 10:29:47 PM

Title: IRQ Test
Post by: Pursuit20 on July 31, 2008, 10:29:47 PM
If I uncomment #define IRQ_TEST   in application.c, then this should enable the IRQtest.  With the Eval board, sw2 should be mapped to IRQ11.  In the IRQ_TEST it looks like if i press sw2 on the eval board, it should printout to the terminal "IRQ_11"  I am not seeing this.  Is there something else I am missing that needs to be defined before this test will run.

Thanks,
Title: Re: IRQ Test
Post by: mark on August 01, 2008, 12:04:13 AM
Hi

Ensure that you also have SUPPORT_EPORT active (in app_hw_m5223x.h) since this will add the driver support - without it fnConfigureInterrupt() will simply return (assumption you are using SP7).

Finally check out SP7 patches - there is a patch for the power up of the edge ports, which you may be missing:
http://www.utasker.com/forum/index.php?topic=265.0

Regards

Mark


Title: Re: IRQ Test
Post by: Pursuit20 on August 01, 2008, 08:52:26 PM
Thanks Mark, I had to add POWER_UP(POWER_EPORT);  in the fnConfigureInterrupt.