I cannot find Vref value of VSENSE block in its datasheet.
So, I tryed to calculate the Vref by comparing the analog input voltage with the ADC value.
But it changed depending on the input voltage such as 1.6321v, 1.6430v 1.649v and the value looks strange.
I have to use PTB0~PTB3 port.
Please let me know how I can calculate the correct voltage with or without Vref.