Current Sink Plank

TI datasheets do math in a way that I disagree with, so I always have to make the app note or video into a spreadsheet to see exactly what units they’re shifting around without mention. From this TI youtube video.

  • 2A max current
  • 100mOhm shunt resistor

Current LSB: 0.1mA (0.0001A)
CAL: 512 (0x1ff)

  • Current is straight forward: current register value * current LSB.
  • Power I’m not sure about, we need the power LSB.

The Power register LSB has a fixed ratio to the Current register LSB of 25 W/bit to 1 A/bit. For this example, a programmed Current register LSB of 1 mA/bit results in a Power register LSB of 25 mW/bit. This ratio is internally programmed to make sure that the scaling of the power calculation is within an acceptable range.

I believe the power LSB is calculated from the current LSB. This right here is why I hate IT datasheet math. Show your work, don’t put it in the middle of a massive wordy paragraph!

image

If they use 1mA/bit and get 25mW/bit, I assume with 0.1mA per bit we get 2.5mW/bit

Shunt voltage and Bus voltage are easy because the LSB values appear to be fixed.

image

Spreadsheet if you’d like to check my work :slight_smile:

ina231.zip (2.8 KB)

1 Like