This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

INA219

Other Parts Discussed in Thread: INA219

使用STM8L051F3和INA219芯片读电池数据,使用0.002欧的电阻,13V供电,寄存器默认配置:36V;PGA=8等,校准寄存器写入值A000H,

问题:读03H,BUS volatile,读到电压是正确的,无正负。读04H、01H,Current reg、shunt reg 的时候,在充电情况下,读到负值,经过将补码转换原码,得到负数 乘上 currentLBS(0.5mA) 得到的电流值也差不多是准确的,但是在放电时,无论负载如何,将负载电流从500ms调节至2A,读01H和04H的寄存器值始终为 0011 1111 1111 1111 ,请问是哪里的问题,该如何解决呢?