Skip to main content
Ken Inoue
Associate III
Aug 10, 2017 5:44 AM UTC
Solved

How to use VREFINT with CubeMX

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.
    Vangelis Fortounas
    Associate II
    Aug 10, 2017 10:32 PM UTC
    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.

    3 replies

    Vangelis Fortounas
    Associate II
    Aug 10, 2017 10:32 PM UTC
    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
    Aug 11, 2017 5:06 AM UTC
    Posted on August 11, 2017 at 05:06

    I love your posts. you bring the tech!