<?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のトピックRe: K70 CLK set to 2Mhz make the system  hang</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899284#M52975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the inputs, After analyzing HW design, there is a change in TWR-K70F120M reference board and in our customized board&lt;/P&gt;&lt;P&gt;1) our board using&amp;nbsp;K70P256M150SF3RM -150 Mhz&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) TWR-K70F120M using 50 MHz&amp;nbsp; in PTA18/EXTAL; our board using 20 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above HW changes, I am not sure what all the registers has to be modified, there is no problem when it running on 150 Mhz but with 2Mhz it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect the Reference clock divider, it is in many register (MCG_C1, MCG_C11, MCG_C12 ... etc) can some one please let me know this could be a problem?, if yes how to configure the proper divider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2019 07:23:22 GMT</pubDate>
    <dc:creator>lourdu_xavier</dc:creator>
    <dc:date>2019-05-24T07:23:22Z</dc:date>
    <item>
      <title>K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899278#M52969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;MK70FN1M0VMJ15, I could set the CLK to 150Mhz and 12Mhz using&amp;nbsp;_lpm_set_clock_configuration() but when I set to 2Mhz system&amp;nbsp;got hang (not responding), code flow went to&amp;nbsp;Cpu_SetClockConfiguration() -&amp;gt;&amp;nbsp;&amp;nbsp;Cpu_SetMCG(1U);&amp;nbsp;&lt;/P&gt;&lt;P&gt;in&amp;nbsp;Cpu_SetMCG() 1st it&amp;nbsp;executed&amp;nbsp;Cpu_SetMCGModePBE then it executed the&amp;nbsp;Cpu_SetMCGModeFBE() immediately it got hanged in there. i am not sure what happens. Can anyone help me to fix this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 12:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899278#M52969</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-05-02T12:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899279#M52970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Would you please give more information about your project? For example, the IDE, RTOS, hardware config? It would be better if you can attach a project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 May 2019 06:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899279#M52970</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-05-05T06:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899280#M52971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using customize board using &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MK70FN1M0VMJ15&amp;nbsp;&lt;/SPAN&gt;with MQX 4.2, external OSC&amp;nbsp;ABS07-32.768KHZ-T. it has Ethernet port and few other peripherals connected.&lt;/P&gt;&lt;P&gt;Device working fine with 150 and 12 Mhz, Wait mode is successful, interrupts&amp;nbsp;works&amp;nbsp;for the key pad. now I am trying to get the device to Sleep mode to save power when unused, for that first I set to 2Mhz and set the mode as Sleep after that device not responding to any key press. Debugging shows the 2Mhz CLK setting is not successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any other info required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 06:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899280#M52971</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-05-06T06:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899281#M52972</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;It looks like you are attempting to use the PLL with the 2MHz IRC but this is not possible since it is neither routed to the PLL input, nor would it be in the valued frequency range for the PLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the following for a more practical overview of MCG and its usage: &lt;A href="http://www.utasker.com/kinetis/MCG.html" target="test_blank"&gt;http://www.utasker.com/kinetis/MCG.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Complete Kinetis solutions solutions for professional needs, training and support: &lt;A href="http://www.utasker.com/kinetis.html" target="test_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Kinetis K70:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/TWR-K70F120M.html" target="test_blank"&gt;http://www.utasker.com/kinetis/TWR-K70F120M.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/EMCRAFT_K70F120M.html" target="test_blank"&gt;http://www.utasker.com/kinetis/EMCRAFT_K70F120M.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 07:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899281#M52972</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-05-06T07:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899282#M52973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, since you only use 32.768k crystal, you must use FLL to generate high frequency. But FLL's max ouput frequency is 96MHz. And fast IRC clock can't input to PLL. Please check to the RM and DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 08:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899282#M52973</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-05-07T08:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899283#M52974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all, I am checking the clock configuration I will update after&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 09:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899283#M52974</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-05-07T09:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899284#M52975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the inputs, After analyzing HW design, there is a change in TWR-K70F120M reference board and in our customized board&lt;/P&gt;&lt;P&gt;1) our board using&amp;nbsp;K70P256M150SF3RM -150 Mhz&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) TWR-K70F120M using 50 MHz&amp;nbsp; in PTA18/EXTAL; our board using 20 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above HW changes, I am not sure what all the registers has to be modified, there is no problem when it running on 150 Mhz but with 2Mhz it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect the Reference clock divider, it is in many register (MCG_C1, MCG_C11, MCG_C12 ... etc) can some one please let me know this could be a problem?, if yes how to configure the proper divider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 07:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899284#M52975</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-05-24T07:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899285#M52976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1) if external clock change from 50M to 20M. You should modify CPU_XTAL_CLK_HZ in bsp_cm.h.&lt;/P&gt;&lt;P&gt;2) Did you try lowpower demo in MQX package? It change frequency to 2M and end VLPR mode.&lt;/P&gt;&lt;P&gt;3) there is a KINETIS_120MHZ_SC package in NXP website. It's driver mcg.c has the same function. You can compare to your case and test on it.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 10:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899285#M52976</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-05-28T10:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899286#M52977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After spending long time, I made the sample (tower board) code works on our custom board, found that the sample project works fine    entering 2Mhz and wait mode and coming out for a keypress . However the project what we created not working, I replace the .c file from sample code to our project it is not working. If I add the sample project to our workspace all working happily. &amp;nbsp;It shows no issue with the board or bsp and psp projects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There could be a problem with the project we are using, I am not sure what setting could create the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: sample code may build with hardfp, &amp;nbsp;&amp;nbsp;if required make change in project setting and in cross ARM Linked change the link path to “softfp” (in my case all other project are built with softfp so I have to change the sample code to work with my other projects)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/lib/gcc/arm-none-eabi/4.8.4/armv7e-m/softfp/libgcc.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/softfp/libc.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/softfp/libsupc++.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/softfp/libm.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/softfp/libnosys.a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 05:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899286#M52977</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-07-01T05:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: K70 CLK set to 2Mhz make the system  hang</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899287#M52978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally I found the root-cause for the&amp;nbsp; issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are running the code from DDR ram, once we enter the 2Mhz, DDR is not working. making the system not responsive, if i used the internal ram all&amp;nbsp;works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;our full code is big to run from internal ram, looking for a solution now.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 10:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-CLK-set-to-2Mhz-make-the-system-hang/m-p/899287#M52978</guid>
      <dc:creator>lourdu_xavier</dc:creator>
      <dc:date>2019-07-04T10:44:44Z</dc:date>
    </item>
  </channel>
</rss>

