<?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 Detach in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-Detach/m-p/323436#M10308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, the HID class does not have the same function.&amp;nbsp; I added one, but it does not do what I needed.&amp;nbsp; Instead, I have put the USB peripheral into standby and controlled the pull-ups manually.&amp;nbsp; Removing the D+ pullup, using the OTGCTL register, causes the device to detach through a software means.&amp;nbsp; It can be recovered by just putting the pull-up control back and re-enabling the peripheral (plus plugging in the cable).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 18:05:25 GMT</pubDate>
    <dc:creator>jmag99</dc:creator>
    <dc:date>2014-07-24T18:05:25Z</dc:date>
    <item>
      <title>USB Detach</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-Detach/m-p/323434#M10306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the MQX USB device stack.&amp;nbsp; I am wondering if there is a way to force the usb connection to detach and shut down until the user unplugs and re-plugs the USB cable to the device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 13:55:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-Detach/m-p/323434#M10306</guid>
      <dc:creator>jmag99</dc:creator>
      <dc:date>2014-07-22T13:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: USB Detach</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-Detach/m-p/323435#M10307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding: 0 0 1.0pt 0;"&gt;Hi,&lt;/P&gt;&lt;P style="padding: 0 0 1.0pt 0;"&gt;&lt;/P&gt;&lt;P style="padding: 0 0 1.0pt 0;"&gt;If you want to reset the USB interface (resulting in a detach event), you could use the following functions (considering the CDC example):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;USB_Class_CDC_DeInit --&amp;gt; for de-initialize the USB CDC (disappears from Device Manager). &lt;/LI&gt;&lt;LI&gt;USB_Class_CDC_Init --&amp;gt; for re-initialize the USB CDC (appears again on Device Manager).&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding: 0 0 1.0pt 0;"&gt;&lt;/P&gt;&lt;P style="padding: 0 0 1.0pt 0;"&gt;Hope this will be useful for you.&lt;/P&gt;&lt;P style="padding: 0 0 1.0pt 0;"&gt;Best regards!&lt;/P&gt;&lt;P style="padding: 0 0 1.0pt 0;"&gt;/Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 23:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-Detach/m-p/323435#M10307</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2014-07-23T23:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB Detach</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-Detach/m-p/323436#M10308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, the HID class does not have the same function.&amp;nbsp; I added one, but it does not do what I needed.&amp;nbsp; Instead, I have put the USB peripheral into standby and controlled the pull-ups manually.&amp;nbsp; Removing the D+ pullup, using the OTGCTL register, causes the device to detach through a software means.&amp;nbsp; It can be recovered by just putting the pull-up control back and re-enabling the peripheral (plus plugging in the cable).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 18:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-Detach/m-p/323436#M10308</guid>
      <dc:creator>jmag99</dc:creator>
      <dc:date>2014-07-24T18:05:25Z</dc:date>
    </item>
  </channel>
</rss>

