Part Number: AM5728
Tool/software: TI-RTOS
Hi,
I modified the EMAC_BasicExample_evmAM572x to send messages instead of doing a local loopback. That worked fine. Now I wanted to use the second interface to send on another network. I got it running, but I can't select on which port the packages are sent. Per default the packages just get sent on both ports. I tried to set the port in the package description flags like this:
p_pkt_desc->Flags |= 2 << EMAC_PKT_FLAG_TO_PORT_SHIFT; // Send on port 2
or
p_pkt_desc->Flags |= 1 << EMAC_PKT_FLAG_TO_PORT_SHIFT; // Send on port 1
I checked with the debugger that the flag is set correctly, but it just ignores the flag and sends on both ports anyways.
Additionally, it is kind of random if the second port negotiates 100Mbit/s or 1000Mbit/s. Can I enforce a 1000Mbit/s connection?