5.3. Primary MAC Address
|Word Offset||Register Name||Description||Access||HW Reset Value|
|0x0010||primary_mac_addr0||6-byte primary MAC address. Configure this register with a non-zero value before you enable the MAC IP core for operations.
Map the primary MAC address as follows:
If the primary MAC address is 00-1C-23-17-4A-CB, set primary_mac_addr0 to 0x23174ACB and primary_mac_addr1 to 0x0000001C.Usage
On transmit, the MAC IP core uses this address to fill the source address field in control frames. For data frames from the client, the MAC IP core replaces the source address field with the primary MAC address when the tx_src_addr_override register is set to 1.
On receive, the MAC IP core uses this address to filter unicast frames when the EN_ALLUCAST bit of the rx_frame_control register is set to 0. The MAC IP core drops frames whose destination address is different from the value of the primary MAC address.
Did you find the information on this page useful?