2025-06-19 9:50 AM
Hello ST experts,
Recently, I was developing a project with STM32H750I microcontroller, I faced a problem with ADC self-calibration HAL function (HAL_ADCEx_Calibration_Start)!
I configured ADC1 and ADC2 in dual simultaneous mode + DMA + Timer with synchronous clock mode for clock Prescaler for both ADCs for better synchronization. I executed self-calibration function for ADC1 and ADC2 individually before activating Timer and DMA. The problem was that the microcontroller cannot finish the process. I checked the process only for ADC1. It was okay for ADC1. When I checked the process only for ADC2, it did not work. Also, I checked if I change timer Prescaler to the asynchronized clock mode, the self-calibration function will work. On the other hand, I miss ADCs synchronization. Therefore, I have to use synchronous mode for Clock Prescaler. Have you faced this problem in your projects? Could you please help me in this issue?
2025-06-19 2:22 PM
It was okay for ADC1. When I checked the process only for ADC2, it did not work.
You have to be more specific in what you mean by "it did not work"?
Was it that HAL status was not HAL_OK or that it did not return?