Multiple ADC usage
Posted: Thu Aug 11, 2016 4:38 pm
In looking at the reference manual I see you can run all the ADC at the same time, although from what I see I don't think that specific use case is supported in the drivers for ChibiOS. Is that the case?
What I am trying to understand is in that use model, is the expectation one callback after all 2 or 3 ADC are done with a conversion pass?
Which brings me to my second question, if I setup more than one ADC, do they just run at the same time and each call their own respective callbacks when they have data to process?
And this is more chip specific, but on the STM32F4 series, when running multiple ADC, do they suffer from less accurate results?
In my specific case I have some inputs I'd like to read more often than others, so I thought dividing them into two different ADC so I can sample them faster on one might be the way to go.
Rick
What I am trying to understand is in that use model, is the expectation one callback after all 2 or 3 ADC are done with a conversion pass?
Which brings me to my second question, if I setup more than one ADC, do they just run at the same time and each call their own respective callbacks when they have data to process?
And this is more chip specific, but on the STM32F4 series, when running multiple ADC, do they suffer from less accurate results?
In my specific case I have some inputs I'd like to read more often than others, so I thought dividing them into two different ADC so I can sample them faster on one might be the way to go.
Rick