ADC Read Problem. Adc reads absurd value with stm32l053 nucleo.
Hi, i want to try adc ch0 and ch1 in stm32f053 nucleo, i have 10k ohm and 1k ohm between 3v3, gnd and analog input. ( Basically voltage divider for measure.)
However, i've faced absurd values in adc channel and, these values never changes. I'm sharing all of the codes about adc initialization and main. I just want to read number between 0-2047. Where am i wrong ? Thans a lot.
Here is pins, where i want to measure adc values.

This is adc_init function as you see.

This is hal_msp_init function as you see.

This is the main for init adc functions in my main.

Also while loop.

Finally, i've faced this result when i was debugging.
I know there is a point i've missed. Where am i wrong ?
With warmest regards.
