Hi everyone,
I recently came across a problem where my highest priority ISR was not executing with the timing I expected.The only (quick) solution I found was to disable/hack off my other ISRs.
My assumption was that the priority of say SEQ1INT (ADC sequencer) being higher than a SPI or SCI interrupt, the CPU would make my SEQ1INT ISR take over even when a lower priority ISR was executing. My lower priority interrupts do not do anything like disabling INTM or playing with PIEIER during their execution. What I saw was that my SEQ1ISR would start executing after the lower priority ISR was finished, which was a bit of a problem for me.
Is there something I'm missing, or is this expected behavior ?
Thanks,