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.

CCS/EK-TM4C123GXL: Background processes or interrupts possibly slowing down code

Part Number: EK-TM4C123GXL

Tool/software: Code Composer Studio

Hello, I am working on a project, and we are using an ADC to take in data. This data is stored in a 4096 array, and we will process this data after the data is recorded.

The problem is that, when the ADC is introduced, the code runs a lot slower than without the ADC. Our theory is that the ADC has interrupts that are slowing down the code.

We have disabled the sample sequencer interrupt, the timer, the uDMA, and the ADC interrupt. Disabling these has increased our performance by a factor of 2, but the execution time is still ~40 seconds, which is too long for our use case.

ADCSequenceDisable(ADC0_BASE, 0u);
IntDisable(INT_ADC0SS0);
TimerDisable(TIMER0_BASE, TIMER_A);
uDMAChannelDisable(UDMA_CHANNEL_ADC0);

My questions are:

  1. Are there any other interrupts that we should disable?
  2. Are there background processes inside the Tiva that we can disable to increase performance?