Use of ADC with DMA
Dear community,
In a project the microcontroller STM32G4 is used, where three ADCss with DMA are used. On each ADC three channels are configured with 2.5 cycle sampling. The ADCs are triggered with a timer with a frequency of 125kHz.
The processed data from ADCs are controlled by DAC. The DACs are updated with 15kHz.
When debugging, the program is not stopped at the breakpoints once the ADCs are running, although the DACs are still running.
Next, the sampling frequency was lowered to 90kHz, at which debugging also runs.
My guess is that the data transfer via DMA is too fast that the interrupt of Debugging does not handle anymore.
Slow sampling below 100kHz is unfortunately not a solution for this project. Does anyone have another solution?
Thanks a lot.
