<?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>S32KのトピックS32K314 MCAL RTC config</title>
    <link>https://community.nxp.com/t5/S32K/S32K314-MCAL-RTC-config/m-p/1743449#M28005</link>
    <description>&lt;P&gt;hi, I am using S32K314 MCAL to config RTC.&lt;/P&gt;&lt;P&gt;In the project,&amp;nbsp; &lt;STRONG&gt;RTC clock is 32.768Khz&lt;/STRONG&gt;, so config "&lt;STRONG&gt;&lt;SPAN&gt;RTC_IP_CLOCK_SOURCE_0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;" as rtc clock source,&amp;nbsp; and enable&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;DivBy512 &amp;amp;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;DivBy32, &lt;/STRONG&gt;a&lt;/SPAN&gt;utomatic calculate&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;GptChannelTickFrequency&lt;/STRONG&gt;&amp;nbsp; value is 2.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But EB generate RTC code,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;RTC_IP_TICKS_PER_SECOND value always is 0, so get time is wrong. So how can I change the value through mcal configuration?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 06:40:03 GMT</pubDate>
    <dc:creator>zhouhui</dc:creator>
    <dc:date>2023-10-20T06:40:03Z</dc:date>
    <item>
      <title>S32K314 MCAL RTC config</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-MCAL-RTC-config/m-p/1743449#M28005</link>
      <description>&lt;P&gt;hi, I am using S32K314 MCAL to config RTC.&lt;/P&gt;&lt;P&gt;In the project,&amp;nbsp; &lt;STRONG&gt;RTC clock is 32.768Khz&lt;/STRONG&gt;, so config "&lt;STRONG&gt;&lt;SPAN&gt;RTC_IP_CLOCK_SOURCE_0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;" as rtc clock source,&amp;nbsp; and enable&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;DivBy512 &amp;amp;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;DivBy32, &lt;/STRONG&gt;a&lt;/SPAN&gt;utomatic calculate&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;GptChannelTickFrequency&lt;/STRONG&gt;&amp;nbsp; value is 2.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But EB generate RTC code,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;RTC_IP_TICKS_PER_SECOND value always is 0, so get time is wrong. So how can I change the value through mcal configuration?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 06:40:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-MCAL-RTC-config/m-p/1743449#M28005</guid>
      <dc:creator>zhouhui</dc:creator>
      <dc:date>2023-10-20T06:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K314 MCAL RTC config</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-MCAL-RTC-config/m-p/1753998#M28476</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;zhouhui,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please take a look at this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Definition_of_RTC_IP_TICKS.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248954i0A23573AFF518264/image-size/large?v=v2&amp;amp;px=999" role="button" title="Definition_of_RTC_IP_TICKS.png" alt="Definition_of_RTC_IP_TICKS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Maybe the value 0 comes from the fact that you didn't enable RTC in GptHwIp, or RTC conditions are met but calculated value for in used clock still 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please add RTC channel configuration&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GpthwIp_RTC.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248953i1039F5971E868718/image-size/large?v=v2&amp;amp;px=999" role="button" title="GpthwIp_RTC.png" alt="GpthwIp_RTC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;After configure GptRtc, please enable channel by tick them in HwConfiguration part.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RTC_ChannelIsUsed.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248955i2D008841594CBB3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="RTC_ChannelIsUsed.png" alt="RTC_ChannelIsUsed.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if have further information.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Nam.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 07:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-MCAL-RTC-config/m-p/1753998#M28476</guid>
      <dc:creator>NamLee</dc:creator>
      <dc:date>2023-11-08T07:27:38Z</dc:date>
    </item>
  </channel>
</rss>

