<?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 how LPC55 change PLL out wile PLL is running in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1563284#M50920</link>
    <description>&lt;P&gt;Does LPC55 has regs like RT685's 'CLKCTL1_AUDIOPLL0NUM', that can change PLL.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UM11147--NOT CHANGE DEMUN.png" style="width: 773px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202582iB6E351D5358C44ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="UM11147--NOT CHANGE DEMUN.png" alt="UM11147--NOT CHANGE DEMUN.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UM11147--CHANGE AUDIOPLL0NUM.png" style="width: 895px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202583i4E0E760E1910A8DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="UM11147--CHANGE AUDIOPLL0NUM.png" alt="UM11147--CHANGE AUDIOPLL0NUM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 07:14:00 GMT</pubDate>
    <dc:creator>qingyunliu</dc:creator>
    <dc:date>2022-12-02T07:14:00Z</dc:date>
    <item>
      <title>how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1563284#M50920</link>
      <description>&lt;P&gt;Does LPC55 has regs like RT685's 'CLKCTL1_AUDIOPLL0NUM', that can change PLL.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UM11147--NOT CHANGE DEMUN.png" style="width: 773px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202582iB6E351D5358C44ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="UM11147--NOT CHANGE DEMUN.png" alt="UM11147--NOT CHANGE DEMUN.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UM11147--CHANGE AUDIOPLL0NUM.png" style="width: 895px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202583i4E0E760E1910A8DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="UM11147--CHANGE AUDIOPLL0NUM.png" alt="UM11147--CHANGE AUDIOPLL0NUM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 07:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1563284#M50920</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2022-12-02T07:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1563942#M50926</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;The clock system of i.mxrt600 and LPC55xx are different, the LPC55xx has two PLL: PLL0 and PLL1, both the PLL0 and PLL1 can times the clock to provide clock for the core and peripheral.&lt;/P&gt;
&lt;P&gt;As the following picture I copied from UM11126.pdf which is UM of LPC556x/552x. From the pic, you can see that the FCLK is the clock of I2S module via a divider by I2S module, the FLCK can drive the I2S as bit clock via a divider. The FCLK source can be from main_clk which drives the core and peripherals, the MCLK_IN, which is dedicated audio clock from external pin, pll0_clk_div is the divided&amp;nbsp; PLL output clock. The FRO12 is the 12M internal clock.&lt;/P&gt;
&lt;P&gt;The FRG can function as a divider, which can divide the source clock by divider range from 1.0 ... 2.0 in fractional way.&lt;/P&gt;
&lt;P&gt;Pls tell us your application and the audio clock requirement so that we can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1670205805621.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202834i8CE3530FD003D1FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1670205805621.png" alt="xiangjun_rong_1-1670205805621.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1670205205008.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202833i644205D6FABB9359/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1670205205008.png" alt="xiangjun_rong_0-1670205205008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 02:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1563942#M50926</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-12-05T02:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1563985#M50928</link>
      <description>&lt;P&gt;thanks for your reply, but I guess&amp;nbsp;&lt;SPAN&gt;FRG&amp;nbsp;reg is a wrong regs to change PLL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In LPC55, use FRO as source of PLL0, and attach PLL0 clock to MCLK for I2S.&lt;/P&gt;&lt;P&gt;Dose it means if I change FRO, then I2S clock will be change too?&lt;/P&gt;&lt;P&gt;So I want ask which registers can be modify if I want change FRO?&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;FRO_192M_CTRL?&lt;/FONT&gt;&amp;nbsp;you can see the examaple in usb_examaple/usb_device_composite_hid_audio_unified.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 02:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1563985#M50928</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2022-12-05T02:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1564027#M50929</link>
      <description>&lt;P&gt;I checked regs&amp;nbsp;&lt;FONT color="#FF0000"&gt;FRO_192M_CTRL,&lt;FONT color="#000000"&gt; how&amp;nbsp; can I verify this regs?&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;the following log shows FRO_192M_CTRL 'DAC_TRIM' can be changed.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FRO192M_CTRL-1.png" style="width: 804px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202860iC559386CFFD4D26D/image-size/large?v=v2&amp;amp;px=999" role="button" title="FRO192M_CTRL-1.png" alt="FRO192M_CTRL-1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FRO192M_CTRL-2.png" style="width: 323px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202861i8CF6999466EF9EC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="FRO192M_CTRL-2.png" alt="FRO192M_CTRL-2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FRO192M_CTRL-3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202862iEA7FEFFFBB1E6C41/image-size/large?v=v2&amp;amp;px=999" role="button" title="FRO192M_CTRL-3.png" alt="FRO192M_CTRL-3.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;but the SDK following API 'pllRate' means what? If I change&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;FRO_192M_CTRL. does real PLL out will be changed?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FRO192M_CTRL-4.png" style="width: 797px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202863i7F79C6A42F5982DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="FRO192M_CTRL-4.png" alt="FRO192M_CTRL-4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 04:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1564027#M50929</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2022-12-05T04:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1564045#M50930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The FCLKx pin(FCLK of Flexcomm[n]) is the only I2S driving clock, if you set the following clock divider register as 0, the FCLKx is the I2S bit clock.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1670216177404.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202868iC970E3C94C319183/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1670216177404.png" alt="xiangjun_rong_0-1670216177404.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So you have to select the FRGx input source to select the I2S clock.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 04:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1564045#M50930</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-12-05T04:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1564136#M50932</link>
      <description>&lt;P&gt;hi xiangjun,&lt;/P&gt;&lt;P&gt;thanks for you reply，hope you can explain my question directly.&lt;/P&gt;&lt;P&gt;use FRO as source of PLL0, and attach PLL0 clock to MCLK for I2S.&lt;/P&gt;&lt;P&gt;[Q1]. Dose it means if I change FRO, then I2S clock will be change too. &lt;FONT color="#FF0000"&gt;FRO_192M_CTRL?&lt;/FONT&gt;&amp;nbsp;If I change bit16-23, what will happen?&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 06:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1564136#M50932</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2022-12-05T06:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1565020#M50948</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following pic, the the FCLKx is the only clock which drive the I2S module as bit clock.&lt;/P&gt;
&lt;P&gt;Assume that you use 48KHz sampling frequency, and 32 bits for each slot, and use 2 slots, the I2S bit clock will be 32*2*48KHz=3.072MHz&lt;/P&gt;
&lt;P&gt;If you use 12MHz FRO, and set the I2S clock divider as 4, the FCLKx divider must be 12Mhz/(4*3.072MHz)=0.9765625&lt;/P&gt;
&lt;P&gt;1/(1+mult/255)=0.9765625&lt;/P&gt;
&lt;P&gt;so the mult will be 6.12, you truncate it as 6.&lt;/P&gt;
&lt;P&gt;The actual I2S bit clock frequency will be:&lt;/P&gt;
&lt;P&gt;12MHz/[(1/(1+6/255))*4]=3.075MHz&lt;/P&gt;
&lt;P&gt;If you use main_clk as 150MHz, you can use it to get about 3.072MHz I2S bit clock, pls compute the I2S divider and MULT bits in FRG.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1670313312189.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/203176i42ABD9038F94BA3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1670313312189.png" alt="xiangjun_rong_0-1670313312189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 08:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1565020#M50948</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-12-06T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: how LPC55 change PLL out wile PLL is running</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1565832#M50967</link>
      <description>&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;what I mentioned is FRO/PLL clock instead of&amp;nbsp;I2S clock.&lt;/P&gt;&lt;P&gt;in demo LPC55S/.../dev_composite_hid_audio_unified_lite&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Q1] if I change FRO192M_CTRL, does it means FRO12/PLL0/I2S clock will change too?&lt;/P&gt;&lt;P&gt;[Q2] as you can see, CTIME1 's soure clock is FRO_HF, if I change&amp;nbsp;FRO192M_CTRL, will cause Ctimer&amp;nbsp; count change too?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Demo clock.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/203349i225FFC00CF756D1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Demo clock.png" alt="Demo clock.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-LPC55-change-PLL-out-wile-PLL-is-running/m-p/1565832#M50967</guid>
      <dc:creator>qingyunliu</dc:creator>
      <dc:date>2022-12-07T09:49:32Z</dc:date>
    </item>
  </channel>
</rss>

