Skip to main content
LConc.1
Associate
Question

Read Analog Sensor Values STM32

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

This topic has been closed for replies.

2 replies

TDK

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
LConc.1
LConc.1Author
Associate

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