Hello,
I try to drive INA233 by MCU. I wrote Init function where I set these registers:
1) CLEAR_FAULTS => 0
2) MFR_CALIBRATION => 1024 (0x400) (15A max on 5mOhm R)
3) MFR_ADC_CONFIG => ADC_AVG_16 (0x0400), VBUSCT_1100us (default 0x0100), VSHCT_1100us (default 0x0020), MODE_SH_BUS_CO (default 0x0007)
4) MFR_DEVICE_CONFIG => 0x02 (default)
Then I read voltage and curent each 500ms like this:
Voltage from register READ_VIN => ReadVaule * 125 / 100 => voltage in mV => it meas correctly / its OK.
Current from register INA233_READ_IIN => return always zero. (I tested cca 1A into 12Ohm load)
Then I found out that STATUS_WORD return MFR bit (manufacturer-specific fault or warning has occurred). Why?
What I forget or did wrong and why current not measure correctly?
I read in datasheet this:
"Without setting the device register with the MFR_CALIBRATION command, the deviceis unable to provide either a valid current or power value because these outputs are both derived using the values loaded into the calibration register." But I set the callibration register in init function already.
Thank you for any advice.
Best regards
Tomas