<?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>i.MX ProcessorsのトピックRe: Why is wakeup from external rtc not working?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763986#M118674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you set the gpio key as wakeup source? &lt;/P&gt;&lt;P&gt;are you set the interrupt is falling edge?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2018 02:56:33 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2018-02-27T02:56:33Z</dc:date>
    <item>
      <title>Why is wakeup from external rtc not working?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763985#M118673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get a IMX6UL to wakeup using an external rtc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board I'm using is a customized Version of an Engicam C.Touch Carrierboard (&lt;A href="https://www.engicam.com/vis-prod/101129"&gt;Link&lt;/A&gt;). The cpu-modul is an Engicam GEAM6UL. The Linux-kernel is 3.14.38.&lt;/P&gt;&lt;P&gt;We don't want to utilize the internal rtc because of the high power consumption in sleep and use a pcf8563 connected through i2c instead. The pcf8563 is working, I can get/set the time and it keeps it even after shutting down and cutting the power.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the board does not wake up from sleepmode after the rtc sends an interrupt.&lt;/P&gt;&lt;P&gt;I configured the rtc in the devie tree as wakeup-source, connected the INT-output with a pull-up resistor to gpio5_1 and configured the gpio as a key. With this configuration, I can set a time with wakealarm, like "echo +120 &amp;gt; /sys/class/rtc/rtc0/wakealarm", and see the interrupt occuring in /proc/interrupts. But after sending my board to sleep with rtcwake (mem or standby) it remains in this sleepstate until I cut the power and reboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using an oscillator I can see the interrupt signal from the pcf8563 changing from high to low after the proper amount of time passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I have no idea where to go from here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 15:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763985#M118673</guid>
      <dc:creator>martinuschmann</dc:creator>
      <dc:date>2018-02-22T15:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is wakeup from external rtc not working?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763986#M118674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you set the gpio key as wakeup source? &lt;/P&gt;&lt;P&gt;are you set the interrupt is falling edge?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 02:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763986#M118674</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2018-02-27T02:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is wakeup from external rtc not working?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763987#M118675</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;yes, I tried setting the gpio-key as wakeup-source and also set the irq to falling edge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 16:41:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763987#M118675</guid>
      <dc:creator>martinuschmann</dc:creator>
      <dc:date>2018-02-28T16:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is wakeup from external rtc not working?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763988#M118676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After a long procedure I finally found the Problem.&lt;/P&gt;&lt;P&gt;There is some conflict with the soundchip sgtl5000. At this point I'm uncertain what exactly caused this. After I deactivated the sound device in the device tree the wakeup-function worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 10:16:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-wakeup-from-external-rtc-not-working/m-p/763988#M118676</guid>
      <dc:creator>martinuschmann</dc:creator>
      <dc:date>2018-04-09T10:16:12Z</dc:date>
    </item>
  </channel>
</rss>

