Changing ADC1's channel input PIN from PA0 to PA1 and configuring ADC2.
I am using STM32F429 DISCO board and X-CUBE DSPDEMO to perform FFT on an analog signal. The demo code comes with ADC1 IN0 configured for PA0. It performs FFT and displays the signal on LCD. I am trying to change the input pin to PA1 by changing definitions in the global.h file, but it doesnt work when i connect the input signal to PA1. The code could be found here. https://www.st.com/en/embedded-software/x-cube-dspdemo.html#overview.
Kindly help.