Skip to main content
Ken Inoue
Associate III
August 10, 2017
Solved

How to use VREFINT with CubeMX

  • August 10, 2017
  • 1 reply
  • 1854 views
Posted on August 10, 2017 at 07:44

Thank you for your patronage. 

I want 1.2 V in operational amplifier circuit. 

0690X00000607nEQAQ.png

so, I want to use VREFINT as 1.2V.

0690X00000607nOQAQ.png

But I don't know how to use VREFINT. 

I don't know how to output VREFINT with Cube MX. 

I am using STM32F334Nucleo.

    This topic has been closed for replies.
    Best answer by Vangelis Fortounas
    Posted on August 11, 2017 at 00:32

    Hello Inue!!

    Vrefint is an internal only reference voltage  in your case.

    :(

    Other MCUs have the VREF as external pin.

    But you can find

    http://eu.mouser.com/Semiconductors/Power-Management-ICs/Voltage-References/_/N-10vu2?P=1z0wd7k

    specialised voltage references for your need.

    >>>'

    But I don't know how to use VREFINT.'

    VREFINT can be readed  form ADC1, ADC2 as a normal channel .  Can be used also from internal comparators as negative input!!

    Other use of VREFINT is to convert  readed ADC values , to real voltages.

    Regards.

    1 reply

    Vangelis Fortounas
    Associate II
    August 10, 2017
    Posted on August 11, 2017 at 00:32

    Hello Inue!!

    Vrefint is an internal only reference voltage  in your case.

    :(

    Other MCUs have the VREF as external pin.

    But you can find

    http://eu.mouser.com/Semiconductors/Power-Management-ICs/Voltage-References/_/N-10vu2?P=1z0wd7k

    specialised voltage references for your need.

    >>>'

    But I don't know how to use VREFINT.'

    VREFINT can be readed  form ADC1, ADC2 as a normal channel .  Can be used also from internal comparators as negative input!!

    Other use of VREFINT is to convert  readed ADC values , to real voltages.

    Regards.

    john doe
    Senior III
    August 11, 2017
    Posted on August 11, 2017 at 05:06

    I love your posts. you bring the tech!