cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to read ADC values

LalinPrasad
Associate

Hi Im Lalin, Im using STM32L433RC-P MCU for learning.
Im facing the issue in reading the data from ADC.Im not getting any error too.
Below are the source code attached.
Kindly help me to find the solution for this.
Note that im using uart.c for debugging purpose.
Thanks in advance.

1 REPLY 1
MHoll.2
Senior III

You are missing some initialisation (clock etc.)

If You don't want to use the HAL layer from ST, You have to do all the initialisation stuff the HAL handles by yourself.

To start I would recommend using STM32CubeMX and STM32CubeIDE.