DMA maximum frequency supported

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi guys, I'd like to ask you a question about the use of the DMA....

   

For some reasons I need to transfer some data from a status register to the internal memory....the status register value is changed at a frequency of 33MHz (8 digital input pins are linked to the status register).

   

The problem is that apparently the transfer operation performed by the DMA doesn't fit this high speed since I get less sample than expected (it should fit something like 6 or 7 MHz)....so my question would be:

   

is there a maximum clock frequency supported by the DMA (by the drq input)? 

   

Thank you very much in advance!! 😉

   

Ciao!!

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I suppose that might depend on the bus-clock you have configured.

   

How is you your drq-signal generated and what does your DMA-setup look like?

   

 

   

Best can be if you upload your project here, so we all can have a look at it.

   

To do so: in Creator 2.1 Build -> Clean Project

   

File -> Create Workspace Bundle (minimal)

   

and finally upload the resulting Zip-archieve here (takes some time after pressing the "post" button)

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

If you look in the Architecture TRM there is an example of computing the number

   

of buss cycles to do a burst, inclduing its overhead. Bus clock is the prime limiting

   

factor during the burst. Search in index for PHUB and DMAC.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 N+6 for interspoke DMA transfers

   

2N+5 for intraspoke DMA transfersN -> Burst counts

   


When there are more than 1 channel requesting a free DMA Controller, the arbitration phase would take more cycles and it uses Grant allocation Fairness Algorithm for allocation of channels.

   

 

   

Regards,

   

Kishore.

0 Likes