Skip to main content
Associate II
November 20, 2023
Solved

VREF BUFF configuration

  • November 20, 2023
  • 2 replies
  • 2384 views

Hello :)

I'm am working with a Nucleo WB55 and I am trying to use the ADC. I assume that the reference voltage used for the conversion is equal to 3.6V because I think that this is the default settings and because when I connect 3.3V to the 12 bits ADC input, I only get about 4040/4095.  I saw on other posts that a configuration panel is available for VREF BUFF, but it doesn't exist in my STM32CubeMX  even if I can  choose VREF BUFF as an output on VREF+ pin. 

Here is my pinout view where I can choose VREF+ as VREFBUF_OUT : 

Fannyrsy_0-1700471555715.png

Here is the panel of someone else where VREF BUFF can be configured : 

Fannyrsy_1-1700471740302.png

Finally here is mine where I can't configure VREF BUFF : 

Fannyrsy_2-1700471825553.png

My question is : the microcontroller i use allows to use VREF BUFF but I can't configure it in STM32CubeMX. Can someone help me on that? 

Thanks a lot,

Fanny

 

    This topic has been closed for replies.
    Best answer by Mahmoud Ben Romdhane

    Hello @Fannyrsy 

    First let me thank you for posting and welcome to the ST Community.

    You can find the VREFBUF mode configuration under System Core, SYS, VREFBUF Mode.

    Thanks.

    Mahmoud.

     

    2 replies

    Technical Moderator
    November 20, 2023

    Hello @Fannyrsy 

    First let me thank you for posting and welcome to the ST Community.

    You can find the VREFBUF mode configuration under System Core, SYS, VREFBUF Mode.

    Thanks.

    Mahmoud.

     

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    FannyrsyAuthor
    Associate II
    November 20, 2023

    Hello @Mahmoud Ben Romdhane,

    Thank you a lot for your quick answer. This will help me a lot !