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.

SK-AM62B-P1: Request for Software Example: Configuring RGMII as RMII on SK-AM62B-P1

Part Number: SK-AM62B-P1
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi TI team,

I am currently working on a project using the SK-AM62B-P1 board, and I am looking to reconfigure the default RGMII interface to RMII.

Would you happen to have any software examples or documentation that demonstrate how to achieve this? Any guidance or reference material would be greatly appreciated.

Thank you for your support.

Best regards,

Sheng

  • Hi Sheng, 

    I am currently working on a project using the SK-AM62B-P1 board, and I am looking to reconfigure the default RGMII interface to RMII.

    1. Are you planning on using Linux? What SDK version are you planning on using?

    2. SK-AM62B-P1 is designed based on RGMII interface and not RMII interface. I assume you are developing on a custom board? 

    3. Is your question more about the software side (e.g. DTS if using Linux to RMII mode) or the hardware side (e.g. about how to design for RMII interface on your custom board?)

    -Daolin

  • Hi Daolin,

    1. Are you planning on using Linux? What SDK version are you planning on using?

    -> buildroot-2024.05.3 / linux-10.01.10

    2. SK-AM62B-P1 is designed based on RGMII interface and not RMII interface. I assume you are developing on a custom board? 

    ->It is still in the proof of concept stage and will use SK-AM62B-P1 for firmware development.

       I will remove the SK-AM62B-P1 U51 DP83867 and test it by soldering the pins from the RMII.

    3. Is your question more about the software side (e.g. DTS if using Linux to RMII mode) or the hardware side (e.g. about how to design for RMII interface on your custom board?)

    ->My problem is with the software, and I want to know how to modify the configuration.

    Best regards,

    Sheng

  • Hi Sheng, 

    Would you happen to have any software examples or documentation that demonstrate how to achieve this? Any guidance or reference material would be greatly appreciated.

    Since you are using Linux, assuming your hardware is setup for RMII, then you need to ensure that in your DTS, you have configured the pinmux settings for the RMII signals and make sure there is no conflict with other existing pinmux settings you have configured. You can use the TI sysconfig tool to obtain the correct pinmux settings for RMII signals.

    Additionally, in your DTS, you need to ensure in your CPSW port node to change your phy-mode property to "rmii". Please note, these configurations are not TI specific, it is used for any application using Linux and configuring the interface mode.

    &cpsw_port2 { <--- change to the specific CPSW port you intend for RMII mode
    	phy-mode = "rgmii-rxid"; <--- change this
    	phy-handle = <&cpsw3g_phy1>;
    };

    There may be some other settings that you need to configure such as enabling your Kernel configuration for an RMII interface configuration. Again, these settings are not TI specific and so our comments here are mainly suggestions since our TI EVMs don't use RMII mode and for that reason we don't have a complete example running RMII mode.

    Please make sure when designing your RMII hardware to follow the guidelines in this FAQ: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1521263/faq-am625-am623-am620-q1-am62ax-am62px-am62d-q1-am62l-am64x-am243x-design-recommendations-custom-board-hardware-design---queries-related-to-rmii-interface-and-rmii-ti-ephy/

    Let us know if you have follow up questions.

    -Daolin