<?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: i.mx287 USB error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675296#M104136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is possible new (non-published) i.MX28 erratum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERR006308: USB: HOST controller lock-up issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description:&lt;BR /&gt;The USB host controller can lock-up when a FIFO under run occurs on a non-32-bit aligned&lt;BR /&gt;data buffer. This applies to both the Host controller and OTG controller in host mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set Stream Disable bit (SDIS) in the USBMODE register. This will force the controller to&lt;BR /&gt;load an entire packet in the FIFO before starting to transmit on the USB bus. Hence, the&lt;BR /&gt;FIFO will never underrun. This will somewhat reduce the max bandwidth of the USB since&lt;BR /&gt;there will be idle time as the the controller waits for the entire packet to be loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Instead of setting SDIS, the FIFO threshold can be increased such that more data will be&lt;BR /&gt;in the FIFO before a packet transmit is started. This increases the tolerance to bus latency&lt;BR /&gt;and avoid FIFO under run. The Threshold can be increased by using higher values for the&lt;BR /&gt;TXTHRESHOLD filed in the TXFILLTUNING register. The default value is 2 bursts (64 bytes&lt;BR /&gt;if burst size=8).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please look at the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/314371"&gt;Lock up of USB EHCI controller in i.MX28&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 02:47:15 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2017-06-05T02:47:15Z</dc:date>
    <item>
      <title>i.mx287 USB error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675295#M104135</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;&lt;/P&gt;&lt;P&gt;I have a question about USB Host communication error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tested the USB host, the USB communication stop.&lt;/P&gt;&lt;P&gt;I set the&amp;nbsp;SDIS bit of&amp;nbsp;&lt;SPAN&gt;HW_USBCTRL_USBMODE and it resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So I think the cause is underrun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q1.&lt;/P&gt;&lt;P&gt;Is there any registers to inform the occurring the underrun ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q2.&lt;/P&gt;&lt;P&gt;Is it the device spec to stop the USB Host when the underrun occurs ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ko-hey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 01:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675295#M104135</guid>
      <dc:creator>ko-hey</dc:creator>
      <dc:date>2017-06-05T01:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx287 USB error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675296#M104136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is possible new (non-published) i.MX28 erratum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERR006308: USB: HOST controller lock-up issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description:&lt;BR /&gt;The USB host controller can lock-up when a FIFO under run occurs on a non-32-bit aligned&lt;BR /&gt;data buffer. This applies to both the Host controller and OTG controller in host mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set Stream Disable bit (SDIS) in the USBMODE register. This will force the controller to&lt;BR /&gt;load an entire packet in the FIFO before starting to transmit on the USB bus. Hence, the&lt;BR /&gt;FIFO will never underrun. This will somewhat reduce the max bandwidth of the USB since&lt;BR /&gt;there will be idle time as the the controller waits for the entire packet to be loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Instead of setting SDIS, the FIFO threshold can be increased such that more data will be&lt;BR /&gt;in the FIFO before a packet transmit is started. This increases the tolerance to bus latency&lt;BR /&gt;and avoid FIFO under run. The Threshold can be increased by using higher values for the&lt;BR /&gt;TXTHRESHOLD filed in the TXFILLTUNING register. The default value is 2 bursts (64 bytes&lt;BR /&gt;if burst size=8).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please look at the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/314371"&gt;Lock up of USB EHCI controller in i.MX28&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 02:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675296#M104136</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-06-05T02:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx287 USB error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675297#M104137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;Thank you for information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;Will the errata update to the document ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;If yes, please tell me the schedule.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;Is there any registers to inform the occurring the underrun ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;Ko-hey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size:10.0pt;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Arial;mso-fareast-font-family: MS Gothic ;mso-hansi-font-family:Arial;color:black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 07:12:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675297#M104137</guid>
      <dc:creator>ko-hey</dc:creator>
      <dc:date>2017-06-05T07:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx287 USB error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675298#M104138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Erratum ERR006308 also affects the i.mx28, but I do not have information about plans&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;to modify i.MX28 Errata.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 09:55:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx287-USB-error/m-p/675298#M104138</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-06-05T09:55:38Z</dc:date>
    </item>
  </channel>
</rss>

