2024-07-04 05:21 AM
Hi, Good Morning
I want to control the motor through an analog input (PA4) (ADC2_IN17). However, I am unable to read the ADC value. The generated code lacks the initial configuration for ADC2 channel 17 in the MX_ADC2_Init() function.
Please advise on how to call and read the value.
I have attached the code, which works fine with the STM32H573 eval board.
Thanks
Mathan