[cali] add BOARD_37 calibration data.
This commit is contained in:
+35
@@ -2796,6 +2796,41 @@ struct correction_ctx_t Correction = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef BOARD_37
|
||||
struct correction_ctx_t Correction = {
|
||||
.ADC_volt[0].coeff = 6212,
|
||||
.ADC_volt[0].offset = (-101577157),
|
||||
|
||||
.ADC_volt[1].coeff = 213532,
|
||||
.ADC_volt[1].offset = (-3493479130),
|
||||
|
||||
.ADC_volt[2].coeff = 6236129,
|
||||
.ADC_volt[2].offset = (-102002333094),
|
||||
|
||||
.ADC_current[0].coeff = 3125269,
|
||||
.ADC_current[0].offset = (-50723113520),
|
||||
|
||||
.ADC_current[1].coeff = 71899688,
|
||||
.ADC_current[1].offset = (-1167004144858),
|
||||
|
||||
.ADC_current[2].coeff = 1456572063,
|
||||
.ADC_current[2].offset = (-23640536688591),
|
||||
|
||||
.ADC_current[3].coeff = 30714936853,
|
||||
.ADC_current[3].offset = (-498534871553048),
|
||||
|
||||
.Usercode2DAC[0].coeff = (-10552425),
|
||||
.Usercode2DAC[0].offset = 582832784979,
|
||||
|
||||
.Usercode2DAC[1].coeff = (-178881627),
|
||||
.Usercode2DAC[1].offset = 4791678283182,
|
||||
|
||||
.ADC_Vout_volt[0].coeff = (-6263710),
|
||||
.ADC_Vout_volt[0].offset = 101735179115
|
||||
,
|
||||
};
|
||||
#endif
|
||||
|
||||
int32_t DecodeADCValue(uint8_t adc_gain, uint8_t adc_channel, uint16_t adc_rxbuf);
|
||||
uint16_t Usercode_Correction_to_DAC(uint8_t dac_gain, uint16_t usercode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user