<?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 FlexCAN configuration to enable switch from RUN to VLPR in S32K</title>
    <link>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1269540#M10705</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi NXP team,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;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 (8MHz) in VLPR, this may change the FLEXCAN bit rate (kbps) 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;/P&gt;&lt;P&gt;Thanks and Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manuj Agrawal&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 09:06:23 GMT</pubDate>
    <dc:creator>manujagrawal</dc:creator>
    <dc:date>2021-04-28T09:06:23Z</dc:date>
    <item>
      <title>FlexCAN configuration to enable switch from RUN to VLPR</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1269540#M10705</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi NXP team,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;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 (8MHz) in VLPR, this may change the FLEXCAN bit rate (kbps) 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;/P&gt;&lt;P&gt;Thanks and Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manuj Agrawal&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 09:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1269540#M10705</guid>
      <dc:creator>manujagrawal</dc:creator>
      <dc:date>2021-04-28T09:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN configuration to enable switch from RUN to VLPR</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1269635#M10713</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;which driver do you mean? Assume SDK here...&lt;BR /&gt;If FlexCAN is using peripheral clock as PE clock still (CLKSCR=1) then it is enough to call&amp;nbsp;FLEXCAN_DRV_SetBitrate() function to set new bitrates. it puts FlexCAN to freeze mode set bitrates and put module back to normal mode. There is an example to show this on&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K116-FlexCAN-VLPR-test-S32DS-ARM-2-2/ta-p/1193012" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K116-FlexCAN-VLPR-test-S32DS-ARM-2-2/ta-p/1193012&lt;/A&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;If PE clock must be changed then I think&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;FLEXCAN_DRV_Deinit() should be called and after mode switch init all again with new setting. CLKSCR can be changed when module is disabled.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 12:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1269635#M10713</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-04-28T12:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN configuration to enable switch from RUN to VLPR</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1269657#M10717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your proposed solution. I think I can work with making the Peripheral Clock and PE Clock for an easy switch between RUN to VLPR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you also please help me understand importance of PE and Module Clocks in FLEXCAN and which different functionalities in the FLEXCAN are governed by them separately?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Manuj Agrawal&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 12:49:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1269657#M10717</guid>
      <dc:creator>manujagrawal</dc:creator>
      <dc:date>2021-04-28T12:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN configuration to enable switch from RUN to VLPR</title>
      <link>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1270182#M10732</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;refer to Table 27-9. Peripheral module clocking and chapter&amp;nbsp;55.5.10 Clock domains and restrictions of the reference manual.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 08:12:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexCAN-configuration-to-enable-switch-from-RUN-to-VLPR/m-p/1270182#M10732</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-04-29T08:12:12Z</dc:date>
    </item>
  </channel>
</rss>

