why calibration ADC and DAC is important in stm32f4?
Hello, I am using ADC and DAC for sensing in my device, and I am using the STM32F405RGT6. I want to perform calibration, but I cannot use
"HAL_ADCEx_Calibration_Start(&hadc1, ADC_SINGLE_ENDED);"
. I tried using this code:
SET_BIT(ADC1->CR2, ADC_CR2_CAL);
(READ_BIT(ADC1->CR2, ADC_CR2_CAL) != 0);
But it resulted in an error because I don't fully understand it. Is there a solution for this? I just want to perform calibration. If I'm using a potentiometer, do I need to use a jumper?
I also want to ask why calibration is important, and what happens if calibration is not performed? Please help me.
