[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] adc injected vs regular channels

From: Stephen Dwyer
Subject: Re: [Paparazzi-devel] adc injected vs regular channels
Date: Fri, 2 Aug 2013 14:35:59 -0600

Hey Chris,

While on the STM32 there are technically lots of pins (different channels) that can act as ADC inputs, there are only 1 or 2 or 3 actual ADC converters, so if you have 3 you can convert 3 channel SIMULTANEOUSLY, instead of each channel one after the other. This means you also have more data buffers to play with if not using the DMA, as well as different triggering methods for different channels. The ADC does take some time to sample, as you can see when setting the sample time in the configuration. There are also some fancy dual sampling modes and such.

-Stephen Dwyer

On Fri, Aug 2, 2013 at 1:03 PM, Chris <address@hidden> wrote:
Hi Gautier!
No i rather don't not because i don't want to, but because i will mess things up :-D
I do have time as i am on vacations (at home, no money for anything...) but i am sure that i will complicate things...
I just asked out of curiocity and because i know that the paparazzi code is really very well thought out,
everything is done the way it is done for a very good reason.
Injected channels are working well for me and i just finished implementing ADC2 and ADC3 so someone
can use 12 adc channels on an stm32f4 but i haven't tested it yet.
ADC3 has it's pins mostly on port F so there are some more free pins on higher count packages.
I really don't understand (i am not a stm32 guru, far from it) why it helps having 3 adcs when most of their channels are placed on common pins as it happens mostly for ADC1 and ADC2.

On 08/02/2013 03:30 PM, wrote:
I'm working on the regular adc implementation for the F4. It is not on
github yet, but if you really want to work on it, I can share it.
Otherwise, just wait a little bit, it's on the todo list...

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]