There are are 4 INA219 chips for power, voltages and current reading on different rails.
These chips have I2C interface, to be configured as slaves. Each I2c Has configuration,
calibration, current reading, voltage, power reading register. Configuration and Calibration registers
are read and write registers, while the rest are read only. In my application I tried to write to the configuration
register at 0x0 and calibration at 0x5 ofsets, but I am failing because of the nack message. I have used the I2c shell command
which is part of the BSP, and still having the same problem. Did any body have configured these chips before or have some information
related to my problem? This chips are connected to I2C1 master according to the AM3517 schematic.
Info from the schematic.
0x40 0b1000000 INA219 5V POWER MEASURE ON PM/I2C1
0x41 0b1000001 INA219 1.2V POWER MEASURE ON PM/I2C1
0x42 0b1000010 INA219 VIO POWER MEASURE ON PM/I2C1
0x43
0b1000011 INA219
1.8V POWER MEASURE ON PM/I2C1