<?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>S32KのトピックRe: S32K358 GMAC sends abnormal data</title>
    <link>https://community.nxp.com/t5/S32K/S32K358-GMAC-sends-abnormal-data/m-p/2082627#M47890</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248322"&gt;@sathishkumar_sunmugavel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;there's an issue with the clock in your project.&lt;/P&gt;
&lt;P&gt;1. Add this before Clock_Ip_Init:&lt;/P&gt;
&lt;P&gt;/* Set RMII configuration for EMAC in DCM module */&lt;BR /&gt;IP_DCM_GPR-&amp;gt;DCMRWF1 = (IP_DCM_GPR-&amp;gt;DCMRWF1 &amp;amp; ~DCM_GPR_DCMRWF1_MAC_CONF_SEL_MASK) | DCM_GPR_DCMRWF1_MAC_CONF_SEL(2U);&lt;/P&gt;
&lt;P&gt;2. Your clock shall look like that (it's picture for EMAC, but also valid for GMAC, in this case):&lt;/P&gt;
&lt;P&gt;- RX shall be disabled&lt;/P&gt;
&lt;P&gt;- I usually used doble frequency on TS clock&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333704i252E721CD84E2CFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;TJA1103-SDBR needs to be in rev-RMII mode to generate clock on TXC -&amp;gt; check your jumpers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 414px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333703i768BB9F8AD2AC0C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You might also consider to start your project from another example, like lwip_FreeRTOS_S32k358.&lt;/P&gt;
&lt;P&gt;FYI, there are Easter holidays on Friday and on Monday, my response will be delayed. Thank you for your understanding.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 13:56:53 GMT</pubDate>
    <dc:creator>PavelL</dc:creator>
    <dc:date>2025-04-17T13:56:53Z</dc:date>
    <item>
      <title>S32K358 GMAC sends abnormal data</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-GMAC-sends-abnormal-data/m-p/2082487#M47882</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I am bringing up Ethernet using S32K3X8EVB-Q289 Evaluation Board and TJA1103A transceiver working in MII mode. I used example from S32K3(Gmac_Ip_InternalLoopback_S32K358) to bring-up, with some modification to adapt with MII interface. So far, it managed to establish link-up, but it sent abnormal data throughout communication.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sathishkumar_sunmugavel_0-1744883373206.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333668i2D6A018AD3D87ABB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sathishkumar_sunmugavel_0-1744883373206.png" alt="sathishkumar_sunmugavel_0-1744883373206.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also removed D_CACHE_ENABLE and I_CACHE_ENABLE in pre-processor setting. But it didn't in this case.&lt;/P&gt;&lt;P&gt;I attached the zipped project code, and above captured packet logs. Hope you guy can check it and help me.&lt;/P&gt;&lt;P&gt;Hardware details:&lt;BR /&gt;S32K3X8EVB-Q289 Evaluation Board&lt;BR /&gt;TJA1103SDB SABRE development board(170-47757 REV C)&lt;/P&gt;&lt;P&gt;Software details:&lt;BR /&gt;SW32K3_S32DS_3.5.8_D2311.zip&lt;BR /&gt;SW32K3_S32M27x_RTD_R21-11_4.0.0_D2311_DS_updatesite.zip&lt;BR /&gt;SW32K3_FreeRTOS_10.6.0_CD_4.0.0_DS_updatesite_D2312.zip&lt;BR /&gt;SW32K3_TCPIP_STACK_1_0_4_D2401_DS_updatesite.zip&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 09:55:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-GMAC-sends-abnormal-data/m-p/2082487#M47882</guid>
      <dc:creator>sathishkumar_sunmugavel</dc:creator>
      <dc:date>2025-04-17T09:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 GMAC sends abnormal data</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-GMAC-sends-abnormal-data/m-p/2082627#M47890</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248322"&gt;@sathishkumar_sunmugavel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;there's an issue with the clock in your project.&lt;/P&gt;
&lt;P&gt;1. Add this before Clock_Ip_Init:&lt;/P&gt;
&lt;P&gt;/* Set RMII configuration for EMAC in DCM module */&lt;BR /&gt;IP_DCM_GPR-&amp;gt;DCMRWF1 = (IP_DCM_GPR-&amp;gt;DCMRWF1 &amp;amp; ~DCM_GPR_DCMRWF1_MAC_CONF_SEL_MASK) | DCM_GPR_DCMRWF1_MAC_CONF_SEL(2U);&lt;/P&gt;
&lt;P&gt;2. Your clock shall look like that (it's picture for EMAC, but also valid for GMAC, in this case):&lt;/P&gt;
&lt;P&gt;- RX shall be disabled&lt;/P&gt;
&lt;P&gt;- I usually used doble frequency on TS clock&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333704i252E721CD84E2CFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;TJA1103-SDBR needs to be in rev-RMII mode to generate clock on TXC -&amp;gt; check your jumpers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 414px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333703i768BB9F8AD2AC0C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You might also consider to start your project from another example, like lwip_FreeRTOS_S32k358.&lt;/P&gt;
&lt;P&gt;FYI, there are Easter holidays on Friday and on Monday, my response will be delayed. Thank you for your understanding.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 13:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-GMAC-sends-abnormal-data/m-p/2082627#M47890</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2025-04-17T13:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 GMAC sends abnormal data</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-GMAC-sends-abnormal-data/m-p/2083039#M47907</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233505"&gt;@PavelL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Thank you for your valuable guidance.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;I followed the steps you suggested, and I'm happy to share that the issue has been resolved.&lt;/P&gt;&lt;P class=""&gt;Thanks again,&lt;BR /&gt;Sathish.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 04:45:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-GMAC-sends-abnormal-data/m-p/2083039#M47907</guid>
      <dc:creator>sathishkumar_sunmugavel</dc:creator>
      <dc:date>2025-04-18T04:45:41Z</dc:date>
    </item>
  </channel>
</rss>

