2025-09-28 2:09 AM
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.
2025-09-28 4:41 AM
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.
2025-09-29 6:35 PM - edited 2025-09-29 6:38 PM
Thank you for your response.
I have initialised clock to 16MHz in uart.c.
May i know what else i failed to initialize?
2025-09-29 8:41 PM
You can use CubeMx it will generate the code and can use it directly.