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.

missing EDMA3 interrupts on C6424

Hi,

As mentioned in subject, intermittently C6424 missing EDMA3 interrupts.
attached is the test project for reference. 

This is simple configuration using ping pong buffering scheme..

Request your help in resolving the issues. 

Thanks,

Sudheer

6320.test.zip

test.zip
  • Sudhir,

    Can you describe the way you are noticing the interrupts missing and the basic use of the EDMA3 interrupts? It is a lot easier to discuss in text than to learn a test project from reading code.

    The common ways that interrupts are missed are:

    1. Too much time spent in EDMA3 ISRs so that the next interrupt occurs before exiting the ISR from teh first one.

    2. Other ISRs holding off interrupts from the EDMA3 for too long.

    3. Incorrect logic in the interrupt dispatcher routine so it does not get the interrupt re-enabled quickly enough.

    Regards,
    RandyP

  • Hi Randy,

    Thanks For Quick Response.

    i'm using EDMA3 libraries from latest release and registering ISR for receiving section only.  The attached application doesn't use any other interrupts.

    The EDMA registered rcv isr only post semaphore to application task. in application task i'm using LED toggle to monitor using scope.

    I expect LED to toggle with 10.6ms period but intermittently i observe LED off for more than 3 blocks of audio and same time i hear distorted audio on headphones.

    FYI: all my audio buffers are located on L1DSRAM.

    Thanks,

    Sudheer 

  • Sudheer,

    Try one or more of the following:

    1. Move the LED toggle (or another GPIO toggle) to the ISR to make sure the problem is in the ISR and not the task handling the processing.

    2. Reduce your processing task to doing nothing but toggling the LED.

    3. Make sure you are using the Optimizer for your processing and not just the default Debug Configuration. You can select a single file and change its optimization setting to -o2.

    Regards,
    RandyP