Read Analog Sensor Values STM32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-30 8: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
- Labels:
-
ADC
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-30 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-30 2: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
