<?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: PLL1 MSEL doesn't multiply output frequency</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL1-MSEL-doesn-t-multiply-output-frequency/m-p/849476#M33804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zachary Buhman，&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;BR /&gt;To provide the fastest possible support，I'd highly recommend you to refer to the startup files, as in the files, it illustrates the how to set up the clock, of course, it includes how to configure PLL1.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 06:46:41 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-07-06T06:46:41Z</dc:date>
    <item>
      <title>PLL1 MSEL doesn't multiply output frequency</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL1-MSEL-doesn-t-multiply-output-frequency/m-p/849475#M33803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm experimenting on a LPCXpresso4367.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading UM10503, I attempted to implement the M4 core clock initialization procedure described on page 167. I've attempted to measure this both ~directly via &lt;SPAN style="font-family: andale mono, monospace;"&gt;FREQ_MON&lt;/SPAN&gt; and indirectly via delay-loops. Code for both is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior I observe is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I selected an M-divider of 17 (0x10) and an N-divider of 1 (0x0), which I expect should yield 204MHz in &lt;SPAN style="font-family: andale mono, monospace;"&gt;DIRECT&lt;/SPAN&gt; mode. I measure a quantized ~12MHz from both &lt;SPAN style="font-family: andale mono, monospace;"&gt;IRC&lt;/SPAN&gt; and &lt;SPAN style="font-family: andale mono, monospace;"&gt;XTAL_OSC&lt;/SPAN&gt; (expected), but the PLL1 output is also ~12Mhz. If I enable a P-divider of 2 (0x0), I observe ~6MHz as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell, the P-divider and BASE_M4_CLK clock selection are working, but the frequency isn't multiplied, and modifying MSEL has effects that don't match my understanding of the description in the datasheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also compared this to lpcopen (both the source code and the runtime register values), and I didn't see anything obviously suspicious that I'm missing from &lt;SPAN style="font-family: andale mono, monospace;"&gt;Chip_SetupCoreClock&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 02:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL1-MSEL-doesn-t-multiply-output-frequency/m-p/849475#M33803</guid>
      <dc:creator>zack1</dc:creator>
      <dc:date>2018-07-05T02:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: PLL1 MSEL doesn't multiply output frequency</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/PLL1-MSEL-doesn-t-multiply-output-frequency/m-p/849476#M33804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zachary Buhman，&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;BR /&gt;To provide the fastest possible support，I'd highly recommend you to refer to the startup files, as in the files, it illustrates the how to set up the clock, of course, it includes how to configure PLL1.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 06:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/PLL1-MSEL-doesn-t-multiply-output-frequency/m-p/849476#M33804</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-07-06T06:46:41Z</dc:date>
    </item>
  </channel>
</rss>

