<?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: how to configure LPC802 internal oscillator at 15MHz?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733735#M29646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;can you specify which code bundle? I'm having an issue with internal oscillator. I was using external crystal oscillator. Then after removing external crystal and specifying to use internal oscillator in startup code, there is no response in UART and analog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with the issue? what modification should I be using? Is there any modification to be done in peripherals.&lt;BR /&gt;&lt;BR /&gt;NOTE: am getting system core clock as 72MHz after PLL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Athmesh Nandakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2019 05:03:30 GMT</pubDate>
    <dc:creator>athmesh_n</dc:creator>
    <dc:date>2019-01-08T05:03:30Z</dc:date>
    <item>
      <title>how to configure LPC802 internal oscillator at 15MHz?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733733#M29644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 16px;"&gt;I'm using LPC802 in a project, using KEIL. I would like to know how to configure the internal oscillator to 15MHz (max)?.&amp;nbsp;&lt;SPAN&gt;I read the user manual, which says that to configure the internal oscillator to oscillate at the maximum frequency of 15Mhz must use the api directly from the ROM, but I did not succeed, could anyone help me in this configuration?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 16px;"&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/29962iB7921EA7268CDD85/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 01:58:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733733#M29644</guid>
      <dc:creator>leonardobarbosa</dc:creator>
      <dc:date>2018-05-09T01:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure LPC802 internal oscillator at 15MHz?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733734#M29645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 16px; color: #393939; background-color: #ffffff;"&gt;Hi &lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="318271" data-objecttype="3" href="https://community.nxp.com/people/leonardobarbosamiguel123"&gt;Leonardo Miguel,&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 16px; color: #393939; background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 16px; color: #393939; background-color: #ffffff;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="font-size: 16px; color: #393939; background-color: #ffffff;"&gt;To provide the fastest possible support, I'd highly recommend you to refer to the demos in code bundle, in the demos, it illustrates the way of configuring a system clock frequency of 15 MHz.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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>Thu, 10 May 2018 02:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733734#M29645</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-10T02:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure LPC802 internal oscillator at 15MHz?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733735#M29646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;can you specify which code bundle? I'm having an issue with internal oscillator. I was using external crystal oscillator. Then after removing external crystal and specifying to use internal oscillator in startup code, there is no response in UART and analog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with the issue? what modification should I be using? Is there any modification to be done in peripherals.&lt;BR /&gt;&lt;BR /&gt;NOTE: am getting system core clock as 72MHz after PLL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Athmesh Nandakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 05:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733735#M29646</guid>
      <dc:creator>athmesh_n</dc:creator>
      <dc:date>2019-01-08T05:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure LPC802 internal oscillator at 15MHz?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733736#M29647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best I've found so far is lpc_chip_8xx in the latest 8xx bungle except the cr_startup_lpc80x as generated by MCUXpresso has the wrong routine name.&amp;nbsp; When I fixed that the board hangs, it turns out the&amp;nbsp;sysinit_8xx.c is trying to set the oscillator to 60MHz which is way over the data sheet speed.&amp;nbsp; Also it looks like it's trying to use the PLL which isn't used with the FRO.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've not found anywhere that&amp;nbsp;set_fro_frequency() is defined or called other than in the user manual.&amp;nbsp; I've removed the call in cr_startup to the init since the chip IS running at that point and I'll just hand code the FRO configuration into my application startup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A grumpy old guy who remembers when system startup libraries worked and I could spend my time on making the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I also remember programming in microcode in the far distant past.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2019 21:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733736#M29647</guid>
      <dc:creator>jerrydurand</dc:creator>
      <dc:date>2019-01-28T21:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure LPC802 internal oscillator at 15MHz?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733737#M29648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my code to set up the FRO.&amp;nbsp; A few notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The FRO can only be set to one of a few speeds, see the user manual for more info&lt;/LI&gt;&lt;LI&gt;The system clock is automatically 1/2 of the FRO rate&lt;/LI&gt;&lt;LI&gt;The code below sets it to the max speed for the LPC802&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;// set up system clock (the hard way)&lt;BR /&gt; asm volatile( &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// the void set_fro_frequency(uint32_t iFreq); API is missing so do this by hand&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" ldr R1, ROM_Tbl \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;// get address of pointer to ROM Driver Table&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" ldr R1, [R1] \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// get pointer to ROM Driver Table&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" add R1, #0x0C \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// step down to the entry for the FRO table&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" ldr R1, [R1] \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// get address of FRO table&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" add R1, #8 \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// step down to third entry in table&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" ldr R1, [R1] \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// get address of set_fro_frequency routine&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" ldr R0, FRO_Freq \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;// put frequency in R0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" blx R1 \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// call API&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;" b Exit \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;" .align 4 \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// fix alignment&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"FRO_Freq: .word 30000 \n" // frequency in kHz&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"ROM_Tbl: .word 0x0F001FF8 \n" // address of ROM Driver Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"Exit: \n" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// end of code segment&lt;BR /&gt; );&lt;BR /&gt; SystemCoreClock = 15000000; // System clock is 1/2 of FRO&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 07:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-configure-LPC802-internal-oscillator-at-15MHz/m-p/733737#M29648</guid>
      <dc:creator>jerrydurand</dc:creator>
      <dc:date>2019-01-30T07:03:04Z</dc:date>
    </item>
  </channel>
</rss>

