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.

tms320c6657: Software generated event

Part Number: TMS320C6657

I am not able to generate an interrupt by setting a bit in an event set register in software (EVTSETn, SPRUGW0C, 9.5.1.2)?   Interrupts are working. For example a timer ISR is generated from a hardware driven event 66 (Timer 2 interrupt low) muxed to INT4.  However if I don't enable the timer but try to trigger INT4 manually by setting a bit corresponding to event 66 in EVTSET2 it doesn't trigger the interrupt.  Is this supposed to work?

  • Hi Bradley,

    We're working on this. Feedback will be posted here.

    Best Regards,
    Yordan
  • Hi Bradley,

    When you set the EVTSET2, do you get the corresponding flag register to update accordingly?

    Have you checked your mask registers, maybe the event is filtered and is not processed further by the event combiner & interrupt selector.

    Also note the following from Sections 9.4 Interrupt Controller - DSP Interaction & 9.4.1 DSP - Interrupt Controller Interface

    "You must enable interrupts in order for the DSP to recognize them. The DSP requires individual enables via the interrupt enable register (IER) and via the global interrupt enable field in the interrupt task register (ITSR.GIE). "

    I am not sure that just setting the EVTSET registers is enough to get the dsp to process an interrupt.

    Best Regards,
    Yordan
  • Hi Yordan,

    > When you set the EVTSET2, do you get the corresponding flag register to update accordingly? 

    Yes.

    > Have you checked your mask registers, maybe the event is filtered and is not processed further by the event combiner & interrupt selector. 

    I was not using the event combiner.  Rather I was specifying a system event directly in the interrupt selector.  However, after some testing it appears that using the EVTSETn registers to manually enable events works only through the event combiner.  I have been able to get it to work using that method.

  • Hi,

    Thanks for updating the thread.

    Best Regards,
    Yordan