<?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: NXP ICS LOC Reset in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1784995#M65906</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;MCU was waking up and going back to sleep every 25 seconds, so we reduced this to 2 seconds to replicate the error. At the end of the test, we saw that the processor entered a hard fault. We added while into the hard fault function and debugged it with Attach to Running Target.&lt;/P&gt;&lt;P&gt;After turning off the timer clock(SIM-&amp;gt;SCGC &amp;amp;= ~0x2u), we saw that ISR_pit_ch1 (timer interrupt)(PIT-&amp;gt;CHANNEL[1].TFLG |= 0x1u) came and this caused the error. Do you think LOC reset could be related to this problem?&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 07:47:59 GMT</pubDate>
    <dc:creator>cagri</dc:creator>
    <dc:date>2024-01-09T07:47:59Z</dc:date>
    <item>
      <title>NXP ICS LOC Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1780408#M65840</link>
      <description>&lt;P&gt;In a project where we use NXP MKE04Z128VQH4, we are having MCU reset problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When we check the SIM_SRSID register after reset, the reset cause is seen as ICS loss-of-clock (LOC). However ICS_C4[CME] is not set.&lt;/P&gt;&lt;P&gt;Can you help with the cause and solution of the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Information about the design can be found below and in the attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="72"&gt;&lt;P&gt;MCU&lt;/P&gt;&lt;/TD&gt;&lt;TD width="13"&gt;&lt;P&gt;:&lt;/P&gt;&lt;/TD&gt;&lt;TD width="175"&gt;&lt;P&gt;MKE04Z128VQH4&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="72"&gt;&lt;P&gt;XTAL&lt;/P&gt;&lt;/TD&gt;&lt;TD width="13"&gt;&lt;P&gt;:&lt;/P&gt;&lt;/TD&gt;&lt;TD width="175"&gt;&lt;P&gt;AWSCR-8.00MES-C15-T&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="72"&gt;&lt;P&gt;OSC_CR&lt;/P&gt;&lt;/TD&gt;&lt;TD width="13"&gt;&lt;P&gt;:&lt;/P&gt;&lt;/TD&gt;&lt;TD width="175"&gt;&lt;P&gt;0b10110101&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="72"&gt;&lt;P&gt;ICS_C1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="13"&gt;&lt;P&gt;:&lt;/P&gt;&lt;/TD&gt;&lt;TD width="175"&gt;&lt;P&gt;0b00011010&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="72"&gt;&lt;P&gt;ICS_C2&lt;/P&gt;&lt;/TD&gt;&lt;TD width="13"&gt;&lt;P&gt;:&lt;/P&gt;&lt;/TD&gt;&lt;TD width="175"&gt;&lt;P&gt;0b00100000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="72"&gt;&lt;P&gt;ICS_C3&lt;/P&gt;&lt;/TD&gt;&lt;TD width="13"&gt;&lt;P&gt;:&lt;/P&gt;&lt;/TD&gt;&lt;TD width="175"&gt;&lt;P&gt;93&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="72"&gt;&lt;P&gt;ICS_C4&lt;/P&gt;&lt;/TD&gt;&lt;TD width="13"&gt;&lt;P&gt;:&lt;/P&gt;&lt;/TD&gt;&lt;TD width="175"&gt;&lt;P&gt;0b00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 27 Dec 2023 07:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1780408#M65840</guid>
      <dc:creator>cagri</dc:creator>
      <dc:date>2023-12-27T07:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: NXP ICS LOC Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1784884#M65904</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I see that you connect 8MHz crystal to the XTAL/EXTAL pins for KE04.&lt;/P&gt;
&lt;P&gt;1)I have checked your crystal connection, you do not connect the capacitors as the following Fig.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1704777889778.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/257184iD390D6088AFDC961/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1704777889778.png" alt="xiangjun_rong_0-1704777889778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2)You set the OSC_CR[RANGE]=1, OSC_CR[HGO]=0, so you use high frequency,low power mode.&lt;/P&gt;
&lt;P&gt;Pls try to set both the RANGE and HGO bits and have a try.&lt;/P&gt;
&lt;P&gt;21.6.2.3 High-frequency, high-gain mode&lt;BR /&gt;In high-frequency, high-gain Mode (OSC_CR[RANGE] = 1, OSC_CR[HGO] = 1), the&lt;BR /&gt;oscillator uses a simple inverter-style amplifier. The gain is set to achieve rail-to-rail&lt;BR /&gt;oscillation amplitudes.&lt;/P&gt;
&lt;P&gt;The oscillator input buffer in this mode is single-ended. It provides low pass frequency&lt;BR /&gt;filtering as well as hysteresis for voltage filtering and converts the output to logic levels.&lt;BR /&gt;21.6.2.4 High-frequency, low-power mode&lt;BR /&gt;In high-frequency, low-power mode (OSC_CR[RANGE] = 1, OSC_CR[HGO] = 0) the&lt;BR /&gt;oscillator uses a gain control loop to minimize power consumption. As the oscillation&lt;BR /&gt;amplitude increases, the amplifier current is reduced. This continues until a desired&lt;BR /&gt;amplitude is achieved at steady-state.&lt;BR /&gt;The oscillator input buffer in this mode is differential. It provides low pass frequency&lt;BR /&gt;filtering as well as hysteresis for voltage filtering and converts the output to logic levels&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;</description>
      <pubDate>Tue, 09 Jan 2024 05:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1784884#M65904</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-01-09T05:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: NXP ICS LOC Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1784995#M65906</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;MCU was waking up and going back to sleep every 25 seconds, so we reduced this to 2 seconds to replicate the error. At the end of the test, we saw that the processor entered a hard fault. We added while into the hard fault function and debugged it with Attach to Running Target.&lt;/P&gt;&lt;P&gt;After turning off the timer clock(SIM-&amp;gt;SCGC &amp;amp;= ~0x2u), we saw that ISR_pit_ch1 (timer interrupt)(PIT-&amp;gt;CHANNEL[1].TFLG |= 0x1u) came and this caused the error. Do you think LOC reset could be related to this problem?&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 07:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1784995#M65906</guid>
      <dc:creator>cagri</dc:creator>
      <dc:date>2024-01-09T07:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: NXP ICS LOC Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1789961#M65948</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do not think that hardfault error can necessarily lead to reset.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 05:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/NXP-ICS-LOC-Reset/m-p/1789961#M65948</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-01-17T05:13:20Z</dc:date>
    </item>
  </channel>
</rss>

