Skip to main content
IP.2
Associate II
October 19, 2021
Solved

STM32L452 ADC shifted

  • October 19, 2021
  • 2 replies
  • 826 views

STM32L452 ADC1 single-mode works with DMA1.

ADC results are higher than the actual Voltage by around 25%.

Any possible directions?

This topic has been closed for replies.
Best answer by IP.2

Problem found: The macro __LL_ADC_CALC_DATA_TO_VOLTAGE was missing.

2 replies

TDK
October 19, 2021

Ensure ADC is calibrated. Ensure VDDA and VREF+ voltages are stable and have sufficient capacitance.

"If you feel a post has answered your question, please click ""Accept as Solution""."
IP.2
IP.2AuthorBest answer
Associate II
October 20, 2021

Problem found: The macro __LL_ADC_CALC_DATA_TO_VOLTAGE was missing.