Skip to main content
NNam.18
Associate II
November 19, 2019
Question

STM32F373 SDADC HAL after Calibration, do I need to manual put an offset error value to final calculate with sdadc output value?

  • November 19, 2019
  • 0 replies
  • 663 views

Hi

As a title, after I call

HAL_SDADC_CalibrationStart

and

HAL_SDADC_PollForCalibEvent

follow Refference Manual page 240, calibration progress will store an offset error value in OFFSETx[11:0] fields. So do I need to read this value and put in the calculation (minus or plus) after read SDADC output value? Or it is automatically calculated and I just use the SDADC output value?

For Gain Calibration, I have to manually read data and calculate the gain value, and put into final calculation, right?

Thanks so much

This topic has been closed for replies.