Veer The APM32E103CET6 provides an offset error calibration feature, which can automatically complete the internal offset error correction through a software-triggered hardware process.
Calibration Process:
- Enable the ADC module by setting the ADC enable bit (ADCEN).
- Reset the calibration registers by setting the CALRST bit (hardware automatically clears it after reset is complete).
- Start the calibration by setting the CAL bit (hardware automatically clears the bit once calibration is complete).
- After calibration is complete, normal ADC sampling can commence.
-