Part Number: INA233
Other Parts Discussed in Thread: MSP430FR4133
Greetings!
Problem #1: I'm trying to calibrate INA233 with equations from data sheet useing stm24f4
R = 0.002f;
max_curr = 10;
Current_LSB = max_curr / powl(2, 15);
CAL = 0.00512f / (Current_LSB * R);
m = 1 / Current_LSB;
CAL_LSB = CAL;
CUR_LSB [2] = CAL_LSB;
CUR_LSB [1] = CAL_LSB>>8;
The problem is that stm24 send 3 bytes 0xD4, 0x20, 0xC4 to calibrate IC, when i check this section it's send back 0x20 and 0x44.
Problem #2: even taking into account the incorrect calibration, the current values are incorrectly returned: the small currents are inflated and the high currents are underestimated
