<?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 Necessity for external crystal? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568114#M17690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cdoerr on Fri Mar 07 01:04:55 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For other microcontroller lines it is often recommended or even required to use an external oscillator for anything high-speed with precise times, such as SPI and USB, as the internal clock is not accurate enough. The LPC800-MAX board does have a crystal mounted, but it is not connected, yet I have so far not run into any issues with the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this rule of thumb not apply to the LPC812 anymore with its internal oscillator? The user manual says "PLL allows CPU operation up to the maximum CPU rate without the need for a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;high-frequency crystal." When does it then still make sense to add a crystal to one's design?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:09:05 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:09:05Z</dc:date>
    <item>
      <title>Necessity for external crystal?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568114#M17690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cdoerr on Fri Mar 07 01:04:55 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For other microcontroller lines it is often recommended or even required to use an external oscillator for anything high-speed with precise times, such as SPI and USB, as the internal clock is not accurate enough. The LPC800-MAX board does have a crystal mounted, but it is not connected, yet I have so far not run into any issues with the board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this rule of thumb not apply to the LPC812 anymore with its internal oscillator? The user manual says "PLL allows CPU operation up to the maximum CPU rate without the need for a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;high-frequency crystal." When does it then still make sense to add a crystal to one's design?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:09:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568114#M17690</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Necessity for external crystal?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568115#M17691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Fri Mar 07 16:58:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;From datasheet:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IRC frequency (-40C .. +105C, 2.7V..3.6V): 11.82MHz..12.18MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This accuracy (+- 1.5%) is fine for SPI, UART, ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But a simple 24hour clock would be off by up to 21.6 &lt;/SPAN&gt;&lt;STRONG&gt;minutes&lt;/STRONG&gt;&lt;SPAN&gt; per day. Not acceptable for most people.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;USB has different clock speed tolerances. The higher the speed, the tighter the tolerance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason, why the crystal is not unconditionally connected on your board is the temptation of using two more GPIOs of a chip that doesn't have plenty of these ;-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568115#M17691</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Necessity for external crystal?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568116#M17692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Sat Mar 08 04:04:59 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is how many bits you can transmit before you need to resynchronize.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At ±1.5% clock error you can be off by one bit time after about 60 bits, and the actual bit sample time needs to be within some smaller window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPI and I2C have a separate clock line, so this shouldn't be an issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With UART it is about eight or nine bits, should also be fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN has bit stuffing, so the bit value changes at least every 6 bits. But depending on speed and length of the bus the sample window can be quite small (so it might need a crystal).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically you need to do the math for your situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem with higher speeds is that higher speed protocols typically have longer packets.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568116#M17692</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Necessity for external crystal?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568117#M17693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cdoerr on Wed Mar 12 06:31:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Great, thank you for the extensive information. This makes it very clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568117#M17693</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Necessity for external crystal?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568118#M17694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by salamlora1 on Tue Mar 18 00:53:27 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Most of my designs with lpc812 are without of external ocl and works fine &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And also in our company QC it’s under the test of -12C&amp;nbsp;&amp;nbsp; and + 50C and works fine for 7 days test&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Don’t forget WD)&amp;nbsp;&amp;nbsp; ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Necessity-for-external-crystal/m-p/568118#M17694</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:09:08Z</dc:date>
    </item>
  </channel>
</rss>

