<?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: Re: i.MX283 resets during standby in 5V only mode in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX283-resets-during-standby-in-5V-only-mode/m-p/213184#M13143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using I.MX280 series of processor in our product based on 5V only mode. I have tried using the above 325-sleep.S but the evt fails to resume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the console output using 325-sleep.S:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx28evk login: root&lt;/P&gt;&lt;P&gt;root@imx28evk:~# echo standby &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.297895] PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.405838] Freezing user space processes ... (elapsed 0.02 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.434612] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.484880] PM: suspend of devices complete after 14.998 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.496738] PM: late suspend of devices complete after 5.942 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.509180] PM: noirq suspend of devices complete after 6.034 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 107 do_standby cpu 454736842&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 108 do_standby osc 24000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 109 do_standby pll 480000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 110 do_standby hbus 151578947&lt;/P&gt;&lt;P&gt;&lt;EM&gt;///&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/// EVT is hanged and is not resuming on any external event&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;///&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though, interesting point is the same code works for I.MX287 processor on EVK. Addition thing I found is the suspend/resume works if before putting DRAM into self refresh mode the processor is made to run on &lt;STRONG&gt;ref_xtal&lt;/STRONG&gt; instead of &lt;STRONG&gt;ref_cpu&lt;/STRONG&gt;. The reverse to be done on resuming cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached sleep.S with switching of ref. clock for CPU clock domain. (Line#168 - Switching to XTAL clock and Line#450 - Switching to REF_CPU clock on resume)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Console Output with Switching to XTAL clock on Suspend and Back to CPU clock on resume:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx28evk:~# echo standby &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.707717] PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.749925] Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.775009] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.800996] wlcore: down&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.826305] PM: suspend of devices complete after 26.089 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.838184] PM: late suspend of devices complete after 5.801 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.850484] PM: noirq suspend of devices complete after 5.904 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 107 do_standby cpu 454736842&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 108 do_standby osc 24000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 109 do_standby pll 480000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 110 do_standby hbus 151578947&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 149 do_standby Resuming..&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.860527] PM: noirq resume of devices complete after 3.064 msecs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.873245] PM: early resume of devices complete after 4.489 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.274914] wlcore: PHY firmware version: Rev 8.2.0.0.195&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.393093] wlcore: firmware booted (Rev 8.8.0.0.13)&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.450657] PM: resume of devices complete after 1571.143 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.463636] Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;root@imx28evk:~#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with the above solution is it sometime fails to resume the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on that I have below concerns:&lt;/P&gt;&lt;P&gt;1) Is there any difference in the clocks domain b/w I.MX280 and I.MX287 ?&lt;/P&gt;&lt;P&gt;2) Is there any additional configuration needs to be done to achieve suspend/resume on I.MX280 processor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please feel free to share your thoughts. This issue is show stopper now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2014 09:06:09 GMT</pubDate>
    <dc:creator>B_K_Ankur</dc:creator>
    <dc:date>2014-08-18T09:06:09Z</dc:date>
    <item>
      <title>i.MX283 resets during standby in 5V only mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX283-resets-during-standby-in-5V-only-mode/m-p/213182#M13141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Customer report mx28 can't enter suspend correctly, when only with 5V power supply, no battery.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 08:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX283-resets-during-standby-in-5V-only-mode/m-p/213182#M13141</guid>
      <dc:creator>jackyliu</dc:creator>
      <dc:date>2012-02-22T08:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX283 resets during standby in 5V only mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX283-resets-during-standby-in-5V-only-mode/m-p/213183#M13142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The root cause is in arch\arm\mach-mx28\pm.c, it call mx28_cpu_standby_ptr() cause system hang up.&lt;BR /&gt;This function is realized in arch\arm\mach-mx28\sleep.s, it will change VDDD VDDIO VDDA power register, but it cause system hang up when USB 5V power supply. I change these functions to nop, so it won't change these voltage. These features: DDR self-refresh and reduce CPU frequency are still in there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 08:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX283-resets-during-standby-in-5V-only-mode/m-p/213183#M13142</guid>
      <dc:creator>jackyliu</dc:creator>
      <dc:date>2012-02-22T08:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX283 resets during standby in 5V only mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX283-resets-during-standby-in-5V-only-mode/m-p/213184#M13143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using I.MX280 series of processor in our product based on 5V only mode. I have tried using the above 325-sleep.S but the evt fails to resume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the console output using 325-sleep.S:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx28evk login: root&lt;/P&gt;&lt;P&gt;root@imx28evk:~# echo standby &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.297895] PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.405838] Freezing user space processes ... (elapsed 0.02 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.434612] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.484880] PM: suspend of devices complete after 14.998 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.496738] PM: late suspend of devices complete after 5.942 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.509180] PM: noirq suspend of devices complete after 6.034 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 107 do_standby cpu 454736842&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 108 do_standby osc 24000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 109 do_standby pll 480000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 169.516050] 110 do_standby hbus 151578947&lt;/P&gt;&lt;P&gt;&lt;EM&gt;///&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/// EVT is hanged and is not resuming on any external event&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;///&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though, interesting point is the same code works for I.MX287 processor on EVK. Addition thing I found is the suspend/resume works if before putting DRAM into self refresh mode the processor is made to run on &lt;STRONG&gt;ref_xtal&lt;/STRONG&gt; instead of &lt;STRONG&gt;ref_cpu&lt;/STRONG&gt;. The reverse to be done on resuming cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached sleep.S with switching of ref. clock for CPU clock domain. (Line#168 - Switching to XTAL clock and Line#450 - Switching to REF_CPU clock on resume)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Console Output with Switching to XTAL clock on Suspend and Back to CPU clock on resume:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@imx28evk:~# echo standby &amp;gt; /sys/power/state&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.707717] PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.749925] Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.775009] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.800996] wlcore: down&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.826305] PM: suspend of devices complete after 26.089 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.838184] PM: late suspend of devices complete after 5.801 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.850484] PM: noirq suspend of devices complete after 5.904 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 107 do_standby cpu 454736842&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 108 do_standby osc 24000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 109 do_standby pll 480000000&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 110 do_standby hbus 151578947&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.857131] 149 do_standby Resuming..&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.860527] PM: noirq resume of devices complete after 3.064 msecs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 101.873245] PM: early resume of devices complete after 4.489 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.274914] wlcore: PHY firmware version: Rev 8.2.0.0.195&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.393093] wlcore: firmware booted (Rev 8.8.0.0.13)&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.450657] PM: resume of devices complete after 1571.143 msecs&lt;/P&gt;&lt;P&gt;[&amp;nbsp; 103.463636] Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;root@imx28evk:~#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with the above solution is it sometime fails to resume the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on that I have below concerns:&lt;/P&gt;&lt;P&gt;1) Is there any difference in the clocks domain b/w I.MX280 and I.MX287 ?&lt;/P&gt;&lt;P&gt;2) Is there any additional configuration needs to be done to achieve suspend/resume on I.MX280 processor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please feel free to share your thoughts. This issue is show stopper now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 09:06:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX283-resets-during-standby-in-5V-only-mode/m-p/213184#M13143</guid>
      <dc:creator>B_K_Ankur</dc:creator>
      <dc:date>2014-08-18T09:06:09Z</dc:date>
    </item>
  </channel>
</rss>

