QN908X Transfer speed for DMA

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

QN908X Transfer speed for DMA

1,015 Views
karlin_egor
Contributor I

Hi everyone,

We will planed to use QN908X in our project. And we have one important qestion:


Which is max speed (Byte per seconds) to transfer from 8 GPIO to DMA-RAM?   

And which is max speed  to transfer from RAM-DMA to 8 GPIO?

Is it possible with 32 MB/s speed?

Labels (1)
  • QN

Tags (3)
3 Replies

881 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

To get the speed you are looking for it’s not that easy as there are several factors than can slow down the DMA functionality such as:

 

1. DMA needs an assert-acknowledge-transfer-deassert sequence for a complete transfer; DMA's internal logic requires some cycles to handle this complete sequence.

2. DMA trigger source may also delay some cycles.

3. DMA master may get postponed due to bus matrix arbiter.

 

The DMA itself is deterministic, the uncertainty is the AHB matrix arbitration, for example, if DMA and other bus masters try to access the same bus slave port (a block of memory or the same peripheral), this can downgrade determinstics.

 

To control DMA transfer data to/from GPIO port in a paced manner, you will need a periodic trigger source, such as using a timer's event.

 

Another thing to consider it’s that if you use multiple DMA, the DMA itself also need to time-multiplexing and channel priority controls which channel is first. However, even if a channel has higher priority, if DMA master is busy, the high priority channel still have to wait.

Regards, 

Estephania 

881 Views
karlin_egor
Contributor I

Hallo,

Thanks for you answer.

Which data transfer speed from/to 8-GPIO to/from DMA-RAM excluding all slowing factors (ideally)?

Thanks in advanced,

Egor

>Четверг, 6 декабря 2018, 0:17 +04:00 от estephania_martinez <admin@community.nxp.com>:

>NXP Community

>Re: QN908X Transfer speed for DMA

>reply from Estephania Martinez in Wireless Connectivity - View the full discussion

0 Kudos
Reply

881 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

I replied to you in the internal case, let's keep one way of communication so there are no missing parts. 

Regards, 
Estephania 

0 Kudos
Reply