cancel
Showing results for 
Search instead for 
Did you mean: 

EVSPIN32G4 ADC not working

Mathan Raja
Associate III

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

0 REPLIES 0