<?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: set the system clock from program</title>
    <link>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069017#M7326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierpaolo，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How to set HSRUN mode?&lt;/P&gt;&lt;P&gt;Please add a new component in Processor Expert and new a Power mode configurations as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109079i4820FDFA493B149F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then in the code call ROWER_SYS_Setmode, and fill in the power mode index which indicates the HSRUN mode, in my case it's 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109128iD1404E27B048C7B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to set RUN mode to 80MHZ from 48MHZ?&lt;/P&gt;&lt;P&gt;Please set SPLL_CLK - Multiply to 40 and choose SYS_CLK RUN mode to SPLL_CLK/2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109129i4A120DDF67F13FD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. How to know your current system clock frequency?&lt;/P&gt;&lt;P&gt;You can use the clock output feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;In PIN_MUX component you can set maxim 4 pins as clock output&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109082iC014C028CCE8DD90/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then go to clock manager component, choose the clock source you want to monitor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109130iF57FAF9F438DD76D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help. Any question please feel free to reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2020 01:56:37 GMT</pubDate>
    <dc:creator>Jeremy_He</dc:creator>
    <dc:date>2020-07-31T01:56:37Z</dc:date>
    <item>
      <title>set the system clock from program</title>
      <link>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069013#M7322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, everybody,&lt;BR /&gt;I am using the can_pal example for nxp s32k144 and would like to know how to change the system clock explicitly.&lt;BR /&gt;I saw that in flex_Can you can use a Normal_Model_80 (or similar) function, but I don't see it in can_pal.&lt;BR /&gt;Can you tell me how to make explicit whether to run at 80Mhz or 112Mhz ?&lt;BR /&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 08:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069013#M7322</guid>
      <dc:creator>pierpaolo_dini</dc:creator>
      <dc:date>2020-07-21T08:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: set the system clock from program</title>
      <link>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069014#M7323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;Pierpaolo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the frequency of the system clock directly in the Processor Expert clock component.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116735iCAFEA814E308EAAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 21:09:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069014#M7323</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2020-07-23T21:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: set the system clock from program</title>
      <link>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069015#M7324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;First of all, thank you for your answer.&lt;/P&gt;&lt;P&gt;However, I don't understand where I can explain that my code can run in normal or highspeed mode.&lt;/P&gt;&lt;P&gt;Also because from the component inspector I can't change the frequency value (48 MHz for Normal Mode and 112MHz for High Speed are values that I can't decide).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/108929iCA96CE3CD58981D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I mean that in the SYS_CLK row of the interface clocks table I can't change the values indicated (at least I think it doesn't give me any option and I don't do it).&lt;/P&gt;&lt;P&gt;Maybe in the table below (Clock Sources) I can change the values. But if I try, it shows me a lot of Warnings (?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention,&lt;/P&gt;&lt;P&gt;Pierpaolo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 12:32:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069015#M7324</guid>
      <dc:creator>pierpaolo_dini</dc:creator>
      <dc:date>2020-07-29T12:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: set the system clock from program</title>
      <link>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069016#M7325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pierpaolo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the following community thread:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/537933"&gt;https://community.nxp.com/thread/537933&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 17:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069016#M7325</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2020-07-30T17:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: set the system clock from program</title>
      <link>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069017#M7326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierpaolo，&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How to set HSRUN mode?&lt;/P&gt;&lt;P&gt;Please add a new component in Processor Expert and new a Power mode configurations as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109079i4820FDFA493B149F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then in the code call ROWER_SYS_Setmode, and fill in the power mode index which indicates the HSRUN mode, in my case it's 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109128iD1404E27B048C7B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to set RUN mode to 80MHZ from 48MHZ?&lt;/P&gt;&lt;P&gt;Please set SPLL_CLK - Multiply to 40 and choose SYS_CLK RUN mode to SPLL_CLK/2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109129i4A120DDF67F13FD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. How to know your current system clock frequency?&lt;/P&gt;&lt;P&gt;You can use the clock output feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;In PIN_MUX component you can set maxim 4 pins as clock output&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109082iC014C028CCE8DD90/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then go to clock manager component, choose the clock source you want to monitor&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109130iF57FAF9F438DD76D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help. Any question please feel free to reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 01:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/set-the-system-clock-from-program/m-p/1069017#M7326</guid>
      <dc:creator>Jeremy_He</dc:creator>
      <dc:date>2020-07-31T01:56:37Z</dc:date>
    </item>
  </channel>
</rss>

