<?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: Wake-up from suspend by UARTs in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Wake-up-from-suspend-by-UARTs/m-p/899254#M135699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very USEFUL answer!!! HAHAHA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2019 02:37:38 GMT</pubDate>
    <dc:creator>enginlee</dc:creator>
    <dc:date>2019-05-03T02:37:38Z</dc:date>
    <item>
      <title>Wake-up from suspend by UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wake-up-from-suspend-by-UARTs/m-p/899252#M135697</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 found a strange issue on my i.MX6ULL board:&lt;/P&gt;&lt;P&gt;There is a MCU connect to CPU with UART3, and UART2 is unused.&lt;/P&gt;&lt;P&gt;Application access ttymxc2 without any problem, and also set "enabled" to "/sys/class/tty/ttymxc2/power/wakeup".&lt;/P&gt;&lt;P&gt;But after suspend to RAM (echo mem &amp;gt; /sys/power/state), ttymxc2 becomes abnormal, I cannot read/write anymore.&lt;/P&gt;&lt;P&gt;And I can see the power consumption during suspend mode is higher than it should be, about 10% increase.&lt;/P&gt;&lt;P&gt;I tried lots of settings (BSP/USB/SAI/GPIOs), and finally I found a solution: set "enabled" to "/sys/class/tty/ttymxc&lt;STRONG&gt;1&lt;/STRONG&gt;/power/wakeup".&lt;/P&gt;&lt;P&gt;Even through there is no signal connect to UART2, but it just working: ttymxc2 works fine after waking up, and power consumption is normal.&lt;/P&gt;&lt;P&gt;I am not sure the reason why it happened, but I can reproduce this issue on both SDKs (4.14.78_ga_1.0.0 and 4.14.98_ga_2.0.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Engin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 11:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wake-up-from-suspend-by-UARTs/m-p/899252#M135697</guid>
      <dc:creator>enginlee</dc:creator>
      <dc:date>2019-05-02T11:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Wake-up from suspend by UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wake-up-from-suspend-by-UARTs/m-p/899253#M135698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Engin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;But after suspend to RAM (echo mem &amp;gt; /sys/power/state), ttymxc2&lt;/P&gt;&lt;P&gt;&amp;gt;becomes abnormal, I cannot read/write anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in suspend state uart is not intended to operate and&lt;/P&gt;&lt;P&gt;if it receives data it will cause processor to exit from low power mode.&lt;/P&gt;&lt;P&gt;Also if uart clocks are gated in low power mode (using CCM_CCGRn)&lt;/P&gt;&lt;P&gt;it is not possible to read uart registers.&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>Thu, 02 May 2019 23:09:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wake-up-from-suspend-by-UARTs/m-p/899253#M135698</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-02T23:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wake-up from suspend by UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wake-up-from-suspend-by-UARTs/m-p/899254#M135699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very USEFUL answer!!! HAHAHA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 02:37:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wake-up-from-suspend-by-UARTs/m-p/899254#M135699</guid>
      <dc:creator>enginlee</dc:creator>
      <dc:date>2019-05-03T02:37:38Z</dc:date>
    </item>
  </channel>
</rss>

