Using ADC1 for very fast readings of IN1 and readings of other channels every 100ms
Hello,
I have 7 ADC1 channels that must be read every 100ms. I can't use polling because there are many other tasks being done in the foreground. I can either set up in the interrupt a type of chain in which each time one value is read the next one will be processed - or - use DMA.
The challenge is the follows:
IN1 must be sampled at least 50-100 times in the space of 50us (microseconds) every second after a certain timer trigger (and synchronized not to happen when the other ADC readings are being read/processed). For this I probably need the DMA and an accumulator.
I'm trying to figure out how these ADC readings and channels can exist together.
Until now I've used the STM-Cube to configure the ADC and read all channels every 25ms.
Any ideas would be appreciated.
Thanks,
Mechi
