[cali] new BOARD_56 calibration data
This commit is contained in:
+34
@@ -3440,6 +3440,40 @@ struct correction_ctx_t Correction = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef BOARD_56
|
||||
struct correction_ctx_t Correction = {
|
||||
.ADC_volt[0].coeff = 6254,
|
||||
.ADC_volt[0].offset = (-101729326),
|
||||
|
||||
.ADC_volt[1].coeff = 215094,
|
||||
.ADC_volt[1].offset = (-3501744100),
|
||||
|
||||
.ADC_volt[2].coeff = 6249250,
|
||||
.ADC_volt[2].offset = (-101711035856),
|
||||
|
||||
.ADC_current[0].coeff = 3124160,
|
||||
.ADC_current[0].offset = (-50824321667),
|
||||
|
||||
.ADC_current[1].coeff = 71988300,
|
||||
.ADC_current[1].offset = (-1171164757527),
|
||||
|
||||
.ADC_current[2].coeff = 1460324809,
|
||||
.ADC_current[2].offset = (-23755772925943),
|
||||
|
||||
.ADC_current[3].coeff = 30695995965,
|
||||
.ADC_current[3].offset = (-499390101557938),
|
||||
|
||||
.Usercode2DAC[0].coeff = (-10569597),
|
||||
.Usercode2DAC[0].offset = 584416876739,
|
||||
|
||||
.Usercode2DAC[1].coeff = (-179648302),
|
||||
.Usercode2DAC[1].offset = 4812028140737,
|
||||
|
||||
.ADC_Vout_volt[0].coeff = (-6202832),
|
||||
.ADC_Vout_volt[0].offset = 101437876050,
|
||||
};
|
||||
#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