RT1024 EDMA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1024 EDMA

1,149 Views
2548903578
Contributor III

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.

0 Kudos
7 Replies

1,143 Views
2548903578
Contributor III

How to use pit to trigger DMA cycle execution? Is there a demo?

0 Kudos

1,131 Views
2548903578
Contributor III

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!QQ截图20211217151710.png

0 Kudos

1,086 Views
2548903578
Contributor III

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.

0 Kudos

1,074 Views
2548903578
Contributor III

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.QQ截图20211223110628.pngQQ截图20211223110656.png

0 Kudos

1,118 Views
2548903578
Contributor III

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?

0 Kudos

1,063 Views
2548903578
Contributor III

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.

0 Kudos