configurations: yosemite4: Add max min config of Medusa Board INA233
Due to the small value of MEDUSA_ADC_GND_SENSE_VOLT_V, the change of the
SDR value after scaling will be smaller than the hysteresisPublish,
which will result in the SDR value not being updated.
Therefore, the default 255~0 should not be used as Max and Min.
Specifying the Max and Min to a suitable range so that the
hysteresisPublish matches the value can avoid the bug that the SDR value
is not updated.
Change-Id: Ifdadf5ea1c57603d744dc32866017efaf212c5df
Signed-off-by: Allen Wang <Allen_Wang@quantatw.com>
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json
index 330ee74..eaffe77 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_adi_48vhsc_inf.json
@@ -1032,6 +1032,8 @@
],
"Name": "MEDUSA_ADC_GND_SENSE",
"Type": "INA233",
+ "vmon_Max": 1,
+ "vmon_Min": -1,
"vmon_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
},
{
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json
index 6188ccd..b64bd85 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_adi.json
@@ -260,6 +260,8 @@
],
"Name": "MEDUSA_ADC_GND_SENSE",
"Type": "INA233",
+ "vmon_Max": 1,
+ "vmon_Min": -1,
"vmon_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
},
{
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json
index a8af7a7..fddf149 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_12vhsc_mps_48vhsc_inf.json
@@ -8,6 +8,8 @@
],
"Name": "MEDUSA_ADC_GND_SENSE",
"Type": "INA233",
+ "vmon_Max": 1,
+ "vmon_Min": -1,
"vmon_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
},
{
diff --git a/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json b/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json
index 8a7b41f..9a78db5 100644
--- a/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json
+++ b/configurations/meta/yosemite4_medusaboard_adc_ti_hsc_adi.json
@@ -1284,6 +1284,8 @@
],
"Name": "MEDUSA_ADC_GND_SENSE",
"Type": "INA233",
+ "vmon_Max": 1,
+ "vmon_Min": -1,
"vmon_Name": "MEDUSA_ADC_GND_SENSE_VOLT_V"
},
{