<?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: MKL27Z256 USB connection in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396207#M21802</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;When plugged into a Windows machine it does not enumerate. I tried with a PCB I have flash with firmware, and a PCB that has a new chip on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I measured the D+/D- pins, and I have 3v and 0v respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some demo code I can flash with LPUART, and see if that works? i'm going to download the SDK now, and try find some.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, any help appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2015 12:08:43 GMT</pubDate>
    <dc:creator>joeygouly</dc:creator>
    <dc:date>2015-09-21T12:08:43Z</dc:date>
    <item>
      <title>MKL27Z256 USB connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396205#M21800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I designed and made a PCB based on the MKL27Z256, unfortunately I'm having trouble with USB.&lt;/P&gt;&lt;P&gt;I think there might be something wrong with the USB connection, since when I plug it in it, the ROM bootloader should start, doesn't show up in dmesg as a USB device.&lt;/P&gt;&lt;P&gt;I have the ROM bootloader working with LPUART, but I want to get it working with USB to make sure that the USB connection is functional before trying to get my own USB stack working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I actually designed this for a MKL26Z256 part, but changed it at the last moment, but I think the USB parts are identical between the two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schematic:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="4A2BZae.png" class="image-1 jive-image" src="http://i.imgur.com/4A2BZae.png" style="width: 620px; height: 439px;" /&gt;&lt;/P&gt;&lt;P&gt;PCB routing part:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="6jlsSYl.png" class="image-2 jive-image" src="http://i.imgur.com/6jlsSYl.png" style="width: 620px; height: 527px;" /&gt;&lt;/P&gt;&lt;P&gt;I picked a "bad" usb connector that meant I had to swap the DM &amp;amp; DP pins with a via.. but since the traces are quite short I hoped it wouldn't be an issue. On the next revision, I'm definitely going to fix that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried testing the USB data lines with a multimeter and things seem ok. VBUS is also working, since I'm using it to power the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just looking for some help on what might be wrong, and why the ROM bootloader wouldn't start over USB. I'm not actually sure *if* I should be seeing something in dmesg on Linux (I also have a Windows machine I can try, but not sure what I should see there either)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joey&lt;/P&gt;&lt;P&gt;ps. I have a couple of assembled boards, so might try the others, to see if this is just a bad one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 23:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396205#M21800</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-09-20T23:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: MKL27Z256 USB connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396206#M21801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joey Gouly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sch should be fine, but have you tried your board with a windows PC? If successfully enumerated , you may see it in the device manager. Please kindly let me know if the problem is still there.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale Technical Support&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 07:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396206#M21801</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-09-21T07:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: MKL27Z256 USB connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396207#M21802</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;When plugged into a Windows machine it does not enumerate. I tried with a PCB I have flash with firmware, and a PCB that has a new chip on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I measured the D+/D- pins, and I have 3v and 0v respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some demo code I can flash with LPUART, and see if that works? i'm going to download the SDK now, and try find some.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, any help appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 12:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396207#M21802</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-09-21T12:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: MKL27Z256 USB connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396208#M21803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another thing, is FSL_Kinetis_Bootloader_1_2_0.zip meant to contain the code that is in ROM of the MKL27Z?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;src/usb_stack/usb_core/device/sources/bsp/mk64f120m/usb_dev_bsp.c&lt;/P&gt;&lt;P&gt;116:&amp;nbsp;&amp;nbsp;&amp;nbsp; USB0_CLK_RECOVER_IRC_EN = 0x03;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't look like code that would be on the MKL27Z (mk64f120m, dunno what that is?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, is the code in ROM available for download somewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 12:30:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396208#M21803</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-09-21T12:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: MKL27Z256 USB connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396209#M21804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out the USB cable was the issue.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 20:04:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL27Z256-USB-connection/m-p/396209#M21804</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2015-09-21T20:04:37Z</dc:date>
    </item>
  </channel>
</rss>

