STM32U599 Fail extended calibration when using HAL_ADCEx_Calibration_Start() API
Hello,
I am facing an issue when trying to calibrate the STM32U5.
I am using the API call `HAL_ADCEx_Calibration_Start()`, SDK Version: 1.3.0.
When I run the `HAL_ADCEx_Calibration_Start()` the board hangs and goes off into a limbo state. Even the debugger has a hard time reconnecting.
I've noticed the issue is directly related to the code snippet below in `HAL_ADCEx_Calibration_Start()`
# Original code at line 213 of `stm32u5xx_hal_adc_ex.c`
```
MODIFY_REG(hadc->Instance->CR, ADC_CR_CALINDEX, 0x9UL << ADC_CR_CALINDEX_Pos);
MODIFY_REG(hadc->Instance->CALFACT2, 0x00FF0000UL, 0x00020000UL);
SET_BIT(hadc->Instance->CALFACT, ADC_CALFACT_LATCH_COEF);
```
The code that works
```
MODIFY_REG(hadc->Instance->CR, ADC_CR_CALINDEX, 0x9UL << ADC_CR_CALINDEX_Pos);
HAL_Delay(1);
MODIFY_REG(hadc->Instance->CALFACT2, 0x00FF0000UL, 0x00020000UL);
HAL_Delay(1);
SET_BIT(hadc->Instance->CALFACT, ADC_CALFACT_LATCH_COEF);
HAL_Delay(1);
```