cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Configured 5 channels but when iam commented 4 reading only one, then iam getting incorrect values

Sonu_1231
Associate II

iam using STM32L051K8T6 Below attaching the code 

2 REPLIES 2
Sonu_1231
Associate II

Sonu_1231_0-1746506568120.png

IOC Config file

TDK
Super User

Here is an example for how to use the ADC in polling mode:

STM32CubeL0/Projects/NUCLEO-L031K6/Examples/ADC/ADC_RegularConversion_Polling at fbe75a8da1701a1b34dcb9f990f53dec46ab92fa · STMicroelectronics/STM32CubeL0

If you feel a post has answered your question, please click "Accept as Solution".