<?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 refuses to leave Low Power Mode in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-refuses-to-leave-Low-Power-Mode/m-p/614572#M36504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application where I change clock sources and modes frequently, and the FlexCAN clock source, and baud rates also change to match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have FlexCAN enabled in the FBE and PEE modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When in FBE, FlexCAN is sourced from the bus clock, which is directly driven by the RTC crystal output and running at a baud of 1.5k.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When in PEE, FlexCAN is sourced from the OSC, which is driven at 10MHz, and CAN is running at a baud of 1M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In all other MCG modes, the FlexCAN module is either held in freeze or the module is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently running into a situation where during one of these clock changes, the FlexCAN never comes out of module disable (or low power) mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sequence is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PEE mode, FlexCAN operating.&lt;/P&gt;&lt;P&gt;FlexCAN enter freeze&lt;/P&gt;&lt;P&gt;Switch to FEE mode.&lt;/P&gt;&lt;P&gt;FlexCAN disabled.&lt;/P&gt;&lt;P&gt;Switch to FBE mode.&lt;/P&gt;&lt;P&gt;FlexCAN clock source changed, and module enabled &amp;lt;------ here the LPMACK bit never goes low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the MK60FN1M0VMD12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Dec 2016 16:52:21 GMT</pubDate>
    <dc:creator>norton256</dc:creator>
    <dc:date>2016-12-15T16:52:21Z</dc:date>
    <item>
      <title>FlexCAN refuses to leave Low Power Mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-refuses-to-leave-Low-Power-Mode/m-p/614572#M36504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application where I change clock sources and modes frequently, and the FlexCAN clock source, and baud rates also change to match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have FlexCAN enabled in the FBE and PEE modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When in FBE, FlexCAN is sourced from the bus clock, which is directly driven by the RTC crystal output and running at a baud of 1.5k.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When in PEE, FlexCAN is sourced from the OSC, which is driven at 10MHz, and CAN is running at a baud of 1M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In all other MCG modes, the FlexCAN module is either held in freeze or the module is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently running into a situation where during one of these clock changes, the FlexCAN never comes out of module disable (or low power) mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sequence is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PEE mode, FlexCAN operating.&lt;/P&gt;&lt;P&gt;FlexCAN enter freeze&lt;/P&gt;&lt;P&gt;Switch to FEE mode.&lt;/P&gt;&lt;P&gt;FlexCAN disabled.&lt;/P&gt;&lt;P&gt;Switch to FBE mode.&lt;/P&gt;&lt;P&gt;FlexCAN clock source changed, and module enabled &amp;lt;------ here the LPMACK bit never goes low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the MK60FN1M0VMD12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 16:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-refuses-to-leave-Low-Power-Mode/m-p/614572#M36504</guid>
      <dc:creator>norton256</dc:creator>
      <dc:date>2016-12-15T16:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCAN refuses to leave Low Power Mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-refuses-to-leave-Low-Power-Mode/m-p/614573#M36505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick Borton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the same process on TWR-K60F120M, but looks like the LPMACK bit went low on my case, I used PE to generate the driver code, so maybe it was a code issue? Please kindly refer to the following for details.&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/1035i66E204DAAF77EDD9/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;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1082i9222AC02DBAB3AEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&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/1166i3A91BCEA4C073F5A/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;I also attached my test code based on KDS 3.0. Please kindly refer to it for more details.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 03:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexCAN-refuses-to-leave-Low-Power-Mode/m-p/614573#M36505</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2016-12-22T03:40:23Z</dc:date>
    </item>
  </channel>
</rss>

