<?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 LPC5411x PLL settings in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5411x-PLL-settings/m-p/2318336#M59389</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;In my current project, I am using the PLL module of the LPC5411x. According to Section 6.5.49.6 of the datasheet, the N, M, and P values of the PLL must be calculated before being written into the corresponding registers.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yhc123_0-1771133107916.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376890iF6E06936671F16A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yhc123_0-1771133107916.png" alt="yhc123_0-1771133107916.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;BR /&gt;However, in &lt;EM&gt;SDK_2_9_0_LPCXpresso54114&lt;/EM&gt;, the calculation code for NDEC, MDEC, and PDEC is not implemented; instead, the SDK directly writes manually pre‑calculated values into the syspllndec register, as shown below. (I want set M=75, so I need to calculate MDEC=9637 manually and set it to &lt;SPAN&gt;SYSCON_SYSPLLSSCTRL0_MDEC&lt;/SPAN&gt;)&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yhc123_1-1771133147691.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376891i60F1BBB0D4F6D804/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yhc123_1-1771133147691.png" alt="yhc123_1-1771133147691.png" /&gt;&lt;/span&gt;&lt;P&gt;May I ask whether there are plans to add the calculation functions in SDK for NDEC, MDEC, and PDEC in future SDK releases?&lt;BR /&gt;Currently, setting NDEC, MDEC, and PDEC is not intuitive and is difficult to maintain, as every change to M, N, or P requires recalculating the corresponding NDEC, MDEC, and PDEC values manually.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 15 Feb 2026 05:28:35 GMT</pubDate>
    <dc:creator>yhc123</dc:creator>
    <dc:date>2026-02-15T05:28:35Z</dc:date>
    <item>
      <title>LPC5411x PLL settings</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5411x-PLL-settings/m-p/2318336#M59389</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;In my current project, I am using the PLL module of the LPC5411x. According to Section 6.5.49.6 of the datasheet, the N, M, and P values of the PLL must be calculated before being written into the corresponding registers.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yhc123_0-1771133107916.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376890iF6E06936671F16A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yhc123_0-1771133107916.png" alt="yhc123_0-1771133107916.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;BR /&gt;However, in &lt;EM&gt;SDK_2_9_0_LPCXpresso54114&lt;/EM&gt;, the calculation code for NDEC, MDEC, and PDEC is not implemented; instead, the SDK directly writes manually pre‑calculated values into the syspllndec register, as shown below. (I want set M=75, so I need to calculate MDEC=9637 manually and set it to &lt;SPAN&gt;SYSCON_SYSPLLSSCTRL0_MDEC&lt;/SPAN&gt;)&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yhc123_1-1771133147691.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376891i60F1BBB0D4F6D804/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yhc123_1-1771133147691.png" alt="yhc123_1-1771133147691.png" /&gt;&lt;/span&gt;&lt;P&gt;May I ask whether there are plans to add the calculation functions in SDK for NDEC, MDEC, and PDEC in future SDK releases?&lt;BR /&gt;Currently, setting NDEC, MDEC, and PDEC is not intuitive and is difficult to maintain, as every change to M, N, or P requires recalculating the corresponding NDEC, MDEC, and PDEC values manually.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 15 Feb 2026 05:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5411x-PLL-settings/m-p/2318336#M59389</guid>
      <dc:creator>yhc123</dc:creator>
      <dc:date>2026-02-15T05:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5411x PLL settings</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5411x-PLL-settings/m-p/2318807#M59390</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251477"&gt;@yhc123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;Currently, there are no plans to release a new SDK version for the LPC5411. Any required calculation would need to be implemented on your side. We apologize for the inconvenience this may cause.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 22:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5411x-PLL-settings/m-p/2318807#M59390</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-02-16T22:56:36Z</dc:date>
    </item>
  </channel>
</rss>

