<?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: Detect iMX8QM USB overcurrent in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Detect-iMX8QM-USB-overcurrent/m-p/1049658#M154554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello you can do it by enabling and detecting the overcurrent interrupt and&amp;nbsp;clear the PP bit in the PORTSC1 register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find more information here:&lt;/P&gt;&lt;P&gt;- dtb/pad settings:&amp;nbsp;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Finclude%2Fdt-bindings%2Fpinctrl%2Fpads-imx8qm.h%3Fh%3Dimx_4.19.35_1.0.0" rel="nofollow" target="_blank"&gt;pads-imx8qm.h\pinctrl\dt-bindings\include - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;- 8QM RM -&amp;nbsp;pad/mux control for USB_SS3_TCX (starting with section&amp;nbsp;9.2.5.1.166)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2020 22:14:41 GMT</pubDate>
    <dc:creator>jamesbone</dc:creator>
    <dc:date>2020-07-06T22:14:41Z</dc:date>
    <item>
      <title>Detect iMX8QM USB overcurrent</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Detect-iMX8QM-USB-overcurrent/m-p/1049657#M154553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;there are two signals, CONN_USB_OTGx_OC, that can be obtained by muxing two pads:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;SC_P_USB_SS3_TC2_CONN_USB_OTG1_OC&lt;BR /&gt;SC_P_USB_SS3_TC3_CONN_USB_OTG2_OC&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to get the USB overcurrent status from Linux? How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Reference Manual does not talk about those signals. I have tried to dump all USB-related memory mapped registers in both level conditions (CONN_USB_OTGx_OC high and low). However, all the differences are on undocumented registers (eg. 0x5B1000B0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(In our design those pads are connected to the fault output pin of a DCDC step-down converter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;BR /&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 07:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Detect-iMX8QM-USB-overcurrent/m-p/1049657#M154553</guid>
      <dc:creator>fmonte</dc:creator>
      <dc:date>2020-07-01T07:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Detect iMX8QM USB overcurrent</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Detect-iMX8QM-USB-overcurrent/m-p/1049658#M154554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello you can do it by enabling and detecting the overcurrent interrupt and&amp;nbsp;clear the PP bit in the PORTSC1 register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find more information here:&lt;/P&gt;&lt;P&gt;- dtb/pad settings:&amp;nbsp;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Finclude%2Fdt-bindings%2Fpinctrl%2Fpads-imx8qm.h%3Fh%3Dimx_4.19.35_1.0.0" rel="nofollow" target="_blank"&gt;pads-imx8qm.h\pinctrl\dt-bindings\include - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;- 8QM RM -&amp;nbsp;pad/mux control for USB_SS3_TCX (starting with section&amp;nbsp;9.2.5.1.166)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 22:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Detect-iMX8QM-USB-overcurrent/m-p/1049658#M154554</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2020-07-06T22:14:41Z</dc:date>
    </item>
  </channel>
</rss>

