PSOC5lp dma and interrupt priorities | Cypress Semiconductor
PSOC5lp dma and interrupt priorities
I have looked through quite a few posts and reference documents related to DMA and interrupts but can't seem to find the simple answer.
Which gets higher priority for memory access DMA or interrupts. I know with interrupts and DMA you can priorities, but are the 2 settings related.
The reason I ask is that I have a project with high priority time-critical interrupt. Which currently is working good. I am now working on my host connection which will probably be SPI and I would like to do this transfers via DMA.
I guess the question is if I am running my high priority interrupt and some data comes in over the DMA SPI I would not want my interrupt routine to be blocked by DMA memory access for the SPI receive. Can I just set my interrupt to high priority and my DMA to lower priority and I will be fine?
Any thoughts or insight?