Resolved! STM32G070RB Vbat Data sheet error
According to the data sheet, sec 3.13.3 says the VBAT voltage is measure by the ADC as VBAT/3, or one third Vbat.using : uint64_t volt = (uint64_t)(((uint64_t)3300U*adc_result)/(uint64_t)4095U);I get 2/3 VbatChanging to uint64_t volt = (uint64_t)(((...