<?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: [imx6] PLLv3 clock change in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295179#M36490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, many thanks for the quick answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As usual, I think it's essential to get the details correctly, so some more detailed questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; While the question in this thread is specific to PLLv3, the answers apply to &lt;EM&gt;all&lt;/EM&gt; PLLs, correct? I.e. we have to do the same for PLLv1, PLLv2 etc, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; I have some difficulty to match the section 18.5.1.5.3 PLL clock change - "&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Before changing the PLL setting, power it down. Power up the PLL after &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;the change&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;" to the register bits of the CCM_ANALOG_PLL_xxx registers. The CCM_ANALOG_PLL_xxx registers have 3 bits which seem to be involved in our discussion:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;POWERDOWN&lt;/LI&gt;&lt;LI&gt;ENABLE&lt;/LI&gt;&lt;LI&gt;BYPASS&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the correct sequence to change the PLL rate is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Put the PLL in BYPASS by setting the BYPASS bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[16] = 1 (or ensure in different way that the peripherals are not driven by the PLL clock we are switching, e.g. by disabling them or switching them to an other clock source)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;b) Powerdown the PLL by setting the POWERDOWN bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[12] = 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;c) Change the dividers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;d) &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Powerup the PLL by setting the POWERDOWN bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[12] = 0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;e) Wait for lock (then the clock is stable)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;f) Remove the BYPASS by setting the BYPASS bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[16] = 0 (feed the peripherals with the new clock)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;And while doing this, don't touch the ENABLE bit, i.e. keep the PLL enabled by &lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;CCM_ANALOG_PLL_xxx[13] = 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Is this sequence correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; In the recent FSL BSP the before changing the clock, the bypass is &lt;STRONG&gt;explicitly removed&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-imx/clk-pllv3.c?h=imx_3.10.17_1.0.0_ga#n358" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-imx/clk-pllv3.c?h=imx_3.10.17_1.0.0_ga#n358"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wouldn't this result in any clock glitch? Even if you reset afterwards?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 05:32:41 GMT</pubDate>
    <dc:creator>DirkBehme</dc:creator>
    <dc:date>2014-05-13T05:32:41Z</dc:date>
    <item>
      <title>[imx6] PLLv3 clock change</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295177#M36488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;According to User manual&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;section 18.5.1.5.3 PLL clock change&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- "&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Before changing the PLL setting, power it down. Power up the PLL after &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;the change&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;But currently neither 3.10 FSL BSP&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;A class="jive-link-external-small" data-content-finding="Community" href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-imx/clk-pllv3.c?h=imx_3.10.17_1.0.0_ga" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-imx/clk-pllv3.c?h=imx_3.10.17_1.0.0_ga&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;nor 3.15 mainline kernel&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;A class="jive-link-external-small" data-content-finding="Community" href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-imx/clk-pllv3.c?id=refs/tags/v3.15-rc5" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-imx/clk-pllv3.c?id=refs/tags/v3.15-rc5&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;is doing power down/up when changing of PLL clock rate in set_rate() interface.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;I do find one patch from Russell King&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;A class="jive-link-external-small" data-content-finding="Community" href="http://patchwork.ozlabs.org/patch/342801/" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;[134/222] ARM: imx: keep PLLs in bypass while they're locking - Patchwork&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;in this patch PLL is set to bypass mode before change its rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;my question is:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;what is the proper operation to change PLL rate? should pllv3 driver power down/up PLL clock just as user manual stated.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If pllv3 driver keeps current behavior (directly change clock rate with out power down/up or set it to bypass mode),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;is there any potential problem, like clock glitch?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jiada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 07:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295177#M36488</guid>
      <dc:creator>jiadawang</dc:creator>
      <dc:date>2014-05-12T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6] PLLv3 clock change</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295178#M36489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please follow the procedure as mentioned on the Reference Manual as this is the correct way in order to ensure a robust operation of the processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of our BSP a software reset is required after setting the new PLL rate, that’s why a PLL power down/up does not appear in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While bypassing the PLL is theoretically possible, behavior using this method cannot be guaranteed. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 19:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295178#M36489</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2014-05-12T19:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6] PLLv3 clock change</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295179#M36490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, many thanks for the quick answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As usual, I think it's essential to get the details correctly, so some more detailed questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; While the question in this thread is specific to PLLv3, the answers apply to &lt;EM&gt;all&lt;/EM&gt; PLLs, correct? I.e. we have to do the same for PLLv1, PLLv2 etc, correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; I have some difficulty to match the section 18.5.1.5.3 PLL clock change - "&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Before changing the PLL setting, power it down. Power up the PLL after &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;the change&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;" to the register bits of the CCM_ANALOG_PLL_xxx registers. The CCM_ANALOG_PLL_xxx registers have 3 bits which seem to be involved in our discussion:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;POWERDOWN&lt;/LI&gt;&lt;LI&gt;ENABLE&lt;/LI&gt;&lt;LI&gt;BYPASS&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the correct sequence to change the PLL rate is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Put the PLL in BYPASS by setting the BYPASS bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[16] = 1 (or ensure in different way that the peripherals are not driven by the PLL clock we are switching, e.g. by disabling them or switching them to an other clock source)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;b) Powerdown the PLL by setting the POWERDOWN bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[12] = 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;c) Change the dividers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;d) &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Powerup the PLL by setting the POWERDOWN bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[12] = 0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;e) Wait for lock (then the clock is stable)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;f) Remove the BYPASS by setting the BYPASS bit &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;CCM_ANALOG_PLL_xxx[16] = 0 (feed the peripherals with the new clock)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;And while doing this, don't touch the ENABLE bit, i.e. keep the PLL enabled by &lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;CCM_ANALOG_PLL_xxx[13] = 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;SPAN style="font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Is this sequence correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; In the recent FSL BSP the before changing the clock, the bypass is &lt;STRONG&gt;explicitly removed&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-imx/clk-pllv3.c?h=imx_3.10.17_1.0.0_ga#n358" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-imx/clk-pllv3.c?h=imx_3.10.17_1.0.0_ga#n358"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wouldn't this result in any clock glitch? Even if you reset afterwards?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 05:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295179#M36490</guid>
      <dc:creator>DirkBehme</dc:creator>
      <dc:date>2014-05-13T05:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6] PLLv3 clock change</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295180#M36491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.spinics.net/lists/arm-kernel/msg331143.html" title="http://www.spinics.net/lists/arm-kernel/msg331143.html"&gt;http://www.spinics.net/lists/arm-kernel/msg331143.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 11:45:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295180#M36491</guid>
      <dc:creator>DirkBehme</dc:creator>
      <dc:date>2014-05-14T11:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6] PLLv3 clock change</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295181#M36492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gusarambula"&gt;gusarambula&lt;/A&gt; can you continue with the follow up please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 14:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295181#M36492</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-05-15T14:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6] PLLv3 clock change</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295182#M36493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the answer applies to virtually all PLLs, except for the clocks that can’t be stopped, like the core clocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the sequence it is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the i.MX linux tree mentioned, this is not the official BSP but rather a modified version so while it might work, it is recommended to use the original BSP configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 14:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295182#M36493</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2014-05-19T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6] PLLv3 clock change</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295183#M36494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to change PFD1_FRAC of the PLL3.&lt;/P&gt;&lt;P&gt;Do I need to follow the above sequence when just changing a PFD1 value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;P&gt;N.S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 07:54:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-PLLv3-clock-change/m-p/295183#M36494</guid>
      <dc:creator>norishinozaki</dc:creator>
      <dc:date>2016-05-11T07:54:05Z</dc:date>
    </item>
  </channel>
</rss>

