2014-03-07 02:41 PM
I got my DMA working fine , and I can perform transfers successfully , but when i enabled the DMA Transfer complete interrupt , it does not go to the handler , ....... the transfer is done successfully and i can see (from the debugging session) that the interrupt is enabled , and i can also see that the Transfer Complete flag set , ....... and the DMA interrupt is enabled in the NVIC , ............. any suggestions? ........ or working codes?
2014-03-07 04:01 PM
Do other interrupts work?
Do you have the correct name for your DMA IRQ Handler? Is it associated with the correct DMA controller/channel/stream? Is the vector table correct? Is the SCB->VTOR pointing at the correct table? Does the debugger end up in a hard loop some where if you stop it? I can write correct code all day, not sure it helps you, post a complete/concise example of what you're doing, and I might be able to better suggest why it doesn't work. Couple of examples of DMA IRQ throughout this .2014-03-08 05:40 AM
Thx Clive for ur reply , and I solved it , u were right , i had a priority problem that prevented the DMA from going to its handler .