<?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>Kinetis Microcontrollers中的主题 LPUART XTAL frdm KL03z</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-XTAL-frdm-KL03z/m-p/708078#M43428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with the frdmKL03Z and the example lpuart_polling in the SDK 2.2 in that example use the internal oscilator but i need more Precision in the count of time&lt;/P&gt;&lt;P&gt;add a xtal but i think i need make changes in the software to the LPUART works well&lt;/P&gt;&lt;P&gt;someone can tell me if i am right ?&lt;/P&gt;&lt;P&gt;what change needed?&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2017 21:36:56 GMT</pubDate>
    <dc:creator>ramonramirez</dc:creator>
    <dc:date>2017-09-19T21:36:56Z</dc:date>
    <item>
      <title>LPUART XTAL frdm KL03z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-XTAL-frdm-KL03z/m-p/708078#M43428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with the frdmKL03Z and the example lpuart_polling in the SDK 2.2 in that example use the internal oscilator but i need more Precision in the count of time&lt;/P&gt;&lt;P&gt;add a xtal but i think i need make changes in the software to the LPUART works well&lt;/P&gt;&lt;P&gt;someone can tell me if i am right ?&lt;/P&gt;&lt;P&gt;what change needed?&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 21:36:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-XTAL-frdm-KL03z/m-p/708078#M43428</guid>
      <dc:creator>ramonramirez</dc:creator>
      <dc:date>2017-09-19T21:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART XTAL frdm KL03z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-XTAL-frdm-KL03z/m-p/708079#M43429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clock the KL03 LPUART from the XTAL you need to set&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SIM_SOPT2 |= (SIM_SOPT2_UART0SRC_OSCERCLK);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;so that the OSCERCLK is connected to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before that, you also need to enable the oscillator:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;OSC0_CR = (OSC_CR_ERCLKEN | OSC_CR_EREFSTEN);&amp;nbsp;&amp;nbsp; // enable the oscillator and allow it to continue oscillating in stop mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The crystal will need to have a frequency that is suitable for the Baud rate generation - eg, the 32kHz on the FRDM-KL03Z is not because it is too slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KL03Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KL03Z.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 00:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-XTAL-frdm-KL03z/m-p/708079#M43429</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-09-20T00:29:01Z</dc:date>
    </item>
  </channel>
</rss>

