Sterling
Sterling
DIIDevHeads IoT Integration Server
Created by Sterling on 9/13/2024 in #firmware-and-baremetal
How do NVIC and DMA interact in STM32 Blue Pill?
I’m working with the STM32 Blue Pill and have a question about the relationship between the NVIC (Nested Vectored Interrupt Controller) and DMA (Direct Memory Access). I understand that the NVIC handles interrupts, while the DMA manages direct memory transfers without CPU intervention. However, I’m curious to learn more about how these two components interact. For example, when I set up a DMA transfer in my project, I assume the NVIC might be responsible for handling DMA interrupts. Is there a specific way NVIC and DMA work together in such a scenario, or are they completely independent? Could you clarify how they interact or whether NVIC has any role in managing DMA-related events?
3 replies