<?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 with MQX 4.2 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715340#M17602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I enabled the 48MHz internal reference clock in the BSP and everything started working. I don't know what I am doing wrong with the PLL but I got things working for now and it confirms my suspicion that this is a clocking issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2018 13:30:24 GMT</pubDate>
    <dc:creator>ryanlush</dc:creator>
    <dc:date>2018-05-30T13:30:24Z</dc:date>
    <item>
      <title>USB with MQX 4.2</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715334#M17596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a USB device project based on MQX 4.0 that I'm porting to MQX 4.2. Right off the bat the device fails the set address command. A search for&amp;nbsp; _usb_device_set_address yields 8 hits and I'm not hitting breakpoints on any of those calls. Where is the initial negotiations of device descriptors and so on? I also notice there is both a usb and usb_v2 directory in my MQX directory. What is the difference between the two? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715334#M17596</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2018-05-23T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: USB with MQX 4.2</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715335#M17597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, there are two usb stacks in MQX 4.2 package.&lt;/P&gt;&lt;P&gt;Freescale_MQX_4_2\usb :&amp;nbsp; this is a legacy usb stack, same as in MQX 4.1 or earlier versions. it supports some old kinetis chips.&lt;/P&gt;&lt;P&gt;Freescale_MQX_4_2\usb_v2 :&amp;nbsp; this is a completely new design, the usb stack is same as that in KSDK 1.3. it supports k22/k24/k64/k65/svf522&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2018 07:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715335#M17597</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-05-26T07:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: USB with MQX 4.2</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715336#M17598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark Butcher tells me the USB peripherals are nearly identical between K20 and K24. I already have code written for the legacy stuff. What’s the trick to get it to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sent from mobile device)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2018 14:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715336#M17598</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2018-05-26T14:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: USB with MQX 4.2</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715337#M17599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you refer to the two documents under the MQX installation folder, the two documents describes how to use the Freescale MQX USB stack.&lt;/P&gt;&lt;P&gt;Freescale MQX RTOS USB Device User's Guider and Freescale MQX RTOS USB Device API reference Manual&lt;/P&gt;&lt;P&gt;Freescale\Freescale_MQX_4_2\doc\usb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 06:48:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715337#M17599</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-05-28T06:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: USB with MQX 4.2</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715338#M17600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gee thanks... Why didn't I think of that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 12:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715338#M17600</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2018-05-29T12:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: USB with MQX 4.2</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715339#M17601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only interrupt I get is for the error bit. When I check the ERRSTAT register I see that the PIDERR bit is set. This is the only interrupt I get. I never get the TOKENDONE interrupt which is where most of the USB handling code is triggered. This feels like a clocking issue to me but I have run out of clock settings to check. What would prevent me from ever getting the TOKENDONE interrupt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should point out I have USB working in the bootloader so I don't think this is a hardware issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see anything in the documentation that tells me which stack to use with which processors and I am also told by NXP that there is no difference in the USB hardware between the K20 and the K24 with the exception of some crystal-less operation on the K24. All of that hardware is disabled as far as I can tell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 14:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715339#M17601</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2018-05-29T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: USB with MQX 4.2</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715340#M17602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I enabled the 48MHz internal reference clock in the BSP and everything started working. I don't know what I am doing wrong with the PLL but I got things working for now and it confirms my suspicion that this is a clocking issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 13:30:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-with-MQX-4-2/m-p/715340#M17602</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2018-05-30T13:30:24Z</dc:date>
    </item>
  </channel>
</rss>

