ESP32-P4 (devkit) ADC DMA Example not working

Demirug
Posts: 35
Joined: Fri May 28, 2021 12:54 pm

ESP32-P4 (devkit) ADC DMA Example not working

Postby Demirug » Wed Jan 01, 2025 7:02 pm

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

Demirug
Posts: 35
Joined: Fri May 28, 2021 12:54 pm

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

Postby Demirug » Thu Jan 02, 2025 11:51 am

Update: Got my own code working. In the end I just enabled the wrong irq on the dma channel

Who is online

Users browsing this forum: No registered users and 2 guests