<?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.Mx7 RTC Wake Up  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx7-RTC-Wake-Up/m-p/889094#M134546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;谷岡 弘章&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try rtc unit test:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_rtc?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_rtc?h=imx_4.14.78_1.0.0_ga"&gt;mxc_rtc\test - imx-test - i.MX Driver Test Application Software&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>Tue, 22 Jan 2019 08:01:00 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-01-22T08:01:00Z</dc:date>
    <item>
      <title>i.Mx7 RTC Wake Up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx7-RTC-Wake-Up/m-p/889093#M134545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Hi&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;We are trying to wake up RTC from state S5 of ACPI using i.Mx7D to seve power.&lt;BR /&gt;At that time, I tried setting alarm_time with the following command on the console, but it does not start up.&lt;BR /&gt;Can you tell me if there are any procedures?&lt;BR /&gt;------------------------------&lt;BR /&gt;root @ imx 7 dsabresd: ~ # date '+% s' - d '+ 5 minutes'&amp;gt; / sys / class / rtc / rtc 0 / wakealarm&lt;BR /&gt;root @ imx 7 dsabresd: ~ # cat / proc / driver / rtc&lt;BR /&gt;rtc_time: 15: 14: 13&lt;BR /&gt;rtc_date: 2018 - 10 - 09&lt;BR /&gt;alrm_time: 15: 19: 08&lt;BR /&gt;alrm_date: 2018-10-09&lt;BR /&gt;alarm_IRQ: yes&lt;BR /&gt;alrm_pending: no&lt;BR /&gt;update IRQ enabled: no&lt;BR /&gt;periodic IRQ enabled: no&lt;BR /&gt;periodic IRQ frequency: 1&lt;BR /&gt;max user IRQ frequency: 64&lt;BR /&gt;24hr: yes&lt;BR /&gt;root @ imx 7 dsabresd: ~ # shutdown - h now&lt;BR /&gt;------------------------------&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 02:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-Mx7-RTC-Wake-Up/m-p/889093#M134545</guid>
      <dc:creator>tanioka</dc:creator>
      <dc:date>2019-01-22T02:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: i.Mx7 RTC Wake Up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx7-RTC-Wake-Up/m-p/889094#M134546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;谷岡 弘章&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try rtc unit test:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_rtc?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_rtc?h=imx_4.14.78_1.0.0_ga"&gt;mxc_rtc\test - imx-test - i.MX Driver Test Application Software&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>Tue, 22 Jan 2019 08:01:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-Mx7-RTC-Wake-Up/m-p/889094#M134546</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-22T08:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.Mx7 RTC Wake Up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-Mx7-RTC-Wake-Up/m-p/889095#M134547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I ran the rtc-unit test,and I could confirm PASS.&lt;BR /&gt;However,&amp;nbsp;Is there any procedure to confirm startup from S5(power off)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you know how to drop it to S4 (Hibernation).&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;root@imx7dsabresd:~# ./autorun-rtc.sh&lt;BR /&gt;./autorun-rtc.sh: line 5: print_name: command not found&lt;BR /&gt;i.MX7D&lt;BR /&gt;Checking for devnode: /dev/rtc0&lt;BR /&gt;autorun-rtc.sh: PASS devnode found: /dev/rtc0&lt;/P&gt;&lt;P&gt;Running test case: ./rtctest.out --no-periodic&lt;/P&gt;&lt;P&gt;RTC Driver Test Example.&lt;/P&gt;&lt;P&gt;Counting 5 update (1/sec) interrupts from reading /dev/rtc0: 1 2 3 4 5&lt;BR /&gt;Again, from using select(2) on /dev/rtc0: 1 2 3 4 5&lt;/P&gt;&lt;P&gt;Current RTC date/time is 1-1-1970, 01:03:06.&lt;BR /&gt;Alarm time now set to 01:03:11.&lt;BR /&gt;Waiting 5 seconds for alarm... okay. Alarm rang.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; *** Test complete ***&lt;/P&gt;&lt;P&gt;Typing "cat /proc/interrupts" will show 11 more events on IRQ rtc.&lt;/P&gt;&lt;P&gt;autorun-rtc.sh: PASS test case: ./rtctest.out --no-periodic&lt;/P&gt;&lt;P&gt;rtc irqs before running unit test: 0&lt;BR /&gt;rtc irqs after running unit test: 11&lt;BR /&gt;so rtc irqs during test was: 11&lt;BR /&gt;checking rtc interrupts PASS&lt;BR /&gt;autorun-rtc.sh: Exiting PASS&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;H.Tanioka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 08:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-Mx7-RTC-Wake-Up/m-p/889095#M134547</guid>
      <dc:creator>tanioka</dc:creator>
      <dc:date>2019-01-23T08:22:28Z</dc:date>
    </item>
  </channel>
</rss>

