<?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 USB OTG data packet missing data in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-data-packet-missing-data/m-p/903715#M136326</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 experiencing a USB OTG data transfer error during the development board using imx6UL.&lt;/P&gt;&lt;P&gt;The USB device is connected to the OTG1 port. The device tree is configured by default.&lt;/P&gt;&lt;P&gt;&amp;amp;usbotg1 {&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usbotg1&amp;gt;;&lt;BR /&gt; dr_mode = "otg";&lt;BR /&gt;/* otg-rev=&amp;lt;0x0200&amp;gt;;*/&lt;BR /&gt; hnp-disable;&lt;BR /&gt; srp-disable;&lt;BR /&gt; adp-disable;&lt;BR /&gt; status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;We have problems getting large data over 176 bytes through bulk transfer. If the packet exceeds 200 bytes, we can only get the correct data within 176 bytes, after which all data is set to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And we tried different hardware platforms, it seems that low-performance MCUs like imx6UL have problems, but high-performance MCUs like A9 cores, the problem does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide some ideas to explore the issue. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Error packet like below :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;11:26:&lt;A href="tel:53710"&gt;53.710&lt;/A&gt; [main] INFO Response - responseSize = 576, newSize = 576&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;11:26:&lt;A href="tel:53802"&gt;53.802&lt;/A&gt; [main] WARN ReadRadioCommand - Parsed response: RadioResponse:(frame 590 bytes){04,SN&lt;A href="tel:664436"&gt;664436&lt;/A&gt;,Checksum BAD,EOD=false,576 bytes:0A 11 34 C6 4E 0A 11 14 C6 4E 0B 11 51 E&lt;A href="tel:750081114"&gt;7 50 08 11 14&lt;/A&gt; C6 4E 0A 11 34 C7 4E 0A 11 14 C7 4E 0B &lt;A href="tel:0000011115"&gt;00 00 01 11 15&lt;/A&gt; E6 4A &lt;A href="tel:101151"&gt;10 11 51&lt;/A&gt; E&lt;A href="tel:750081115"&gt;7 50 08 11 15&lt;/A&gt; CD 4E 0A 11 51 E&lt;A href="tel:750081135"&gt;7 50 08 11 35&lt;/A&gt; CD 4E 0C &lt;A href="tel:054140000"&gt;05 41 40 00 0&lt;/A&gt;C 11 51 E7 50 08 05 24 64 15 0C &lt;A href="tel:050464150"&gt;05 04 64 15 0&lt;/A&gt;C &lt;A href="tel:050464150"&gt;05 04 64 15 0&lt;/A&gt;B 00 00 01 05 04 64 15 10 05 41 40 00 08 05 28 62 15 0C &lt;A href="tel:11010"&gt;11 01 0&lt;/A&gt;A 8B 0C &lt;A href="tel:1121168"&gt;11 21 16 8&lt;/A&gt;E 0B &lt;A href="tel:1121168"&gt;11 21 16 8&lt;/A&gt;E 0D 00 04 01 04 02 04 02 04 02 04 02 04 02 04 68 11 01 38 8E 0E 02 04 02 04 02 04 02 04 02 04 02 04 02 04 02 04 02 04 02 04 67 &lt;A href="tel:11012"&gt;11 01 2&lt;/A&gt;E 8F 0E 02 04 02 04 02 04 02 04 67 11 01 08 90 0E 02 04 &lt;SPAN style="color: #ff0000;"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USB device using USB_simple_serial driver, the device is recognized as ttyUSB0 in system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Dmesg output like this :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;usbcore: registered new interface driver usb_ehset_test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="tel:2184800"&gt;2184800&lt;/A&gt;.usbmisc supply vbus-wakeup not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="tel:2184000"&gt;2184000&lt;/A&gt;.usb supply vbus not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.0: EHCI Host Controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 1-0:1.0: USB hub found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 1-0:1.0: 1 port detected&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="tel:2184200"&gt;2184200&lt;/A&gt;.usb supply vbus not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.1: EHCI Host Controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 2-0:1.0: USB hub found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 2-0:1.0: 1 port detected&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Apr 2019 10:09:28 GMT</pubDate>
    <dc:creator>justin_ding</dc:creator>
    <dc:date>2019-04-20T10:09:28Z</dc:date>
    <item>
      <title>USB OTG data packet missing data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-data-packet-missing-data/m-p/903715#M136326</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 experiencing a USB OTG data transfer error during the development board using imx6UL.&lt;/P&gt;&lt;P&gt;The USB device is connected to the OTG1 port. The device tree is configured by default.&lt;/P&gt;&lt;P&gt;&amp;amp;usbotg1 {&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usbotg1&amp;gt;;&lt;BR /&gt; dr_mode = "otg";&lt;BR /&gt;/* otg-rev=&amp;lt;0x0200&amp;gt;;*/&lt;BR /&gt; hnp-disable;&lt;BR /&gt; srp-disable;&lt;BR /&gt; adp-disable;&lt;BR /&gt; status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;We have problems getting large data over 176 bytes through bulk transfer. If the packet exceeds 200 bytes, we can only get the correct data within 176 bytes, after which all data is set to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And we tried different hardware platforms, it seems that low-performance MCUs like imx6UL have problems, but high-performance MCUs like A9 cores, the problem does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide some ideas to explore the issue. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Error packet like below :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;11:26:&lt;A href="tel:53710"&gt;53.710&lt;/A&gt; [main] INFO Response - responseSize = 576, newSize = 576&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;11:26:&lt;A href="tel:53802"&gt;53.802&lt;/A&gt; [main] WARN ReadRadioCommand - Parsed response: RadioResponse:(frame 590 bytes){04,SN&lt;A href="tel:664436"&gt;664436&lt;/A&gt;,Checksum BAD,EOD=false,576 bytes:0A 11 34 C6 4E 0A 11 14 C6 4E 0B 11 51 E&lt;A href="tel:750081114"&gt;7 50 08 11 14&lt;/A&gt; C6 4E 0A 11 34 C7 4E 0A 11 14 C7 4E 0B &lt;A href="tel:0000011115"&gt;00 00 01 11 15&lt;/A&gt; E6 4A &lt;A href="tel:101151"&gt;10 11 51&lt;/A&gt; E&lt;A href="tel:750081115"&gt;7 50 08 11 15&lt;/A&gt; CD 4E 0A 11 51 E&lt;A href="tel:750081135"&gt;7 50 08 11 35&lt;/A&gt; CD 4E 0C &lt;A href="tel:054140000"&gt;05 41 40 00 0&lt;/A&gt;C 11 51 E7 50 08 05 24 64 15 0C &lt;A href="tel:050464150"&gt;05 04 64 15 0&lt;/A&gt;C &lt;A href="tel:050464150"&gt;05 04 64 15 0&lt;/A&gt;B 00 00 01 05 04 64 15 10 05 41 40 00 08 05 28 62 15 0C &lt;A href="tel:11010"&gt;11 01 0&lt;/A&gt;A 8B 0C &lt;A href="tel:1121168"&gt;11 21 16 8&lt;/A&gt;E 0B &lt;A href="tel:1121168"&gt;11 21 16 8&lt;/A&gt;E 0D 00 04 01 04 02 04 02 04 02 04 02 04 02 04 68 11 01 38 8E 0E 02 04 02 04 02 04 02 04 02 04 02 04 02 04 02 04 02 04 02 04 67 &lt;A href="tel:11012"&gt;11 01 2&lt;/A&gt;E 8F 0E 02 04 02 04 02 04 02 04 67 11 01 08 90 0E 02 04 &lt;SPAN style="color: #ff0000;"&gt;00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USB device using USB_simple_serial driver, the device is recognized as ttyUSB0 in system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Dmesg output like this :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;usbcore: registered new interface driver usb_ehset_test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="tel:2184800"&gt;2184800&lt;/A&gt;.usbmisc supply vbus-wakeup not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="tel:2184000"&gt;2184000&lt;/A&gt;.usb supply vbus not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.0: EHCI Host Controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 1-0:1.0: USB hub found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 1-0:1.0: 1 port detected&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="tel:2184200"&gt;2184200&lt;/A&gt;.usb supply vbus not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.1: EHCI Host Controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 2-0:1.0: USB hub found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hub 2-0:1.0: 1 port detected&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Apr 2019 10:09:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-data-packet-missing-data/m-p/903715#M136326</guid>
      <dc:creator>justin_ding</dc:creator>
      <dc:date>2019-04-20T10:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG data packet missing data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-data-packet-missing-data/m-p/903716#M136327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi justin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if USB ERR004535 (USB suspend) errata fix was implemented in code.&lt;BR /&gt;Reason for error with big packets may be signal integrity issues so&lt;BR /&gt;one can check hardware running USB certification tests :&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-105609"&gt;https://community.nxp.com/docs/DOC-105609&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding " ReadRadioCommand" if this is usb modem, check that there&lt;BR /&gt;was no interference signal from antenna which could distort usb signals and &lt;BR /&gt;provide good board/usb cable shielding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Tue, 30 Apr 2019 23:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-data-packet-missing-data/m-p/903716#M136327</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-04-30T23:09:52Z</dc:date>
    </item>
  </channel>
</rss>

