<?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のトピックFEI to FBI mode...mcg.c</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224900#M4298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am having problem with going from default FEI mode to FBI mode...I am using the "mcg.c" function to do this, but it always gives memory access error when it tries to write into MCG_C1 register to change CLKS bits...I didnt change the mcg.c, so I am curious why is this happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jul 2013 08:22:04 GMT</pubDate>
    <dc:creator>ivanrusnacko</dc:creator>
    <dc:date>2013-07-26T08:22:04Z</dc:date>
    <item>
      <title>FEI to FBI mode...mcg.c</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224900#M4298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am having problem with going from default FEI mode to FBI mode...I am using the "mcg.c" function to do this, but it always gives memory access error when it tries to write into MCG_C1 register to change CLKS bits...I didnt change the mcg.c, so I am curious why is this happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 08:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224900#M4298</guid>
      <dc:creator>ivanrusnacko</dc:creator>
      <dc:date>2013-07-26T08:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: FEI to FBI mode...mcg.c</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224901#M4299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you let me know which Kinetis product you are using? With that info,&amp;nbsp; I could find related Kinetis exmpale source and mcg driver, then I will test that driver on my side. Thank you for the understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Ma Hui &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 02:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224901#M4299</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-07-27T02:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: FEI to FBI mode...mcg.c</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224902#M4300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;kl05 and using slow irc(with fast irc it is ok)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jul 2013 06:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224902#M4300</guid>
      <dc:creator>ivanrusnacko</dc:creator>
      <dc:date>2013-07-27T06:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: FEI to FBI mode...mcg.c</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224903#M4301</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;I do a test with KL05 source code and could get MCG works in FBI (slow irc) with below code:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //test FBI mode with slow clock&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_CLKDIV1 = ( 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | SIM_CLKDIV1_OUTDIV1(0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | SIM_CLKDIV1_OUTDIV4(0) );&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mcg_clk_hz = fei_fbi(32768,SLOW_IRC);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clk_out_init();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1);&lt;/P&gt;&lt;P&gt;And I could measure the PTA15 pin with 32.768KHz clock output.&lt;BR /&gt;Please check below attached scope copy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KL05 CLKOUT Signal.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40139i4417341037AC6B77/image-size/large?v=v2&amp;amp;px=999" role="button" title="KL05 CLKOUT Signal.jpg" alt="KL05 CLKOUT Signal.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;For the system clock is 32.768KHz, which is too slow. At this situation, the debugger tool will lost connection.&lt;BR /&gt;Wish it helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 02:31:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FEI-to-FBI-mode-mcg-c/m-p/224903#M4301</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-07-31T02:31:36Z</dc:date>
    </item>
  </channel>
</rss>

