<?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>S32GのトピックRe: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
    <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409520#M16751</link>
    <description>&lt;P&gt;Hi,Avinash_7373&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;1.When the SOC entry the mode of standby, about the PFE clock of partition2 will be disabled, you should check if you have reenabled the partition2 after wakeup. You can try to check the&amp;nbsp; PRTN2_STAT.PCS state before the&amp;nbsp;PFE Init.&lt;/P&gt;
&lt;P&gt;2. Check the SERDES if it is a normal function.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
    <pubDate>Mon, 31 Aug 2026 06:31:26 GMT</pubDate>
    <dc:creator>Joey_z</dc:creator>
    <dc:date>2026-08-31T06:31:26Z</dc:date>
    <item>
      <title>PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409116#M16742</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have configured EMAC0 at 2500 MBPS with required SERDES channel configuration. The Eth communication is up and running during ECU run state.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After shutting down the applications accessing Eth communication, I trigger the ECU sleep request from ECUM with sets the MCU mode to SOC standby with HSE_CM7 selected as main core.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Post wakeup the ECU resumes the normal operation, the layers COM, SOAD, TCPIP, ETHIF are working as expected, In the Eth if layer during the API invocation of "Provide TX buffer" returns an error stating TX buffers are not free, followed by no transmission of Eth frames&lt;BR /&gt;&lt;BR /&gt;List of fixes tried resolve the issue:&lt;BR /&gt;&lt;BR /&gt;1. Tried to Shutdown the PFE driver using "Eth_43_Pfe_Deinit" and starting the PFE driver by calling "Eth_43_Pfe_Init" but the CPU gets locked after the execution if Init API.&lt;BR /&gt;2. Tried to turndown the Eth controller using Eth_43_Pfe_SetController mode to down and bring it active by setting back the mode to "Active" which led to bus fault&lt;BR /&gt;&lt;BR /&gt;Please let me know the potential fix for this issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;P.S&amp;gt;&lt;BR /&gt;Configurator Used: EB tresos&lt;BR /&gt;Eth PFE RTD version:&amp;nbsp; 1.3.0&amp;nbsp;&lt;BR /&gt;SDK: GOLDVIP&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2026 09:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409116#M16742</guid>
      <dc:creator>Avinash_7373</dc:creator>
      <dc:date>2026-08-28T09:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409446#M16748</link>
      <description>&lt;P&gt;Hi,Avinash_7373&lt;/P&gt;
&lt;P&gt;Thank you for contacting us.&lt;/P&gt;
&lt;P&gt;1.Are the PFEs only used in the M core? Have you used the A core together?&lt;/P&gt;
&lt;P&gt;2.Are you using your customer board or our development board?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2026 02:11:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409446#M16748</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-08-31T02:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409499#M16749</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1. The PFEs are only being used in M-core&lt;BR /&gt;2. I'm using the development board:&amp;nbsp;&lt;STRONG&gt;S32G-VNP-RDB3&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Avinash V&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2026 05:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409499#M16749</guid>
      <dc:creator>Avinash_7373</dc:creator>
      <dc:date>2026-08-31T05:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409520#M16751</link>
      <description>&lt;P&gt;Hi,Avinash_7373&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;1.When the SOC entry the mode of standby, about the PFE clock of partition2 will be disabled, you should check if you have reenabled the partition2 after wakeup. You can try to check the&amp;nbsp; PRTN2_STAT.PCS state before the&amp;nbsp;PFE Init.&lt;/P&gt;
&lt;P&gt;2. Check the SERDES if it is a normal function.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2026 06:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2409520#M16751</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-08-31T06:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2410647#M16780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;The bitfield in Partition_2 status register remains &lt;STRONG&gt;1&lt;/STRONG&gt; pre-sleep, it gets updated to &lt;STRONG&gt;0&lt;/STRONG&gt; during sleep state and it is getting updated back to &lt;STRONG&gt;1&lt;/STRONG&gt; post wakeup i.e, after the MCU mode is set to normal.&lt;BR /&gt;&lt;BR /&gt;The Serdes is working fine. Additionally I have tried with EMAC2 in RGMII mode where SERDES is not involved in between the ETH Phy connector (RJ45) and the controller (NXPS32G399A) even in this case the issue remained the same.&lt;BR /&gt;&lt;BR /&gt;If there is any restart sequence required for Partition_2 post wakeup, please let me know.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Avinash V&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2026 15:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2410647#M16780</guid>
      <dc:creator>Avinash_7373</dc:creator>
      <dc:date>2026-09-02T15:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2410759#M16785</link>
      <description>&lt;P&gt;Hi,Avinash_7373&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;Could you tell me about your operation of standby and wakeup&amp;nbsp;sequence?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. How to you set the core and partition?&lt;/P&gt;
&lt;P&gt;2.Do you use the bootloader and A core in your application?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 03:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2410759#M16785</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-09-03T03:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2410822#M16787</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Please find the sleep-wakeup sequence below:&lt;/P&gt;&lt;P&gt;1. I'm requesting ECU sleep mode using API &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;STRONG&gt;EcuM_SelectShutdownTarget()"&amp;nbsp;&lt;/STRONG&gt; which in turns sets the MCU mode to standby as per the ECUM implementation.&lt;/P&gt;&lt;P&gt;2. Once the ECUM enters sleep mode it polls for a wakeup event, the CAN transceiver detects the bus activity and set the wakeup event using&amp;nbsp;&lt;STRONG&gt;EcuM_SetWakeupEvent()&amp;nbsp;&lt;/STRONG&gt;API then the ECU resumes normal operation.&lt;BR /&gt;&lt;BR /&gt;Regarding bootloader, we have the NXP bootloader (blob is flashed at 0x0) location of flash and the M-core application is flashed at location 0x400000.&amp;nbsp; A-core is not being used anywhere.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Avinash V&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 06:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2410822#M16787</guid>
      <dc:creator>Avinash_7373</dc:creator>
      <dc:date>2026-09-03T06:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2411009#M16788</link>
      <description>&lt;P&gt;Hi,Avinash_7373&lt;/P&gt;
&lt;P&gt;Your problem is likely to be a PFE initialization issue after wakeup. Check the clock and the related PFE configuration, and ensure that it has been initialized to an ideal state.&lt;/P&gt;
&lt;P&gt;1. Check that the PFE initialization is put into bootloader and properly reinitialized in the application after waking up.&lt;BR /&gt;2. Check the relevant configurations according to the Standby process. Refer to RM 32.5.5 "Run mode to Standby mode".&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 10:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2411009#M16788</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-09-03T10:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: PFE EMAC0 Invalid Buffer Access Post ECU wakeup</title>
      <link>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2412714#M16802</link>
      <description>&lt;P&gt;Hi，&lt;SPAN&gt;Avinash_7373&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Has there been any progress on your issue? If you need continued support, could you please upload your code to the following link so that we can better analyze the problem?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.nxp.com" target="_blank"&gt;https://support.nxp.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2026 11:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/PFE-EMAC0-Invalid-Buffer-Access-Post-ECU-wakeup/m-p/2412714#M16802</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-09-10T11:01:39Z</dc:date>
    </item>
  </channel>
</rss>

