Temperature and ADC temperature raw value increase but temperature from formula decreases
Hi,
I'm using STM32G070RBTx, and I use this formula from document RM0360 to compute temeperature:

From page 56 of document https://www.st.com/resource/en/datasheet/stm32g070cb.pdf, I'm using:
Avg_Slope = 2.5 and V30 = 0.76.
The temperature converted value I obtain at ambient temperature appears reasonable ( 21 °C approx. ) but when the temperature increases the raw value I get from ADC also increases but using formula above gives a decreasing temperature value and this is wrong.
Please help.

