Part Number:INA219
Hi,
The below is the configuration in which I am using the INA219.
Operating Condition1:
Vbus = 12V
Rshunt = 0.02ohms
Current LSB = 500uA
Power LSB = 10mW
Config. register = 0x0FFF, Calibration register = 0x1000, Vshunt max = =/-80mV
With this configuration, I can measure the power correctly.
Operating condition 2:
Due to the increased current consumption to more than 4A, I have calculated the Config. reg to 0x17FF.
Also calculated calibration reg. value to 0x0626 (Power LSB-->26mW, Current LSB-->1.3mA)
Problem is:
I boot the system with the Operating Condition1 settings loaded. I am able to measure the correct power numbers.
Then, I have changed the Config., Calibration registers to 0x17FF, 0x0626 respectively through I2C.
After this change, when I see the power measured through INA219, it seems to be very less than the actual power.
The questions are,
1) Whether changing the registers when the INA219 is operating is recommended?
2) Whether the Current LSB and power LSB are automatically recalculated when changing the config. and calib. registers, without requiring the device to power cycle?
3) I have read the current and power registers. The values are as expected. But, I suspect either Current LSB or Power LSB not getting configured correctly followed by changing the registers dynamically. Is it true?
4) Is there any separate register for programming the current LSB and power LSB?
Regards,
Magesh.M