<?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 IN MQX USB DEVICE STACK VBUS INTERRUPT HANDLLING in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/IN-MQX-USB-DEVICE-STACK-VBUS-INTERRUPT-HANDLLING/m-p/308700#M9908</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;I am using the mqx usb device stack for my usb application, I have used on chip usb otg controller and have connected the Vbus pin to IRQ6 pin of processor mcf54418 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have initialized the ISR&amp;nbsp; for IRQ6 pin and on plugging in the USB connector, I get the VBUS interrupt and control goes to the ISR function as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, how to indicate this to the processor that a valid VBUS is available ? What bits in which register needs to be changed for this ?&lt;/P&gt;&lt;P&gt;After this, I suppose that I need to pull up the D+ pin so that the Host can send the reset signal and begin enumaration process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;Panks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 07:49:22 GMT</pubDate>
    <dc:creator>panks</dc:creator>
    <dc:date>2014-04-02T07:49:22Z</dc:date>
    <item>
      <title>IN MQX USB DEVICE STACK VBUS INTERRUPT HANDLLING</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/IN-MQX-USB-DEVICE-STACK-VBUS-INTERRUPT-HANDLLING/m-p/308700#M9908</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;I am using the mqx usb device stack for my usb application, I have used on chip usb otg controller and have connected the Vbus pin to IRQ6 pin of processor mcf54418 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have initialized the ISR&amp;nbsp; for IRQ6 pin and on plugging in the USB connector, I get the VBUS interrupt and control goes to the ISR function as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, how to indicate this to the processor that a valid VBUS is available ? What bits in which register needs to be changed for this ?&lt;/P&gt;&lt;P&gt;After this, I suppose that I need to pull up the D+ pin so that the Host can send the reset signal and begin enumaration process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;Panks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 07:49:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/IN-MQX-USB-DEVICE-STACK-VBUS-INTERRUPT-HANDLLING/m-p/308700#M9908</guid>
      <dc:creator>panks</dc:creator>
      <dc:date>2014-04-02T07:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: IN MQX USB DEVICE STACK VBUS INTERRUPT HANDLLING</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/IN-MQX-USB-DEVICE-STACK-VBUS-INTERRUPT-HANDLLING/m-p/308701#M9909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj Kharche,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry but I am a little bit confused with your attempt, actually MQX USB DEVICE stack has provided APIs to initialize the USB controller, and I think you may use Event to inform the processor (main task) regarding the Vbus availability . after the main task gets that event, _usb_device_init() can be used to initialize the USB Device controller. Please kindly refer to the following for more details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43550i38362C956CB17F95/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43551iA27D000BFB4ACFDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43552i8B1A5F0278D2C5DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&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;-----------------------------------------------------------------------------------------------------------------------&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 Apr 2014 05:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/IN-MQX-USB-DEVICE-STACK-VBUS-INTERRUPT-HANDLLING/m-p/308701#M9909</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2014-04-10T05:32:23Z</dc:date>
    </item>
  </channel>
</rss>

