<?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のトピックUSB1 (USBHS) port does not work in custom design</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB1-USBHS-port-does-not-work-in-custom-design/m-p/733069#M44827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently got my first Kinetis microcontroller (MK66FX1M0VLQ18) PCB design&amp;nbsp;from the fab, soldered it, and it largely works — the serial port works fine, the USBFS port works fine, all LEDs work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing does not work, though: the USB1 (USBHS) port. When plugging in a known-working cable, I don’t see any reaction&amp;nbsp;on my Linux computer. The firmware I’m using is the frdmk66f_usb_examples_dev_composite_hid_mouse_hid_keyboard_bm SDK example, which I have modified to work with&amp;nbsp;the clocks I’m using.&amp;nbsp;The image works on the&amp;nbsp;Teensy 3.6,&amp;nbsp;which uses the same MCU and the same 16 MHz crystal. Hence, I’m reasonably certain the firmware is okay, and it’s most likely a hardware issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When reviewing my schematic, I already found one mistake: I&amp;nbsp;accidentally left&amp;nbsp;USB1_VSS floating. Could that explain the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also left USB1_VBUS unconnected, and I’m not sure whether that’s correct or not. I can’t find any hint in the datasheet about&amp;nbsp;whether it needs to be connected when using the USBHS port as a device, i.e. to connect my MCU to a computer. The datasheet only talks about device charging modes. Should&amp;nbsp;USB1_VBUS be connected in device mode, too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what about VREG_IN0 and VREG_IN1? Can they be left floating? I read in this forum that VREG_OUT should be connected to +3V3 when not using the internal regulator, so I did that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’d be thankful for any tips as to how to wire up the port in a known-working state. Perhaps someone has the FRDM-K66F schematic&amp;nbsp;so that I could have a look at&amp;nbsp;how they’re wiring up the ports?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here’s my schematic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2018-01-17-sch-export.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16148iAE39BAC06BC25033/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-01-17-sch-export.png" alt="2018-01-17-sch-export.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2018 20:09:47 GMT</pubDate>
    <dc:creator>michaelstapelbe</dc:creator>
    <dc:date>2018-01-17T20:09:47Z</dc:date>
    <item>
      <title>USB1 (USBHS) port does not work in custom design</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB1-USBHS-port-does-not-work-in-custom-design/m-p/733069#M44827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently got my first Kinetis microcontroller (MK66FX1M0VLQ18) PCB design&amp;nbsp;from the fab, soldered it, and it largely works — the serial port works fine, the USBFS port works fine, all LEDs work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing does not work, though: the USB1 (USBHS) port. When plugging in a known-working cable, I don’t see any reaction&amp;nbsp;on my Linux computer. The firmware I’m using is the frdmk66f_usb_examples_dev_composite_hid_mouse_hid_keyboard_bm SDK example, which I have modified to work with&amp;nbsp;the clocks I’m using.&amp;nbsp;The image works on the&amp;nbsp;Teensy 3.6,&amp;nbsp;which uses the same MCU and the same 16 MHz crystal. Hence, I’m reasonably certain the firmware is okay, and it’s most likely a hardware issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When reviewing my schematic, I already found one mistake: I&amp;nbsp;accidentally left&amp;nbsp;USB1_VSS floating. Could that explain the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also left USB1_VBUS unconnected, and I’m not sure whether that’s correct or not. I can’t find any hint in the datasheet about&amp;nbsp;whether it needs to be connected when using the USBHS port as a device, i.e. to connect my MCU to a computer. The datasheet only talks about device charging modes. Should&amp;nbsp;USB1_VBUS be connected in device mode, too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what about VREG_IN0 and VREG_IN1? Can they be left floating? I read in this forum that VREG_OUT should be connected to +3V3 when not using the internal regulator, so I did that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’d be thankful for any tips as to how to wire up the port in a known-working state. Perhaps someone has the FRDM-K66F schematic&amp;nbsp;so that I could have a look at&amp;nbsp;how they’re wiring up the ports?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here’s my schematic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2018-01-17-sch-export.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16148iAE39BAC06BC25033/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-01-17-sch-export.png" alt="2018-01-17-sch-export.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 20:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB1-USBHS-port-does-not-work-in-custom-design/m-p/733069#M44827</guid>
      <dc:creator>michaelstapelbe</dc:creator>
      <dc:date>2018-01-17T20:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: USB1 (USBHS) port does not work in custom design</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB1-USBHS-port-does-not-work-in-custom-design/m-p/733070#M44828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;You can download FRDM-K66F sch from &lt;A href="https://www.nxp.com/downloads/en/schematics/FRDM-K66F-SCH.pdf"&gt;https://www.nxp.com/downloads/en/schematics/FRDM-K66F-SCH.pdf&lt;/A&gt;&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;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 06:41:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB1-USBHS-port-does-not-work-in-custom-design/m-p/733070#M44828</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-01-23T06:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: USB1 (USBHS) port does not work in custom design</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB1-USBHS-port-does-not-work-in-custom-design/m-p/733071#M44829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out that yes, USB1_VBUS needs to be connected. You can find my known-working design at&amp;nbsp;&lt;A class="link-titled" href="https://github.com/kinx-project/mk66f-hw" title="https://github.com/kinx-project/mk66f-hw"&gt;GitHub - kinx-project/mk66f-hw: Hardware design files for the kinX keyboard controller&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 16:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB1-USBHS-port-does-not-work-in-custom-design/m-p/733071#M44829</guid>
      <dc:creator>michaelstapelbe</dc:creator>
      <dc:date>2018-04-17T16:29:40Z</dc:date>
    </item>
  </channel>
</rss>

