Hi,
I have an application that would benefit from the speed of DMA transfers. Ideally, I would like have a functions that initialize, send, and de-initialize.
I have attempted to separate the working example in the MCSDK into such functions. Unfortunately when the program exits the initialize function, the data the handlers point to become lost / out of scope.
I continued to try copying the information the handles point to into global memory, to guarantee preservation between function levels. Using this technique the transfer seems to occur, but I am no longer being notified of the transfer completing.
The code has not changed from the working example other than the division into functions and the handles copied into global memory.
Any ideas on what would cause the interrupt to not occur?