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.

INA228: Not reading 0 from VSHUNT register at reset state

Part Number: INA228

Hi, 

VSHUNT register is reading falsy values at reset state (even before the conversion is activated) and not 0h espacialy in the last 4 bits of the 20bit VSHUNT value. 

I still didn't test the reading when shunt and current are connected. But I am affraid that this behavior (if abnormal) would corrupt my readings. 

I could read device ID and Manufacturer_ID correctly.  

VBUS reading in reset state is 0h wich is also correct.

The values with offset  was also present in the I2C transfers so it not a C syntax eror like in other threads here in forum.

I am using STM32 MCU and the MIKROE-4810 breakout for INA228  

Regards

Ali

  • Hello Ali,

    When the INA228 is reset, the default settings put it in continuous conversion mode. This means that even though the value resets to 0h, it is likely that the first converted value will be in the register before you get a chance to read it. If you don't have a shunt connected, then the inputs would be floating, and you will just see noise on the line (which is why you largely see data in the last 4 bits).

    Regards,

    Mitch