Trouble with ADC Acquisition on STM32MP157D-DK1 Board
Hello STM community,
I've been encountering some difficulties with ADC acquisition on my STM32MP157D-DK1 board. I've attempted to perform an acquisition of a potentiometer value using the ADC, but unfortunately, I haven't been successful.
I've tried two approaches:
- Starting with an STM32 project with pre-set pins (Discovery kit with STM32MP157D MPU).
- Starting with an STM32 project without pre-configured pins (STM32MP157DAC1).
In both scenarios, I've failed to obtain a correct analog readings. Despite trying various configurations, I haven't had any luck. Here's what's happening:
Upon connecting the signal connector to the correct pin on the board, I consistently observe the same value (the maximum) for any voltage value, except when the potentiometer reaches the end of travel (0 voltage), at which point the value begins to fluctuate. It seems like the digital value is being saturated during the conversion process.
The potentiometer was connected to the GND and 3V3 pins of the Arduino connector CN16.
I've tried adjusting configurations and settings, but so far, nothing has worked. I would greatly appreciate any insights or guidance on how to resolve this issue. Thank you in advance for your assistance.


Potentiometer connection

Best regards,
Federico
