2020-01-09 10:39 PM
I am working on STM32F103VBTx ADC. I am using HAL drivers. I dont find the setting where I can set the resolution. In old HAL drivers we had "hadc1.Init.Resolution = ADC_RESOLUTION_12B;" this field to set resolution. But in new drivers I dont find that field. By default it is 12bit , but hoe to set 10bit?? I have generated code from STM32CUBEMX. I am new to ADC. Can anyone help?
Solved! Go to Solution.
2020-01-09 10:57 PM
STM32F1 series hardware supports only 12 bit ADC resolution, there is nothing to set.
2020-01-09 10:57 PM
STM32F1 series hardware supports only 12 bit ADC resolution, there is nothing to set.
2020-01-09 11:01 PM
berendi is right, only 12bit !
2020-01-09 11:08 PM
oh okay. Thank you @berendi and @oeliks .