working SDMA with EIM on iMX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

working SDMA with EIM on iMX6

跳至解决方案
20,827 次查看
hyunhoshin
Contributor III

I want to work SDMA with EIM on iMX6, but i didn't found that

anyone knows?

I'm using linux kernel 3.0.15

标签 (1)
标记 (3)
1 解答
13,593 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

OK, we only have one way : using SW to start SDMA.

Let me see how to !

Customers can send me email to ask for example code on how to use SDMA on WEIM interface ! 

At same time , Please provide project information.

Email : weidong.sun@freescale.com

在原帖中查看解决方案

0 项奖励
回复
58 回复数
3,821 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

From reference manual of i.mx6, in list of SDMA event mapping, no SDMA event for WEIM device. So external device connected to WEIM port can't trigger SDMA to work.

3,808 次查看
mrwang
Contributor I

Dear Weidong Sun:

          I want to implement use SDMA to transfer data mem to mem,Could you please send me a sample code.

     My email: 863097177@qq.com

    

Thanks a lot!

0 项奖励
回复
3,821 次查看
hyunhoshin
Contributor III

does SDMA  can support MEM to MEM transfer?

I think it's possible if SDMA can use mem to mem transfer.

0 项奖励
回复
3,821 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Shin,

(1)does SDMA  can support MEM to MEM transfer?

Yes, it is.

(2)I think it's possible if SDMA can use mem to mem transfer.

Yes, I think so.

(3)External device for WEIM

An external device on weim port should send a SDMA request to trigger or tell SDMA to begin to TX or RX. But in reference manual, this SDMA trigger for weim deive is not metioned.


3,808 次查看
marksiggins
Contributor II

Hello Weidong.

Could I also have the code for SDMA mem-to-mem transfers please? IF it makes any difference, I need internal to DDR3, and DDR3 back to internal.

Many thanks!

Mark.

0 项奖励
回复
3,821 次查看
hyunhoshin
Contributor III

I think SDMA trigger(TX,RX) can work by SW(program), not DMA request(external device event)

(2) MEM to MEM transfer

-> how can i use SDMA MEM to MEM transfer, my kernel source(linux 3.0.15) look like doesn't have mem to mem SDMA

script.

0 项奖励
回复
3,808 次查看
BiyongSUN
NXP Employee
NXP Employee

The Linux DMA APIs have been mapped to the SDMA.

The only thing you need to have is the Linux programming knowleadge.

In the Linux source tree, dmatest is the  code for that.

https://community.nxp.com/thread/440728

Untitled.png

13,594 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

OK, we only have one way : using SW to start SDMA.

Let me see how to !

Customers can send me email to ask for example code on how to use SDMA on WEIM interface ! 

At same time , Please provide project information.

Email : weidong.sun@freescale.com

0 项奖励
回复
2,544 次查看
weidong1
Contributor I

hello,Weidong:

I am looking for some sample for data transfer with SDMA from WEIM-FPGA, platform is 3.14.28 , can

you send me the example?

my email: weid_vision@163.com

thanks a lot!

0 项奖励
回复
2,610 次查看
ko-hey
Senior Contributor II

Hi @weidong_sun 

 

I’m sorry for the sudden contact.

I need the sample code too. Please tell us how to get it.

 

Ko-hey

0 项奖励
回复
3,136 次查看
yanjie_zhu
Contributor I

Hi weidong:

    I'm working on transferring data over EIM from FPGA to imx6ul processor.

    Could you send me the example code for testing?

    Email: yanjie.zhu@ankoninc.com.cn
 
    Thank you very much!
0 项奖励
回复
3,808 次查看
baojianbin
Contributor I

Dear Weidong:

   My email: baojianbin@owoncn.com

   I want to transfer data using SDMA for WEIM-FPGA, Could you please send me the example code.

 

thanks !

0 项奖励
回复
3,808 次查看
bongungkim
Contributor I

Hello, Weidong. . I am currently studying with imx6q.

I will send you an email to see the next post by Weidong.

 

https://community.nxp.com/thread/304610

 

I need example on how to start SDMA with MEM to MEM mode.

 

A long time ago, but can you still give the sample source?

 

If possible, please reply to this email.

 

Thank you very much.

my email is kbs1439@sonartech.com

0 项奖励
回复
3,808 次查看
jiejia
Contributor III

Dear Weidong:

     Could you please send me the code of MEM TO MEM SDMA.

      My email is:  421701136@qq.com

      thanks a lot!

0 项奖励
回复
3,808 次查看
varsmolta
Contributor V

Hi Weidong:, could you also please send me the code for MEM to MEM SDMA. Email is akcooper8@gmail.com

0 项奖励
回复
3,808 次查看
timdiebert
Contributor I

I would appreciate getting your example code for doing memory <-> memory  DMA using the WEIM bus.

My email is diebert@parc.com

Thank you,

Tim

0 项奖励
回复
3,808 次查看
philippeverdier
Contributor I

Hello Weidong,

I want to use SDMA mem to mem transfer from shared memory from WEIM bus and internal or DDR3. Could you send me your example code ?

Thanks,

My email is philippe.verdier@oros.com

0 项奖励
回复
3,808 次查看
hervegrange
Contributor I

Hello Weidong,

I'm interrested in your example code of SDMA transfer on WEIM.

Please can you send it to me at mailto:bet.stf@gmail.com

Thank you

0 项奖励
回复
3,808 次查看
leeseungik
Contributor III

Dear Weidong:

   I also want to test the mem to mem transfer using SDMA, Could you please send me the example code.

My email: sngik.lee@gmail.com

thanks a lot!

0 项奖励
回复
3,808 次查看
arunkrishna
Contributor II

Hi Weidong,

 

Can you please send me the example code for SDMA for MEM to MEM transfer?

We are using the linux version : linux-3.0.35

My mail id :arun.krishna@sasken.com

Thanks in advance,

Arun Krishna

0 项奖励
回复
3,821 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,Shin,

     Please tell me your Email address, Let me give you an example on how to start SDMA with MEM to MEM mode.

Regards,

Weidong

0 项奖励
回复