<?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 LPC1769_100MHz core clock (?) in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-100MHz-core-clock/m-p/580861#M24706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by timos2302 on Mon Jun 20 15:07:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Century Gothic]Dear friends&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read the UM datasheet, the blinky example, the timers example e.t.c , even the xls calculator given by NXP for calculating M, and N portions of the 32bit register configuration for the PLL0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i collected 3 questions/notes (sorry if they seem to childish for some of you)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-1- The M and N values that the xls calculator exports are true or the UM is true that says in small letters &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp; N-1,&amp;nbsp; M-1&amp;nbsp;&amp;nbsp; ? ? ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-2-Suppose i want a 100MHz core clock &amp;gt;&amp;gt; AFTER the prescaller of the main clock, What on earth are your M and N values and prescaller settings with a 12MHz external clock ? I managed core clock (cclk) only up to 33.3MHz (cclk/3 - 100/3 - the /1 and /2 values are forbiden as i read).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-3- Is there a magic tool in excel or VB or something so i can get my hex value of the PLL0CGF register at once , and not breaking my head to combine the M,N portions and some dummy bits of this 32bit register, then converting in binary, then converting it into a hex monsterous byte?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks all for your kind patience&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Timothy &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(newbie to ARM's . . .:o comming from the AVR "poor" 8bit world)[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:33:48 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:33:48Z</dc:date>
    <item>
      <title>LPC1769_100MHz core clock (?)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-100MHz-core-clock/m-p/580861#M24706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by timos2302 on Mon Jun 20 15:07:40 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Century Gothic]Dear friends&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read the UM datasheet, the blinky example, the timers example e.t.c , even the xls calculator given by NXP for calculating M, and N portions of the 32bit register configuration for the PLL0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i collected 3 questions/notes (sorry if they seem to childish for some of you)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-1- The M and N values that the xls calculator exports are true or the UM is true that says in small letters &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp; N-1,&amp;nbsp; M-1&amp;nbsp;&amp;nbsp; ? ? ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-2-Suppose i want a 100MHz core clock &amp;gt;&amp;gt; AFTER the prescaller of the main clock, What on earth are your M and N values and prescaller settings with a 12MHz external clock ? I managed core clock (cclk) only up to 33.3MHz (cclk/3 - 100/3 - the /1 and /2 values are forbiden as i read).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-3- Is there a magic tool in excel or VB or something so i can get my hex value of the PLL0CGF register at once , and not breaking my head to combine the M,N portions and some dummy bits of this 32bit register, then converting in binary, then converting it into a hex monsterous byte?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks all for your kind patience&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Timothy &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(newbie to ARM's . . .:o comming from the AVR "poor" 8bit world)[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-100MHz-core-clock/m-p/580861#M24706</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769_100MHz core clock (?)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-100MHz-core-clock/m-p/580862#M24707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Jun 21 04:49:11 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use CMSIS your clock setup is done in SystemInit() (...\CMSISv1p30_LPC17xx\src\system_LPC17xx.c).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's also a short description of M,N,MSEL and NSEL and default setup should be 100MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define PLL0CFG_Val&amp;nbsp; 0x00050063
#define CCLKCFG_Val&amp;nbsp; 0x00000003
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;you should be able to change your clock settings wihout magic &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-100MHz-core-clock/m-p/580862#M24707</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769_100MHz core clock (?)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-100MHz-core-clock/m-p/580863#M24708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by timos2302 on Tue Jun 21 12:03:09 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks , that really helped :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:33:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-100MHz-core-clock/m-p/580863#M24708</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:33:49Z</dc:date>
    </item>
  </channel>
</rss>

