i.MX6 SDMA Usage

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

i.MX6 SDMA Usage

1,471 Views
kaangencay
Contributor I

Hello,

In our project we use an Audio Codec to transmit and receive voice data. We have to use DMA instead of SSI FIFO. Because SSI has 15x32bit FIFO, it means it keeps about 1 ms voice data so we don't want to be occured interrupts every 1 ms. I understand that I have to use Peripheral DMA Units Copy Mode for this requirement.

In i.MX6 Reference Manuel document 55.4.12.2.7 section, it says "the peripheral DMA unit has a copy mode that is used when data transfers do not involve SDMA general registers. Data is read from the source target at a PSA address, stored in PD, and then automatically flushed to the destination target at the PDA address." 

What do I understand? Is it not required to use SDMA scripts? Or is it used anyway?

Best regards,

Kaan

Labels (2)
0 Kudos
Reply
1 Reply

1,185 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Kaan,

all the automatic functions of SDMA are scripts are governed by the script, so scripts are used in all cases.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------