<?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 the clock output is not correct in HSRUN mode in S32K</title>
    <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509047#M17207</link>
    <description>&lt;P&gt;Hello all&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using s32k142 EVB and configure the clock to run in HSRUN mode and I want to be sure that the clock output is correct but I found that It is not correct. I am using the internal oscillator not the external.&lt;/P&gt;&lt;P&gt;if the s32k142 doesn't have external oscillator on the board?&lt;/P&gt;&lt;P&gt;If I use wrong test please tell me the correct test to be sure that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;configure the HSRUN mode with :&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;SPLL = 112 MHz&lt;/LI&gt;&lt;LI&gt;Core &amp;amp; System clocks&amp;nbsp; = 112 MHz (their input must be the SPPL)&lt;/LI&gt;&lt;LI&gt;Bus clock = 56 MHz&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;and I will attach the code to test the clock please help me in this issue&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Aug 2022 07:00:26 GMT</pubDate>
    <dc:creator>RehabSoliman</dc:creator>
    <dc:date>2022-08-21T07:00:26Z</dc:date>
    <item>
      <title>the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509047#M17207</link>
      <description>&lt;P&gt;Hello all&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using s32k142 EVB and configure the clock to run in HSRUN mode and I want to be sure that the clock output is correct but I found that It is not correct. I am using the internal oscillator not the external.&lt;/P&gt;&lt;P&gt;if the s32k142 doesn't have external oscillator on the board?&lt;/P&gt;&lt;P&gt;If I use wrong test please tell me the correct test to be sure that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;configure the HSRUN mode with :&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;SPLL = 112 MHz&lt;/LI&gt;&lt;LI&gt;Core &amp;amp; System clocks&amp;nbsp; = 112 MHz (their input must be the SPPL)&lt;/LI&gt;&lt;LI&gt;Bus clock = 56 MHz&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;and I will attach the code to test the clock please help me in this issue&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 07:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509047#M17207</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-21T07:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509182#M17210</link>
      <description>&lt;P&gt;Hi&amp;nbsp;RehabSoliman,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I am using s32k142 EVB and configure the clock to run in HSRUN mode and I want to be sure that the clock output is correct but I found that It is not correct.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The method of flipping IO is imprecise. &lt;STRONG&gt;SCG_CLKOUTCNFG[CLKOUTSEL]&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;SCG_CLKOUTCNFG[CLKOUTSEL]&lt;/STRONG&gt; can output&amp;nbsp;clock on the CLKOUT pin.(Do not forget select the CLKOUT in pins tool)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Figure 27-1. Clocking diagram.png" style="width: 993px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190797iB82005659E1B235D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Figure 27-1. Clocking diagram.png" alt="Figure 27-1. Clocking diagram.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SCG_CLKOUTCNFG[CLKOUTSEL] SPLL_CLK.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190799iCDC580114A797353/image-size/large?v=v2&amp;amp;px=999" role="button" title="SCG_CLKOUTCNFG[CLKOUTSEL] SPLL_CLK.png" alt="SCG_CLKOUTCNFG[CLKOUTSEL] SPLL_CLK.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I am using the internal oscillator not the external.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;But the&amp;nbsp;clock_configuration.png shows that you select external 8MHz crystal as input of SPLL_VCO.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 05:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509182#M17210</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-08-22T05:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509265#M17213</link>
      <description>&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I mean I want to be sure that the frequency is 112MHz so I need a way to test this part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to Check system clock speed (main clock speed) is 112MHz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is the s32k142EVB has external oscillator on the board?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 07:10:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509265#M17213</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-22T07:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509274#M17216</link>
      <description>&lt;P&gt;Did you output the clock by refer&amp;nbsp;SCG_CLKOUTCNFG[CLKOUTSEL] SPLL_CLK.png? What is the frequency measured by the oscilloscope on the CLKOUT pin?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;S32k142EVB has external 8MHz crystal on the board, just like the project configured.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 07:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509274#M17216</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-08-22T07:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509309#M17219</link>
      <description>&lt;P&gt;the clock out is 112MHz&lt;/P&gt;&lt;P&gt;but I want to be sure that the core clock and system clock is 112MHz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 07:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509309#M17219</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-22T07:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509330#M17222</link>
      <description>&lt;P&gt;Did you tried to select HCLK output CORE_CLK?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 08:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509330#M17222</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-08-22T08:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509351#M17224</link>
      <description>&lt;P&gt;No, I didn't because I don't know how to this&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you tell me the steps and I will try to do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 08:31:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509351#M17224</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-22T08:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509354#M17225</link>
      <description>&lt;P&gt;I want to know is it mandatory to use power manager when I want to set the HSRUN mode&amp;nbsp;&lt;/P&gt;&lt;P&gt;or it is not related because if I turn the power manager the HSRUN mode not work&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 08:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509354#M17225</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-22T08:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509398#M17227</link>
      <description>&lt;P&gt;This way you can output&amp;nbsp;SPLL_CLK at CLKOUT pin. &lt;U&gt;&lt;/U&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SCG_CLKOUTCNFG[CLKOUTSEL] SPLL_CLK.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190848i157FE8B96A433ADC/image-size/large?v=v2&amp;amp;px=999" role="button" title="SCG_CLKOUTCNFG[CLKOUTSEL] SPLL_CLK.png" alt="SCG_CLKOUTCNFG[CLKOUTSEL] SPLL_CLK.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;the clock out is 112MHz&lt;/U&gt;&lt;BR /&gt;I am not sure if you&amp;nbsp;achieve it(output&amp;nbsp;SPLL_CLK at CLKOUT pin). Did you select which pin as CLKOUT?&amp;nbsp;Are you able to measure the frequency by using oscilloscope?)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="select CLKOUT pin.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190853i49BA575BD62C9C49/image-size/large?v=v2&amp;amp;px=999" role="button" title="select CLKOUT pin.png" alt="select CLKOUT pin.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The method is the same, edit settings of SIM_CLKOUTSEL and select &lt;STRONG&gt;HCLK&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edit settings of SIM_CLKOUTSEL.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190852i2E41C7205BA505B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="edit settings of SIM_CLKOUTSEL.png" alt="edit settings of SIM_CLKOUTSEL.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 09:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509398#M17227</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-08-22T09:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509408#M17228</link>
      <description>&lt;P&gt;I did this test and the spll is 112MHZ but I want to be sure that the core clock has 112MHz not 48MHz&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you help me in this part?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 09:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509408#M17228</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-22T09:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509422#M17230</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I did not configure the Core to 112 MHz in last reply, so even if I choose CLKOUT that image shows 48MHz. I'm not sure if you have modified the core frequency to 112MHz, what is the frequency of CLKOUT output by the oscilloscope now?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In below image, you can see the core clock is configure to 112MHz and the CLKOUT(HCLK selected) will be 112MHz. I am not sure if you notice the note1 in&amp;nbsp;&lt;STRONG&gt;Figure 27-1. Clocking diagram&lt;/STRONG&gt;: 1. The source of &lt;STRONG&gt;HCLK&lt;/STRONG&gt; (to Arm® Cortex® modules) is &lt;STRONG&gt;CORE_CLK&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HSRUN Core clock 112MHz.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190856i7DD2FD675607109A/image-size/large?v=v2&amp;amp;px=999" role="button" title="HSRUN Core clock 112MHz.png" alt="HSRUN Core clock 112MHz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 09:42:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509422#M17230</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-08-22T09:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509468#M17232</link>
      <description>&lt;P&gt;the output =&amp;nbsp;40.98360655737705 MHz&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is not correct I think I have something wrong in the configuration&lt;/P&gt;&lt;P&gt;I attached the configuration could you take a look to help me ?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:43:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509468#M17232</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-22T10:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509515#M17237</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get it finally but it sine wave not square wave is it wrong ?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 11:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509515#M17237</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-22T11:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509870#M17258</link>
      <description>&lt;P&gt;I don't think it's wrong. The output 112MHz signal may be too high frequency. In addition, the oscilloscope bandwidth of 350MHz may be too low.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 04:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509870#M17258</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-08-23T04:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: the clock output is not correct in HSRUN mode</title>
      <link>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509923#M17262</link>
      <description>&lt;P&gt;thanks for your support&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:22:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-clock-output-is-not-correct-in-HSRUN-mode/m-p/1509923#M17262</guid>
      <dc:creator>RehabSoliman</dc:creator>
      <dc:date>2022-08-23T06:22:11Z</dc:date>
    </item>
  </channel>
</rss>

