I am working on a project with dspic33E series microcontroller. I am using UART communication to communicate with other devices and store the data that comes from other devices and peripherals. To ensure no data loss in uart communication, I am using FIFO buffer. It is quite useful. After that, I check buffer whenever I need and if there is any data I need to process, then I read it from FIFO buffer and do the necessary process. I am expecting the same performance in DMA when I combine it with UART.
But as far as I know, DMA buffers can only be read half buffer/ full buffer complete interrupt only. I don't know why DMA is architectured like that. If I can access DMA, without waiting for an interrupt to be set to read data from its buffer, I can use it as FIFO also it reduces the burden of the CPU. Is it possible in dspic controllers? How can I approach the DMA to use it as a FIFO buffer without waiting for an interrupt to be set to read its buffers.
I hope that I clearly explain my view over DMA. Give your suggestion regarding this query. Thanks in advance...