2024-03-13 05:47 AM
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.
2024-03-13 06:52 AM
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?