cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f407 - DAC

boris239955_stm1_st
Associate II
Posted on November 28, 2015 at 19:06

Hello, 

I have a question about voltage reference of DAC on STM32f407. Is it possible to change voltage reference of the internal DAC at 0 to 2.5V.

And the second question: is it possible to programming this change with step of 0.1V or I must use external voltage reference.
4 REPLIES 4
Posted on November 28, 2015 at 22:03

Pretty sure the answer is no.

The device, as I recall, uses the external +VREF (or VDDA) for the DAC in the same fashion as the ADC. You can bench the ADC against the internal reference, but it is is not 'the reference'

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
boris239955_stm1_st
Associate II
Posted on November 28, 2015 at 22:14

I want to increase/decrease signal from DAC through TFT button, without using mechanical buttons. Is there a way to do this? 

Posted on November 28, 2015 at 22:40

Ok, so wouldn't you just scale the value you wrote to the DAC's register?

Assuming a 3V VREF, a value between 0-3V in 1/4096 th increments.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
boris239955_stm1_st
Associate II
Posted on November 28, 2015 at 22:58

I never thought about this way. I'll try, but I think that is the answer.

Thank you for help.