<?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>i.MX Processors中的主题 Disable wakeup from usb for iMX51</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Disable-wakeup-from-usb-for-iMX51/m-p/190821#M9595</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;WinCE600R3 + iMX51.&lt;/P&gt;&lt;P&gt;When the device suspends, it power off the 5v0 and 3v3 voltages: this cause wakeup events for usbh1 and usbotg that resume the device.&lt;/P&gt;&lt;P&gt;How can i disable wakeup from usbh1 and otg to avoid this?&lt;/P&gt;&lt;P&gt;Where in the code i put this? BSPPowerOff() function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2012 10:11:46 GMT</pubDate>
    <dc:creator>SteM</dc:creator>
    <dc:date>2012-09-12T10:11:46Z</dc:date>
    <item>
      <title>Disable wakeup from usb for iMX51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Disable-wakeup-from-usb-for-iMX51/m-p/190821#M9595</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;WinCE600R3 + iMX51.&lt;/P&gt;&lt;P&gt;When the device suspends, it power off the 5v0 and 3v3 voltages: this cause wakeup events for usbh1 and usbotg that resume the device.&lt;/P&gt;&lt;P&gt;How can i disable wakeup from usbh1 and otg to avoid this?&lt;/P&gt;&lt;P&gt;Where in the code i put this? BSPPowerOff() function ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 10:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Disable-wakeup-from-usb-for-iMX51/m-p/190821#M9595</guid>
      <dc:creator>SteM</dc:creator>
      <dc:date>2012-09-12T10:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disable wakeup from usb for iMX51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Disable-wakeup-from-usb-for-iMX51/m-p/190822#M9596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just before the power off of the voltages i put:&lt;/P&gt;&lt;P&gt;//SM disable USBH1&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;dwSysIntr = 0x1d;&lt;/P&gt;&lt;P&gt;OEMIoControl(IOCTL_HAL_DISABLE_WAKE, &amp;amp;dwSysIntr, sizeof(dwSysIntr), NULL, 0, NULL);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//SM disable USBOTG&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;dwSysIntr = 0x1f;&lt;/P&gt;&lt;P&gt;OEMIoControl(IOCTL_HAL_DISABLE_WAKE, &amp;amp;dwSysIntr, sizeof(dwSysIntr), NULL, 0, NULL);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 13:55:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Disable-wakeup-from-usb-for-iMX51/m-p/190822#M9596</guid>
      <dc:creator>SteM</dc:creator>
      <dc:date>2012-09-12T13:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disable wakeup from usb for iMX51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Disable-wakeup-from-usb-for-iMX51/m-p/190823#M9597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The proper way to disable the USB as a wake source is to use some CDEFINES definitions that allow compile-time configuration of the USB wakeup capabilities.&amp;nbsp; In the respective SOURCES files of the USBH and USBOTG drivers, you will find the following CDEFINES definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDEFINES=$(CDEFINES) -DCEDDK_USEDDKMACRO -DUSB_WAKEUP_CNANDDN&lt;/P&gt;&lt;P&gt;#-DUSB_WAKEUP_CN&lt;/P&gt;&lt;P&gt;#-DUSB_WAKEUP_NONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the USB_WAKEUP_NONE (commented out by default) if you want to remove the registration of the USB as a wake source.&amp;nbsp; Search for these CDEFINES in the source code of the USB driver to see how the configuration will differ.&amp;nbsp; Be sure to rebuild the respective USB drivers after changing the CEDEFINES as the SOURCES files are not considered as build dependencies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 17:19:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Disable-wakeup-from-usb-for-iMX51/m-p/190823#M9597</guid>
      <dc:creator>GlenWienecke</dc:creator>
      <dc:date>2012-09-18T17:19:18Z</dc:date>
    </item>
  </channel>
</rss>

