2023-11-01 06:23 AM
Hi to all! I connected all channels to possible pins in my ADC. How I can use the HAL functions to select a separate channel and read the value from it? Has anyone faced these issues? I will be grateful for the answer!
Solved! Go to Solution.
2023-11-01 09:09 AM
Hello @Embedded_dev1 ,
Here is an example firmware. You can simply configure ADC channel.
STM32Cube\Repository\STM32Cube_FW_F1_V1.8.5\Projects\STM32F103RB-Nucleo\Examples\ADC\ADC_AnalogWatchdog
This wiki might be helpful as well. Getting started with ADC - stm32mcu
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-11-01 09:09 AM
Hello @Embedded_dev1 ,
Here is an example firmware. You can simply configure ADC channel.
STM32Cube\Repository\STM32Cube_FW_F1_V1.8.5\Projects\STM32F103RB-Nucleo\Examples\ADC\ADC_AnalogWatchdog
This wiki might be helpful as well. Getting started with ADC - stm32mcu
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-11-09 01:58 AM
Thanks for the answer!