configurations: minerva_cmm: add calibration for HSC sensor
Add the calibration formula for the HSC sensor according to the power
team's measurement result.
Change-Id: I79ec9c74dc4d25204748b3883ef377d1606db201
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
diff --git a/configurations/minerva_cmm.json b/configurations/minerva_cmm.json
index c149e15..e0529f0 100644
--- a/configurations/minerva_cmm.json
+++ b/configurations/minerva_cmm.json
@@ -214,7 +214,11 @@
],
"Type": "LTC4287",
"iout1_Name": "CMM_HSC_CURR_A",
+ "iout1_Offset": -0.315,
+ "iout1_Scale": 1010,
"pin_Name": "CMM_HSC_PWR_W",
+ "pin_Offset": -16.8408,
+ "pin_Scale": 1010101,
"vin_Name": "CMM_HSC_VIN_VOLT_V",
"vout1_Name": "CMM_HSC_VOUT_VOLT_V"
},
diff --git a/configurations/minerva_cmm_hsc_infineon.json b/configurations/minerva_cmm_hsc_infineon.json
index e6c0a36..4749c3c 100644
--- a/configurations/minerva_cmm_hsc_infineon.json
+++ b/configurations/minerva_cmm_hsc_infineon.json
@@ -246,7 +246,11 @@
],
"Type": "XDP710",
"iout1_Name": "CMM_HSC_CURR_A",
+ "iout1_Offset": -0.3,
+ "iout1_Scale": 1010,
"pin_Name": "CMM_HSC_PWR_W",
+ "pin_Offset": -15.0,
+ "pin_Scale": 1010101,
"vin_Name": "CMM_HSC_VIN_VOLT_V",
"vout1_Name": "CMM_HSC_VOUT_VOLT_V"
}
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 071717f..e56e8e9 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -716,6 +716,9 @@
"pout1_Offset": {
"$ref": "#/$defs/Types/pout1_Offset"
},
+ "pin_Offset": {
+ "$ref": "#/$defs/Types/pin_Offset"
+ },
"iout1_Scale": {
"$ref": "#/$defs/Types/iout1_Scale"
},
@@ -1574,6 +1577,9 @@
"pout1_Offset": {
"type": "number"
},
+ "pin_Offset": {
+ "type": "number"
+ },
"iout1_Scale": {
"type": "number"
},