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.

TMS320F280049: ERAD will not trigger a RTOS interrupt

Part Number: TMS320F280049

Hi expert, 

My customer is expermenting with ERAD module, they have been succeeded with stop CPU on compare event. Now, they are going to use RTOS interrupt but the interrupt didn't fire. Could you help check if they are doing the right thing?

Configurations:

static void initHWBP1CheckDataWriteBus(uint32_t address)
{
  __eallow();

  EradGlobalRegs.GLBL_OWNER.bit.OWNER = 1u;        

  EradHWBP1Regs.HWBP_CNTL.bit.COMP_MODE = 0u;      
  EradHWBP1Regs.HWBP_CNTL.bit.STOP = 0u;           
  EradHWBP1Regs.HWBP_CNTL.bit.BUS_SEL = 2u;        
  EradHWBP1Regs.HWBP_CNTL.bit.RTOSINT = 1u;        /* Event matched occur -> RTOSINTn isr generate*/

  EradHWBP1Regs.HWBP_CLEAR.bit.EVENT_CLR = 1u;     
  EradHWBP1Regs.HWBP_MASK = 0u;                    

  EradHWBP1Regs.HWBP_REF = address;                

  EradGlobalRegs.GLBL_ENABLE.bit.HWBP1 = 1u;       

  __edis();
}

They have also configured:
IER |= M_RTOS;
PieVectTable.RTOS_INT = &RTOSISR;

Thanks
Sheldon