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.

AM6422: ADC DMA interrupt

Part Number: AM6422

Tool/software:

Hello,

    The version of the SDK we are using is 8.6.

    Previously, I inquired about ADC sampling using DMA. Now, during implementation, there are some aspects I do not fully understand and would appreciate your technical support.

  1. Our requirement: The ADC samples every 10µs. After collecting 1,000 points, a DMA event is generated. We perform simple processing on these 1,000 samples during this event. However, the ADC must continue operating normally. Based on the example code (without double buffering), will the sampled data be overwritten while processing the first event?

  2. ADC configuration: How can we ensure the ADC samples precisely every 10µs? How should the trigger condition be configured? We suspect an internal timer/PWM function should be directly linked to the ADC, allowing sampling to start on a rising edge. Is this the correct approach?

  3. DMA event handling: I noticed the DMA event is not triggered via an interrupt. If an interrupt occurs during this time, will it disrupt the DMA process?

    Are there any detailed examples or documentation that thoroughly explain the configuration of ADC and DMA?