Page 1 of 1

ESP32-P4 (devkit) ADC DMA Example not working

Posted: Wed Jan 01, 2025 7:02 pm
by Demirug
I tried to port my low level adc dma code from the S3 to the P4. But the dma channel irq is never triggered.

Therefore I tried the ADC DMA sample from the idf (5.3.2). Same issue. The callback is never called.

I am too early and this is not supose to work yet? I know that in case of my own low level code this should not depend on the ids version as long as the adc structs and registers are correct. I just wanted to use the example to check if I have forgotten to set something.

PS: The adc one shot sample works but the dma version would be way better better for my use case

Re: ESP32-P4 (devkit) ADC DMA Example not working

Posted: Thu Jan 02, 2025 11:51 am
by Demirug
Update: Got my own code working. In the end I just enabled the wrong irq on the dma channel