<?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: K32L2A41A How to select 1 kHz LPO as a clock source for RTC in MCUXpresso Config Tools</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/K32L2A41A-How-to-select-1-kHz-LPO-as-a-clock-source-for-RTC/m-p/1597513#M1616</link>
    <description>&lt;P class="lia-align-justify"&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209831"&gt;@pciampanelli&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;It seems that you will have to configurate the RTC Clock Configuration by yourself. You could look at the SDK's examples or call the following function: RTC_SetClockSource(), between RTC_Init() and RTC_Stop().&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;There you could try to set the LPO as your clock source [in fsl_rtc.h], as follows:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;static inline void RTC_SetClockSource(RTC_Type *base)
{
    //
    base-&amp;gt;CR |= RTC_CR_LPOS_MASK;
    //
}&lt;/LI-CODE&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 17:27:50 GMT</pubDate>
    <dc:creator>RaRo</dc:creator>
    <dc:date>2023-02-10T17:27:50Z</dc:date>
    <item>
      <title>K32L2A41A How to select 1 kHz LPO as a clock source for RTC</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/K32L2A41A-How-to-select-1-kHz-LPO-as-a-clock-source-for-RTC/m-p/1596640#M1613</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;using MCUXpresso IDE I'm trying to configure RTC Clock source to be 1kHz LPO.&lt;/P&gt;&lt;P&gt;The peripheral tool says: "The clock configuration of the RTC peripheral is a part of the clock tool" where the clock for RTC should be selected, but I find no sign of such configuration in Clock tool.&lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 13:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/K32L2A41A-How-to-select-1-kHz-LPO-as-a-clock-source-for-RTC/m-p/1596640#M1613</guid>
      <dc:creator>pciampanelli</dc:creator>
      <dc:date>2023-02-09T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: K32L2A41A How to select 1 kHz LPO as a clock source for RTC</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/K32L2A41A-How-to-select-1-kHz-LPO-as-a-clock-source-for-RTC/m-p/1597513#M1616</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209831"&gt;@pciampanelli&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;It seems that you will have to configurate the RTC Clock Configuration by yourself. You could look at the SDK's examples or call the following function: RTC_SetClockSource(), between RTC_Init() and RTC_Stop().&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;There you could try to set the LPO as your clock source [in fsl_rtc.h], as follows:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;static inline void RTC_SetClockSource(RTC_Type *base)
{
    //
    base-&amp;gt;CR |= RTC_CR_LPOS_MASK;
    //
}&lt;/LI-CODE&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 17:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/K32L2A41A-How-to-select-1-kHz-LPO-as-a-clock-source-for-RTC/m-p/1597513#M1616</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-02-10T17:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: K32L2A41A How to select 1 kHz LPO as a clock source for RTC</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/K32L2A41A-How-to-select-1-kHz-LPO-as-a-clock-source-for-RTC/m-p/1597899#M1617</link>
      <description>&lt;P&gt;Thanks Raul,&lt;/P&gt;&lt;P&gt;this solves the issue&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 06:37:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/K32L2A41A-How-to-select-1-kHz-LPO-as-a-clock-source-for-RTC/m-p/1597899#M1617</guid>
      <dc:creator>pciampanelli</dc:creator>
      <dc:date>2023-02-13T06:37:14Z</dc:date>
    </item>
  </channel>
</rss>

