cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Fails during HAL_ADCEx_Calibration_Start() in STM32H753 Eval

RRaj.1
Associate II

Hi Guys,

I am newbie to STM32 family. I am currently building an application to collect ADC sensor data and operate a motor using PWM signal. I used example code to play around with it. I initialized ADC , configured the channel, and calibrated before starting it up. However, it fails while calibrating. While debugging, I found that ADC is not stopping (HAL_ADC_Stop() is not working) in the calibration.

Since I am new to STM32, I am pretty sure that I had messed up with handling of ADC and PWM. I have attached my main.c file to this post. Could you please help me with it?

Note: I am using STM32H753 Eval board

Thanks in advance !!

0 REPLIES 0