cancel
Showing results for 
Search instead for 
Did you mean: 

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

NNam.18
Associate II

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

0 REPLIES 0