This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

External interrupt setup using pinout tool not working in simulation

Hi,

I am trying to use pinout tool with a file specifying the interrupt period and run in simulation mode.  I also use dsp/bios to config the function to call when interrupt occurs.  The problem is the interrupt never occur.   How do I verify that my setup is working.  All my other tasks are working fine, just the interrupt is not working.  Thanks.

 

 

  • Coolmerc said:
    Hi,

    I am trying to use pinout tool with a file specifying the interrupt period and run in simulation mode.  I also use dsp/bios to config the function to call when interrupt occurs.  The problem is the interrupt never occur.   How do I verify that my setup is working.  All my other tasks are working fine, just the interrupt is not working.  Thanks.

    Hello,

    There is a good guide on the eXpressDSP Wiki for using the Pin Connect. The easiest way to check if the interrupt is functioning correctly is to turn off the IER bit for that interrupt and see if the interrupt is captured in the IFR. If the flag gets set make sure that the interrupt is configured correctly in the BIOS .tcf file. Ensure that the dispatcher is enabled and that the interrupt keyword is not declared before the ISR.