<?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: MK22FX512AVMC12 hard reset issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2111751#M67604</link>
    <description>&lt;P&gt;Thanks to&amp;nbsp;Celeste.&lt;/P&gt;&lt;P&gt;We use 120MHz core, Bus clock should be 60MHz or 40MHZ. &lt;SPAN&gt;I'm a little unsure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_Tao_0-1749181397329.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341681i4615E9A07AFEE964/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_Tao_0-1749181397329.png" alt="Victor_Tao_0-1749181397329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Bus clock=40MHZ, 128 Cycles=3.2us.&lt;/P&gt;&lt;P&gt;Bus clock=60MHZ, 128 Cycles=2.13us.&lt;/P&gt;&lt;P&gt;When I use 50us &lt;SPAN&gt;period&amp;nbsp;reset&lt;/SPAN&gt;,10% Low=5us&amp;gt;&amp;gt;3.2us or&amp;nbsp;2.13us.&lt;/P&gt;&lt;P&gt;This 5us not only meet 128 bus cycles you provide, but also can meet 100ns pulse in MK22FX512 DS. But there is a hard reset issue. Can you explain it？&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_Tao_1-1749182451207.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341684i2D1ECBA77D5B74F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_Tao_1-1749182451207.png" alt="Victor_Tao_1-1749182451207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I also test 50us&amp;nbsp; low&amp;nbsp;&lt;SPAN&gt;period to&amp;nbsp;50%&lt;/SPAN&gt;&amp;nbsp;, there is no issue found this time.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2025 04:11:20 GMT</pubDate>
    <dc:creator>Victor_Tao</dc:creator>
    <dc:date>2025-06-06T04:11:20Z</dc:date>
    <item>
      <title>MK22FX512AVMC12 hard reset issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2107791#M67586</link>
      <description>&lt;P&gt;Hello NXP team,&lt;/P&gt;&lt;P&gt;I find a hard reset issue when I use the MK22FX512AVMC12 microcontroller:&lt;/P&gt;&lt;P&gt;Step1. When I use a 50us period square wave (low period=10%, high period=90%) to hard reset the MCU, MCU will most likely enter a reset status or some low-power mode and cannot jump out from this reset status. At the same times, the Reset—B level is always kept low (0.1V).&lt;/P&gt;&lt;P&gt;The MCU needs to be powered on and off to restored to normal. After powering on and off, Reset-B is a normal high level, and K22FX512 can work normally.&lt;/P&gt;&lt;P&gt;During this continuous hard reset test, sometimes JLINK failed to connect to&amp;nbsp;&amp;nbsp;K22FX512. Once K22FX512 successfully connected to JLINK, the MCU flash data I read all became 0xFF. Therefore, I had to reprogram K22FX512 MCU.&lt;/P&gt;&lt;P&gt;Step2.When I increased the reset wave to a period of 1ms ,10ms even longer, the phenomenon in step 1 disappeared.&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;No MCU power supply issues were found.&lt;/LI&gt;&lt;LI&gt;Check &amp;nbsp;the MCU specifications, the reset pulse low period should be greater than 100ns.&lt;/LI&gt;&lt;LI&gt;The Reset-B Pin is pulled up to 3.3V via a 4.7k resistor without a capacitance to ground. So I added a 0.1uF capacitor between the Reset-B pin and ground, forming an RC filter. &amp;nbsp;But it didn’t &amp;nbsp;work, the issue in step1 still exists.&lt;/LI&gt;&lt;/OL&gt;&lt;OL&gt;&lt;LI&gt;The Reset Pin Control Register (RCM_RPFC) is enabled but has no effect.&lt;/LI&gt;&lt;LI&gt;The NMI Pin(J8) is floating. I tried to disable &amp;nbsp;the NMI function[NMI_DIS=0] ,it still doesn’t &amp;nbsp;work.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is the phenomenon in step 1 normal? If not, could you share some methods to help me solve this issue?&lt;/LI&gt;&lt;LI&gt;Could you explain why the flash data goes to 0xFF after such hard reset?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 30 May 2025 07:37:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2107791#M67586</guid>
      <dc:creator>Victor_Tao</dc:creator>
      <dc:date>2025-05-30T07:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: MK22FX512AVMC12 hard reset issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2110088#M67595</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251088"&gt;@Victor_Tao&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your post.&amp;nbsp;Can you tell me the mask set of your chip? Additionally, it would be better if you could send me your circuit diagram.&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 06:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2110088#M67595</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-06-04T06:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: MK22FX512AVMC12 hard reset issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2110111#M67596</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MK22FX512AVMC12 circuit.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341299i61FAC5F1799F97A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MK22FX512AVMC12 circuit.png" alt="MK22FX512AVMC12 circuit.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MK22FX512AVMC12 mask set.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341300iFECA4A15DF260ED5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MK22FX512AVMC12 mask set.png" alt="MK22FX512AVMC12 mask set.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 06:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2110111#M67596</guid>
      <dc:creator>Victor_Tao</dc:creator>
      <dc:date>2025-06-04T06:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: MK22FX512AVMC12 hard reset issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2110960#M67599</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251088"&gt;@Victor_Tao&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your information.&lt;/P&gt;
&lt;P&gt;Could you let me know what is the bus clock frequency?&lt;/P&gt;
&lt;P&gt;Accroding to RM description, Reset pin should keep low for at least 128 bus clock cycle&lt;SPAN&gt;s.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Celeste_Liu_1-1749103141503.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341517i18024787193E9F99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Celeste_Liu_1-1749103141503.png" alt="Celeste_Liu_1-1749103141503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And could you change the low period to 50% when using 50us period square and try it again?&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2110960#M67599</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-06-05T05:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: MK22FX512AVMC12 hard reset issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2111751#M67604</link>
      <description>&lt;P&gt;Thanks to&amp;nbsp;Celeste.&lt;/P&gt;&lt;P&gt;We use 120MHz core, Bus clock should be 60MHz or 40MHZ. &lt;SPAN&gt;I'm a little unsure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_Tao_0-1749181397329.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341681i4615E9A07AFEE964/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_Tao_0-1749181397329.png" alt="Victor_Tao_0-1749181397329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Bus clock=40MHZ, 128 Cycles=3.2us.&lt;/P&gt;&lt;P&gt;Bus clock=60MHZ, 128 Cycles=2.13us.&lt;/P&gt;&lt;P&gt;When I use 50us &lt;SPAN&gt;period&amp;nbsp;reset&lt;/SPAN&gt;,10% Low=5us&amp;gt;&amp;gt;3.2us or&amp;nbsp;2.13us.&lt;/P&gt;&lt;P&gt;This 5us not only meet 128 bus cycles you provide, but also can meet 100ns pulse in MK22FX512 DS. But there is a hard reset issue. Can you explain it？&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_Tao_1-1749182451207.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341684i2D1ECBA77D5B74F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_Tao_1-1749182451207.png" alt="Victor_Tao_1-1749182451207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I also test 50us&amp;nbsp; low&amp;nbsp;&lt;SPAN&gt;period to&amp;nbsp;50%&lt;/SPAN&gt;&amp;nbsp;, there is no issue found this time.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 04:11:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2111751#M67604</guid>
      <dc:creator>Victor_Tao</dc:creator>
      <dc:date>2025-06-06T04:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: MK22FX512AVMC12 hard reset issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2113194#M67614</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251088"&gt;@Victor_Tao&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for you reply.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data on the datasheet is only under ideal conditions. Could you help confirm the specific value of your bus clock?&lt;/P&gt;
&lt;P&gt;According to the RM, the Bus Clock is generated by dividing MCGOUTCLK through OUTDIV2, with a maximum frequency of 60 MHz.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Celeste_Liu_0-1749526121282.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/342090iC7167CE0E6B52113/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Celeste_Liu_0-1749526121282.png" alt="Celeste_Liu_0-1749526121282.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How do you configure the MCG/SIM registers in your program?&lt;/P&gt;
&lt;P&gt;Or can you measure the specific value of the bus clock through CLKOUT?&lt;/P&gt;
&lt;P&gt;Have a nice day.&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 03:30:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FX512AVMC12-hard-reset-issue/m-p/2113194#M67614</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-06-10T03:30:22Z</dc:date>
    </item>
  </channel>
</rss>

