<?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 How to initialize MCG and USB without a crystal? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-initialize-MCG-and-USB-without-a-crystal/m-p/630433#M6709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm the lead developer of the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fultimatehackingkeyboard.com%2F" rel="nofollow" target="_blank"&gt;Ultimate Hacking Keyboard&lt;/A&gt; which is a split, Open Source keyboard.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far, I successfully ported &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FUltimateHackingKeyboard%2Ffirmware" rel="nofollow" target="_blank"&gt;our firmware&lt;/A&gt; from AVRs to FRDM boards, and now&amp;nbsp;I'd like to make it work on our custom PCBs.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given that the&amp;nbsp;IRC48MCLK is on board and capable of driving USB, I'd rather not use a crystal.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, the firmware of the right keyboard half which works on FRDM-K22F board doesn't work on the custom PCB of the right keyboard half, presumably because no crystal is featured on the board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Execution halts when&amp;nbsp;CLOCK_BootToPeeMode() gets called. Please consider the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FUltimateHackingKeyboard%2Ffirmware%2Fblob%2Fmaster%2Fright%2Finclude%2Fboard%2Fclock_config.c%23L225" rel="nofollow" target="_blank"&gt;relevant line&lt;/A&gt; on GitHub.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started to delve into the MCG and relevant topics, but it's rather overwhelming, and I have limited time to make it work, so I'm reaching out for help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I tweak to configure the MCG and USB to work without a crystal in RUN mode and use the&amp;nbsp;&lt;SPAN&gt;IRC48MCLK?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help is appreciated, and I'd be glad to pay to make this work, especially for a pull request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Laci&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 16:10:30 GMT</pubDate>
    <dc:creator>laszlomonda</dc:creator>
    <dc:date>2016-09-19T16:10:30Z</dc:date>
    <item>
      <title>How to initialize MCG and USB without a crystal?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-initialize-MCG-and-USB-without-a-crystal/m-p/630433#M6709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm the lead developer of the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fultimatehackingkeyboard.com%2F" rel="nofollow" target="_blank"&gt;Ultimate Hacking Keyboard&lt;/A&gt; which is a split, Open Source keyboard.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far, I successfully ported &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FUltimateHackingKeyboard%2Ffirmware" rel="nofollow" target="_blank"&gt;our firmware&lt;/A&gt; from AVRs to FRDM boards, and now&amp;nbsp;I'd like to make it work on our custom PCBs.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given that the&amp;nbsp;IRC48MCLK is on board and capable of driving USB, I'd rather not use a crystal.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, the firmware of the right keyboard half which works on FRDM-K22F board doesn't work on the custom PCB of the right keyboard half, presumably because no crystal is featured on the board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Execution halts when&amp;nbsp;CLOCK_BootToPeeMode() gets called. Please consider the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FUltimateHackingKeyboard%2Ffirmware%2Fblob%2Fmaster%2Fright%2Finclude%2Fboard%2Fclock_config.c%23L225" rel="nofollow" target="_blank"&gt;relevant line&lt;/A&gt; on GitHub.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started to delve into the MCG and relevant topics, but it's rather overwhelming, and I have limited time to make it work, so I'm reaching out for help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I tweak to configure the MCG and USB to work without a crystal in RUN mode and use the&amp;nbsp;&lt;SPAN&gt;IRC48MCLK?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help is appreciated, and I'd be glad to pay to make this work, especially for a pull request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Laci&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 16:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-initialize-MCG-and-USB-without-a-crystal/m-p/630433#M6709</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2016-09-19T16:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize MCG and USB without a crystal?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-initialize-MCG-and-USB-without-a-crystal/m-p/630434#M6710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the meantime, the issue has been &lt;A href="https://github.com/UltimateHackingKeyboard/firmware/commit/0df5cd596ee307e90c21f01993ae2fe96f82805d"&gt;solved&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 13:45:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-initialize-MCG-and-USB-without-a-crystal/m-p/630434#M6710</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2016-09-21T13:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize MCG and USB without a crystal?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-initialize-MCG-and-USB-without-a-crystal/m-p/630435#M6711</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;thank you for informing us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 16:08:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-to-initialize-MCG-and-USB-without-a-crystal/m-p/630435#M6711</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2016-09-21T16:08:19Z</dc:date>
    </item>
  </channel>
</rss>

