This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is EDMA3 LLD suitable for Sitara?

Other Parts Discussed in Thread: AM3359, SYSBIOS

Hi,

according to the description, EDMA3 LLD seems to be very usefull when it comes to programming the DMA (and EDMA3_LLD.pdf is a very good tutorial!).

My question is whether it can be used for the Sitara family (AM3359 for instance ).

There are several processors mentioned in the EDMA3 LLD release note but AM335X is not among them. Is it not suitable for that processor family? Does anybody know?

I would like to use it with Windows7, StarterWare and CCSv6.

Regards,

Martin H.

  • Hi Martin,

    The AM335X does have an EDMA3 controller. You can ask in the Starterware forum (http://e2e.ti.com/support/embedded/starterware/default.aspx ), what is the EDMA driver used there or if the one you are asking about is suitable.

  • It is a lot leaner than EDMALLD,but there is an edma.c C used in Starterware with a couple of examples (I saw UART and McSPI) at  C:\TI\AM335X_StarterWare_02_00_00_07\drivers (and attached).

     

     

  • Thanks for replying.

    I am aware of the examples, but my hope was to find something that is easier to handle (and understand).

    So EDMALLD cannot be used with AM335X_StarterWare_02_00_01_01?

    Correct?

    Martin H.

  • Been a while since I've used EDMALLD but pretty sure it is tied to an OS/microOS where the default is TI SYSBIOS (also called DSP/BIOS).  Can't remember how easy to "decouple" from OS.. 

    Do you need EDMALLD (which is a real device driver compared to edma.c) for resource protection or other peripheral sharing reasons?

    Also from the tool chain standpoint, you might check the EDMALLD install docs to see if you can build with make or some other utility (I always used the TI RTSC).  Probably beyond the scope of this Forum, as Biser mentions you might want to ask and "Embedded SW" forum like Starterware forum or even TI RTOS.  One of the "Development Tool" forums like Code Compose might also help.

     

  • The idea is to send sampled data from the mcasp peripheral directly to LWIP ethernet driver without intermediate storage. I don't know if that is possible as I am not yet familiar with EDMA3. The EDMA3LLP documentation gave me the impression that it is easier to handle.

    As a new try I will post the question in the Starterware forum as suggested.

    Thank you!

    Regards,

    Martin H.

  • EDMA3 is good for McASP<->memory type operations (or I guess any serial port for that matter) since the peripherals' data registers just expect raw (PCM for McASP-type) data.

    I'm not sure what type of data/protocol the AM335x Ethernet peripheral expects and if possible with EDMA3 w/o any (Cortex-A8) CPU intervention. If some type of protocol processing is needed, maybe you can use the PRU. 

    I guess looking at the LWIP driver can give you a good idea of what is necessary.