Question
ADC calibration problem for Stm32CubeIde?
Chip: STM32L030
Trying to calibrate the ADC at startup with the following code into the initialization procedure:
ADC1->CR |= 0X80000000; // calibration started
while (!(ADC1->ISR & 0X800)); // waiting for the calibration to finish
When compiled with Atollic, version 9.2.0, this code works perfectly. But when compiled with Stm32CubeIde, it gets trapped into the calibration command which never finish!