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.

Multi-EMAC on TMDXEVM6472 with NDK

Hello all,

I'm developing a raw ethernet application on TMDXEVM6472 evaluation board. To do so, I'm using DSP/BIOS5.41 and the NDK on CCSv4.

The overall architecture should be as follow:

Core 0 of DSP should run DSP/BIOS with three tasks : one to receive Ethernet packets through EMAC0, one to send Ethernet packets through EMAC1, another one to route packets between DSP's cores.

Starting from the demo project, I was able to use one EMAC at a time  (EMAC0 or EMAC1, by setting PORT_USED constant in ethdriver.c), to send or receive packets sequentially (i.e. not simultaneously using a receive task and a send task).

So, my questions are :

-Does NDK make use of both EMAC0 and EMAC1 on the same core (or on two different cores) possible? If the answer is yes how?

-If not, is it possible to use one EMAC to send and receive packets simultaneously (with two different tasks)?

-If NDK doesn't cope with multi-EMAC, is there another way to manage raw ethernet packets with multi-EMAC?

 

Thanks in advance for your answers!

Best regards,

Yann