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.

UCD3138 and Interrupts

Hi,

there were some sources for Interrupts, different timers, faults ... but only one Interrupt Routine, Standard_interrupt.c. So have I to test all the possible sources to find out, which Interrupt takes place and calls Standard_interrupt, or is there a smarter way?

I never get the 'fast interrupt' running. Any help out there?

By the way, still waiting for sources (since 11.9)

With best regards

Gerhard

  • Gerhard, you can use the INTREQ register in the CimRegs to see which peripheral(s) have active interrupts.  The FIQIVEQ and IRQIVEC registers will give you a number for the highest priority interrupt which you can use to make a vector jump.  The priority is hard-wired, so it only works if your system priority matches what the CIM is set for. Otherwise you have to read INTREQ and test bits. 

    Happy Debugging,

    Ian Bower