Skip to main content
Associate II
March 5, 2025
Question

ADC continuous mode

Hi i have a question about configuring your adc in continous mode!
I dont understand why this mode doesnt work when i set my EOCS to "EOC flag at the end of single channel conversion".
Let's say i m using multiple channels from adc and i dont want to work with DMA and instead i ll be working with interruptions directly .How can i get the value from each each channel if the EOC is raised only when the whole sequence is done?
Thanks in advance!

This topic has been closed for replies.

1 reply

TDK
March 5, 2025

> How can i get the value from each each channel if the EOC is raised only when the whole sequence is done?

You can't get them by polling. Use DMA to convert multiple channels in a sequence.

 

If you don't want DMA, two options:

  • Convert channels one at a time, re-configuring the ADC between each.
  • Convert a sequence, ensure it's being done slow enough that the interrupt can complete, and read out the value in the ADC sample complete interrupt.
"If you feel a post has answered your question, please click ""Accept as Solution""."