Part Number: INA228
Other Parts Discussed in Thread: SYSCONFIG
I’m reading the current register value, but the result is wrong. Why am I not reading the value that I expect to be reading?
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.
There can be many reasons why a result is not what you expect it to be. Before trying the debug steps below, it is a good idea to check if your measurement is within expected error limits. Here is a link to an error calculator tool that can help you evaluate your expected system errors:
Error tool: https://www.ti.com/tool/download/CS-AMPLIFIER-ERROR-TOOL
If you find your system is not set up to measure the current you are trying to measure, here is an app note and Excel tool that can help you get started with digital power monitors and picking the correct shunt resistor for your needs:
App note: https://www.ti.com/lit/pdf/sboa511
Calculator tool: https://www.ti.com/tool/download/SBOR021
Here are some steps you can take to debug why the current result is not what you expect, along with some common problems that may be causing the issue.
First, determine if the voltage is being changed before it reaches the INA itself:
To do this, measure the differential voltage as close to the pins of the device as possible, and compare it with what you expected the value to be.
If this voltage is NOT what you expect it to be, that means the voltage is being changed before it reaches the device. Here are some common reasons why this may happen:
If the value at IN+ and IN- IS what you expect it to be, follow these steps to find the problem:
Note: Although these debug steps are for current measurements, you can use a similar process to debug a bus voltage measurement.