<?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 Re: USB driver &amp; Clock initialization ?K66 MCU in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607996#M6284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="274791" data-username="karthikas" href="https://community.nxp.com/people/karthikas"&gt;karthik AS&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current KSDK USB stack supports both high speed (EHCI) and full speed (KHCI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as the board is capable of both EHCI and KHCI, e.g. twrk65f180m, you can build the target for EHCI or KHCI.&lt;/P&gt;&lt;P&gt;These changes need to be modify by the corresponding macros defined in USB Stack Configuration, &lt;EM&gt;usb_device_config.h&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For full speed device&lt;STRONG&gt; KHCI&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;/*! @brief KHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_KHCI (&lt;STRONG&gt;1U&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/*! @brief EHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_EHCI (0U)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For high speed device&lt;STRONG&gt; EHCI&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;/*! @brief KHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_KHCI (0U)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/*! @brief EHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_EHCI (&lt;STRONG&gt;1U&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To your second question please refer to &lt;A href="https://community.nxp.com/thread/433379"&gt;How to set the clock of desired frequency?&lt;/A&gt; here was the same question discussed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 08:05:59 GMT</pubDate>
    <dc:creator>ivadorazinova</dc:creator>
    <dc:date>2016-09-21T08:05:59Z</dc:date>
    <item>
      <title>USB driver &amp; Clock initialization ?K66 MCU</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607995#M6283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with MK66 MCU with our own customized board .,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.) I am using&amp;nbsp;SDK_2.0_MK66FN2M0xxx18 &amp;nbsp;stack , In that stack they are using USB1 with high speed (USB-HS) , In our board I am using USB0 and running in full speed , Can anyone tell me what are the changes need to be change in stack to switch from USB1 to USB0 .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.) Can I generate core clock frequency (ex 180 MHZ) by using Internal clock resource without using external clock reference. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2016 12:37:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607995#M6283</guid>
      <dc:creator>karthikas</dc:creator>
      <dc:date>2016-09-10T12:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: USB driver &amp; Clock initialization ?K66 MCU</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607996#M6284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="274791" data-username="karthikas" href="https://community.nxp.com/people/karthikas"&gt;karthik AS&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current KSDK USB stack supports both high speed (EHCI) and full speed (KHCI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as the board is capable of both EHCI and KHCI, e.g. twrk65f180m, you can build the target for EHCI or KHCI.&lt;/P&gt;&lt;P&gt;These changes need to be modify by the corresponding macros defined in USB Stack Configuration, &lt;EM&gt;usb_device_config.h&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For full speed device&lt;STRONG&gt; KHCI&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;/*! @brief KHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_KHCI (&lt;STRONG&gt;1U&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/*! @brief EHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_EHCI (0U)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For high speed device&lt;STRONG&gt; EHCI&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;/*! @brief KHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_KHCI (0U)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/*! @brief EHCI instance count */&lt;/EM&gt;&lt;BR /&gt;#define USB_DEVICE_CONFIG_EHCI (&lt;STRONG&gt;1U&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To your second question please refer to &lt;A href="https://community.nxp.com/thread/433379"&gt;How to set the clock of desired frequency?&lt;/A&gt; here was the same question discussed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 08:05:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607996#M6284</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2016-09-21T08:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: USB driver &amp; Clock initialization ?K66 MCU</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607997#M6285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ivadorazinova"&gt;ivadorazinova&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The stack which I am using now is too large size, how can I build my own application by using stack.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 07:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607997#M6285</guid>
      <dc:creator>karthikas</dc:creator>
      <dc:date>2016-09-22T07:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: USB driver &amp; Clock initialization ?K66 MCU</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607998#M6286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="274791" data-username="karthikas" href="https://community.nxp.com/people/karthikas"&gt;karthik AS&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please what do you have for an issue?&amp;nbsp;What do you have for application? Do you use existing example as a template for your application?&lt;/P&gt;&lt;P&gt;Please refer to USB examples located at&lt;EM&gt; C:\Freescale\KSDK 2.0\SDK_2.0_MK66FN2M0xxx18\boards\frdmk66f\usb_examples&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 12:35:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607998#M6286</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2016-09-22T12:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: USB driver &amp; Clock initialization ?K66 MCU</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607999#M6287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some problem in USB driver. The device is not properly detecting, In PC its showing unknown device, also I tried to update driver but its not happening. I have checked the properties of unknown device it doesn't have any information like PID,VID etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have debug the code , I am getting reset interrupt, but not getting SOF(start of frame interrupt) instead i am getting port change interrupt,what's the mistake, Is there any changes has to be done in&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SDK_2.0_MK66FN2M0xxx18 stack.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;thank you..,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 06:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/USB-driver-Clock-initialization-K66-MCU/m-p/607999#M6287</guid>
      <dc:creator>karthikas</dc:creator>
      <dc:date>2016-09-27T06:20:15Z</dc:date>
    </item>
  </channel>
</rss>

