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.

INA220: ADC conversion time

Part Number: INA220

Dear team

Could  INA220 use I2C interface to get the power data per one-second?

Many thank

Denny

  • Hello,

    The INA220 can be used in trigger mode. You can set the device to trigger every second with a timer interrupt from a mcu. Depending on the conversion time and resolution you want the config register can be set up from 84us Conversion time for 1 sample in 9-bit mode to 68.10ms for 128 samples in 12-bit mode. The MODE setting will be Shunt and bus, triggered.

    So you will write to the config register every second with a timer interrupt or similar, then you will poll the conversion ready flag when cleared you will read the power register, then repeat. The time you wait for the conversion ready flag will be based on the conversion time you pick for both the shunt voltage and bus voltage. 

    If you have any questions please reply

    Regards,

    Castrense