Default STM32F303 ADC Parameters

Post here first, or if you can't find a relevant section!
Post Reply
mkengineering
Posts: 12
Joined: Thu Apr 30, 2020 8:35 pm

Default STM32F303 ADC Parameters

Post 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.
fpiSTM
Posts: 1838
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 102
Location: Le Mans
Contact:

Re: Default STM32F303 ADC Parameters

Post 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
Post Reply

Return to “General discussion”