<?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: LPC55S69 PLL1 does not function in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067822#M5802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Rory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;I have tested your&amp;nbsp;problems on the LPCXpresso55S69-evk, use lpcxpresso55s69_sdcard_fatfs demo from SDK_2.7.1 for LPCXpresso55s69. I use&amp;nbsp;PLL1 to configure&amp;nbsp;the SDIO clock in the clock config tool, and then download the updated code into the EVK ,it could not work normally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then,&amp;nbsp;I checked the demo code in the SDK. and i found there is&amp;nbsp;a bug in the lpcxpresso55s69_sdcard_fatfs demo from SDK_2.7.1 for LPCXpresso55s69&amp;nbsp;. As the&amp;nbsp;figure below shows,&amp;nbsp;there is a mistake&amp;nbsp;in the CLOCK_Set PLL1Freq() function, it should be s_Pll1_Freq = pSetup-&amp;gt;pllRate&amp;nbsp;, not s_Pll0_Freq = pSetup-&amp;gt;pllRate. This&amp;nbsp;bug may cause the PLL1 clock couldn't work normally. When i fixed this bug, the&amp;nbsp;SDIO can work with PLL1 normally.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107641iF2AF8ABD7534A523/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Also, i'&amp;nbsp;ve&amp;nbsp;tested the PLL1 clock from the CLKOUT pin,&amp;nbsp;it can output normally. And i checked the user manual, there is no&amp;nbsp;remark about PLL1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Finally, if you use the SDK code, please check your code to confirm that&amp;nbsp;the CLOCK_Set PLL1Freq() function is right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope it can help you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mingwei Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2020 07:46:55 GMT</pubDate>
    <dc:creator>nxf60506</dc:creator>
    <dc:date>2020-05-25T07:46:55Z</dc:date>
    <item>
      <title>LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067817#M5797</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;&lt;/P&gt;&lt;P&gt;I am trying to use the inbuilt Clocks tool within MCUXpresso to configure the clocks for the FROHF96 functional group, for the LPC55S69EVK board.&amp;nbsp; I want to use PLL1 with the SD card, so I can run this block at 50MHz (as opposed to using the FROHF96MHz clock, which will only allow me a maximum speed of 48MHz).&amp;nbsp; &amp;nbsp;I do not want to use PLL0 as this is already tied up running an I2S dma block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I configure PLL0 in the clocks tool, to use the XTAL32M clock running at 16MHz, and multiply and divide this to produce a 150MHz output, and then feed this to the SDIO block, and divide it by 3 to generate a 50MHz clock on the SDIO input, this configuration works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If, however, I configure the PLL1 block in EXACTLY the same way, connect THIS to the SDIO block, and update the code accordingly, the frequency I read back from the sd block is 0Hz, and the sd card no longer properly functions.&amp;nbsp; &amp;nbsp;(See photo below for set-up within the MCUXpresso clocks tool).&lt;/P&gt;&lt;P&gt;&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/106499i1AE9BBDAB203C378/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;Additionally, I cannot set up the multiplier of either PLL exactly how I would like for other purposes; if for example, I wanted to boost the sdio speed to 52MHz, I would need to activate the 1MHz FRO, connect this to whichever PLL, and then multiply by 52 in the PLL...however, whenever I try changing this multiplier number to 52, the software crashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2020 15:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067817#M5797</guid>
      <dc:creator>rory78</dc:creator>
      <dc:date>2020-05-10T15:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067818#M5798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Your screenshot is blur. I can't know your clock setting with it.&lt;/P&gt;&lt;P&gt;Can you switch your PLL1 output to CLKOUT pin to check if your PLL1 output is as expectation?&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 02:41:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067818#M5798</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-05-14T02:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067819#M5799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about the low resolution of the image.&amp;nbsp; I have reuploaded 2 different screenshots to substitue for my previous one original.&amp;nbsp; See below:&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2020-05-15 at 14.43.34.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58570i87CB69D188A3FB16/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-05-15 at 14.43.34.png" alt="Screen Shot 2020-05-15 at 14.43.34.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2020-05-15 at 14.43.46.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60624iAB5E51DD3F8B7770/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-05-15 at 14.43.46.png" alt="Screen Shot 2020-05-15 at 14.43.46.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I route PLL1 to the CLKOUT pin, and will test to see if it works.&amp;nbsp; However, in the meantime, is there any issue known with this logic element (i.e. PLL1) on the LPC55S59 chip? i have used microchip parts before on which certain peripherals, say, the ADC, did not function at all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 13:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067819#M5799</guid>
      <dc:creator>rory78</dc:creator>
      <dc:date>2020-05-15T13:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067820#M5800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jun Zhang - unfortunately I have remembered that the software for my picoscope does not run properly on MAC (as they only have a horribly unstable beta version), so it is unlikely I will be able to test this clkout pin.&amp;nbsp; Again, see my previous reply for the new screenshots.&amp;nbsp; Any help with diagnosing why PLL1 will not function is greatly appreciated.&amp;nbsp; Cheers, Rory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 15:20:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067820#M5800</guid>
      <dc:creator>rory78</dc:creator>
      <dc:date>2020-05-15T15:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067821#M5801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhang Jennie, I have had a further issue with PLL1.&amp;nbsp; If PLL1 is enabled, yet is not connected to anything, my I2S output (which is connected to PLL0), runs slower, including the sound data I am sending via I2S DMA. To my mind there is evidently an issue with PLL1, perhaps it causes some interference to the rest of the chip.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 11:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067821#M5801</guid>
      <dc:creator>rory78</dc:creator>
      <dc:date>2020-05-16T11:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067822#M5802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Rory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;I have tested your&amp;nbsp;problems on the LPCXpresso55S69-evk, use lpcxpresso55s69_sdcard_fatfs demo from SDK_2.7.1 for LPCXpresso55s69. I use&amp;nbsp;PLL1 to configure&amp;nbsp;the SDIO clock in the clock config tool, and then download the updated code into the EVK ,it could not work normally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then,&amp;nbsp;I checked the demo code in the SDK. and i found there is&amp;nbsp;a bug in the lpcxpresso55s69_sdcard_fatfs demo from SDK_2.7.1 for LPCXpresso55s69&amp;nbsp;. As the&amp;nbsp;figure below shows,&amp;nbsp;there is a mistake&amp;nbsp;in the CLOCK_Set PLL1Freq() function, it should be s_Pll1_Freq = pSetup-&amp;gt;pllRate&amp;nbsp;, not s_Pll0_Freq = pSetup-&amp;gt;pllRate. This&amp;nbsp;bug may cause the PLL1 clock couldn't work normally. When i fixed this bug, the&amp;nbsp;SDIO can work with PLL1 normally.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/107641iF2AF8ABD7534A523/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled1.png" alt="Untitled1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Also, i'&amp;nbsp;ve&amp;nbsp;tested the PLL1 clock from the CLKOUT pin,&amp;nbsp;it can output normally. And i checked the user manual, there is no&amp;nbsp;remark about PLL1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Finally, if you use the SDK code, please check your code to confirm that&amp;nbsp;the CLOCK_Set PLL1Freq() function is right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope it can help you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mingwei Wang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 07:46:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067822#M5802</guid>
      <dc:creator>nxf60506</dc:creator>
      <dc:date>2020-05-25T07:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067823#M5803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mingwei,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks very much for looking into this for me.&amp;nbsp; I made the correction in the "clock_SetPLL1Freq()" function like you said, and I now have this PLL running fine, which is fantastic.&amp;nbsp; Can I assume that this&amp;nbsp;bug in the SDK will be fixed in the next release (so as others don't experience this issue too!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 17:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067823#M5803</guid>
      <dc:creator>rory78</dc:creator>
      <dc:date>2020-05-26T17:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PLL1 does not function</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067824#M5804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, we will request it&amp;nbsp;to be fixed in next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 00:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC55S69-PLL1-does-not-function/m-p/1067824#M5804</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-05-27T00:58:25Z</dc:date>
    </item>
  </channel>
</rss>

