Use IRAM for DMA transfer in iMX35

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

Use IRAM for DMA transfer in iMX35

2,238 Views
NickRao
Contributor I

Can internal RAM be used for DMA transfer in iMX35?

I want to use IRAM for the transfering audio data over iMX35 MediaLB port to the INIC OS81050 using synchronous channel.

But when I use IRAM for buffering the audio data, I get only the noise. I suspect the problem could be because of using the internal RAM.

 

The reason I suspect IRAM being, I dont see any problem when the use EMI memory for the same pusrpose.

 

I would really appreciate any kind of help fpr this problem I am facing.

 

Thanks in Advance.

 

 

Regards,

Nikhil Rao.

0 Kudos
3 Replies

497 Views
fabio_estevam
NXP Employee
NXP Employee

Yes, we use IRAM for audio playback on SDK1.5 Linux BSP.

 

Regards,

 

Fabio Estevam

0 Kudos

497 Views
NickRao
Contributor I

Thanks for your reply.

 

Does using IRAM have any influence on the audio playback? I see IRAM is being used in the i.MX37 but the option is not set in i.MX35.

 

Looking forward more pointers on this.

 

Thanks and Regards,

Nikhil Rao.

0 Kudos

497 Views
fabio_estevam
NXP Employee
NXP Employee

Yes, IRAM is used for audio playback on MX35.

 

On SDK1.5:

 

./ltib -c

 

[*] Configure the kernel

Device Drivers --->

Sound--->

Advanced Linux Architecture --->

System on Chip audio support --->

and then you can see that the following is select as default:

[*] Locate Audio DMA playback buffers in IRAM

 

Regards,

 

Fabio Estevam

0 Kudos