RT1052 eDMA transfer on GPIO edge trigger

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

RT1052 eDMA transfer on GPIO edge trigger

478 Views
HuangJun
Contributor I

In my application, I need to trigger eDMA to transfer data from GPIO to memory (DTCM) via a clock signal. Currently, the clock signal is input from a PIN, connected via xBAR to the eDMA channel request, while the data is input from GPIO in parallel, with a data width of 32 bits. Are there parameters to indicate what the transfer rate can be reached? According to my current tests, the maximum input frequency can only reach 8 MHz, which means the maximum transmission rate is 32 MB/s. Is this correct?

Labels (1)
Tags (2)
0 Kudos
Reply
1 Reply

421 Views
mjbcswitzerland
Specialist V

Hi

I don't know the answer to the speeds (without doing additional measurements) but I have a couple of videos as reference:

Using GPIO to trigger DMA via XBAR: https://www.youtube.com/watch?v=zNWIG-O7ZW0&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=6

Using high speed ports: https://www.youtube.com/watch?v=nLInUIboLR0&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=14

Since the 1052 doesn't have high speed ports there may be some limitations (due to the GPIO not being closely coupled) and you may like to look at using a 1062 instead. The 1062 is compatible but has better features and more memory at modest price increase.

For stocks of 1062 available see here: https://www.utasker.com/Shop/semi.html

Regards

Mark

0 Kudos
Reply