Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDMA transfer inside ISR: Problem
Hi everybody, I think this is a common issue, but I didn't find a solution to my question, so hopefully I will get an answer here: I have a DMA controller which I want to use on an IRQ com...
Altera_Forum
Honored Contributor
16 years agoHi all,
thank you for your posts. @Omen: My operation is quite time-critical this is why I think a polling solution wouldn't be the best in my case. @pillemann: Im using IIC with the Enhanced API. I tried to use the Legacy API with the alt_irq_interruptible() function and it worked in a HelloWorld project! I still face problems when using the code in uCOS/II environment building up on "simple socket server". It works, but after the first call of the ISR it doesn't return to idle mode and hangs at some place. I cannot use both the legacy and enhanced API, can I ? I believe that maybe some Nichestack function accesses the enhanced API. Could this be the problem ?