STM32F405 - ADC Result Not Reaching Full Scale
Hello,
I'm using the STM32F405RGT6 to continuously read 4 ADC channels with 12-bit resolution. The problem is that the results the ADC is giving seemed non-linear, as you can see in the Excel file attached, where I tested it by injecting voltage from a signal generator directly into the ADC pins.
The ADC configuration I'm using is as below:


The voltage reference in the MCU is as below:

Any thoughts on how can I fix this problem?
Thank you.
