<?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: S32 design studio demo project[ FLASH_Example] issue in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/S32-design-studio-demo-project-FLASH-Example-issue/m-p/581775#M11</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working at S32 SDK and I can help you but first I need to ask you a few questions to be able to reproduce your issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) What version of S32 Design Studio are you using? You can find the version number and build id under &lt;EM&gt;Help -&amp;gt; About S32 Design Studio&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;2) Can you provide me the version number of the S32 SDK? Please look at &lt;EM&gt;Window -&amp;gt; Preferences -&amp;gt; SDK Management, &lt;/EM&gt;there you will find the version on the next tab following &lt;EM&gt;S32K144_SDK_gcc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, regarding the FLASH clock.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;S32K144 features two types of clocking for the modules:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- &lt;STRONG&gt;Interface&lt;/STRONG&gt;&lt;STRONG&gt; clock&lt;/STRONG&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;- is the clock that ensures&amp;nbsp;the functionality of the module's registers and internal state machine. This clock appears in the PCC tab. In the case of the FLASH module the Interface clock is the &lt;STRONG&gt;BUS Clock &lt;/STRONG&gt;(please see the table attached), this is why modifying the FLASH clock in the SCG tab did not affect the clock for the module.&amp;nbsp;Underneath is the picture&amp;nbsp;you had attached in the original post, but I have highlighted the Interface clock column for you to better understand the previous explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5375i7D52EA5FC0C90CBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_16.png" alt="pastedImage_16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Functional clock&lt;/STRONG&gt;&lt;/EM&gt; - this is the clock source that feeds the logic of the modules( eg. clock source for the LPUART (eg. shifters) and it is configurable to allow asynchronous operations in respect to the main clock sources and CPU state, for example: using a timer module when the CPU is in sleep mode and all most of the clock sources are off. In the case of the FLASH module it is programmed from the SCG module in the &lt;EM&gt;&lt;STRONG&gt;Slow Divider Field&lt;/STRONG&gt;&lt;/EM&gt;. The manual states that: "&lt;EM&gt;FLASH_CLK frequency must be programmed to 28 MHz or less in HSRUN, 26.67&amp;nbsp;MHz or less in RUN, and an integer divide of the CORE_CLK. The core clock to&amp;nbsp;flash clock ratio is limited to a max value of 8.".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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/5479iD1E2A1409D77E1D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback, it is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am waiting for the answer to my questions so I will be able to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rares Vasile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 18:46:25 GMT</pubDate>
    <dc:creator>raresvasile</dc:creator>
    <dc:date>2016-09-14T18:46:25Z</dc:date>
    <item>
      <title>S32 design studio demo project[ FLASH_Example] issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32-design-studio-demo-project-FLASH-Example-issue/m-p/581774#M10</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I imported a demo that &amp;nbsp;is Flash_Example for the S32k144 board. And the demo comple is OK.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Running result is correct. But after changing clock (from Fast IRC to system PLL ), it doesn't run &amp;nbsp;normally.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I expect that the project always run if using OSC.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #cc0000; font-size: 13px;"&gt;&lt;EM class=""&gt;Figure&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-size: 13px;"&gt;&lt;EM class=""&gt;1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; font-size: 13px;"&gt;&lt;EM class=""&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3D8LkW6gvG5fIfq6st_MGsCK4Kaeta_li2wqeYzowQQw8fxtasbSGlHkwMqo3AxXrnMd62pDwLRTCZYi-L1uZtgYqBBehzUhSqQtTl0frEctu"&gt;modif&lt;/A&gt;ing&amp;nbsp;demo&amp;nbsp;&lt;SPAN style="background-color: #ffffff; font-size: 18px;"&gt;Default clock Source &amp;nbsp;:Fast&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 18px;"&gt;&lt;STRONG&gt; IRC&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 18px;"&gt;&lt;STRONG&gt;, &amp;nbsp;Configuring&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 18px;"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;Flash Clock Source &amp;nbsp;:System PLL&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; font-size: 13px;"&gt;&lt;EM class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="160528_160528.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122181i0BBF33A7DBBA3775/image-size/large?v=v2&amp;amp;px=999" role="button" title="160528_160528.png" alt="160528_160528.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WU1[YC{WP0G@`SUFH3V((N3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3024iB085E494A409684B/image-size/large?v=v2&amp;amp;px=999" role="button" title="WU1[YC{WP0G@`SUFH3V((N3.png" alt="WU1[YC{WP0G@`SUFH3V((N3.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;After starting &amp;nbsp;project ,No running normally&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="160538_160538.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122182i160E590052A65D35/image-size/large?v=v2&amp;amp;px=999" role="button" title="160538_160538.png" alt="160538_160538.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ROB2SBA8I(J7@VF[Q6P3KAT.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3067i5EBFA588895CEBCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="ROB2SBA8I(J7@VF[Q6P3KAT.png" alt="ROB2SBA8I(J7@VF[Q6P3KAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px; color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="160539_160539.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122183i08D2AB28E0C5433C/image-size/large?v=v2&amp;amp;px=999" role="button" title="160539_160539.png" alt="160539_160539.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="_2FG5Q)MB`1LX2}2}]YWD@L.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3104i23673BAAF6437980/image-size/large?v=v2&amp;amp;px=999" role="button" title="_2FG5Q)MB`1LX2&amp;amp;#125;2&amp;amp;#125;]YWD@L.png" alt="_2FG5Q)MB`1LX2&amp;amp;#125;2&amp;amp;#125;]YWD@L.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px; color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;what is more,This reference manual of &amp;nbsp;S32K144RM reports Flash Clock is from FLASH_CLK, &amp;nbsp;However,&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;when Rrocessor Expert configures Flash Clock, Flash Clock is from BUS_CLK ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Figure 2&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;clocking architecture and various clock&lt;BR /&gt;sources for S32K144 &lt;SPAN style="color: #333333; font-size: 13px;"&gt;demoboard&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="W%$]T2LP75}_3X}FP[S17GV.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3121iA74EE1091CC78D9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="W%$]T2LP75&amp;amp;#125;_3X&amp;amp;#125;FP[S17GV.png" alt="W%$]T2LP75&amp;amp;#125;_3X&amp;amp;#125;FP[S17GV.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="T_J%LPRBJMIUY]C9HJ[GJMF.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3201i759901C316F3C0D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="T_J%LPRBJMIUY]C9HJ[GJMF.png" alt="T_J%LPRBJMIUY]C9HJ[GJMF.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Configuring Flash Clock : 8MHz &amp;nbsp; ,Bus Clock &amp;nbsp;:24MHz&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="]1]AW$%]R6%GAV%UZ`]HS8T.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3243i2F9E70F441F0F6F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="]1]AW$%]R6%GAV%UZ`]HS8T.png" alt="]1]AW$%]R6%GAV%UZ`]HS8T.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;However,In PCC Clock,how Flash Clock is 24MHz ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="UBQF%%(KEG5GFQB3`HYU@$R.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3381iA450A6FF7B24D596/image-size/large?v=v2&amp;amp;px=999" role="button" title="UBQF%%(KEG5GFQB3`HYU@$R.png" alt="UBQF%%(KEG5GFQB3`HYU@$R.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;hoping&amp;nbsp;&lt;SPAN style="color: #333333; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3Dk2D_ld1ZGDOLfRPR_f4xp8OHnhmi68TWa4JcjNOxWH8_UpyDsSxnEqza0EOKxd34rAYSJdK3o_cAaQhOgjN7a8TphPwPwIrvikb8oIiDu1G"&gt;resolve&lt;/A&gt;,&lt;SPAN style="color: #333333; font-size: 18px;"&gt;In a hurry&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;thanks a lot&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338724"&gt;Figure-2.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338724"&gt;Figure-1.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 02:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32-design-studio-demo-project-FLASH-Example-issue/m-p/581774#M10</guid>
      <dc:creator>喀秋莎</dc:creator>
      <dc:date>2016-09-02T02:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32 design studio demo project[ FLASH_Example] issue</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32-design-studio-demo-project-FLASH-Example-issue/m-p/581775#M11</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working at S32 SDK and I can help you but first I need to ask you a few questions to be able to reproduce your issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) What version of S32 Design Studio are you using? You can find the version number and build id under &lt;EM&gt;Help -&amp;gt; About S32 Design Studio&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;2) Can you provide me the version number of the S32 SDK? Please look at &lt;EM&gt;Window -&amp;gt; Preferences -&amp;gt; SDK Management, &lt;/EM&gt;there you will find the version on the next tab following &lt;EM&gt;S32K144_SDK_gcc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, regarding the FLASH clock.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;S32K144 features two types of clocking for the modules:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- &lt;STRONG&gt;Interface&lt;/STRONG&gt;&lt;STRONG&gt; clock&lt;/STRONG&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;- is the clock that ensures&amp;nbsp;the functionality of the module's registers and internal state machine. This clock appears in the PCC tab. In the case of the FLASH module the Interface clock is the &lt;STRONG&gt;BUS Clock &lt;/STRONG&gt;(please see the table attached), this is why modifying the FLASH clock in the SCG tab did not affect the clock for the module.&amp;nbsp;Underneath is the picture&amp;nbsp;you had attached in the original post, but I have highlighted the Interface clock column for you to better understand the previous explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5375i7D52EA5FC0C90CBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_16.png" alt="pastedImage_16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Functional clock&lt;/STRONG&gt;&lt;/EM&gt; - this is the clock source that feeds the logic of the modules( eg. clock source for the LPUART (eg. shifters) and it is configurable to allow asynchronous operations in respect to the main clock sources and CPU state, for example: using a timer module when the CPU is in sleep mode and all most of the clock sources are off. In the case of the FLASH module it is programmed from the SCG module in the &lt;EM&gt;&lt;STRONG&gt;Slow Divider Field&lt;/STRONG&gt;&lt;/EM&gt;. The manual states that: "&lt;EM&gt;FLASH_CLK frequency must be programmed to 28 MHz or less in HSRUN, 26.67&amp;nbsp;MHz or less in RUN, and an integer divide of the CORE_CLK. The core clock to&amp;nbsp;flash clock ratio is limited to a max value of 8.".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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/5479iD1E2A1409D77E1D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback, it is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am waiting for the answer to my questions so I will be able to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rares Vasile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 18:46:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32-design-studio-demo-project-FLASH-Example-issue/m-p/581775#M11</guid>
      <dc:creator>raresvasile</dc:creator>
      <dc:date>2016-09-14T18:46:25Z</dc:date>
    </item>
  </channel>
</rss>

