SPT pdma operation issue

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

SPT pdma operation issue

540 Views
MINGYU
Contributor I

Hi.
I have a question about the operation SPT pdma to dram.
Due to the nature of RAM, I know that the same amount of time must be consumed when accessing a random address, but when writing data to dram with SPT's pdma, the time consumed increases as the value of the skip option increases.
Can you tell me if you know about this phenomenon and if so how to fix it?
Currently testing with S32R45 EVB.
Thank you.

0 Kudos
Reply
3 Replies

506 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

For PDMA writing DRAM , it is different from SRAM, the access will be low efficient in skip mode indeed, which means writing OPRAM directly into DDR has serious throughput degradation when SKIP_ADDR!=0.
There are two modes that SPT writing to DDR.

1.continuous mode (SKIP_ADDR=0). In this mode, it is suggested to use SPT PDMA to write from OPRAM to DDR directly for high throughput;

2.skip mode (SKIP_ADDR!=0). In this mode, suggest two stage: 1) SPT PDMA to write from OPRAM to SRAM; 2) after the data is all stored in SRAM, trigger a FastDMA to move from SRAM into DDR.

Best regards,

Peter

0 Kudos
Reply

370 Views
WenChao
Contributor II


Do you have a demo code for the second method? range fft is so fast and how to triiger a fastdma?

0 Kudos
Reply

521 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have contact our RADAR team.

I will feedback you ASAP.

Best regards,

Peter

0 Kudos
Reply