We are using INA238 for current sensing, we are using Eval board INA238 with our ST microcontroller. We are using R shunt= 50 mOhm and it is calculated as per datasheet
For Shunt calculation referring this equation SHUNT_CAL = 819.2 x 10^6 x CURRENT_LSB x RSHUNT
Derived Current LSB considering our maximum current 2.4A
Current LSB = (2.4) / (2^15)
We are keeping all default configurations.
But still, we not able to get exact or nearest current value after reading through directly current resistors.
could you please guide on these, if we are missing anything?