Other Parts Discussed in Thread: HALCOGEN, RM48L950
Hi,
I'm trying to set up a timer interrupt using the RTI module but the Interrupt Service Routine is never called.
I'm using counter 0 and the compare function to generate an interrupt. I have edited the interrupt vector in the 4th position to point to my ISR. This routine is defined using the pragma directive. Configuration of the counter is done properly. Counter is advancing and triggering an interrupt flag when it reaches the value set on the compare register(I can read the counter register and see it going up while debugging, I can also see the register holding the interrupt flags enabling the bit for this interrupt). I also enabled the interrupt for this compare on the SETINT register of the RTI module.
I am guessing there is an interrupt enable function or a global interrupt enable register that I am missing. Please let me know what comes to your mind or point me to an example.
Thanks in advanced,