<?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 USB High speed problem K20 120 MHz in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-High-speed-problem-K20-120-MHz/m-p/304925#M12915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using kinetis k20 microcontroler to run example code high speed hid device of K70 from Freescalw usb stack v4.1.1. I have changed the header files and removed some errors when i connect the usb with the pc it says enumeration failed and when i run it in debug mode it is constantly in interrupt service routine of usbhs. in isr i read USBHS_USBSTS register and it gives 0x01C4.&lt;/P&gt;&lt;P&gt;can anybody tell me why it is in interupt service routine constantly?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 May 2014 10:18:28 GMT</pubDate>
    <dc:creator>kamransial</dc:creator>
    <dc:date>2014-05-24T10:18:28Z</dc:date>
    <item>
      <title>USB High speed problem K20 120 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-High-speed-problem-K20-120-MHz/m-p/304925#M12915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using kinetis k20 microcontroler to run example code high speed hid device of K70 from Freescalw usb stack v4.1.1. I have changed the header files and removed some errors when i connect the usb with the pc it says enumeration failed and when i run it in debug mode it is constantly in interrupt service routine of usbhs. in isr i read USBHS_USBSTS register and it gives 0x01C4.&lt;/P&gt;&lt;P&gt;can anybody tell me why it is in interupt service routine constantly?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 10:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-High-speed-problem-K20-120-MHz/m-p/304925#M12915</guid>
      <dc:creator>kamransial</dc:creator>
      <dc:date>2014-05-24T10:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: USB High speed problem K20 120 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-High-speed-problem-K20-120-MHz/m-p/304926#M12916</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;You need to check which of the interrupts are enabled by looking in &lt;STRONG&gt;USBHS_USBINTR&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;USBHS_USBINTR &amp;amp; USBHS_USBSTS&lt;/STRONG&gt; will then show which interrupt is pending.&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;EM&gt;P.S. Possibly the SOF interrupt is enabled which would cause an interrupt every 125us and look like it is constanly present if stepping the IRQ routine with a debugger; it is virtually impossible to use a debugger with USB device (especially in the enumeration phase) since even very short periods where the device doesn't respond as the host expects will cause failure.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2014 17:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-High-speed-problem-K20-120-MHz/m-p/304926#M12916</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-05-24T17:16:26Z</dc:date>
    </item>
  </channel>
</rss>

