Hi team,
As for power and current calculation,we can refer to 8.1.2 Current and Power Calculations and 8.2.2 Detailed Design Procedure in datasheet. But customer proposes another method:
(1) Configure ADCRANGE=0 or 1
(2) SHUNT_CAL=default value
(3) Get the value of VSHUNT register and then calculate the actual shunt votlage Vs
Vs=VSHUNT*5 μV/LSB when ADCRANGE = 0
Vs=VSHUNT*1.25 μV/LSB when ADCRANGE = 1
(4) Calculate the actual curernt I=Vs/Rshunt, Rshunt is the resistance of shunt resitor.
(5) Get the value of VBUS register and then calculate the bus votlage Vb
Vb=VBUS*3.125 mV/LSB
(6) Calcualte the power=I*Vb
Is this calculation method reasonable?
Nison