This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reinitialize the DMA

Hi everyone,

Please, I'm using the examples given with the keil solution to implement a program that uses the DMA between the UART and a buffer, the problem is that I want the DMA to interrupt when the buffer gets full, but then to restart working. The interupt is working once, but then the program stops.
I guess I have a problem in reinicializing the DMA once the interrupt comes.

thank you very much

  • If you read your post again - do you really think that you supplied enough information for people to be able to help you?

    You have not posted any source code for your DMA usage.
    You have not supplied the name of the processor.
    You have not supplied any information what you have done to try and loate the problem.
    You have not mentioned if you run double-buffered, or if you only have one buffer, in which case the transfer will be stopped until you service the interrupt.
    You have not mentioned if you use DMA for memory-to-memory, or from device-to-memory or if it is device-fifo to device-fifo or some other combination.
    You have not told if you do large DMA transfers, or if the restarted DMA transfer may end before the first interrupt ends.
    ...