IMXRT1024 LPUART, eDMA and OCRAM Relationship

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

IMXRT1024 LPUART, eDMA and OCRAM Relationship

618 Views
Lukas_Frank
Senior Contributor I

Hi all,

 

I am stuck with a relationship triangle (LPUART, eDMA, ADMA and OCRAM). I just want to use eDMA with LPUART and trying to monitor my transmit and receive datas on the RAM. Here is my nested path from Reference Manual.

In 6.2 Overview it says:

Local memory containing transfer control descriptors for each of the 32 channels

In 6.2.3 Features it says:

TCD supports two-deep, nested transfer operations
• 32-byte TCD stored in local memory for each channel
• An inner data transfer loop defined by a minor byte transfer count
• An outer data transfer loop defined by a major iteration count

In Figure 9-2. Internal ROM and RAM memory map NOTE it says:

Lukas_Frank_1-1630062051463.png

In Figure 26-11. Concept and access method of the ADMA2 descriptor table it says:

Lukas_Frank_2-1630062217724.png

So I have following question:

 

Q1: What is the difference between eDMA and ADMA?

Q2: Where will create my eDMA's TCD in the memory(RAM)? So, Which address interval?

Q3: How can I monitor my eDMA LPUART receive and transmit datas on RAM in MCUExpresso IDE in debug time?

 

Thanks and Regards.

0 Kudos
1 Reply

574 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Lukas_Frank,

I see that some of your questions have been answered on other threads. I’m adding a link for reference in case it helps other users.

https://community.nxp.com/t5/i-MX-RT/IMXRT1024-LPUART-eDMA-RAM-Location-and-Limitation/m-p/1329191

I think the matter that was not covered would be the differences between eDMA and ADMA. The Advanced DMA (ADMA) is a transfer algorithm used by the SD Host Controller so it’s a different DMA algorithm. There are more details on how it’s handled on the i.MXRT1024 Reference Manual on the uSDHC chapter as it’s main application is being compliant with the uSDHC standard.

Regards,
Gustavo

0 Kudos