<?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>Other NXP ProductsのトピックRe: RTC alarm functionality not working as intended !</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655531#M17843</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the example in document UM10301 it says to disable all other alarms while setting minute alarm is that mandate to do ?&lt;/P&gt;&lt;P&gt;Do we need to need to set the MI bit in control 2 register for using alarm functionality ?&lt;/P&gt;&lt;P&gt;It's not the typo 0x19 is the command to write into the register address 0x09h&lt;/P&gt;&lt;P&gt;Also any idea on default INT line state ?, it suppose to be high by default but in my case it is low.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saitej_Chinthala_0-1684831284291.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224411i5B70F5B4DF460DBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saitej_Chinthala_0-1684831284291.png" alt="Saitej_Chinthala_0-1684831284291.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Saitej_Chinthala_0-1684831284291.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 08:52:27 GMT</pubDate>
    <dc:creator>Saitej_Chinthala</dc:creator>
    <dc:date>2023-05-23T08:52:27Z</dc:date>
    <item>
      <title>RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1654508#M17821</link>
      <description>&lt;P&gt;Hello NXP&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am using PCA21125 RTC and i would like use the Alarm functionality, after the configuring the control-2 register as stated in data sheet still am not able to see INT signal generated.&lt;/P&gt;&lt;P&gt;Attached logic analyzer log file as well here the brief info about what we have loaded to the concern register's and also some screen shots of the data sheet statements related to alarm functionality.&lt;/P&gt;&lt;P&gt;One more weird behavior observed is that by default and all the time INT pin is low, by default it should be high. But if we read the control 2 register no flags has been set, Do we need to verify anything else also ?.&lt;/P&gt;&lt;P&gt;Control-1 :&amp;nbsp;0b00000000 - Normal operation&lt;/P&gt;&lt;P&gt;Control-2:&amp;nbsp;0b00000010 - AIE bit set INT pin to follow AF&amp;nbsp;&lt;/P&gt;&lt;P&gt;command to write into alarm minutes register (0b00011001) and data sent to register 0x09h is&amp;nbsp;0b00000001 - Enabling and alarm interrupt for every minute&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saitej_Chinthala_0-1684734499832.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224108iFD7AAE4CF8A26B9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saitej_Chinthala_0-1684734499832.png" alt="Saitej_Chinthala_0-1684734499832.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Saitej_Chinthala_0-1684734499832.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saitej_Chinthala_0-1684740051014.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224157i707D6B551955FF62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saitej_Chinthala_0-1684740051014.png" alt="Saitej_Chinthala_0-1684740051014.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Saitej_Chinthala_0-1684740051014.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 07:55:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1654508#M17821</guid>
      <dc:creator>Saitej_Chinthala</dc:creator>
      <dc:date>2023-05-22T07:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655400#M17840</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Saitej,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Two remarks:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Did you try to enable a minute interrupt by setting the MI bit in the Control_2 register?&lt;/LI&gt;
&lt;LI&gt;If you want to write to the Minute_alarm register, please make sure you are using its correct address. Unless it is a typo, you are using the address of 0b00011001 = 0x19h, while the correct address is 0x09h.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Otherwise it seems that you are doing everything right. There is an example for the Alarm function in the &lt;A href="https://www.nxp.com/docs/en/user-guide/UM10301.pdf" target="_self"&gt;UM10301&lt;/A&gt;, chapter 12.2.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Tomas&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 07:14:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655400#M17840</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2023-05-23T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655531#M17843</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the example in document UM10301 it says to disable all other alarms while setting minute alarm is that mandate to do ?&lt;/P&gt;&lt;P&gt;Do we need to need to set the MI bit in control 2 register for using alarm functionality ?&lt;/P&gt;&lt;P&gt;It's not the typo 0x19 is the command to write into the register address 0x09h&lt;/P&gt;&lt;P&gt;Also any idea on default INT line state ?, it suppose to be high by default but in my case it is low.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saitej_Chinthala_0-1684831284291.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224411i5B70F5B4DF460DBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saitej_Chinthala_0-1684831284291.png" alt="Saitej_Chinthala_0-1684831284291.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Saitej_Chinthala_0-1684831284291.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 08:52:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655531#M17843</guid>
      <dc:creator>Saitej_Chinthala</dc:creator>
      <dc:date>2023-05-23T08:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655614#M17845</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Saitej,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;By default both the day and weekday alarms are disabled ("1"), so that is not mandatory.&lt;/P&gt;
&lt;P&gt;Since you write 0x01h to the Minute_alarm register, you can also use the minute interrupt (MI = 1) as an alternative way to achieve one minute interrupt.&lt;/P&gt;
&lt;P&gt;Yes, you are right with 0x19, my mistake and apologies for that.&lt;/P&gt;
&lt;P&gt;No idea right now why the INT pin is low, is the GPIO of your MCU the INT pin is connected to properly configured as an interrupt input?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Tomas&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 09:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655614#M17845</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2023-05-23T09:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655637#M17846</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again Thanks for the quick reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are right alternatively we can MI bit for minute interrupt but we wish configure for 2 or 3 minutes so we would like to use alarm functionality.&lt;/P&gt;&lt;P&gt;For my testing purpose configured alarm INT for 1 minute.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 10:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1655637#M17846</guid>
      <dc:creator>Saitej_Chinthala</dc:creator>
      <dc:date>2023-05-23T10:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1661945#M17978</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply , for having INT pin Low all the because of the hardware issue pull up resistor.&lt;/P&gt;&lt;P&gt;After correcting still am not able to see INT generated for alarm functionality but minute alarm is working properly.&lt;/P&gt;&lt;P&gt;Can you please take look into both attached logic analyzer logs (you need logic2 software from saleae to view it).&lt;/P&gt;&lt;P&gt;Please help me in identifying what am missing to configure to generate alarm functionality.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saitej_Chinthala_0-1685629509117.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225886i827EEAE53A077B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saitej_Chinthala_0-1685629509117.png" alt="Saitej_Chinthala_0-1685629509117.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Saitej_Chinthala_0-1685629509117.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 14:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1661945#M17978</guid>
      <dc:creator>Saitej_Chinthala</dc:creator>
      <dc:date>2023-06-01T14:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1662034#M17980</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more strange behaviour observed after recycling the power with out coin cell, the data in the register 09 is not holding .. even after writing to register 09 on after immediate power cycle. please take a look into the logs attached.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 17:06:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1662034#M17980</guid>
      <dc:creator>Saitej_Chinthala</dc:creator>
      <dc:date>2023-06-01T17:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: RTC alarm functionality not working as intended !</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1663486#M18009</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you got a chance to look into the logs. Do we have any updates ?.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 12:33:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RTC-alarm-functionality-not-working-as-intended/m-p/1663486#M18009</guid>
      <dc:creator>Saitej_Chinthala</dc:creator>
      <dc:date>2023-06-05T12:33:10Z</dc:date>
    </item>
  </channel>
</rss>

