Unable to get ADC value on STM32N6570-DK
Hi everyone,
I’m currently working with the STM32N6570-DK board and trying to read an analog signal using the ADC1/2 INP8 channel (PB10) using the MB1280C Fanout board (Pin 13) with STMOD+ connector. However, I'm consistently getting a value around 2000 (high impedance value), regardless of whether I connect the pin to GND or a 1.8V source.
For reference, I’ve used similar code on the STM32F441-RE board where it works perfectly, so I suspect this might be related to board-specific settings.
Steps to Reproduce:
- Create a default STM32N6570-DK project using STM32CubeIDE.
- Set PB10 to ADC2_INP8 mode in the .ioc file.
- Keep the ADC settings at their default configuration (12-bit resolution).
- Add UART print statements to output the ADC values over the COM port (as shown in my main.c file).
- Observe that the ADC value remains around 2000, regardless of the input voltage on PB10 or Pin 13 on the fanout board connected to STMOD+ connector.
I’m attaching my full project for reference.


