Concurrent DMA access on different core.
Posted: Thu Nov 16, 2017 7:42 am
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?
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?