Best way to sequence ADC (a lot) without DMA
Hi all, I'm building an application which needs to sample 8 ADC channels at roughly 10kHz, while listening for messages over SPI. The issue I'm facing is that neither of these can be missed, and sometimes they occur simultaneously. Ideally both of these use cases would use a DMA, however, the G070 I'm developing on only has 1 DMA.
Usually the SPI transfers are short enough that I could in theory fit them in the 80us or so that I have available between ADC sequencing, however this would impose a huge limitation on the comms and could cause problems down the line if we needed to support longer SPI transfers.
In light of this I'm trying to figure out the best way to sample the ADC without using the DMA. I was thinking of continuing to use the sequencer, and just handle the EOC IRQ at highest priority but I was curious to see if there are other suggestions.
