Hello everyone
I just touched this chip recently. I found that edma in the demo is only executed once and then ended. I want to ask how to execute it periodically.
How to use pit to trigger DMA cycle execution? Is there a demo?
Hello,everyone:
This is a modification I made according to the routine. My idea is that when the MCU receives the input capture signal, it will automatically move the data, but through testing, it is found that this can only be executed once and it ends. What should I do to realize my idea? Can someone help me? thank you very much!
Hi, jingpan
I now want to trigger dma to move a few bytes of data when I get an input capture, and then enter the interrupt for reconfiguration after moving a few times. Or it is the transport data that can be recycled, and it can restart from the start address when the transport data is finished. When I tested the first scheme, using the primary and secondary loops, I found that it can only be completed all at once. What should I do? look forward to your reply.
Hi, jingpan
I want to achieve such a function, but every time a trigger source can complete all the data transfer, how should I configure it? look forward to your reply.
I found that when the DMA transfer is completed, the corresponding register of ERQ will be cleared. What should I do to prevent the hardware from resetting after enabling it once?
Hi,everyone
I tested and found that one of my dma request sources will complete the execution of the minor loop and major loop. It is different from the picture.