2020-06-30 08:24 AM
Hello, i am making a project on a stm32 (STM32F767ZI) development board, and i need to read analog voltage from 9 sensors. I have been reading the datasheet to see if is there a ADC mode that can make the process faster and more optimized. The most basic way i can think is to read the 9 channels of the ADC via a timer_interrupt, but i doubt that this is the best way.
So my question is, anyone that tried something like this before can give me some insight, pls.
Or someone have any idea how should i approach the problem.
best regards
Luís Conceição
2020-06-30 01:03 PM
I would put all 9 channels into the ADC and convert them as a sequence using DMA. You can trigger the sequence conversion using a timer or via software depending on your needs.
2020-06-30 02:31 PM
Hello
I was thinking about that too, i am glad that you pointed it as well, that means that i am on the right track, probably :)
thank you for the reply