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.

AM263P4: CPSW – Dual RMII Support and Recommended Architecture

Part Number: AM263P4
Other Parts Discussed in Thread: SYSCONFIG

Hi Expert,
 
We are evaluating Ethernet configuration options on AM263P4 using CPSW.

From the documentation, CPSW supports two external MAC ports (Port1 and Port2), and each port can select MII/RMII/RGMII interfaces. However, during SysConfig configuration, we observed that it is not possible to enable RMII mode on both CPSW ports simultaneously.

To better understand this behavior, could you please clarify the following:

1) Is dual RMII configuration on CPSW (RMII on both Port1 and Port2 at the same time) supported or validated by TI?

2) If not supported, is this limitation due to:
   - pinmux constraints,
   - RMII clocking architecture (REFCLK sharing),
   - or other hardware restrictions?

3) Is the limitation observed in SysConfig an intentional restriction reflecting actual hardware constraints?

4) For implementing two RMII ports, what is TI’s recommended architecture on AM263P4?
   - CPSW (1 port) + ICSSG (1 port)?
   - Or other recommended configuration?

5) Alternatively, for dual-port Ethernet using CPSW, is RGMII considered the recommended interface?

Please confirm clearly whether dual RMII on CPSW is:
- Supported
- Not supported
- Not validated

This information is important for our architecture evaluation.

Thank you for your support.
  • Hi Moonil,

    Q1. Can you please share the SDK and sysconfig version you are using?

    Q2. Can you please share which TI Evaluation board is being used? ControlCard or the LaunchPad or a custom board? 

    1) Is dual RMII configuration on CPSW (RMII on both Port1 and Port2 at the same time) supported or validated by TI?

    Yes

    4) For implementing two RMII ports, what is TI’s recommended architecture on AM263P4?
       - CPSW (1 port) + ICSSG (1 port)?
       - Or other recommended configuration?

    Two CPSW ports should be able to achieve this

    5) Alternatively, for dual-port Ethernet using CPSW, is RGMII considered the recommended interface?

    This is also validated 

    Please see the below screenshot for AM263Px-LP with SDK v26.00.00.06 to configure RMII in example.syscfg file:

    Regards,
    Shaunak

  • Hi Shaunak,

    Thanks for prompt feedback.

    Q1. Can you please share the SDK and sysconfig version you are using?

    SDK 10.2.0 and sysconfig 1.23.0

    Q2. Can you please share which TI Evaluation board is being used? ControlCard or the LaunchPad or a custom board? 

    Our custom board has two Ethernet ports connected to CPSW, using a single host MAC address. The PHY provides the RMII reference clock (PHY → 50 MHz → MCU).

    As shown in the screenshot below, only one RMII interface can be selected in the CPSW PinMux configuration.

    Do we have to upgrad to a newer SDK and SysConfig version that supports both interfaces? Could you please let me know the key checkpoints required to enable both RMII1 and RMII2?

    Thanks.

  • Do we have to upgrad to a newer SDK and SysConfig version that supports both interfaces?

    Yes.

    I would recommend upgrading the SDK version to v11.01x (https://www.ti.com/tool/MCU-PLUS-SDK-AM263PX#downloads). This should enable the support. Also, when referencing examples from the SDK, do check the "launchpad" examples for dual port support as the control card only has 1 ethernet port so the example.syscfg configurations might be unavailable for other port.

    Regards,
    Shaunak