<?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: Crystal-less USB operation on Kinetis FRDM64F platform with IRC48M.</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327064#M15083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt;配置MCG为BLPE模式，主频48MHZ，配置成功！&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 01:08:07 GMT</pubDate>
    <dc:creator>qingjunwang</dc:creator>
    <dc:date>2014-09-24T01:08:07Z</dc:date>
    <item>
      <title>Crystal-less USB operation on Kinetis FRDM64F platform with IRC48M.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327060#M15079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi，I try to start MQX 4.1.1 on FRDM64F platform with IRC48M. According to the AN4905 documentation,do the relevant configuration. but each time OS is stopped in PBE mode, wait until external reference clock is selected as MCG output. I am very upset, please expert help, thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;According to document, I use PE to do the configuration, But still not solve the problem.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PE configuration as follows:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14939_14939.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119963iF9D0FC7F50CA4630/image-size/large?v=v2&amp;amp;px=999" role="button" title="14939_14939.png" alt="14939_14939.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="css0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46047i21CAB2BB08BC5B0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="css0.png" alt="css0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14940_14940.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119964i57196561263F0000/image-size/large?v=v2&amp;amp;px=999" role="button" title="14940_14940.png" alt="14940_14940.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="css1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46048i1D2144047B039ADF/image-size/large?v=v2&amp;amp;px=999" role="button" title="css1.png" alt="css1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14941_14941.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119965i3CAADDF24D826412/image-size/large?v=v2&amp;amp;px=999" role="button" title="14941_14941.png" alt="14941_14941.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cc0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46049i9D15C293DF60598D/image-size/large?v=v2&amp;amp;px=999" role="button" title="cc0.png" alt="cc0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14942_14942.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119966i6E14BF894C696E0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="14942_14942.png" alt="14942_14942.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cc1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46050i6934254FD37C5DD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="cc1.png" alt="cc1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14943_14943.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119967i3CD1117930368179/image-size/large?v=v2&amp;amp;px=999" role="button" title="14943_14943.png" alt="14943_14943.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cc2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46051i270C90EC2674B81D/image-size/large?v=v2&amp;amp;px=999" role="button" title="cc2.png" alt="cc2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Add the following content in the _bsp_initialize_hardware(void) functions:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/* SIM_CLKDIV2:USBDIV = 0, USBFRAC = 0*/&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SIM_CLKDIV2 = (uint32_t)0x0UL;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/* Configure USB to be clocked from IRC 48MHZ */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SIM_SOPT2_REG(SIM_BASE_PTR) |= SIM_SOPT2_USBSRC_MASK | SIM_SOPT2_PLLFLLSEL(3);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/*Enable USB-OTG IP clocking */&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SIM_SCGC4_REG(SIM_BASE_PTR) |= SIM_SCGC4_USBOTG_MASK;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/* Enable IRC48MHZ for USB module*/&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USB0_CLK_RECOVER_IRC_EN = 0x03;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/* MCG_C7: OSCSEL = 10*/&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MCG_C7 |= 0x2u;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/* USB_CLK_RECOVER_CTRL: CLOCK_RECOVER_EN = 1*/&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USB0_CLK_RECOVER_CTRL |= ( 1UL &amp;lt;&amp;lt; 7);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The problem is OS stay on the PBE patterns, wait until external reference clock is selected as MCG output or wait until PLL is locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 08:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327060#M15079</guid>
      <dc:creator>qingjunwang</dc:creator>
      <dc:date>2014-09-18T08:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal-less USB operation on Kinetis FRDM64F platform with IRC48M.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327061#M15080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Quinjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am no Processor Expert, but please look at the attached system_MK64F12.c file.&amp;nbsp; I do bare board programming and KDS places this file in the startup folder to initialize the clocks.&amp;nbsp; It should help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John Baker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 14:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327061#M15080</guid>
      <dc:creator>johnbaker</dc:creator>
      <dc:date>2014-09-18T14:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal-less USB operation on Kinetis FRDM64F platform with IRC48M.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327062#M15081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John Baker!&lt;/P&gt;&lt;P&gt;I use system_MK64F12.c debug bare board program, stop in exception hardfault.&lt;/P&gt;&lt;P&gt;I doubt MK64F cannot work without external crystals and only IRC48M cases. The official did not provide a demo program with IRC48M on K64,K63 or K24 family devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Qingjun Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 02:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327062#M15081</guid>
      <dc:creator>qingjunwang</dc:creator>
      <dc:date>2014-09-20T02:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal-less USB operation on Kinetis FRDM64F platform with IRC48M.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327063#M15082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hope the freescale official providing the demo for K64 without external crystals on the crystal-less USB operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 07:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327063#M15082</guid>
      <dc:creator>fengzengyan</dc:creator>
      <dc:date>2014-09-22T07:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal-less USB operation on Kinetis FRDM64F platform with IRC48M.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327064#M15083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #edf8ca;"&gt;配置MCG为BLPE模式，主频48MHZ，配置成功！&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 01:08:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327064#M15083</guid>
      <dc:creator>qingjunwang</dc:creator>
      <dc:date>2014-09-24T01:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Crystal-less USB operation on Kinetis FRDM64F platform with IRC48M.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327065#M15084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is good!&amp;nbsp; Congratulation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 11:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Crystal-less-USB-operation-on-Kinetis-FRDM64F-platform-with/m-p/327065#M15084</guid>
      <dc:creator>johnbaker</dc:creator>
      <dc:date>2014-09-24T11:15:28Z</dc:date>
    </item>
  </channel>
</rss>

