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.

MCU-PLUS-SDK-AM243X: CPSW dual-MAC mode example and individual RGMII/RMII port configuration

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi support team,

I have the following two questions on CPSW with AM243x and the MCU SDK.

1. I am looking for the MCU software example to use the CPSW in dual MAC mode, as shown here. Is there an SDK software example available - I did not find it yet.

2. Can the MAC ports of the CPSW be configured independently? Specifically, one port should operate in RGMII, while the second port should operate in RMII.

Regards,

 Thomas

  • In sysconfig you can see RGMII and RMII option:

      Pekka

  • Hi Thomas,

    1. There is an example in the lwip subsection of CPSW examples which uses dual MAC mode. You can find about more details here. If you want to configure that in your example, the updates needed in sysconfig-gui are:
      TI NETWORKING > Enet(CPSW) > ALE Port Config > MAC-only mode config > MAC-only mode config for hostPort/macPort1/macPort2 > Enable MAC-only Mode For hostPort -> Set this to enabled
    2. It is possible to configure one port in RGMII and other in RMII. But this functionality is not available out of box. You have to enable custom board config, and update the corresponding functions to return correct mode. (EnetBoard_getMiiConfig, gEnetCpbBoard_am243x_evm_EthPort). This would need changes in one template file as well for clean implementation.

    If there are any more queries, please reach out to us.

    Thanks and regards,
    Teja.