<?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.mx6 usb resume problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-usb-resume-problem/m-p/969785#M144454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Masahiro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;usb resume functionality was validated in sect.4.2.4. DEVICE SUSPEND/RESET/RESUME&lt;/P&gt;&lt;P&gt;usb sertification report document found on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94937"&gt;USB Certification report of i.Mx6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105609"&gt;I.MX6 series USB Certification Guides&lt;/A&gt;&amp;nbsp;&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>Sat, 15 Jun 2019 02:42:06 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-06-15T02:42:06Z</dc:date>
    <item>
      <title>i.mx6 usb resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-usb-resume-problem/m-p/969784#M144453</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 am developing a USB HOST driver (using HOST1) for i.mx6solo.&lt;/P&gt;&lt;P&gt;Currently, SUSPEND and RESUME have been confirmed, but there is a problem with RESUME.&lt;BR /&gt;Please tell me if you know the cause.&lt;/P&gt;&lt;P&gt;phenomenon:&lt;BR /&gt;Transition to SUSPEND.&lt;BR /&gt;There is no problem in looking at CATC logs. (FULL SPEED J) is output.&lt;/P&gt;&lt;P&gt;Perform the following operations to resume.&lt;BR /&gt;PORTSC1.FPR = 1&lt;BR /&gt; After this, it is waiting for PORTSC1.FPR = = 0, but this bit remains as 1.&lt;/P&gt;&lt;P&gt;Looking at the CATC log, the RESUME signal (FULL SPEED K) is output for about 20 ms, but it appears that (FULL SPEED J) is output thereafter.&lt;/P&gt;&lt;P&gt;And, the power down of PHY is not executed.&lt;BR /&gt;Only manipulation of PORTSC1 register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your cooperation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 04:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-usb-resume-problem/m-p/969784#M144453</guid>
      <dc:creator>m_morimune</dc:creator>
      <dc:date>2019-06-11T04:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 usb resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-usb-resume-problem/m-p/969785#M144454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Masahiro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;usb resume functionality was validated in sect.4.2.4. DEVICE SUSPEND/RESET/RESUME&lt;/P&gt;&lt;P&gt;usb sertification report document found on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94937"&gt;USB Certification report of i.Mx6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105609"&gt;I.MX6 series USB Certification Guides&lt;/A&gt;&amp;nbsp;&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>Sat, 15 Jun 2019 02:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-usb-resume-problem/m-p/969785#M144454</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-06-15T02:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 usb resume problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-usb-resume-problem/m-p/969786#M144455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply igor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following two registers were operated by me during SUSPEND / RESUME.&lt;BR /&gt;PORTSC1.SUSP&lt;BR /&gt;PORTSC1.FRP&lt;/P&gt;&lt;P&gt;When 1 is written to PORTSC1.SUSP, transition to SUSPEND is observed in the CATC log.&lt;BR /&gt;After that, when 1 is written to PORTSC1.FRP, RESUME will be executed for a moment and will be suspended immediately.&lt;BR /&gt;Looks like it's back.&lt;BR /&gt;(Please see the attached file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1: Can this device not be able to execute SUSPEND / RESUME just by operating PORTSC1?&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do you also need to operate the USB PHY?&lt;span class="lia-inline-image-display-wrapper" image-alt="suspend_resueme_problem.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87221i72DF398533DA76CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="suspend_resueme_problem.png" alt="suspend_resueme_problem.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I executed SUSPED / RESUME by adding the following code to the test.&lt;BR /&gt;At this time, I confirm that it will be resume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) SUSPEND time&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PORTSC1.SUSP = 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; delay 10ms&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PORTSC1.PHCD = 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; USBPHY2_PWD = 0xFFFFFFFF&lt;BR /&gt;&amp;nbsp; &amp;nbsp; USBPHY2_CTRL.CLKGATE = 1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(2) At RESUME time&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;USBPHY2_CTRL.CLKGATE = 0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;USBPHY2_PWD = 0x00000000&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PORTSC.PHCD = 0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PORTSC1.FRP = 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;delay 30ms&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PORTSC1.SUSP = 0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PORTSC1.FRP = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 2: The following explanation is given in “4.3.2.2 Exiting low power mode” of AN 4589.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Clear PHCD bits in the PORTSC register&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CLKGATE and PWD will auto clear&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;However, when I tried, I did not resume unless I explicitly cleared CLKGATE and PWD.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Is this necessary?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Masahiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 04:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-usb-resume-problem/m-p/969786#M144455</guid>
      <dc:creator>m_morimune</dc:creator>
      <dc:date>2019-06-17T04:55:15Z</dc:date>
    </item>
  </channel>
</rss>

