Page 1 of 1
STM32F3 ADC2 without DUAL mode
Posted: Tue Dec 08, 2015 11:03 am
by neums
Hi,
why there is no possibility to use the ADC2 of STM32F3 without the Dual Mode?
Re: STM32F3 ADC2 without DUAL mode
Posted: Tue Dec 08, 2015 11:21 am
by Giovanni
Hi,
Currently only ADC1 and ADC3 can be used alone. Allowing ADC2 and ADC4 would be possible but rather complex because the clock is shared between 1+2 and 3+4.
Is there a specific need for ADC2?
Giovanni
Re: STM32F3 ADC2 without DUAL mode
Posted: Tue Dec 08, 2015 11:39 am
by neums
Hi,
i want to trigger the ADC 2 independantly. ADC1 and ADC2 just use the same Clock or not? That is defined only in mcuconf, isn't it?
Re: STM32F3 ADC2 without DUAL mode
Posted: Tue Dec 08, 2015 11:48 am
by Giovanni
Couldn't you use ADC1 and ADC3 instead? is there any specific reason for ADC2?
Support could be eventually added but it would take time.
Giovanni
Re: STM32F3 ADC2 without DUAL mode
Posted: Tue Dec 08, 2015 12:10 pm
by neums
The board is fully designed.
I think it is an improving and fundamental feature for this driver isn't it? The F3 is very special due to the ADC. It is one of the characteristical features of this derivat. I think that this whould improve the usability very much.
Thanks.
Re: STM32F3 ADC2 without DUAL mode
Posted: Tue Dec 08, 2015 12:33 pm
by Giovanni
I need to asses changes, no promises. The driver is quite complex because all modes already.
Giovanni
Re: STM32F3 ADC2 without DUAL mode
Posted: Thu Dec 10, 2015 8:13 pm
by Giovanni
Hi,
The change is feasible, it will be introduced with a new ADCv3 driver for both F3 and L4 families.
Giovanni
Re: STM32F3 ADC2 without DUAL mode
Posted: Mon Dec 14, 2015 3:59 pm
by Giovanni
Hi
It has been committed on the repository, ADC2 and ADC4 should work also alone now.
Note that there are changes in mcuconf.h and in the ADCConfig structure.
Giovanni
Re: STM32F3 ADC2 without DUAL mode
Posted: Mon Dec 14, 2015 4:46 pm
by neums
Thank you a lot. I will test it when it gets released with the next stable version.
Re: STM32F3 ADC2 without DUAL mode
Posted: Wed Dec 16, 2015 8:29 am
by neums
Is there a feature request on source forge?