2024-04-21 12:28 AM - last edited on 2024-04-21 3:35 AM by Peter BENSCH
Problem whit ADC1
the if (HAL_ADCEx_Calibration_Start(&hadc1, ADC_CALIB_OFFSET, ADC_SINGLE_ENDED) != HAL_OK)
return error
why??
Solved! Go to Solution.
2024-04-22 9:28 AM
Hello @gpaolo59
Could you check if the functions __HAL_RCC_PWR_CLK_ENABLE(); and HAL_PWREx_EnableVddA(). are invoked in the stm32u5xx_hal_msp.c file?
Kind regards,
2024-04-21 4:36 AM
Probably something is missing before the call.
2024-04-22 9:28 AM
Hello @gpaolo59
Could you check if the functions __HAL_RCC_PWR_CLK_ENABLE(); and HAL_PWREx_EnableVddA(). are invoked in the stm32u5xx_hal_msp.c file?
Kind regards,