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.

TM4C1294NCPDT: Configure a GPIO pin interrupt as the highest priority.

Part Number: TM4C1294NCPDT

using the TM4C1294NCPDT -

I have to configure a GPIO pin interrupt as the highest priority.

I have an ADC working with an interrupt that I put at lowest priority : ADCSequenceConfigure(ADC0_BASE, PD_SAMPLE_SEQ, ADC_TRIGGER_TIMER, 3);

I configured the GPIO interrupt with 0 priority (highest): IntPrioritySet(INT_QCW_PORT, 0x00);

it is important that the GPIO interrupt will be called also from a running interrupt (ADC or UART) but although the configured priorities,

On the scope I dont see the ADC stopping and giving the CPU over to the highest priority.

Do I have to configure some nested interrupt state?

Maccabi

  • Hello Maccabi,

    I would be curious to understand how you are confirming that the GPIO interrupt should fire during the ADC but is not firing. You wouldn't see the 'ADC stop' because of that as much as you would see the ADC interrupt processing be halted. The GPIO interrupt should not take much time to process. It may be that your attempt to observe this behavior isn't gradual enough to detect that the GPIO did interrupt the ADC ISR.

    Best Regards,

    Ralph Jacobi