This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTI Interrupt Problem

Hi, i'm working with RTI interrupts of the Texas TMS470R1B512, and i've noticed a bug on it.

First, i disable the RTI compare 1 interrupt in the master interrupt register (REQMASK), It should be enough to disable the compare 1 RTI interrupt :

// Enable the RTI compare 1 interrupt in the RTICINT
pSM->RTICINT |= (CMP1ENA);
// Disable the RTI compare 1 interrupt in the REQMASK
pSM->REQMASK &= ~(1 << CIM_COMP1);

Then, when I use the compare interrupt together with the serial interrupt, although the compare interrupt is disabled in the master register, when the microcontroller receives a valid serial data and generates an Rx interrupt, it first gemerates and RTI compare interrupt and then goes to the Rx interrupt.

Do you know this problem or how to solve it ?

Thanks in advance.

0