<?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: FRDMK22 enable PEE mode in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741984#M45207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claudio Brunelli,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Enable the PEE mode need to follow this diagram.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39293i4F4245200F8EC08D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the KDS PE create a project which is configuring the PEE mode,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39237iBE5053B64A53CC47/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attach the project for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2017 03:27:30 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-11-28T03:27:30Z</dc:date>
    <item>
      <title>FRDMK22 enable PEE mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741983#M45206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'd like to move my frdmk22 board, to PEE clock mode but I can't see different clock even changing values&lt;/P&gt;&lt;P&gt;in the below code.&lt;/P&gt;&lt;P&gt;Do I forget something ? Or ther's something wrong in my code ?&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void PEE_InitMode(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MCG-&amp;gt;C2 = 0x2C;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MCG-&amp;gt;C1 = 0x98;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while ((MCG-&amp;gt;S &amp;amp; MCG_S_OSCINIT0_MASK) == 1)&amp;nbsp;&amp;nbsp; &amp;nbsp;;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while ((MCG-&amp;gt;S &amp;amp; MCG_S_IREFST_MASK) == 0);&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while ((MCG-&amp;gt;S &amp;amp; MCG_S_CLKST(10)) == 0x10);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MCG-&amp;gt;C5 = 0x03;&amp;nbsp; // /4&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MCG-&amp;gt;C6 = 0x41;&amp;nbsp; // *25&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while ((MCG-&amp;gt;S &amp;amp; MCG_S_PLLST_MASK) == 1);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while ((MCG-&amp;gt;S &amp;amp; MCG_S_LOCK0_MASK) == 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;MCG-&amp;gt;C1 = 0x01;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while ((MCG-&amp;gt;S &amp;amp; MCG_S_CLKST(01)) == 0x01);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SIM-&amp;gt;SOPT2 |= SIM_SOPT2_PLLFLLSEL_MASK;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 23:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741983#M45206</guid>
      <dc:creator>claudiobrunelli</dc:creator>
      <dc:date>2017-11-27T23:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: FRDMK22 enable PEE mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741984#M45207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claudio Brunelli,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Enable the PEE mode need to follow this diagram.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39293i4F4245200F8EC08D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the KDS PE create a project which is configuring the PEE mode,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39237iBE5053B64A53CC47/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attach the project for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 03:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741984#M45207</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-11-28T03:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: FRDMK22 enable PEE mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741985#M45208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry.&lt;/P&gt;&lt;P&gt;Sorry the delay in answering you. I prefer don't use PE. But I'm going to try your suggestion to use PE generated code. I will write soon as I can try.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 20:05:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741985#M45208</guid>
      <dc:creator>claudiobrunelli</dc:creator>
      <dc:date>2017-11-29T20:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: FRDMK22 enable PEE mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741986#M45209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claudio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; PE code is just for your reference, you can don't use it, but just follow the code process write your own code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 09:20:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDMK22-enable-PEE-mode/m-p/741986#M45209</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-11-30T09:20:52Z</dc:date>
    </item>
  </channel>
</rss>

