Hi WorkerBee, [quote userid="558080" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1473483/mspm0g3507-configuration-for-max-adc-throughput/5695429#5695429"]i can see that the size is non zero, then after in the debugger i single step over the dma enable, i can look at the registers and size has gone to zero and the buffer has new data. so it seems that the stop conversion didn't stop samples from occuring and as soon as i enabled the channel it completed because samples were still occurring.[/quote] I'm sorry to misunderstand your clarification. And thanks for your patient to plain your setup, the code you attached seems good. I have requested for your friendship, and you could send my your example so it may be more convenient for me to reproduce your problem and take further analysis (sysconfig configuration is also an important part). By the way, another assumption from my side is that if the DMA size is less than FIFO size, there is a possibility that before you stop ADC conversion, the ADC is continuously sampling (if the sampling rate is very high) and the FIFO has became full or nearly full. So just after you enable DMA and conversion, the DMA transfer completed. Thanks and Best Regards, Pengfei
↧