[cali] add BOARD_14 calibration data.
This commit is contained in:
+34
@@ -2043,6 +2043,40 @@ struct correction_ctx_t Correction = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef BOARD_14
|
||||
struct correction_ctx_t Correction = {
|
||||
.ADC_volt[0].coeff = 6233,
|
||||
.ADC_volt[0].offset = (-101600596),
|
||||
|
||||
.ADC_volt[1].coeff = 214213,
|
||||
.ADC_volt[1].offset = (-3492067604),
|
||||
|
||||
.ADC_volt[2].coeff = 6231071,
|
||||
.ADC_volt[2].offset = (-101547302286),
|
||||
|
||||
.ADC_current[0].coeff = 3127494,
|
||||
.ADC_current[0].offset = (-50791776302),
|
||||
|
||||
.ADC_current[1].coeff = 71436522,
|
||||
.ADC_current[1].offset = (-1160264778964),
|
||||
|
||||
.ADC_current[2].coeff = 1454999583,
|
||||
.ADC_current[2].offset = (-23631081707179),
|
||||
|
||||
.ADC_current[3].coeff = 30734513992,
|
||||
.ADC_current[3].offset = (-499174754129614),
|
||||
|
||||
.Usercode2DAC[0].coeff = (-10524578),
|
||||
.Usercode2DAC[0].offset = 580685281839,
|
||||
|
||||
.Usercode2DAC[1].coeff = (-178938545),
|
||||
.Usercode2DAC[1].offset = 4791672708498,
|
||||
|
||||
.ADC_Vout_volt[0].coeff = (-6287121),
|
||||
.ADC_Vout_volt[0].offset = 101919340594,
|
||||
};
|
||||
#endif
|
||||
|
||||
int32_t DecodeADCValue(uint8_t adc_gain, uint8_t adc_channel, uint8_t *adc_rxbuf);
|
||||
uint16_t Usercode_Correction_to_DAC(uint8_t dac_gain, uint16_t usercode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user