Associate
March 5, 2020
Question
ADC Fails during HAL_ADCEx_Calibration_Start() in STM32H753 Eval
- March 5, 2020
- 0 replies
- 604 views
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 !!