Search found 2 matches

by globalsequence
Sun Aug 25, 2024 3:55 pm
Forum: ESP-IDF
Topic: How to reset DAC DMA from convert-done callback?
Replies: 0
Views: 223

How to reset DAC DMA from convert-done callback?

Hello, I would like to set the DAC's DMA to call dac_continuous_write() from the callback which occurs 'on_convert_done', however the callback function is never executed in my example below (see first bullet point). Presented below is my code which is set up in two configurations for those who wish ...
by globalsequence
Sat Aug 24, 2024 11:58 pm
Forum: ESP-IDF
Topic: "Double buffering" internal DAC DMA
Replies: 1
Views: 637

"Double buffering" internal DAC DMA

Hello, I am trying to write some code for audio processing purposes in the ESP32 IDF. My goal is to have the DMA running in a 'double buffer' configuration. In a double buffer configuration, the DMA reads from one buffer, while the second buffer of equal size is written to. Once the DMA transfer is ...