stm32wb55 ADC read error
Hi all,
I am using an stm32wb55 neucleo board for a wearable based project. I am using ADC1-IN1 to read the adc raw value from MCU pin PC0 of wb55 board. A voltage divider circuit was connected to scale down the BAT voltage from (4.2-3.7) to (1.8-1.585).
Vref = 3.3v.
Below are readings i got
BAT ADC_BATT read_raw
0 0 1420 ( Expected = 0 )
3.7 1.577 2030 ( Expected = 1960 )
4.2 1.8 2120 ( Expected = 2230 )
Is there any way to rectify this?
