<?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 Re: Using Internal crystal oscillator in lpc845  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921523#M36725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding this issue I had created a case, please respond to that case,&lt;/P&gt;&lt;P&gt;awaiting for your response.&lt;/P&gt;&lt;P&gt;Case Id is as below&lt;/P&gt;&lt;P&gt;Case:00236868:WILL MCU AS A TOLERANCE? HAVE A DIFFERENT ISSUE AS DESCIBED&lt;/P&gt;&lt;P&gt;BELOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2019 06:30:26 GMT</pubDate>
    <dc:creator>vidhya1</dc:creator>
    <dc:date>2019-10-25T06:30:26Z</dc:date>
    <item>
      <title>Using Internal crystal oscillator in lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921519#M36721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using LPCXpresso845MAX [OM13097]development board, and developed the application to the&lt;/P&gt;&lt;P&gt;requirement needed in the development board, so same we designed a prototype board for further process,&lt;/P&gt;&lt;P&gt;the issue is the frequencies generated in different prototype board, i..e., whatever the PWM frequency&lt;/P&gt;&lt;P&gt;generated in the development board same is loaded to the prototype boards so there is difference&lt;/P&gt;&lt;P&gt;of frequencies with 0.01hz in some board,0.02 in some board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;When I test the 14.40hz[CONSTANT FREQUENCY] in dev board I get 14.40hz ,&lt;/DIV&gt;&lt;DIV&gt;but below are the frequencies getting when programmed the same code in&lt;/DIV&gt;&lt;DIV&gt;prototype board..&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;PROTO 1: 14.40 [MODE]----&amp;gt; 14.40HZ&lt;/DIV&gt;&lt;DIV&gt;PROTO 2 :14.40[MODE]------&amp;gt; 14.42HZ&lt;/DIV&gt;&lt;DIV&gt;PROTO 3 :14.40[MODE]------&amp;gt; 14.39HZ//and sometimes 14.41&lt;/DIV&gt;&lt;DIV&gt;PROTO 4 :14.40[MODE]------&amp;gt; 14.40HZ&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Not using external crystal oscillator in the prototype board, but internal code setting is of the XTAL is 12Mhz,&lt;/DIV&gt;&lt;DIV&gt;is there anything to be change or called for the internal crystal oscillator in the code, since in the code called the&lt;/DIV&gt;&lt;DIV&gt;below function BOARD_BootClockFRO30M();[function which is used for PLL].&lt;/DIV&gt;&lt;DIV&gt;So is there any other internal function or library to be added for the internal crystal oscillator?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 17:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921519#M36721</guid>
      <dc:creator>angiey0017</dc:creator>
      <dc:date>2019-10-15T17:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Internal crystal oscillator in lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921520#M36722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd recommend taking a look at &lt;A href="https://www.nxp.com/webapp/Download?colCode=UM11029"&gt;Section 8.3&lt;/A&gt; of the reference manual as it describes the configuration options for the clocks. In addition you can also use the exaple provided in the demos of the SDK to view power_mode_switch_lpc. in this case you will see the different APIs used to configure what is stated in section 8.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are creating your own code you can add the clock drivers manually to your project by doing the following:&lt;/P&gt;&lt;P&gt;1. Select your project and right click.&lt;/P&gt;&lt;P&gt;2. Select SDK Management and Manage SDK Components&lt;/P&gt;&lt;P&gt;3. Select the drivers tab and make sure that &lt;STRONG&gt;clock&lt;/STRONG&gt; is selected.&lt;/P&gt;&lt;P&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/91992iAB7C5B40838B309A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the case of the example I described, they use&amp;nbsp;&lt;STRONG&gt;BOARD_BootClockPll24M(); &lt;/STRONG&gt;From here you could divide the clock by 2 to achieve the 12M.&lt;/P&gt;&lt;P&gt;Let me know if you have further questions.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921520#M36722</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-10-16T21:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using Internal crystal oscillator in lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921521#M36723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I'm using keil uvision IDE for the project.&lt;/P&gt;&lt;P&gt;I tried using 24Mhz as you suggested, but till the issue persists..&lt;/P&gt;&lt;P&gt;We are trying to use external crystal clock of 12cMhz, so do we need to initialise the xtal1 and xtal2 pins?&lt;/P&gt;&lt;P&gt;referred user manual, and tried activating the crystals, but the external crystal of 12Mhz connected to the&lt;/P&gt;&lt;P&gt;prototype board is not working, is there any registers need to be set ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 17:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921521#M36723</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-10-18T17:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using Internal crystal oscillator in lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921522#M36724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In order to used the external oscillators, you need to configure it as so:&lt;/P&gt;&lt;P&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/92900i5289784F581B5725/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the reference manual the links are provided for each register that are mentioned in the list above. The one called "pin enable register 0", is the switch matrix block, you will find the bits for XTALIN and XTALOUT to be 7 &amp;amp; 8.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have further questions.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Oct 2019 03:33:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921522#M36724</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-10-20T03:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using Internal crystal oscillator in lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921523#M36725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding this issue I had created a case, please respond to that case,&lt;/P&gt;&lt;P&gt;awaiting for your response.&lt;/P&gt;&lt;P&gt;Case Id is as below&lt;/P&gt;&lt;P&gt;Case:00236868:WILL MCU AS A TOLERANCE? HAVE A DIFFERENT ISSUE AS DESCIBED&lt;/P&gt;&lt;P&gt;BELOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 06:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921523#M36725</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-10-25T06:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using Internal crystal oscillator in lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921524#M36726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;   &lt;P&gt;Hi,&lt;/P&gt;   &lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt; Please respond to the case id mentioned below  &lt;BR /&gt;   &lt;P&gt;Case Id is as below&lt;/P&gt;   &lt;P&gt;Case:00236868:WILL MCU AS A TOLERANCE? HAVE A DIFFERENT ISSUE AS DESCRIBED&lt;/P&gt;   &lt;P&gt;BELOW&lt;/P&gt;   &lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;   &lt;P&gt;Thank you&lt;/P&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 11:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921524#M36726</guid>
      <dc:creator>angiey0017</dc:creator>
      <dc:date>2019-11-05T11:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using Internal crystal oscillator in lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921525#M36727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As stated previously the support will continue on the internal thread, it is not necessary to post a reminder as the emails are received.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2019 20:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Internal-crystal-oscillator-in-lpc845/m-p/921525#M36727</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-11-06T20:08:53Z</dc:date>
    </item>
  </channel>
</rss>

