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.

Interrupt mapping problem(primary interrupts)

Other Parts Discussed in Thread: TMS320C6670

Hi all,

I was mapping an interrupt for some module :

Platform used: TMS320C6670

I used the primary interrupt straightaway (no secondary event mapping required)

Interrupt configuration :

        PLT_Hwi_create (10, primary_eventId, (void (*)(uint32_t))ISR, NULL, TRUE);

ISR:     

       Hwi_clearInterrupt(10) ;

The problem is ISR gets invoked only once while it should be invoked few times.Please post some suggestions if I am missing something regarding clearing the interrupt,because in case of secondary interrupts, there is an API :  CSL_CPINTC_clearSysInterrupt

but for primary interrupt,there is no such.

Thanks

-Bharti

 

 

 

  • Bharti,

    Which system event (primary_eventId?) are you using for this test please?

    If it is a peripheral event, do you clear the interrupt flag in the source level (peripheral configurations registers) in ISR as well?

    It might be required to clear the source level flag every time after the interrupt triggering, in order to trigger the same event later. 

    For the interrupt status clearing, you may need to refer to the peripheral user guide to see how to do it and if any special requirements.