Skip to main content
julius_21
Associate
October 10, 2018
Question

I can not get a VRef value with a STM32L082 (CMWX1ZZABZ-091)

  • October 10, 2018
  • 1 reply
  • 502 views

I'm working with a STM32L082 (CMWX1ZZABZ-091) and I can not get an accurate value of VRef (ADC_IN17).

This is important because the device is battery powered.

I am using the VREFINT_CAL (0x1FF8 0078 - 0x1FF8 0079) but there is an error of about 100mV.

I have also noticed that I have to wait about 10 mseconds to have a more sensible value but the specifaction is less.

The ADC is working fine with the external inputs but I need this reference to get an absolute value.

Thanks in advance

    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    October 10, 2018

    Do you calibrate before using ADC?

    Do you use an adequate sampling time?

    Is the reference (VDDA/VREF+) stable enough?

    JW