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: checksum error from reg0B[bit 0]=1

Part Number: INA228


hi,

      below are registers' value of INA228.The REG0B=0X0000, it means that checksum error is happened. would you like kindly help me know what would cause checksum error and any suggestions to solve it?

0x3E 0x5449
0x3F 0x2281
0x00 0x0000
0x01 0xF924
0x02 0x0001
0x03 0x0001
0x04 0x000000
0x05 0x000000
0x06 0x0000
0x07 0x000000
0x08 0x000000
0x09 0x0000000000
0x0A 0x0000000000
0x0B 0x0000
0x0C 0x7B0C
0x0D 0x0000
0x0E 0x3200
0x0F 0x0000
0x10 0x7FFF
0x11 0xFFFF

  • Hello Ken,

    Interesting....  according to the datasheet: "Memory status — Indicated by the MEMSTAT bit, monitors the health of the device non-volatile trim memory. This bit should always read '1' when the device is operating properly."

    So, it looks like there must be something wrong...  The rest of your communication seems to be working properly, so I don't think it's likely that it's a communication error, but it wouldn't hurt to look at a scope to double check that the communication on the line is what is expected.

    I have a few questions about this as well:

    1. Do you always see 0x0000 for register 0x0B, or is it sometimes different? 
    2. Are you able to get the conversion ready flag to show? 
      1. Maybe you could try putting the device in different modes, such at triggered conversions to see if you can get the conversion ready flag to show.
      2. If/when you get the conversion ready flag shown, check to see if the MEMSTAT bit is still 0.
    3. Have you seen this problem on multiple devices with your setup, or have you only tried the one device? 
      1. (This can help us determine if it's a setup/firmware issue or an individual device issue)

    Another interesting thing I see is that you are getting zero's for all your results registers.  I would think there would be at least some noise or variation in the results, even if you have the current powered down. (Plus, you should see something in the temperature register at a minimum).