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.

TDA4VM: Setting MAC address on TDA4V

Part Number: TDA4VM


Hello experts,

I am writing to ask about a MAC address on CPSW2. I know that it is permanently set via eFuse during production.
My question is: when using CPSW2 to receive communication on R5F@MCU – is it possible to address MCU RTOS under software defined MAC or will it inherit the HW-stored address and we can do nothing to change that?

What I would like to achieve in the end is to have an OS, running on R5F@MCU, addressable under custom MAC.

Looking forward to your feedback.

  • Hi Mateusz,

    Yes, it can be changed in software. MAC addresses are resources managed by Enet RM component. Application provides them to the driver at Enet_open() time. In the SDK example applications, this is done via Enet example utils functions.

    If you are using SDK 7.1, look at the EnetAppSoc_getMacAddrList() implementation in <pdk>/packages/ti/drv/enet/examples/utils/V1/enet_appsoc.c. The default implementation reads the MAC address from EFuse, but you can replace it with your software one here.

    If you are using older SDKs, look at the CPSW driver at <pdk>/packages/ti/drv/cpsw.