working SDMA with EIM on iMX6

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

working SDMA with EIM on iMX6

Jump to solution
20,838 Views
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

Labels (1)
Tags (3)
1 Solution
13,604 Views
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

View solution in original post

0 Kudos
Reply
58 Replies
3,826 Views
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,813 Views
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 Kudos
Reply
3,826 Views
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 Kudos
Reply
3,826 Views
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,813 Views
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 Kudos
Reply
3,826 Views
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 Kudos
Reply
3,813 Views
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,605 Views
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 Kudos
Reply
2,549 Views
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 Kudos
Reply
2,615 Views
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 Kudos
Reply
3,141 Views
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 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,813 Views
varsmolta
Contributor V

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

0 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,813 Views
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 Kudos
Reply
3,826 Views
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 Kudos
Reply