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.
-
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?
-
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?
-
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?