<?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: S32K144 VLPR to RUN power mode switch failure with external crystal oscillator in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1269487#M10702</link>
    <description>&lt;P&gt;Hi Manuj Agrawal,&lt;/P&gt;
&lt;P&gt;I don't think there is a way to fix it without any modification to the driver.&lt;/P&gt;
&lt;P&gt;Let me report it to the SDK team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the FlexCAN, can you please create a new thread?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 08:09:47 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2021-04-28T08:09:47Z</dc:date>
    <item>
      <title>S32K144 VLPR to RUN power mode switch failure with external crystal oscillator</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1267177#M10657</link>
      <description>&lt;P&gt;Hey NXP team,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100539"&gt;@dianabatrlova&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a&amp;nbsp; problem during the S32K144 controller power mode switch from VLPR to RUN mode when the microcontroller uses SPLL as clock source with external crystal oscillator&lt;/P&gt;&lt;P&gt;When I am using the example project given in NXP design studio it is working properly, it is done with FIRC as system clock source.&lt;/P&gt;&lt;P&gt;The issue is specifically with VLPR mode to RUN mode switch. RUN to HSRUN and vice versa works properly,&amp;nbsp; VLPR&amp;nbsp;to VLPS and vice versa works properly. RUN mode to VLPR is not an issue. But when switching from VLPR to RUN mode with clock source as external crystal oscillator mode, it is going to&amp;nbsp;DEV_ASSERT.&lt;/P&gt;&lt;P&gt;I am attaching my project, It's name is "power_mode_switch_s32k144_ExternalClock" which is not working from external clock source and also attaching example project from NXP with internal clock, it's name is "power_mode_switch_s32k144" which is working properly.&lt;/P&gt;&lt;P&gt;Please help me in finding the solution to this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manuj Agrawal&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:37:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1267177#M10657</guid>
      <dc:creator>manujagrawal</dc:creator>
      <dc:date>2021-04-23T08:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 VLPR to RUN power mode switch failure with external crystal oscillator</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1268110#M10668</link>
      <description>&lt;P&gt;Hi Manuj Agrawal,&lt;/P&gt;
&lt;P&gt;This is because the SPLL CLKis not valid yet when the CLOCK_SYS_GetSysPLLFreq() function is called.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1619434434133.png" style="width: 709px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143240i00A934D20C7ADCAB/image-dimensions/709x206?v=v2" width="709" height="206" role="button" title="danielmartynek_0-1619434434133.png" alt="danielmartynek_0-1619434434133.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can read the return value of SCG_GetSpllStatus(SCG) until the clock is valid, something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1619434573442.png" style="width: 688px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143241i8BDAE68E1C003AFB/image-dimensions/688x463?v=v2" width="688" height="463" role="button" title="danielmartynek_1-1619434573442.png" alt="danielmartynek_1-1619434573442.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 10:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1268110#M10668</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-04-26T10:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 VLPR to RUN power mode switch failure with external crystal oscillator</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1269484#M10701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I tried your solution and it worked very well. However is there a way to do it without making changes to the driver? Since switching from VLPR to RUN using external crystal is a very standard and common thing to do, I am expecting that NXP's standard SDKs are designed to support this.&lt;/LI&gt;&lt;LI&gt;Also for FLEXCAN, in RUN mode we have used PE clock as oscillator clock (8MHz) and module clock as SYS_CLOCK (80MHz). Since CAN can only support SIRC clock in VLPR, this may change the FLEXCAN bit rate after switching from RUN to VLPR. Could you please suggest steps to manage the FLEXCAN driver and its configuration for smoothly switching from RUN to VLPR?&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks and Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manuj Agrawal&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1269484#M10701</guid>
      <dc:creator>manujagrawal</dc:creator>
      <dc:date>2021-04-28T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 VLPR to RUN power mode switch failure with external crystal oscillator</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1269487#M10702</link>
      <description>&lt;P&gt;Hi Manuj Agrawal,&lt;/P&gt;
&lt;P&gt;I don't think there is a way to fix it without any modification to the driver.&lt;/P&gt;
&lt;P&gt;Let me report it to the SDK team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the FlexCAN, can you please create a new thread?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-VLPR-to-RUN-power-mode-switch-failure-with-external/m-p/1269487#M10702</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-04-28T08:09:47Z</dc:date>
    </item>
  </channel>
</rss>

