Hi,
I have a (noob)question regarding dma.
Say I have sdcard_write_task() and i2s_read_task() running simultaneously on core 0 and 1 respectively. i2s_read_task() getting parallel input using dma, and after each dma descriptor has been served(while waiting for the next one), it will queue the gotten data to sdcard_write_task() to write to sdcard, also using dma.
Question, is it possible to use dma to fetch input using i2s and at the same time write to sdcard?
Concurrent DMA access on different core.
-
- Posts: 9761
- Joined: Thu Nov 26, 2015 4:08 am
Re: Concurrent DMA access on different core.
Yes. The DMA engines in the various peripherals are entirely independent. (Also, they're not associated with a core: even one single core can in theory start multiple DMA transfers so they run concurrently).
Re: Concurrent DMA access on different core.
Thanks,
I've tried and tested, it works fine as per your reply.
I've tried and tested, it works fine as per your reply.
Who is online
Users browsing this forum: Google [Bot] and 109 guests