<?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: LPC1112 and IRC issue</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537062#M11367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bkastel1 on Fri Sep 27 02:22:53 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, thank you very much for your help and efforts to help. When I worked for a global distributor of electronic components NXP was my preferred vendor when I promoted&amp;nbsp; MCU's :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, regarding the IRC - I measured yesterday the PWM frequency with different Core clock frequencies on lpcxpresso board and found that it is fine. For example - core clock 3MHz, using PWM output I set PR of TIMER0 to 2 so to get 3 PCLK cycles for 1 TCR increment. Setting MR0 to 50 and MR3 to 100 I got a PWM frequency of 9,902kHz. Measuring IRC gave a value of 12,04MHz using PicoScope 2205. So I have to repeat this with my custom board and check if the measurements will be ok. I will report back on that one as well. It might be a problem of my board and not of the MCU.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:37:04 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:37:04Z</dc:date>
    <item>
      <title>LPC1112 and IRC issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537056#M11361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bkastel1 on Wed Sep 25 10:21:16 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an interesting problem. I'm using IRC on LPC1112 and also config_pll routines to down-clock the part to get lower consumption. What I have found out is that when I set clock to 3MHz the clock is not 3MHz but it is a little bit lower. Did anybody so far saw such problem? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537056#M11361</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1112 and IRC issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537057#M11362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tha on Wed Sep 25 17:08:25 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the exact difference you are seeing?&amp;nbsp; Is the 3MHz the main clock or the system core clock?&amp;nbsp; If it's the system core clock, how are you measuring it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:37:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537057#M11362</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1112 and IRC issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537058#M11363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bkastel1 on Thu Sep 26 14:07:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed this when I was using PWM output - when I changed the frequency the PWM period also changed a little bit and i had prescaler for PMW set in such a way that is calculated the value based on the current clock frequency. I had prescaler to yield 1us tick but this was not the case when I started lowering the frequency. now I want to measure the core clock using clkout but I have difficulties making this work - I always measure 12,03Mhz regardless of the LPC_SYSCON-&amp;gt;CLKOUTCLKSEL value. I used 0x03 to select main clock for CLKOUT but I can't measure the down-clocked value. any ideas? Then I can also put oscilloscope screen here to check this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:37:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537058#M11363</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1112 and IRC issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537059#M11364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bkastel1 on Thu Sep 26 14:50:18 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the clkout pin - I can measure frequncies higher than 12MHz, this works. But when I go below 12MHz this pin always puts out a frequency of 12MHz. Do you have any idea how I can measure the down-clocked frequency that is achieved using set_pll function? PWM and setting PR = 0 and some even number for MR registers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537059#M11364</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1112 and IRC issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537060#M11365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tha on Thu Sep 26 17:36:56 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The CLKOUT pin does not allow switching to the System Core Clock.&amp;nbsp; The valid options are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- IRC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- System Oscillator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- WDOS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Main Clock&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537060#M11365</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1112 and IRC issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537061#M11366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tha on Thu Sep 26 17:50:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no way to directly measured the System Core Clock, so you will have to determine it base on the Main Clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After making the set_PLL function, read back the M and P values from the SYSPLLCTRL registers.&amp;nbsp; Determine what is the main clock by using equation show in 3.11.4.1 in the user manual.&amp;nbsp; Alternatively, set the CLKOUT pin to measured Main Clock.&amp;nbsp; Now go read the SYSAHBCLKDIV to determine the divisor used for the AHBCLK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From there, you can determine what the System Core Clock is set at.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using CMSIS, you can also make a call to the SystemCoreClockUpdate() function after the set_pll() function to determine the System Core Clock.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537061#M11366</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1112 and IRC issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537062#M11367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bkastel1 on Fri Sep 27 02:22:53 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, thank you very much for your help and efforts to help. When I worked for a global distributor of electronic components NXP was my preferred vendor when I promoted&amp;nbsp; MCU's :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, regarding the IRC - I measured yesterday the PWM frequency with different Core clock frequencies on lpcxpresso board and found that it is fine. For example - core clock 3MHz, using PWM output I set PR of TIMER0 to 2 so to get 3 PCLK cycles for 1 TCR increment. Setting MR0 to 50 and MR3 to 100 I got a PWM frequency of 9,902kHz. Measuring IRC gave a value of 12,04MHz using PicoScope 2205. So I have to repeat this with my custom board and check if the measurements will be ok. I will report back on that one as well. It might be a problem of my board and not of the MCU.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1112-and-IRC-issue/m-p/537062#M11367</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:37:04Z</dc:date>
    </item>
  </channel>
</rss>

