cancel
Showing results for 
Search instead for 
Did you mean: 

How to use VREFINT with CubeMX

Ken Inoue
Associate III
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.

1 ACCEPTED SOLUTION

Accepted Solutions
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.

View solution in original post

3 REPLIES 3
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.

Posted on August 11, 2017 at 05:06

I love your posts. you bring the tech!

Posted on August 12, 2017 at 11:16

Thank you for your reply.

I'm sorry for my late reply.

I understand that Vrefint can not be used in my application, 

Other MCUs have the VREF as external pin.

Your reply is very helpful.