[cali] add BOARD_31 calibration data.
This commit is contained in:
+34
@@ -2621,6 +2621,40 @@ struct correction_ctx_t Correction = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef BOARD_31
|
||||
struct correction_ctx_t Correction = {
|
||||
.ADC_volt[0].coeff = 6274,
|
||||
.ADC_volt[0].offset = (-102299525),
|
||||
|
||||
.ADC_volt[1].coeff = 216012,
|
||||
.ADC_volt[1].offset = (-3527719530),
|
||||
|
||||
.ADC_volt[2].coeff = 6290092,
|
||||
.ADC_volt[2].offset = (-102703668763),
|
||||
|
||||
.ADC_current[0].coeff = 3137730,
|
||||
.ADC_current[0].offset = (-50901199477),
|
||||
|
||||
.ADC_current[1].coeff = 72061616,
|
||||
.ADC_current[1].offset = (-1169077860275),
|
||||
|
||||
.ADC_current[2].coeff = 1462194415,
|
||||
.ADC_current[2].offset = (-23720235949804),
|
||||
|
||||
.ADC_current[3].coeff = 30666304552,
|
||||
.ADC_current[3].offset = (-497505580276767),
|
||||
|
||||
.Usercode2DAC[0].coeff = (-10566672),
|
||||
.Usercode2DAC[0].offset = 582659773876,
|
||||
|
||||
.Usercode2DAC[1].coeff = (-178938695),
|
||||
.Usercode2DAC[1].offset = 4792602131903,
|
||||
|
||||
.ADC_Vout_volt[0].coeff = (-6246021),
|
||||
.ADC_Vout_volt[0].offset = 101513571898,
|
||||
};
|
||||
#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