Please teach me how to write MAC address of LPCXpresso54608 .
I use the network which closed,so I want to write local MAC address in LPCXpresso54608 .
okuyama.
Hello okuyama,
You can write MAC address to MAC_ADDR_LOW and MAC_ADDR_HIGH Register.
Supose, your device has MAC ID as, 00:01:F8:00:80:12
So, write 00:01:F8:00 to MAC_ADDR_LOW
and 80:12 to MAC_ADDR_HIGH
Like,
ENET->MAC_ADDR_LOW = (0x00<< 24) | (0xF8<< 16) | (0x01 << 8) | (0x00);
ENET->MAC_ADDR_HIGH = (0x12<< 8) | (0x80);