<?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 About iRtc ram when crystal is removed in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680065#M41862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In nxp mkm34z256vll7 I removed external rtc crystal and there is no other external crystal, in this condition I am trying to read the iRtc RAM. But I am unable to see any controller register and controller behaviour also undesired.&lt;/P&gt;&lt;P&gt;Please tell me how to get out from this.As I want to read the iRtc ram and it's variable.&lt;/P&gt;&lt;P&gt;Thank &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Darshan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Jul 2017 09:01:37 GMT</pubDate>
    <dc:creator>darshandpatel</dc:creator>
    <dc:date>2017-07-01T09:01:37Z</dc:date>
    <item>
      <title>About iRtc ram when crystal is removed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680065#M41862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In nxp mkm34z256vll7 I removed external rtc crystal and there is no other external crystal, in this condition I am trying to read the iRtc RAM. But I am unable to see any controller register and controller behaviour also undesired.&lt;/P&gt;&lt;P&gt;Please tell me how to get out from this.As I want to read the iRtc ram and it's variable.&lt;/P&gt;&lt;P&gt;Thank &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Darshan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 09:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680065#M41862</guid>
      <dc:creator>darshandpatel</dc:creator>
      <dc:date>2017-07-01T09:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: About iRtc ram when crystal is removed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680066#M41863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Darshan,&lt;/P&gt;&lt;P&gt;As you know that the iRTC can function with only battery power supply and the 32KHz crystal connected to Extal32/Xtal32 pins even if cpu is power down, so the 32KHz external crystal is prerequisite to read/write iRTC_RAM. If you do not connect the external 32KHz crystal, i suggest you use internal 32KHz IRC as iRTC clock, anyway, the iRTC must have a clock.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 04:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680066#M41863</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-07-06T04:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: About iRtc ram when crystal is removed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680067#M41864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Xiangjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following code when external crystal is removed, but after POR it's not working .&lt;/P&gt;&lt;P&gt;Very first time only it's coming after POR it's not coming.&lt;/P&gt;&lt;P&gt;Please tell for the same .&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;#include "drivers.h"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;extern volatile uint8_t IRTC_Ram[32];&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;void main (void)&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;{&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;FLL_CtrlIRCLKEN(TRUE);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;FLL_SelIRCSCLK(FASTCLK_SRC);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;MCG_C1 |= MCG_C1_FRDIV(0x02);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;SIM_SelRtcClk(SIM_RTCCLK_SRC2);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;SIM_EnableModule(PORTH);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;PORT_Init(PORTH,PORT_MODULE_ALT1_MODE, PIN6 );&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;GPIO_Init(GPIOH,GPIO_OUT_LOGIC0_MODE,PIN6);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;arch_delay(250000);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;GPIO_Set(GPIOH,PIN6);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;SIM_Init(SIM_MODULE_CONFIG_OPTIMIZED_MODE_ONE);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;PMC_Init(PMC_MODULE_LVDRE_OFF_LVDINT_OFF_LVWINT_OFF_CONFIG(PMC_LVDL,PMC_LVW1),PMC_INTREG_BGEN_OFF_BGBE_OFF_CONFIG, PRI_LVL0, (PMC_CALLBACK)NULL);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;SMC_Init (SMC_MODULE_VLPS_ON_VLLS_ON_CONFIG);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;SMC_SetMode(RUN);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;IRTC_Init(IRTC_MODULE_COMP_OFF_CONFIG,&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;IRTC_TAMPER_PIN_POL_LOW_CONFIG(TAMPER_FILT_CLK_2HZ,4),&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;IRTC_TAMPER_PIN_DI_CONFIG,&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;IRTC_TAMPER_PIN_DI_CONFIG, 0);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;MCG_C8 |= (MCG_C8_CME1_MASK );&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;MCG_C8 &amp;amp;= ~(MCG_C8_LOCRE1_MASK);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;arch_delay(2500000);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;GPIO_Clr(GPIOH,PIN6);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;if((MCG_C8_LOCS1_MASK == (MCG_C8 &amp;amp; MCG_C8_LOCS1_MASK)))&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;{&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;FLL_Init (FLL_MODULE_FEI_20_25MHZ_CONFIG);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;MCG_C8 |= MCG_C8_LOCS1_MASK;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;arch_delay(25000);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;}&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;else&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;{&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;SIM_SetClkMode (SYSCLK_MODE1);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;SIM_SetClkDiv (SYSCLK_DIV1);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;FLL_Init (FLL_MODULE_FEE_24MHZ_CONFIG);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;arch_delay(25000);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;}&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;while(1);&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; margin-bottom: 0in;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;Help in this.,&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;Thanks and regards,&lt;/P&gt;&lt;P style="margin-bottom: 0in;"&gt;Darshan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 04:42:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680067#M41864</guid>
      <dc:creator>darshandpatel</dc:creator>
      <dc:date>2017-07-06T04:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: About iRtc ram when crystal is removed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680068#M41865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi xiangjun,&lt;/P&gt;&lt;P&gt;&amp;nbsp;iRtc is working very first initializations also happened, but after POR again iRtc not getting initialized.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px; padding: 0px;"&gt;Upto initializations code is working after coming to irtc initializations controller itself only not working.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px; padding: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px; padding: 0px;"&gt;Darshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 07:03:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680068#M41865</guid>
      <dc:creator>darshandpatel</dc:creator>
      <dc:date>2017-07-06T07:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: About iRtc ram when crystal is removed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680069#M41866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Darshan,&lt;/P&gt;&lt;P&gt;I am sorry, I am not clear about your status, in which condition can you read iRTC RAM, in which condition can you not read the iRTC RAM..&lt;/P&gt;&lt;P&gt;BTW, can you populate the 32KHz external crystal?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 00:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-iRtc-ram-when-crystal-is-removed/m-p/680069#M41866</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-07-07T00:27:40Z</dc:date>
    </item>
  </channel>
</rss>

