Page 1 of 1

Default STM32F303 ADC Parameters

Posted: Wed Sep 30, 2020 9:10 pm
by mkengineering
Hello Everyone,

I'm working on a project with the Robotdyn STM32F303 Blackpill and I was wondering what the default parameters are set to for the ADC (i.e. Clock Frequency, Sample Time, Resolution). I can't seem to locate this information in the wiki.

Re: Default STM32F303 ADC Parameters

Posted: Wed Oct 21, 2020 3:12 pm
by fpiSTM
The resolution is the same than Arduino but can be redefined.
For the other configuration this is not described in the Wiki I think.
AnalogRead is basically for arduino compatibility. It init, configure and do a single ended conversion then deinit each time.
The sampling depends of the STM32 series.
All are defined here:
https://github.com/stm32duino/Arduino_C ... analog.cpp