DMA underrun error detection
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-03-16 10:29 AM
Posted on March 16, 2017 at 18:29
Hello all,
I am using the DMA (direct memory access) unit to generate a sine wave. I flip between the frequencies often in my application. Sometimes the output signal get stuck at high frequency when I move fast from high 80Hz Signal to low 10Hz signal. I suspect this is caused by an overrun error in the DMA. I am trying to use the HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandlerTypeDef *hdac); but cant really figure out how would I go about using it since there are no examples online.
Can someone please suggest some guidance on how I can implement this function in my code.
I am using an stm32f4 mico by the way
Best Regards and thanks in advance.
#dac #dma #stm32f4
Labels:
- Labels:
-
DAC
-
DMA
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
