<?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>topic Re: How to implement the PFE clock configure in RTOS in S32G</title>
    <link>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2316067#M16014</link>
    <description>&lt;P&gt;Hi,&lt;SPAN&gt;waitewang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply and informaiton.&lt;/P&gt;
&lt;P&gt;Could you tell me you are using a single-core or multi-core scenario? initialization of clock can be post in the bootloader, why do you want to choose to configure the PFE clock on the RTOS？&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
    <pubDate>Wed, 11 Feb 2026 06:47:05 GMT</pubDate>
    <dc:creator>Joey_z</dc:creator>
    <dc:date>2026-02-11T06:47:05Z</dc:date>
    <item>
      <title>How to implement the PFE clock configure in RTOS</title>
      <link>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2315660#M16006</link>
      <description>&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Dear Expert,&lt;/P&gt;&lt;P&gt;We are working on implementing the PFE (Packet Forwarding Engine) Ethernet driver for the S32G274A within a real-time operating system (RTOS). Since our RTOS does not have Linux’s clock framework or device tree infrastructure, we need to configure the required clocks by directly programming the hardware registers.&lt;/P&gt;&lt;P&gt;Could you please advise on how we can obtain the complete clock configuration logic or reference code for the PFE module? Any documentation, register-level examples, or best practices would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 13:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2315660#M16006</guid>
      <dc:creator>waitewang</dc:creator>
      <dc:date>2026-02-10T13:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement the PFE clock configure in RTOS</title>
      <link>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2315969#M16008</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;waitewang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for contacting us.&lt;/P&gt;
&lt;P&gt;Sorry for that we do not provide the PFE+RTOS application to customer for reference.&lt;/P&gt;
&lt;P&gt;Generally, the clock will be configured in the bootloader stage for Multi-core scenario, if you want to set the clock register on M core, you can try to refer to the&amp;nbsp;S32G2RM.pdf of&amp;nbsp;Chapter 24 Clock Generation Module.&lt;/P&gt;
&lt;P&gt;Also, need to configure the&amp;nbsp;partition for PFE.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_0-1770778455608.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376426i365649514E386CDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1770778455608.png" alt="Joey_z_0-1770778455608.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 02:54:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2315969#M16008</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-02-11T02:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement the PFE clock configure in RTOS</title>
      <link>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2316051#M16013</link>
      <description>&lt;P&gt;Hello experts&lt;/P&gt;&lt;P&gt;I have another question about the clock of PFE module, as follow:&lt;/P&gt;&lt;P&gt;We referred to the GMAC driver’s clock configuration in the existing RTOS BSP. When initializing the PFE module, it is necessary to configure the MC_CGM_2 register block—specifically, to set up the TX clock for PFE_MAC_0, we need to configure the Clock Mux 1 Select Control Register (MUX_1_CSC) within this register group, as shown in the figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="waitewang_0-1770790885058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376440iB03D1AD36C47B255/image-size/medium?v=v2&amp;amp;px=400" role="button" title="waitewang_0-1770790885058.png" alt="waitewang_0-1770790885058.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the SELCTL field of this register, a clock source must be selected. However, we are unsure how the clk_src_x identifiers described in the reference manual correspond to the actual hardware clock sources.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="waitewang_1-1770790938206.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376442i4640A7C2B8CB533F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="waitewang_1-1770790938206.png" alt="waitewang_1-1770790938206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We found some related descriptions in the device tree files, but we don’t know how to map them correctly. Could you please clarify how clk_src_x in the manual relates to the real clock sources used in the system?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 06:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2316051#M16013</guid>
      <dc:creator>waitewang</dc:creator>
      <dc:date>2026-02-11T06:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement the PFE clock configure in RTOS</title>
      <link>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2316067#M16014</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;waitewang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply and informaiton.&lt;/P&gt;
&lt;P&gt;Could you tell me you are using a single-core or multi-core scenario? initialization of clock can be post in the bootloader, why do you want to choose to configure the PFE clock on the RTOS？&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 06:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2316067#M16014</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2026-02-11T06:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement the PFE clock configure in RTOS</title>
      <link>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2316078#M16015</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm working in a multicore scenario. According to your reply, if the system is booted by U-Boot, does that mean the operating system doesn't need to configure the clocks?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 07:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-to-implement-the-PFE-clock-configure-in-RTOS/m-p/2316078#M16015</guid>
      <dc:creator>waitewang</dc:creator>
      <dc:date>2026-02-11T07:13:27Z</dc:date>
    </item>
  </channel>
</rss>

