<?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: Clock source of RUN mode selection</title>
    <link>https://community.nxp.com/t5/S32K/Clock-source-of-RUN-mode-selection/m-p/1009038#M6072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked your code and you use |= when you set the clock source, but&amp;nbsp;the SCS bit field is already configurated as&amp;nbsp;Fast IRC (FIRC_CLK) by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution:&lt;/P&gt;&lt;P&gt;SCG-&amp;gt;RCCR = SCG_RCCR_SCS(6) | SCG_RCCR_DIVCORE(0x01) | SCG_RCCR_DIVBUS(0x01) | SCG_RCCR_DIVSLOW(0x03);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you did not set SPLL dividers, please, refer to RM rev 11.&amp;nbsp;Table 27-1. Clock descriptions.&lt;/P&gt;&lt;P&gt;hello_clocks_S32K144 example located in the S32DS can be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2020 14:37:59 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2020-01-10T14:37:59Z</dc:date>
    <item>
      <title>Clock source of RUN mode selection</title>
      <link>https://community.nxp.com/t5/S32K/Clock-source-of-RUN-mode-selection/m-p/1009037#M6071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After I set configuration of SOSC and SPLL. I start to select clock source of RUN mode and set core clock, bus clock and flash clock. But it shows different value of RCCR register and CSR register. Please see following capture.&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/98595i61B05EB151D48554/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;You can also find my source code of clock in the attachment.&lt;/P&gt;&lt;P&gt;MCU is S32K144.&lt;/P&gt;&lt;P&gt;IDE is IAR ARM 8.4.&lt;/P&gt;&lt;P&gt;Thanks for your attention.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Xiaowei.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Dec 2019 09:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-source-of-RUN-mode-selection/m-p/1009037#M6071</guid>
      <dc:creator>1120905896</dc:creator>
      <dc:date>2019-12-21T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clock source of RUN mode selection</title>
      <link>https://community.nxp.com/t5/S32K/Clock-source-of-RUN-mode-selection/m-p/1009038#M6072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked your code and you use |= when you set the clock source, but&amp;nbsp;the SCS bit field is already configurated as&amp;nbsp;Fast IRC (FIRC_CLK) by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution:&lt;/P&gt;&lt;P&gt;SCG-&amp;gt;RCCR = SCG_RCCR_SCS(6) | SCG_RCCR_DIVCORE(0x01) | SCG_RCCR_DIVBUS(0x01) | SCG_RCCR_DIVSLOW(0x03);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you did not set SPLL dividers, please, refer to RM rev 11.&amp;nbsp;Table 27-1. Clock descriptions.&lt;/P&gt;&lt;P&gt;hello_clocks_S32K144 example located in the S32DS can be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-source-of-RUN-mode-selection/m-p/1009038#M6072</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-01-10T14:37:59Z</dc:date>
    </item>
  </channel>
</rss>

