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.

C2812 PIE, dispatcher and interrupt masks

Hi

If I have configured the DSP/BIOS configuration (tcf) to Enable PIE and setup two PIE interrupts, eg. PIE INT1.4 & PIE INT1.6. Both using the Dispatcher and interrupt masks set to self (0x0001). Then this does NOT enable nested interrupts for these two? right?

So the way I understand the Interrupt Mask is that it is actually the HWI IER (in this case HWI 1) that is disabled during servicing of any of these interrupts?

Thanks,

Mads

  • Mads,

    Setting an interrupt mask to “self” will mask the interrupt that is currently being serviced, and then enable all other interrupts that were previously enabled.  So it *does* allow nesting on top of the current interrupt, but it does not allow the interrupt currently being serviced to nest on itself (interrupting again, preempting the current servicing).

    If you want *no* nesting at all on top of a particular interrupt you should specify the interruptMask to be “all”.

    Yes, you’re right, the interruptMask relates to the IER register.

    Scott