<?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>Kinetis Microcontrollers中的主题 K64 and 24Mhz external crystal~~</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-and-24Mhz-external-crystal/m-p/465846#M28089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I have a PCB with k64fx512 MCU onboard (self-made), additionally there is 24MHz crystal connected to the MCU as external clock source.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;The problem I faced with when I tried to enter PEE state is that it seems to be impossible.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;In order to transfer to PEE, it is necessary to perform a transition to FBE mode. For this, it is required to setup correct divider into FRDIV register, so the frequency is between 31.25 kHz to 39.0625 kHz. But this is impossible with the dividers options available: 32, 64, 128, 256, 512, 1024, 1280, 1536.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;When I set divider to 512 or any other, I never can pass the check of IREFS to be cleared. The code waits for IREFS to be 0, and it hangs there.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Is there any ways to overcome this issue?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Additionally, I cannot use IRC48M as a source for MCG - same situation, wait forever for IREFS to be cleared. But KDS suggests that according to AN4905 IRC48M cannot be used as MCG source due to chip limitations.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Will be grateful for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2016 08:04:34 GMT</pubDate>
    <dc:creator>sywksmstkadlfgk</dc:creator>
    <dc:date>2016-04-21T08:04:34Z</dc:date>
    <item>
      <title>K64 and 24Mhz external crystal~~</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-and-24Mhz-external-crystal/m-p/465846#M28089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I have a PCB with k64fx512 MCU onboard (self-made), additionally there is 24MHz crystal connected to the MCU as external clock source.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;The problem I faced with when I tried to enter PEE state is that it seems to be impossible.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;In order to transfer to PEE, it is necessary to perform a transition to FBE mode. For this, it is required to setup correct divider into FRDIV register, so the frequency is between 31.25 kHz to 39.0625 kHz. But this is impossible with the dividers options available: 32, 64, 128, 256, 512, 1024, 1280, 1536.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;When I set divider to 512 or any other, I never can pass the check of IREFS to be cleared. The code waits for IREFS to be 0, and it hangs there.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Is there any ways to overcome this issue?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Additionally, I cannot use IRC48M as a source for MCG - same situation, wait forever for IREFS to be cleared. But KDS suggests that according to AN4905 IRC48M cannot be used as MCG source due to chip limitations.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Will be grateful for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 08:04:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-and-24Mhz-external-crystal/m-p/465846#M28089</guid>
      <dc:creator>sywksmstkadlfgk</dc:creator>
      <dc:date>2016-04-21T08:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: K64 and 24Mhz external crystal~~</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-and-24Mhz-external-crystal/m-p/465847#M28090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sywksms,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said that the input clock frequency of FLL must range from 31.25KHz to 39.0626KHz, because of discrete divider, the divider can be only 32, 64, 128, 256, 512, 1024, 1280, 1536, for 24MHz, 24MHz/512=46.875KHz, 24MHz/1024=23.4375Khz, obviously, none of the clock frequency locates at the range from 31.25~39.0625KHz.&lt;/P&gt;&lt;P&gt;I do not think there is any alternative, you have to change another crystal for example 8MHz or 10MHz. 8MHz/256=31.25KHz, 10MHz/256=39.0625KHz.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 03:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-and-24Mhz-external-crystal/m-p/465847#M28090</guid>
      <dc:creator>xiangjunrong</dc:creator>
      <dc:date>2016-04-25T03:09:32Z</dc:date>
    </item>
  </channel>
</rss>

