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.

AM5728: a quession about mac for am5728

Part Number: AM5728

Based on the official EMAC demo"EMAC_BasicExample_evmAM572x_armBiosExampleProject", we test the network port 1 and network port 2 of am5728 and find that the function "EMAC" is called_ send(port_ num, p_ pkt_ DESC); " port_ Num = 0. In fact, both external network ports 1 and 2 send data. Why? How can I operate network ports 1 and 2 independently

Thankyou very much

  • Hi,

    When the port_num value is 0, emac_send() uses Learning to find out which port the packet should be sent out. This is a useful feature of network stacks which don't know which port the packet is meant to go out.

    But if you specify a value of 1 or 2, learning is bypassed and packet is sent out directly. This should solve your problem.

    Regards

    Vineet