AnsweredAssumed Answered

STM32L4 DAC DMA underrun error

Question asked by petrinec.marek.002 on Aug 12, 2017
Latest reply on Aug 14, 2017 by petrinec.marek.002

Hi guys,

 

Iam trying to set up highest resolution on DAC as possible. If iam right there should be 10Msps DAC. so in 12b resolution i should get output samples 833 333.3ps. Timer (in my case TIM6) is clocked by internal cloch APB (80MHz) and DAC needs 10MHz clock for full speed. i've setted prescaler to 0 and autoreload value to 8 (0x07) but i get underrun error. What iam doing wrong?

 

Many thanks for help.

Outcomes