Skip to main content
Associate II
Mar 13, 2024 12:47 PM UTC
Question

STM32H743XI DAC1 / DAC OP Value change after some time.

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.

 

This topic has been closed for replies.

1 reply

TDK
Mar 13, 2024 1:52 PM UTC

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""."