S32K311: Access DTCM Memory with DMA

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

S32K311: Access DTCM Memory with DMA

325 Views
Siva5
Contributor I

Hello Team,

I'm working on the S32k311 controller. As I'm running out of memory, decided to use TCM as system ram.I'm trying to read ADC values with DMA.

As DTCM0 is already configured in the linker and start up files. I'm trying to read with DMA with direct access(no backdoor). The data is not getting updated into the buffers, which are present in DTCM.

Any additional settings/configurations needed to provide control to DMA for accessing DTCM0. 

Can you provide any examples to access data via DMA and storing in the DTCM.

Thank you!  Regards, Siva

0 Kudos
Reply
1 Reply

287 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Siva,

The eDMA cannot access the DTCM directly but through the backdoor.

Refer to AN13388: S32K3 Memories Guide

danielmartynek_0-1712662342418.png

 

RM, Figure 5. Block diagram – S32K311 and S32K310

danielmartynek_1-1712662561096.png

 

 

Regards,

Daniel

0 Kudos
Reply