cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743XI DAC1 / DAC OP Value change after some time.

Ab1
Associate II

CONFIGURATION:

USING STM32H743XI DAC1 / DAC OP:

 

CONFIGURATION: NORMAL BUFFERED OUTPUT MODE.

PINNO: PA4 & PA5.

 

using HAL_DAC_SetValue function to change DAC values - 0 to 3.0 V.

 

if want to set 2.0 V, respective cnt applied using HAL_DAC_SetValue, at DAC op getting 2.0 v.

 

We are not refreshing dac DOR value once set.

 

After some random time, we are getting 2.1 volt or 2.3 volt, what could be possible reason.

 

is it expected to use HAL_DAC_SetValue continuously or at specific time.

 

1 REPLY 1
TDK
Guru

Value shouldn't change once you set it.

Debug the program, examine the DAC register value. Has it changed? If not, perhaps something externally is influencing it. What is it driving?

If you feel a post has answered your question, please click "Accept as Solution".