Author Topic: IRQ Test  (Read 8285 times)

Offline Pursuit20

  • Newbie
  • *
  • Posts: 11
    • View Profile
IRQ Test
« 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,

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: IRQ Test
« Reply #1 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



Offline Pursuit20

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: IRQ Test
« Reply #2 on: August 01, 2008, 08:52:26 PM »
Thanks Mark, I had to add POWER_UP(POWER_EPORT);  in the fnConfigureInterrupt.