<?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のトピックRe: USB will not enumerate</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472656#M28643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I've found about 6 different ways to break enumeration with the FSL USB stack 4.1.1 on the MK22FN1M0VLH12 lately.&amp;nbsp; I'll see if I can remember some of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 was having the MPU in its default configuration.&amp;nbsp; This prevents the USB controller from accessing the BDT.&amp;nbsp; As a result, it doesn't know that the control endpoint is enabled and will never generate an ACK for the setup transaction.&amp;nbsp; Make sure you have the MPU set up to allow the controller access to RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think #2 was a crossbar switch setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#3 was caused by my bringing the Kinetis and Coldfire versions of the project into closer sync and in the processes getting the big-endian flag in the SOPT2 register wrong on the Coldfire version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll post others if I think of them, but check the memory protection unit and crossbar switch settings first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the USB DCI you can set a breakpoint where it receives SOF packets.&amp;nbsp; If you're getting SOF packets and the frame numbers match what you're seeing on the hardware protocol analyzer, the SIE is working properly and it's most likely a problem with access to the buffer descriptors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Dec 2015 21:52:34 GMT</pubDate>
    <dc:creator>scottm</dc:creator>
    <dc:date>2015-12-10T21:52:34Z</dc:date>
    <item>
      <title>USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472639#M28626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I managed to get the PLL up and running with external crystal, generating PLLclk = 48Mhz, which is feed to USB through MCGPLLCLK ( PLLFLLSEL = 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Core runs at 48Mhz, bus, flash and flexbus runs at 24Mhz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I have verified the frequencies on PTC3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;When I connect the USB cable the software makes transition som BLPE/VLPR -&amp;gt; RUN/PEE, after this is verified and done the USB starts up. But for some reason the computer will not recognize the device. If I plug into a win7 computer it said that it "failed to get device description".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;But if I break the software I can see that I do get a token from the computer with device descriptor request and it the protocol stack ( Freescale 4.1.1 ) breaks at the usb_descriptor.c file where it does get the descriptor, the protocol stack flags no errors.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Btw, I also tried running of IRC48, with same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Any idea why the computer won't recognize it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 12:41:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472639#M28626</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-09T12:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472640#M28627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is kinda a longshot, but I just tried to get the default USB project working in KDS with a FRDM-KL27z board, however (without changing anything) it would give &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;"failed to get device description". If I paused the processor, it had entered the default ISR handler (infinite loop) when trying to lock a mutex used for USB. I later found out that, by default, the KDS project has 0 heap space allocated, so the initial creation of the mutex would fail because it couldn't allocate any space for it. So your problem may be related to mutex locking/unlocking if it fails at the same point. &lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Also are you using &lt;A href="http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/8-bit-s08-5.5v-mcus/usb-stack:MEDICALUSB" title="http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/8-bit-s08-5.5v-mcus/usb-stack:MEDICALUSB"&gt;USB Stack|NXP&lt;/A&gt; ? It says it's been discontinued, but its probably the exact same thing as is bundled with KSDK anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 13:40:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472640#M28627</guid>
      <dc:creator>drojf</dc:creator>
      <dc:date>2015-12-09T13:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472641#M28628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No the software does not get stuck in any infitite loop, it runs "normally" when USB is connected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have heap allocated for other parts of the project, have tried to increate this as well without any success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using freeScale 4.1.1 stack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 16:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472641#M28628</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-09T16:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472642#M28629</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;What does your USB analyser show you being returned on the bus?&lt;/P&gt;&lt;P&gt;If the descriptor size is correct but its content is bad you probably need to configure FMC_PFAPR to give the USB controller access rights to flash memory (where the decriptors are probably resident). Probably the old USB stack that you are using is not device aware and so doesn't configure all things that are needed.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 21:01:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472642#M28629</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-09T21:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472643#M28630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try using a USB analyzer tomorrow when I get back in the office and let you know the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The descriptors are all initialized as const so they are located flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;FMC_PFAPR register, but this only says master1-7 etc, is there any overview where the different masters are selected ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 23:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472643#M28630</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-09T23:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472644#M28631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58951i4EACD82F6962E649/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 00:34:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472644#M28631</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-10T00:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472645#M28632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm also looking forward to you share the analysis result of the USB analyzer.&lt;/P&gt;&lt;P&gt;And I'd like to know which kind of the MCU you use.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 10 Dec 2015 02:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472645#M28632</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-12-10T02:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472646#M28633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default the Flash access was not enabled for USB ( Master 4 ), so I tried to enable read/write access and prefetching for master 4. Made no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next tried the USB analyzer ( USBLyzer ), when connecting the device it shows up here the same way as it does in windows ( missing device descriptor ). It also comes up with a warning that the driver has reported something wrong ( error code 43 ). Now this error-code is something that familiar, and normally has something to do with windows / drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there somewhere where I can download the appropriate drivers to use ? Right now I'm using the .inf file that came with the stack, should I use another one ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never imagined that getting the USB to work would be this difficult :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw. using MK22FN512VLL12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 09:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472646#M28633</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-10T09:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472647#M28634</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;For emumeration problems you will need a HW USB anaylser. If the enumeration is not good, no *.inf files will be involved yet.&lt;/P&gt;&lt;P&gt;Does the SW run on a reference board - enumerate successfuly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your board is compatible with either of the following, try running reference binaries:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/FRDM-K22F.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/FRDM-K22F.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K22F120M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K22F120M.html&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 12:08:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472647#M28634</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-10T12:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472648#M28635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okey, if problem does not go away I have to get a HW analyzer and see if that gives me any more information. Did not know the thing about .inf, so thanks for the info, nice to know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the same on the FRDM.22F with the same result..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downloaded the uTaskerSerialBoot and loaded this to FRDM-K22F and this worked just fine, plugged in the USB cable and everything loaded just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortenately I guess this means there is a software issue on my side causing the problems, and not windows/driver issues.. but what the problem is is still a very good question :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 12:19:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472648#M28635</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-10T12:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472649#M28636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there any USB stacks by Freescale that are "device aware" and handles the Mk22FN512VLL12 that will handle all the hardware setup ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 12:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472649#M28636</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-10T12:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472650#M28637</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;If you build your project so that it should operate on the FRDM-K22F board I can load it to mine (attach the binary to the thread) and tell you what the problem is. &lt;EM&gt;It may still be the crossbar switch settings in case you made a mistake setting it up, which will be visible immediately with my HW anayser.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget that the uTasker USB stack is HW independent and runs on all K, KL, Coldfires - it also allows you to simulate USB, the board and your project in case you would like to accelerate project developments and achieve more optimum performance.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 12:31:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472650#M28637</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-10T12:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472651#M28638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try go get the software compatible with the FDRM-K22F board and attach the binaries, there is some work to get it compatible, so probabaly won't be ready today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of crossbar switch settings are necessary ? I thought no configuration of this was required ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 12:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472651#M28638</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-10T12:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472652#M28639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;What kind of crossbar switch settings are necessary ? I thought no configuration of this was required ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setting the crossbar master's access rights, as you have aready tried.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 13:12:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472652#M28639</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-10T13:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472653#M28640</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;Attached is a K22 serial USB-MSD loader version that uses exclusively the IRC48M for processor and USB control. This means that it should run on any HW with the 512k Flash/128k RAM chip part (no external clock speed dependencies) and allow you to check that your own HW is OK.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 13:32:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472653#M28640</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-10T13:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472654#M28641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah the settings were in the FMC registers so was fixed on flash controller, not crossbar switch :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is the file ? I cannot see it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 14:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472654#M28641</guid>
      <dc:creator>aune</dc:creator>
      <dc:date>2015-12-10T14:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472655#M28642</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 should see the file attached in the post as long as you are logged in - if you don't you may be using an incompatible browser or have some other problem.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22056i4F97D9631912E250/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can also download it from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.uTasker.com/temp/uTaskerSerialBoot_FRDM-K22-USB-MSD-48M.bin" rel="nofollow"&gt;http://www.uTasker.com/temp/uTaskerSerialBoot_FRDM-K22-USB-MSD-48M.bin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up for the 48MHz clock for everything:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22014iBA18F1B3A5CFC816/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 14:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472655#M28642</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-10T14:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472656#M28643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I've found about 6 different ways to break enumeration with the FSL USB stack 4.1.1 on the MK22FN1M0VLH12 lately.&amp;nbsp; I'll see if I can remember some of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#1 was having the MPU in its default configuration.&amp;nbsp; This prevents the USB controller from accessing the BDT.&amp;nbsp; As a result, it doesn't know that the control endpoint is enabled and will never generate an ACK for the setup transaction.&amp;nbsp; Make sure you have the MPU set up to allow the controller access to RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think #2 was a crossbar switch setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#3 was caused by my bringing the Kinetis and Coldfire versions of the project into closer sync and in the processes getting the big-endian flag in the SOPT2 register wrong on the Coldfire version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll post others if I think of them, but check the memory protection unit and crossbar switch settings first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the USB DCI you can set a breakpoint where it receives SOF packets.&amp;nbsp; If you're getting SOF packets and the frame numbers match what you're seeing on the hardware protocol analyzer, the SIE is working properly and it's most likely a problem with access to the buffer descriptors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 21:52:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472656#M28643</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2015-12-10T21:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472657#M28644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#4 was switching from the Processor Expert version of the stack (which doesn't support delayed processing) to the full version and not getting the USB clock initialization right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#5 was trying to access a USB register before the peripheral clock gate was enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my init now, for a 120 MHz PLL (taken from the PE init):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void usb_init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIM_SOPT2 |= SIM_SOPT2_USBSRC_MASK;&amp;nbsp; /* Divided PllFll clock */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIM_CLKDIV2 = (uint32_t)((SIM_CLKDIV2 &amp;amp; (uint32_t)~(uint32_t)(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_CLKDIV2_USBDIV(0x03)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )) | (uint32_t)(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_CLKDIV2_USBDIV(0x04) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIM_CLKDIV2_USBFRAC_MASK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ));&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Div=5 - Mult=2&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Enable module clock */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* SIM_SCGC4: USBOTG=1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIM_SCGC4 |= SIM_SCGC4_USBOTG_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Reset module */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* USB0_USBTRC0: USBRESET=1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; USB0_USBTRC0 = USB_USBTRC0_USBRESET_MASK; /* Reset module */&lt;/P&gt;&lt;P&gt;&amp;nbsp; while (USB_PDD_GetModuleResetPendingFlag(USB0_BASE_PTR)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; /* Wait for reset done */&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Enable USB voltage regulator */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* SIM_SOPT1: ??=1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIM_SOPT1 |= 0x80U;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable USB voltage regulator */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* USB0_USBTRC0: ??=1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; USB0_USBTRC0 = 0x40U;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable internal pull-up */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* USB0_USBCTRL: SUSP=1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; USB0_USBCTRL = (USB_USBCTRL_SUSP_MASK | USB_USBCTRL_PDE_MASK); /* Disable weak pull-downs and suspend transceiver */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* USB0_OTGCTL: DPHIGH=0,??=0,DPLOW=0,DMLOW=0,??=0,OTGEN=1,??=0,??=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; USB0_OTGCTL = USB_OTGCTL_OTGEN_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // BDTPAGE set in DCI&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And from the PE CPU init, here's the MPU and AXBS setup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* SIM_SCGC7: MPU=1 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIM_SCGC7 |= SIM_SCGC7_MPU_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialization of the MPU module */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* MPU_CESR: SPERR=0,VLD=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; MPU_CESR &amp;amp;= (uint32_t)~(uint32_t)((MPU_CESR_SPERR(0x1F) | MPU_CESR_VLD_MASK));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialization of the AXBS module */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_PRS0: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,M5=4,??=0,M4=3,??=0,??=0,??=0,??=0,??=0,M2=2,??=0,M1=1,??=0,M0=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_PRS0 = AXBS_PRS_M5(0x04) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M4(0x03) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M2(0x02) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M1(0x01) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M0(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_PRS1: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,M5=4,??=0,M4=3,??=0,??=0,??=0,??=0,??=0,M2=2,??=0,M1=1,??=0,M0=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_PRS1 = AXBS_PRS_M5(0x04) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M4(0x03) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M2(0x02) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M1(0x01) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M0(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_PRS2: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,M5=4,??=0,M4=3,??=0,??=0,??=0,??=0,??=0,M2=2,??=0,M1=1,??=0,M0=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_PRS2 = AXBS_PRS_M5(0x04) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M4(0x03) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M2(0x02) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M1(0x01) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M0(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_PRS3: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,M5=4,??=0,M4=3,??=0,??=0,??=0,??=0,??=0,M2=2,??=0,M1=1,??=0,M0=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_PRS3 = AXBS_PRS_M5(0x04) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M4(0x03) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M2(0x02) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M1(0x01) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M0(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_PRS4: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,M5=4,??=0,M4=3,??=0,??=0,??=0,??=0,??=0,M2=2,??=0,M1=1,??=0,M0=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_PRS4 = AXBS_PRS_M5(0x04) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M4(0x03) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M2(0x02) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M1(0x01) |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AXBS_PRS_M0(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_CRS0: RO=0,HLP=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,ARB=0,??=0,??=0,PCTL=0,??=0,PARK=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_CRS0 = (AXBS_CRS_ARB(0x00) | AXBS_CRS_PCTL(0x00) | AXBS_CRS_PARK(0x00));&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_CRS1: RO=0,HLP=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,ARB=0,??=0,??=0,PCTL=0,??=0,PARK=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_CRS1 = (AXBS_CRS_ARB(0x00) | AXBS_CRS_PCTL(0x00) | AXBS_CRS_PARK(0x00));&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_CRS2: RO=0,HLP=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,ARB=0,??=0,??=0,PCTL=0,??=0,PARK=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_CRS2 = (AXBS_CRS_ARB(0x00) | AXBS_CRS_PCTL(0x00) | AXBS_CRS_PARK(0x00));&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_CRS3: RO=0,HLP=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,ARB=0,??=0,??=0,PCTL=0,??=0,PARK=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_CRS3 = (AXBS_CRS_ARB(0x00) | AXBS_CRS_PCTL(0x00) | AXBS_CRS_PARK(0x00));&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_CRS4: RO=0,HLP=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,ARB=0,??=0,??=0,PCTL=0,??=0,PARK=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_CRS4 = (AXBS_CRS_ARB(0x00) | AXBS_CRS_PCTL(0x00) | AXBS_CRS_PARK(0x00));&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_MGPCR0: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,AULB=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_MGPCR0 = AXBS_MGPCR0_AULB(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_MGPCR1: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,AULB=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_MGPCR1 = AXBS_MGPCR1_AULB(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_MGPCR2: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,AULB=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_MGPCR2 = AXBS_MGPCR2_AULB(0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* AXBS_MGPCR4: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,AULB=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; AXBS_MGPCR4 = AXBS_MGPCR4_AULB(0x00);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 22:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472657#M28644</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2015-12-10T22:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: USB will not enumerate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472658#M28645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The USB stack 4.1.1 doesn't provide the corresponding demo for the K22_120, so I'd highly recommend you to download the KSDK 1.3 through the link as below.&lt;/P&gt;&lt;P&gt;The KSDK 1.3 contains the updated USB stack, and it also includes the USB demo for the K22_120 which reside in the ~\KSDK_1.3.0\examples\frdmk22f\demo_apps\usb.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?code=KINETIS-SDK&amp;amp;nodeId=0152109D3F1E8C1EF7" title="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?code=KINETIS-SDK&amp;amp;nodeId=0152109D3F1E8C1EF7"&gt;Software Development Kit for Kinetis MCUs|NXP&lt;/A&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Fri, 11 Dec 2015 01:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-will-not-enumerate/m-p/472658#M28645</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-12-11T01:22:30Z</dc:date>
    </item>
  </channel>
</rss>

