<?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>LPC MicrocontrollersのトピックRe: LPC18xx: CGU AUTOBLOCK bit</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819259#M32797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="269545" data-username="naoa" href="https://community.nxp.com/people/naoa"&gt;尚久 荒川&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I believe it's unnecessary to set the AUTO BLOCK bit (bit 11) after checking the various versions of LPCOpen library.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Wed, 05 Dec 2018 03:19:19 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-12-05T03:19:19Z</dc:date>
    <item>
      <title>LPC18xx: CGU AUTOBLOCK bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819256#M32794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found following updated notes about PLL1 settings in the latest LPC18xx User Manual.&lt;BR /&gt;However, our old products did not deal with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;12.6.5.2 PLL1 control register&lt;BR /&gt; Table 123. PLL1_CTRL register (PLL1_CTRL, address 0x4005 0044) bit description&lt;BR /&gt; :&lt;BR /&gt; [1] When the PLL1 is enabled, set the AUTOBLOCK bit in the PLL1_CTRL register to 1. This bit&lt;BR /&gt; re-synchronizes the clock output during frequency changes that prevents glitches when switching clock&lt;BR /&gt; frequencies.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I changed the frequency of PLL 1 as shown below, but will glitch occur?&lt;BR /&gt;And, what happens to the CPU when glitch occurs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Chip_Clock_SetBaseClock(CLK_BASE_MX, CLKIN_IRC, true, false);&lt;BR /&gt;Chip_Clock_EnableCrystal();&lt;BR /&gt;Chip_Clock_SetupMainPLLHz(CLKIN_CRYSTAL, 12000000, 180000000, 180000000); // note: PLL1 divide by 2&lt;BR /&gt;while(!Chip_Clock_MainPLLLocked());&lt;BR /&gt;Chip_Clock_SetBaseClock(CLK_BASE_MX, CLKIN_MAINPLL, true, false);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;for(int delay=0; &lt;SPAN&gt;delay&lt;/SPAN&gt;&amp;lt;= 1240*10; &lt;SPAN&gt;delay&lt;/SPAN&gt;++);// Wait 50 us&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LPC_CGU-&amp;gt;PLL1_CTRL |= (1 &amp;lt;&amp;lt; 7) ; /* DIRECT 90MHz -&amp;gt; 180MHz */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 07:13:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819256#M32794</guid>
      <dc:creator>naoa</dc:creator>
      <dc:date>2018-11-30T07:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx: CGU AUTOBLOCK bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819257#M32795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="269545" data-username="naoa" href="https://community.nxp.com/people/naoa"&gt;尚久 荒川&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;After having a review of your code, I found that you basically follow the steps which are illustrated in 12.2.1.2 Changing the BASE_M3_CLK after waking up from deep-sleep or power-down modes.&lt;BR /&gt;I'd like to if you can introduce the glitch you mentioned and I was wondering if you can share the demo which can replicate this phenomenon.&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Mon, 03 Dec 2018 02:55:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819257#M32795</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-12-03T02:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx: CGU AUTOBLOCK bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819258#M32796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jeremyzhou, thank you very much for your fast and accurate reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My product is old.&lt;BR /&gt;I basically follow the procedure outlined in LPC18xx User manual Rev.2.8, 12.2.1.1 Changing the BASE_M3_CLK after power-up, reset, or deep power-down mode.&lt;BR /&gt;And, I am using the legacy version of LPCOpen v2.20.&lt;BR /&gt;v2.20 does not set the AUTOBLOCK bit in the Chip_Clock_SetupMainPLLHz function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested tens of thousands of times, but the problem has not occurred.&lt;BR /&gt;Is it unnecessary to set the AUTOBLOCK bit in my product?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 02:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819258#M32796</guid>
      <dc:creator>naoa</dc:creator>
      <dc:date>2018-12-04T02:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC18xx: CGU AUTOBLOCK bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819259#M32797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="269545" data-username="naoa" href="https://community.nxp.com/people/naoa"&gt;尚久 荒川&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;I believe it's unnecessary to set the AUTO BLOCK bit (bit 11) after checking the various versions of LPCOpen library.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Wed, 05 Dec 2018 03:19:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC18xx-CGU-AUTOBLOCK-bit/m-p/819259#M32797</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-12-05T03:19:19Z</dc:date>
    </item>
  </channel>
</rss>

