ESP32 Forum

SPI DMA and interrupts...

SPI DMA and interrupts...

Posted: Thu May 10, 2018 3:58 pm

by themindfactory

I have been able to write code that sends out SPI data using DMA... however I can not figure out how to get it to interrupt me to tell me its done with the transfer, right now it waits for completion.....

I added a callback on the post-transfer and it still waits till completion and then calls the callback

RichardS

Re: SPI DMA and interrupts...

Posted: Fri May 11, 2018 3:37 am

by ESP_Sprite

You're using 'done with the transfer' and 'completion' here as if there's a difference between them; I'm not sure we all are getting what you mean there. Could you elaborate a bit on what you're trying to do, to make us understand what you want a bit better?