<?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: uframeInterval in USB_HostEhciOpenInterrupt in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/uframeInterval-in-USB-HostEhciOpenInterrupt/m-p/858864#M1962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What kind of application do you want USB to support? Interrupt with 1 microframe interval is really fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2019 05:42:17 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2019-02-25T05:42:17Z</dc:date>
    <item>
      <title>uframeInterval in USB_HostEhciOpenInterrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/uframeInterval-in-USB-HostEhciOpenInterrupt/m-p/858863#M1961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the RT1050 SDK, the function&amp;nbsp;USB_HostEhciOpenInterrupt in usb_host_ehci.c,&lt;/P&gt;&lt;P&gt;there's a for loop to add QH to frame.&lt;/P&gt;&lt;P&gt;I uses RT1050 to connect to one&amp;nbsp;USB HID device, which has 1 microframe interval in the descriptor.&lt;/P&gt;&lt;P&gt;In line 3173, the&amp;nbsp;ehciPipePointer-&amp;gt;uframeInterval / 8 equals to 0 if the USB device is with 1 microframe interval and it would result in the endless loop of this for loop.&lt;/P&gt;&lt;P&gt;How should I properly modify the code for the USB devices with 1 microframe interval?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72086i075E52E9BB657780/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 11:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/uframeInterval-in-USB-HostEhciOpenInterrupt/m-p/858863#M1961</guid>
      <dc:creator>jayyehtw</dc:creator>
      <dc:date>2019-02-13T11:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: uframeInterval in USB_HostEhciOpenInterrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/uframeInterval-in-USB-HostEhciOpenInterrupt/m-p/858864#M1962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What kind of application do you want USB to support? Interrupt with 1 microframe interval is really fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 05:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/uframeInterval-in-USB-HostEhciOpenInterrupt/m-p/858864#M1962</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-02-25T05:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: uframeInterval in USB_HostEhciOpenInterrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/uframeInterval-in-USB-HostEhciOpenInterrupt/m-p/858865#M1963</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;SPAN&gt;Please modify the third item in that for-loop to ((ehciPipePointer-&amp;gt;uframeInterval + 7) / 8). It should be ok.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jing&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 06:45:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/uframeInterval-in-USB-HostEhciOpenInterrupt/m-p/858865#M1963</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-02-25T06:45:25Z</dc:date>
    </item>
  </channel>
</rss>

