How to recover from DAC - DMAUDR ?
Hello,
I use DAC with DMA on STM32F439 (Nucleo board). Now it happens that I create a DAC trigger although all DMA data is sent, ie NDTR has already reached zero. Therefore DMAUDR gets set. When I want to start a new DAC - DMA run I get an unwanted DMA transfer that is not triggered by DAC DMA request. I tried a lot but the only ways I found to fix this is to reset DAC by using RCC_APB1RSTR_DACRST. This has the side effect of an ugly glitch on DAC output, because I use 2048 as the base level.
Is there any other way to recover from this situation?
Thanks for any help.
Martin
(sorry, I accidentally posted this also in STM32 MCU group)
