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.

Dual MAC on AM335x

For applications that require dual MAC ethernet, what all is required in software? There are quite a few posts saying at least it can be done, but what exactly is required besides flipping the bit enabling dual MAC? For example, are additional PHYs needed, or is the PRU required?

Also, if dual MAC is possible, can both be working simultaneously, or is switching required?

-Reagan

  • Both ports will be working simultaneously, to enable dual MAC the switch is disabled. Each MAC will require its own PHY. The PRU is not required. Which OS are you using? If Linux then the support for dual emac is there and is enabled by default with pre-built kernel in the SDK.

  • Hi,

    Please let me ask an additional question on this topic.

    Our customer's application needs two Ethernet ports
    One for normal Ethernet(connected to PC) and another for EtherCAT Master.

    In this case is it possible to configure two independent networks
    with High-Priority for the port used for EtherCAT Master communication
    and Low-Priority for the other port used for Ethernet connected to PC?

    And is it possible to use DMA seperately for each port?

    Please let me know if there is anything else should be taken care
    or any disadvantages with this kind of use case.

    Regards
    Prad