Sigma-Delta ADC STM32F373 calibration problem
- April 22, 2021
- 3 replies
- 2654 views
Hi,
I have connected three channels of the SDADC in the STM32F373 with an external voltage reference of 1.225V. The selected mode of the ADC is Single-ended zero-volt reference mode, and i am reading these channels using the "injected conversion" as i have seen in the ST examples. The problem is that i get coherent values in all the three channels but they are not accurate. Besides, the error in every channel is different from the others. Firstly i did the offset calibration with the function HAL_SDADC_CalibrationStart and then tried to adjust the gain, but this gain was different for each channel. Then i did not the offst calibration and manually made a manual offset a gain calibration, and these values were different for each channel. For example, some of the values gotten without calibration would be:
CHANNEL 2:
READ REAL
1.064 1.020
1.134 1.089
1.173 1.126
CHANNEL 3:
READ REAL
0.433 0.404
0.661 0.623
0.853 0.810
I have tested to do this conversions with the SAR ADC and this has not this problem. I attach the configuration of the SDADC and the software files concerning it. Thanks in advance.