<?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: LS1046A does not detect USB stick in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1665711#M12632</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Checking the schematics, USBx_RX_P and USBx_RX_M should be grounded. I enclosed the design check-list for LS1046A. Check the Table 4 for USB power supply filter circuits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not know what could be the cause "My software guy had to remove erratum_a009007 inside the soc.c (from uboot or the linux distro, not sure about that one) system wouldn't boot otherwise.". From the Dermiste_3, all USB power is connected. Can you confirm all these USB supplies are powered up when A-009007 workaround is implemented. Having said that, you do not need A-009007 as USB 3.0 is not implemented on your system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you can debug this issue entirely under uboot. Actually, it is easier to do it under uboot. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As long as all the 3 USB power supplies are provided, the USB core should be properly powered. The USB clock can use either single ended or differential clock Sysclock. However, it has to be 100 MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use a USB protocol analyzer to see whether any actions or packets are sent out and what wrong information is on the line. However, you need to get USB power and clock correct first.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 02:09:36 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2023-06-08T02:09:36Z</dc:date>
    <item>
      <title>LS1046A does not detect USB stick</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1661669#M12590</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;This post echoes this one which already gave a lot of answer:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Layerscape/LS1046A-can-not-detect-USB-device-on-u-boot/m-p/1561319#M11448" target="_blank"&gt;https://community.nxp.com/t5/Layerscape/LS1046A-can-not-detect-USB-device-on-u-boot/m-p/1561319#M11448&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue:&lt;/P&gt;&lt;P&gt;We have a LS1046A based board, it includes one USB 2.0 plug on which we try to connect a USB stick, without success so far.&lt;/P&gt;&lt;P&gt;After investigating it seems that the USB_DRVVBUS signal never goes high, thus preventing the 5V (USB_VCC) from reaching the USB stick. Messing around with the RCW we managed to set this signal as GPIO and to force it up which brought the 5V to the USB plug, thus validating the "usb power circuitry" on U15, but still no device is detected regardless if it's powered or not.&lt;/P&gt;&lt;P&gt;Schematic for USB plug side:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dermiste_1-1685607711409.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225791i051C4D78EC79461E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dermiste_1-1685607711409.png" alt="Dermiste_1-1685607711409.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Schematic for LS1046A side :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dermiste_2-1685607778423.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225793iCFE4315F9CC96DE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dermiste_2-1685607778423.png" alt="Dermiste_2-1685607778423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Details about the setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;no SYSCLK is available&lt;/STRONG&gt;, PBI modified to clock USB PHYs through DIFF_CLK&lt;/LI&gt;&lt;LI&gt;USB PHYs are not in reset, command "&lt;STRONG&gt;md 1570418&lt;/STRONG&gt;" in UBOOT reads 0x9E000000&amp;nbsp;0x9E000000&amp;nbsp;0x9E000000 ...&lt;/LI&gt;&lt;LI&gt;USB_N &amp;amp; USB_P are flipped, flipping those on a ref design from NXP &lt;STRONG&gt;still showed activity on the USB port&lt;/STRONG&gt; even if it was 99% errors. We made a custom cable to flip them back.&lt;/LI&gt;&lt;LI&gt;My software guy had to remove &lt;STRONG&gt;erratum_a009007&lt;/STRONG&gt; inside the soc.c (from uboot or the linux distro, not sure about that one) system wouldn't boot otherwise. That erratum is linked to USB3 configuration, doc says no write in the linked registers should happen if USB core is powered down&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dermiste_4-1685609657903.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225808i954BB5E3C454E606/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dermiste_4-1685609657903.png" alt="Dermiste_4-1685609657903.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;USB power rails OK, they all go up within a 17ms delay:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dermiste_3-1685608460319.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225796i925B70F5347689D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dermiste_3-1685608460319.png" alt="Dermiste_3-1685608460319.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;There is a history of CPU_VDD being as high as 11V (eleven volts) for short periods of time during the PCB bring-up&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Some questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can I debug that issue entirely through UBOOT ? or there is a need for a linux layer to properly set things up&lt;/LI&gt;&lt;LI&gt;Is there a way to make sure USB core is properly powered?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For the rest we are running out of juice in finding consistant leads, any help much appreciated, I can also update the setup details upon request should there need more informations.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 08:55:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1661669#M12590</guid>
      <dc:creator>Dermiste</dc:creator>
      <dc:date>2023-06-01T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A does not detect USB stick</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1665711#M12632</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Checking the schematics, USBx_RX_P and USBx_RX_M should be grounded. I enclosed the design check-list for LS1046A. Check the Table 4 for USB power supply filter circuits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not know what could be the cause "My software guy had to remove erratum_a009007 inside the soc.c (from uboot or the linux distro, not sure about that one) system wouldn't boot otherwise.". From the Dermiste_3, all USB power is connected. Can you confirm all these USB supplies are powered up when A-009007 workaround is implemented. Having said that, you do not need A-009007 as USB 3.0 is not implemented on your system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you can debug this issue entirely under uboot. Actually, it is easier to do it under uboot. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As long as all the 3 USB power supplies are provided, the USB core should be properly powered. The USB clock can use either single ended or differential clock Sysclock. However, it has to be 100 MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use a USB protocol analyzer to see whether any actions or packets are sent out and what wrong information is on the line. However, you need to get USB power and clock correct first.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 02:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1665711#M12632</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-06-08T02:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A does not detect USB stick</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1668186#M12657</link>
      <description>&lt;P&gt;Yes I am aware that RX_P &amp;amp; RX_M should be grounded, which is not implemented on my schematic.&lt;/P&gt;&lt;P&gt;I can confirm that the USB power goes up within 17ms after CPU_VDD goes up, I assume&amp;nbsp; that when soc.c is executed USB cores are therefore powered.&lt;/P&gt;&lt;P&gt;I am not sure however if the USB core is not damaged and at this point I'm interested in seeing how I can debug this from uboot, if the core is damanged or not powered it means I won't be able to write any register linked to USB PHY, correct? Writting reg using rw should therefore not work?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 08:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1668186#M12657</guid>
      <dc:creator>Dermiste</dc:creator>
      <dc:date>2023-06-13T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A does not detect USB stick</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1671208#M12685</link>
      <description>&lt;P&gt;USBx_PWRFAULT,USB_DRVVBUS,USBx_PWRFAULT.&lt;/P&gt;
&lt;P&gt;Check the three signal include rcw config and checklist requirment.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 15:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-does-not-detect-USB-stick/m-p/1671208#M12685</guid>
      <dc:creator>kenli</dc:creator>
      <dc:date>2023-06-16T15:17:26Z</dc:date>
    </item>
  </channel>
</rss>

