<?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: Can I dynamically switch between Clock Option A and Option F (A ↔ F) during runtime on S32K322 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184847#M53479</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;U&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613" target="_self"&gt;&lt;SPAN class=""&gt;davidtosenovjan,&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply,&lt;/P&gt;&lt;P&gt;I have the following main point:&lt;/P&gt;&lt;P&gt;according to the RM (S32K322):&lt;/P&gt;&lt;P&gt;Table 170. &lt;STRONG&gt;Gasket configurations&lt;/STRONG&gt; in various clocking modes (for S32K344, S32K324, S32K314, S32K342, S32K341, and&lt;BR /&gt;&lt;STRONG&gt;S32K322&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;For clock option A:&lt;/P&gt;&lt;P&gt;Gasket configurations for HSE_B is : &lt;STRONG&gt;1 : 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For clock option F:&lt;/P&gt;&lt;P&gt;Gasket configurations for HSE_B is : &lt;STRONG&gt;Bypass&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HSE Mode Selection&lt;/STRONG&gt; and &lt;STRONG&gt;Bypass HSE&lt;/STRONG&gt; IAHB gasket control (&lt;STRONG&gt;HSE_CLK_MODE_AND_GSKT_CTRL&lt;/STRONG&gt;) register values:&lt;/P&gt;&lt;P&gt;00 - Applicable for&lt;STRONG&gt; Mode A&lt;/STRONG&gt; Ratio 1 : 2&lt;/P&gt;&lt;P&gt;01 -&amp;nbsp;&amp;nbsp;Applicable for &lt;STRONG&gt;Mode F&lt;/STRONG&gt;&amp;nbsp;Ratio 1 : 2 is &lt;STRONG&gt;bypassed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But&amp;nbsp;HSE Mode Selection is OTP&amp;nbsp;&lt;/STRONG&gt;(One Time Programming) is my understanding correct?&lt;/P&gt;&lt;P&gt;In my Application CAN Subsystem is running and for reducing the current, I was thinking about down clocking of CORE_CLK.&lt;/P&gt;&lt;P&gt;All&amp;nbsp; clock setting and limitations are valid according to the&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table 150&lt;/STRONG&gt;. &lt;STRONG&gt;System clock frequency limitations&lt;/STRONG&gt; (For S32K344, S32K324, S32K314, S32K342, &lt;STRONG&gt;S32K322&lt;/STRONG&gt;, and S32K341)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;1) Is clock switching from Option A to F and back (dynamically during system runtime, CAN is active, many times by low system load) on&amp;nbsp;&lt;STRONG&gt;S32K322 &lt;/STRONG&gt;still possible without any negative impact? (Gasket configurations for HSE_B is : &lt;STRONG&gt;1 : 2&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Gasket configurations for HSE_B is OTP and cannot be changed during runtime many times (from 00 to 01 and back), is my understanding correct?&lt;/P&gt;&lt;P&gt;3) Depending on the answers, will you still recommend switching of CORE_CLOCK or should I search for other ideas, like lower CPU Load, or switch off peripherals for saving the current ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2025 12:19:48 GMT</pubDate>
    <dc:creator>KirillSchwez</dc:creator>
    <dc:date>2025-10-13T12:19:48Z</dc:date>
    <item>
      <title>Can I dynamically switch between Clock Option A and Option F (A ↔ F) during runtime on S32K322</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184122#M53418</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with the &lt;STRONG&gt;S32K322&lt;/STRONG&gt; and using the predefined &lt;STRONG&gt;clocking options (Option A currently)&lt;/STRONG&gt; described in the S32K3xx datasheet and reference manual.&lt;/P&gt;&lt;P&gt;I would like to confirm whether it is &lt;STRONG&gt;supported to dynamically switch during runtime between Option A (PLL @160 MHz)&lt;/STRONG&gt; and &lt;STRONG&gt;Option F (PLL @80 MHz)&lt;/STRONG&gt; — in both directions (&lt;STRONG&gt;A → F and F → A&lt;/STRONG&gt;) — without performing a full device reset.&lt;/P&gt;&lt;P&gt;Specifically, could you please clarify:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Can the &lt;STRONG&gt;MC_ME (Mode Entry Module)&lt;/STRONG&gt; and &lt;STRONG&gt;MC_CGM (Clock Generation Module)&lt;/STRONG&gt; safely handle this clock transition while the system is running?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any required steps for updating the &lt;STRONG&gt;AHB gasket / interconnect configuration&lt;/STRONG&gt; or other bus domain isolation settings when switching between these options?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What are the &lt;STRONG&gt;recommended sequences&lt;/STRONG&gt; (e.g., via RUN mode transitions) to ensure the PLL, peripheral clocks, and flash wait states are correctly reconfigured during both A → F and F → A transitions?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any &lt;STRONG&gt;limitations or errata&lt;/STRONG&gt; related to changing between these PLL configurations at runtime for S32K322?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance, application notes, or SDK configuration examples for safely performing runtime clock switching between Option A and Option F would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Basically I want to change only CORE_CLK (160 to 80 and back) for power saving applications (Dynamical&amp;nbsp; Downclocking)&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 23:13:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184122#M53418</guid>
      <dc:creator>KirillSchwez</dc:creator>
      <dc:date>2025-10-10T23:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can I dynamically switch between Clock Option A and Option F (A ↔ F) during runtime on S32K322</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184832#M53477</link>
      <description>&lt;P&gt;1) Yes, such switching can be done with using of ME module. It is needed run system for IRC during the transition.&lt;/P&gt;
&lt;P&gt;2) Not really, but you have to check in every step clock configuration is valid. For instance to have se valid flash wait states.&lt;/P&gt;
&lt;P&gt;3) Sequence is to switch ME mode from PLL clocked to IRC clocked, change PLL and dividers settings, and switch ME mode back to new configuration. This cannot be done when modules are active (for instance in the middle of transmission of certain communication module unless this is clocked by IRC).&lt;/P&gt;
&lt;P&gt;4) I am not aware of any errata.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 11:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184832#M53477</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-10-13T11:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can I dynamically switch between Clock Option A and Option F (A ↔ F) during runtime on S32K322</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184847#M53479</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;U&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613" target="_self"&gt;&lt;SPAN class=""&gt;davidtosenovjan,&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply,&lt;/P&gt;&lt;P&gt;I have the following main point:&lt;/P&gt;&lt;P&gt;according to the RM (S32K322):&lt;/P&gt;&lt;P&gt;Table 170. &lt;STRONG&gt;Gasket configurations&lt;/STRONG&gt; in various clocking modes (for S32K344, S32K324, S32K314, S32K342, S32K341, and&lt;BR /&gt;&lt;STRONG&gt;S32K322&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;For clock option A:&lt;/P&gt;&lt;P&gt;Gasket configurations for HSE_B is : &lt;STRONG&gt;1 : 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For clock option F:&lt;/P&gt;&lt;P&gt;Gasket configurations for HSE_B is : &lt;STRONG&gt;Bypass&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HSE Mode Selection&lt;/STRONG&gt; and &lt;STRONG&gt;Bypass HSE&lt;/STRONG&gt; IAHB gasket control (&lt;STRONG&gt;HSE_CLK_MODE_AND_GSKT_CTRL&lt;/STRONG&gt;) register values:&lt;/P&gt;&lt;P&gt;00 - Applicable for&lt;STRONG&gt; Mode A&lt;/STRONG&gt; Ratio 1 : 2&lt;/P&gt;&lt;P&gt;01 -&amp;nbsp;&amp;nbsp;Applicable for &lt;STRONG&gt;Mode F&lt;/STRONG&gt;&amp;nbsp;Ratio 1 : 2 is &lt;STRONG&gt;bypassed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But&amp;nbsp;HSE Mode Selection is OTP&amp;nbsp;&lt;/STRONG&gt;(One Time Programming) is my understanding correct?&lt;/P&gt;&lt;P&gt;In my Application CAN Subsystem is running and for reducing the current, I was thinking about down clocking of CORE_CLK.&lt;/P&gt;&lt;P&gt;All&amp;nbsp; clock setting and limitations are valid according to the&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table 150&lt;/STRONG&gt;. &lt;STRONG&gt;System clock frequency limitations&lt;/STRONG&gt; (For S32K344, S32K324, S32K314, S32K342, &lt;STRONG&gt;S32K322&lt;/STRONG&gt;, and S32K341)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;1) Is clock switching from Option A to F and back (dynamically during system runtime, CAN is active, many times by low system load) on&amp;nbsp;&lt;STRONG&gt;S32K322 &lt;/STRONG&gt;still possible without any negative impact? (Gasket configurations for HSE_B is : &lt;STRONG&gt;1 : 2&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Gasket configurations for HSE_B is OTP and cannot be changed during runtime many times (from 00 to 01 and back), is my understanding correct?&lt;/P&gt;&lt;P&gt;3) Depending on the answers, will you still recommend switching of CORE_CLOCK or should I search for other ideas, like lower CPU Load, or switch off peripherals for saving the current ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184847#M53479</guid>
      <dc:creator>KirillSchwez</dc:creator>
      <dc:date>2025-10-13T12:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can I dynamically switch between Clock Option A and Option F (A ↔ F) during runtime on S32K322</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184935#M53487</link>
      <description>&lt;P&gt;1) I would not see any issue by the fact that CAN is active, unless there is not communication is progress.&lt;/P&gt;
&lt;P&gt;2) Yes, it is.&lt;/P&gt;
&lt;P&gt;3) You can apply all approaches. A frequency chance has basically main impact to power consumption (as dynamic current is the most important portion of overall consumption).&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 14:24:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2184935#M53487</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-10-13T14:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can I dynamically switch between Clock Option A and Option F (A ↔ F) during runtime on S32K322</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2185007#M53488</link>
      <description>&lt;P&gt;Hello davidtosenovjan,&lt;/P&gt;&lt;P&gt;Many thanks for your quick reply,&lt;/P&gt;&lt;P&gt;So I just to sum up everything what we discussed before:&lt;/P&gt;&lt;P&gt;1) It means that dynamically switching from Clock Option A to Option F (A ↔ F) an back &lt;STRONG&gt;is not possible dynamically&lt;/STRONG&gt;, because in this HSE Mode Selection Gasket cannot be changed during runtime&lt;BR /&gt;2) If Mode A Ratio 1 : 2 is set, then by scaling down the &lt;STRONG&gt;CORE_CLK&lt;/STRONG&gt;, I need to scale down also &lt;STRONG&gt;HSE_CLK&lt;/STRONG&gt;, &lt;STRONG&gt;AIPS_PLAT_CLK&lt;/STRONG&gt; and &lt;STRONG&gt;AIPS_SLOW_CLK&lt;/STRONG&gt; to keep the ratio 1 : 2.&lt;/P&gt;&lt;P&gt;Mode A: &lt;STRONG&gt;CORE_CLK == 160 Mhz&lt;/STRONG&gt;, &lt;STRONG&gt;HSE_CLK = 80 Mhz&lt;/STRONG&gt; (Ratio 1 : 2)&lt;/P&gt;&lt;P&gt;If I scale down &lt;STRONG&gt;CORE_CLK == 80 Mhz,&lt;/STRONG&gt; &lt;STRONG&gt;HSE_CLK&lt;/STRONG&gt; needs to be also down scaled to &lt;STRONG&gt;40 Mhz&lt;/STRONG&gt; to keep the &lt;STRONG&gt;ratio (1 : 2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scaling down only CORE_CLK&lt;/STRONG&gt; to 80 Mhz, &lt;STRONG&gt;without adapting HSE_CLK&lt;/STRONG&gt; and other Clocks (HSE Mode Selection: 00 - Applicable for Mode A Ratio 1 : 2), in Clock Mode A is &lt;STRONG&gt;not allowed/not recommended&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;All Modules clocked by above clock should be not in communication Mode.&lt;/P&gt;&lt;P&gt;3) If &lt;STRONG&gt;CAN communication is active&lt;/STRONG&gt; &lt;STRONG&gt;(Sending and Receiving is ongoing&lt;/STRONG&gt;) clock &lt;STRONG&gt;down scaling&lt;/STRONG&gt; is &lt;STRONG&gt;not recommended&lt;/STRONG&gt;, as this c&lt;STRONG&gt;an break the receive/transmission process&lt;/STRONG&gt;.&lt;BR /&gt;Ideally it should be checked if CAN is idle (SW Side) and make a transition in a critical section.&lt;/P&gt;&lt;P&gt;You helped me a already a lot, please confirm if I got all the points correctly.&lt;/P&gt;&lt;P&gt;Many thanks for your patience and support&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 16:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2185007#M53488</guid>
      <dc:creator>KirillSchwez</dc:creator>
      <dc:date>2025-10-13T16:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I dynamically switch between Clock Option A and Option F (A ↔ F) during runtime on S32K322</title>
      <link>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2185716#M53530</link>
      <description>&lt;P&gt;1) Yes, actually you are right. This hasn’t crossed my mind. You can only change setting which are not DCF configured.&lt;/P&gt;
&lt;P&gt;2) &amp;nbsp;You will change overall system frequency and yes, all ratios must be kept i.e. you are not changing clocking option&lt;/P&gt;
&lt;P&gt;3) Yes, correct.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 12:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-I-dynamically-switch-between-Clock-Option-A-and-Option-F-A-F/m-p/2185716#M53530</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-10-16T12:53:06Z</dc:date>
    </item>
  </channel>
</rss>

