<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Other NXP Products中的主题 Re: TJA1120A RGMII Mode- Delay Config</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Mode-Delay-Config/m-p/2398111#M32994</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Based on the TJA1120A documentation, the RGMII delay configuration can be a bit confusing because the register names and the delay described inside the register do not directly match.&lt;/P&gt;
&lt;P&gt;Please refer to the RGMII_RXC_DELAY_CONFIG/RGMII_TXC_DELAY_CONFIG registers bit description within device DS:&lt;/P&gt;
&lt;DIV class="___77lcry0 f10pi13n"&gt;
&lt;DIV class="___1hewfwb f10pi13n f7oukh6 f5p0z4x" tabindex="0" role="group" aria-label="Code Preview"&gt;
&lt;DIV class="scriptor-component-code-block CodeBlock__codeBlockDiv__42752f2c scriptor-codeblock-virtualized" tabindex="-1" data-theme="dark"&gt;
&lt;DIV class="CodeBlockPanes__container__71d899b4 CodeBlockPanes__nonResizableContainer__6ebdb9a0 CodeBlockPanes__vertical__34e4882d CodeBlock__contentDivider__c49b3c66"&gt;
&lt;DIV class="CodeBlockPanes__firstPane__874c233c CodeBlockPanes__nonResizablePane__acd5f9b8 Scrollbar__scrollbar__6cfb662a"&gt;
&lt;DIV class="SimpleCodeViewer__outerContainer__d1d83538"&gt;
&lt;DIV class="SimpleCodeViewer__container__8630b45b SyntaxHighlighting__syntaxHighlighting__8169bb8c SimpleCodeViewer__containerCollapsed__96c82917" tabindex="0" role="textbox" aria-label="Code editor" aria-multiline="true" aria-readonly="true"&gt;
&lt;DIV class="SimpleCodeViewer__codeLine__a460d8c1 SimpleCodeViewer__codeLineWrap__894cbdef" data-line-index="0"&gt;0xAFCC RGMII_RXC_DELAY_CONFIG: bit 15 = enables internal TXC delay&lt;/DIV&gt;
&lt;DIV class="SimpleCodeViewer__codeLine__a460d8c1 SimpleCodeViewer__codeLineWrap__894cbdef" data-line-index="3"&gt;0xAFCD RGMII_TXC_DELAY_CONFIG: bit 15 = enables internal RXC delay&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="SimpleCodeViewer__footerHidden__49d35493"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;So, when checking the configuration, the important point is the actual register bit description and the final register read-back value after initialization.&lt;/P&gt;
&lt;P&gt;Also note that pin strapping only defines the default configuration after reset. The software driver can overwrite this later via MDIO, so the effective configuration should be verified by reading back the registers after the system has booted.&lt;/P&gt;
&lt;P&gt;Please also make sure that the same RGMII clock delay is not enabled on both MAC and PHY side unless this is intended by the board timing design.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 23 Jul 2026 08:16:11 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2026-07-23T08:16:11Z</dc:date>
    <item>
      <title>TJA1120A RGMII Mode- Delay Config</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Mode-Delay-Config/m-p/2397599#M32983</link>
      <description>&lt;P&gt;This is the Device-Tree for TJA1120A - cpsw_port1, cpsw3g_phy0&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;cpsw_port1 {
        status = "okay";
        phy-mode = "rgmii-txid";
        phy-handle = &amp;lt;&amp;amp;cpsw3g_phy0&amp;gt;;
};

&amp;amp;cpsw_port2 {
        status = "okay";
        phy-mode = "rgmii";
        phy-handle = &amp;lt;&amp;amp;cpsw3g_phy1&amp;gt;;
};

&amp;amp;cpsw3g_mdio {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = &amp;lt;&amp;amp;main_mdio1_pins_default&amp;gt;;

        cpsw3g_phy0: ethernet-phy@0 {
                compatible = "ethernet-phy-id001b.b031";
                reg = &amp;lt;4&amp;gt;;
        };
        cpsw3g_phy1: ethernet-phy@1 {
                        compatible = "ethernet-phy-id0022.1620";
                        reg = &amp;lt;0&amp;gt;;
                        txc-skew-ps = &amp;lt;900&amp;gt;;
                        rxc-skew-ps = &amp;lt;900&amp;gt;;
                        rxd0-skew-ps = &amp;lt;420&amp;gt;;
                        rxd1-skew-ps = &amp;lt;420&amp;gt;;
                        rxd2-skew-ps = &amp;lt;420&amp;gt;;
                        rxd3-skew-ps = &amp;lt;420&amp;gt;;
                        txd0-skew-ps = &amp;lt;420&amp;gt;;
                        txd1-skew-ps = &amp;lt;420&amp;gt;;
                        txd2-skew-ps = &amp;lt;420&amp;gt;;
                        txd3-skew-ps = &amp;lt;420&amp;gt;;
                        rxdv-skew-ps = &amp;lt;420&amp;gt;;
                        txen-skew-ps = &amp;lt;420&amp;gt;;
        };
};&lt;/LI-CODE&gt;&lt;P&gt;Here we give "rgmii-txid" as phy-mode for TJA1120A.&lt;/P&gt;&lt;P&gt;But when I read register&amp;nbsp;&lt;STRONG&gt;RGMII_TXC_DELAY_CONFIG,&amp;nbsp;&lt;/STRONG&gt;it reads 0x0014 which means no delay(15th bit), and&amp;nbsp;&lt;STRONG&gt;RGMII_RXC_DELAY_CONFIG&amp;nbsp;&lt;/STRONG&gt;reads 0x8014 with means delay is set(15th bit).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if i change phy-mode to "rgmii-rxid" in DT,&amp;nbsp;&lt;STRONG&gt;RGMII_RXC_DELAY_CONFIG&lt;/STRONG&gt;&amp;nbsp;reads 0x0014, and&amp;nbsp;&lt;STRONG&gt;RGMII_TXC_DELAY_CONFIG&amp;nbsp;&lt;/STRONG&gt;reads 0x8014.&lt;/P&gt;&lt;P&gt;I just tried setting "rgmii" in DT and then setting these registers using phytool, it had reflected perfectly and started pinging then&amp;nbsp;&lt;STRONG&gt;RGMII_RXC_DELAY_CONFIG&amp;nbsp;&lt;/STRONG&gt;15th bit set to HIGH and&amp;nbsp;&lt;STRONG&gt;RGMII_TXC_DELAY_CONFIG &lt;/STRONG&gt;15th bit set to LOW.&lt;/P&gt;&lt;P&gt;I wish to understand why this reversal happen at DT configuration of phy-mode.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For our AM62A7 based ECU, internal delay on RX_Clock is needed by PCB, so it set "rgmii-txid". Its working perfectly fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I would like to know the use of Pin Strapping for this PHY-Mode, if DTS takes care of it.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 08:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Mode-Delay-Config/m-p/2397599#M32983</guid>
      <dc:creator>vikyhre</dc:creator>
      <dc:date>2026-07-22T08:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: TJA1120A RGMII Mode- Delay Config</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Mode-Delay-Config/m-p/2398111#M32994</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Based on the TJA1120A documentation, the RGMII delay configuration can be a bit confusing because the register names and the delay described inside the register do not directly match.&lt;/P&gt;
&lt;P&gt;Please refer to the RGMII_RXC_DELAY_CONFIG/RGMII_TXC_DELAY_CONFIG registers bit description within device DS:&lt;/P&gt;
&lt;DIV class="___77lcry0 f10pi13n"&gt;
&lt;DIV class="___1hewfwb f10pi13n f7oukh6 f5p0z4x" tabindex="0" role="group" aria-label="Code Preview"&gt;
&lt;DIV class="scriptor-component-code-block CodeBlock__codeBlockDiv__42752f2c scriptor-codeblock-virtualized" tabindex="-1" data-theme="dark"&gt;
&lt;DIV class="CodeBlockPanes__container__71d899b4 CodeBlockPanes__nonResizableContainer__6ebdb9a0 CodeBlockPanes__vertical__34e4882d CodeBlock__contentDivider__c49b3c66"&gt;
&lt;DIV class="CodeBlockPanes__firstPane__874c233c CodeBlockPanes__nonResizablePane__acd5f9b8 Scrollbar__scrollbar__6cfb662a"&gt;
&lt;DIV class="SimpleCodeViewer__outerContainer__d1d83538"&gt;
&lt;DIV class="SimpleCodeViewer__container__8630b45b SyntaxHighlighting__syntaxHighlighting__8169bb8c SimpleCodeViewer__containerCollapsed__96c82917" tabindex="0" role="textbox" aria-label="Code editor" aria-multiline="true" aria-readonly="true"&gt;
&lt;DIV class="SimpleCodeViewer__codeLine__a460d8c1 SimpleCodeViewer__codeLineWrap__894cbdef" data-line-index="0"&gt;0xAFCC RGMII_RXC_DELAY_CONFIG: bit 15 = enables internal TXC delay&lt;/DIV&gt;
&lt;DIV class="SimpleCodeViewer__codeLine__a460d8c1 SimpleCodeViewer__codeLineWrap__894cbdef" data-line-index="3"&gt;0xAFCD RGMII_TXC_DELAY_CONFIG: bit 15 = enables internal RXC delay&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="SimpleCodeViewer__footerHidden__49d35493"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;So, when checking the configuration, the important point is the actual register bit description and the final register read-back value after initialization.&lt;/P&gt;
&lt;P&gt;Also note that pin strapping only defines the default configuration after reset. The software driver can overwrite this later via MDIO, so the effective configuration should be verified by reading back the registers after the system has booted.&lt;/P&gt;
&lt;P&gt;Please also make sure that the same RGMII clock delay is not enabled on both MAC and PHY side unless this is intended by the board timing design.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Jul 2026 08:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TJA1120A-RGMII-Mode-Delay-Config/m-p/2398111#M32994</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2026-07-23T08:16:11Z</dc:date>
    </item>
  </channel>
</rss>

