Hi everybody,
I am currently working on a board with an INA219BIDR. And I have an issue with the calibration register, in the datasheet we can read that : (page 12)
So I defined my maximum current at 2 Amps, and I have Rshunt= 0.002 mOhms.
My calculations are :
Current_LSB = 2 / 2^15 = 0.000 061 035 156
Cal = trunc(0.04096 / (0.000 061 035 156 * 0.002)= 335 544
But the register length is 16 bits so the max value is 65535
Did I fail somewhere ?
Thanks
Lucas