<?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: PLL configuration</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524048#M6684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Linas on Fri Mar 08 05:29:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh yes I see that LPC1778 peripheral gets clock from the PLL. So, in case of LPC1778 I can configure CPU divider dynamically. Are there any special sequence to do that? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:06:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:06:40Z</dc:date>
    <item>
      <title>PLL configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524045#M6681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Linas on Thu Mar 07 02:54:33 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to dinamically change PLL clock in the LPC17xx MCU. During the program flow I would like to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reduce clock from 80 MHz to 30 MHz. Is it safe? Maybe someone had a similar task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524045#M6681</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: PLL configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524046#M6682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Thu Mar 07 10:02:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the PLL to drive the system clock (base clock for CPU divider and peripherals)? And are you using the 175x/6x or 177x/8x family?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Changing the PLL while the system is actively using it isn't something I would recommend. It might work, but changing the PLL rate usually has some delay involved and can stall or cause problems with devices that use that clock (for example, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you really need to change the PLL rate, it's best to switch the system clock to a safe clock (main oscillator or IRC), then adjust the PLL and wait for PLL lock, and then switch the system clock back to the PLL. Because the PLL rate changed, any peripherals you use will need to be re-setup for the new clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A better alternative would be to keep the PLL clock rate at 80MHz and adjust the CPU clock divider. It won't get you an exact 30MHz, but you can easily get 40MHz or 26.67MHz. You can also trying bumping up the PLL rate to 120MHz and using CPU dividers of 2 and 4 for fast switching between 60Mhz and 30MHz. For the 175x/6x family, the peripheral clock rate is based on the CPU rate and it's divider, while the 177x/8x peripheral clock is based directly on the system clock (ie, PLL out) and isn't altered by the CPU divider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524046#M6682</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: PLL configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524047#M6683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Linas on Fri Mar 08 05:23:53 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I am using PLL to drive CPU and peripherals clock. So, if I will change CPU divider, do I need to re-setup peripherals?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I am going to use LPC1778. For now I am working with LPC1756.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linas&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524047#M6683</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: PLL configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524048#M6684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Linas on Fri Mar 08 05:29:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh yes I see that LPC1778 peripheral gets clock from the PLL. So, in case of LPC1778 I can configure CPU divider dynamically. Are there any special sequence to do that? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524048#M6684</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: PLL configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524049#M6685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Linas on Tue Mar 12 01:08:17 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;But I noticed one thing regarding changing CPU divider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SC-&amp;gt;CCLKCFG&amp;nbsp;&amp;nbsp; = CCLKCFG_Val;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Setup Clock Divider&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; /* Periphral clock must be selected before PLL0 enabling and connecting */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, in case LPC1778 I want to change dynamically CPU clock divider I need to disable and disconnect PLL. Can I change&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CPU divider without disabling PLL during application runtime? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Linas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:06:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/524049#M6685</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: PLL configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/1475392#M49209</link>
      <description>&lt;P&gt;About updating PLL clock:&lt;/P&gt;&lt;P&gt;1. Does stalling or hanging of controller will happen if we initialize PLL twice? I mean, if code call PLL_Init function twice what will happen?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 15:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL-configuration/m-p/1475392#M49209</guid>
      <dc:creator>NaserKshirsagar</dc:creator>
      <dc:date>2022-06-16T15:22:17Z</dc:date>
    </item>
  </channel>
</rss>

