<?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中的主题 Re: using FRDM-KL03Z LPUART0 at 115200 baud</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-FRDM-KL03Z-LPUART0-at-115200-baud/m-p/652598#M39751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;thanks for the reply. I found that the Rx pin is also the vref and on this board is a 0.1 Uf cap on this line, I depopulated it and it's fine now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 May 2017 10:55:09 GMT</pubDate>
    <dc:creator>rameshiyer</dc:creator>
    <dc:date>2017-05-01T10:55:09Z</dc:date>
    <item>
      <title>using FRDM-KL03Z LPUART0 at 115200 baud</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-FRDM-KL03Z-LPUART0-at-115200-baud/m-p/652596#M39749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a FRDM-KL03Z board.&lt;/P&gt;&lt;P&gt;The USB port is connected to my Windows PC and I run a putty session to connect to the UART.&lt;/P&gt;&lt;P&gt;115200 baud, 8 bits per char, 1 stop, no parity, no handshake.&lt;/P&gt;&lt;P&gt;I have programmed the LPUART0 like wise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;LPUART0 Clk is from MCGPCLK(internal 48 Mhz), OSR is 15 and the SBR value is also fine.&lt;/P&gt;&lt;P&gt;I see garbage on the terminal when I send chars from the board.&lt;/P&gt;&lt;P&gt;The UART works fine at 9600 baud.&lt;/P&gt;&lt;P&gt;I suspect that the 48 Mhz needs trimming, but where is the IPC_TRIM register?, I could not find any ref to this in the ref manual.&lt;/P&gt;&lt;P&gt;Has anyone tried this ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2017 05:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-FRDM-KL03Z-LPUART0-at-115200-baud/m-p/652596#M39749</guid>
      <dc:creator>rameshiyer</dc:creator>
      <dc:date>2017-04-29T05:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: using FRDM-KL03Z LPUART0 at 115200 baud</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-FRDM-KL03Z-LPUART0-at-115200-baud/m-p/652597#M39750</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;The 48MHz oscillator should be accurate enough without trimming. It is specified to be typically +/-0.5% over the temperature range at 3V3, with worst case +/-1.0%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use an SBR value of 0x1a (complete LPUART_BAUD value of 0x0f00001a) the baud rate is 115'384Hz (if 48MHz oscillator is perfect). See simulation below:&lt;/P&gt;&lt;P&gt;&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/17340iA3FBA7B21A2918E1/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;&lt;/P&gt;&lt;P&gt;You can load the attached binary to your board as reference. It sets 115'200Baud on the LPUART so that you can test its command-line menu. It also switches the 48MHz oscillator output to PTA12 (CLKOUT) in case you want to verify the exact 48MHz frequency. [As reference - board gives 115'040Hz - which is 0.02% low and well within the worst case RS232 accuracy requirement which is practically about 1.5%]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Beware that the LPUART0 RX pin has a 100nF capacitor on it on the FRDM-KL03Z board which needs to be removed if frequencies higher than about 19'200 are used - otherwise the reception stops working.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a complete KL03 solution to avoid development complications see links below.&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open source uTasker for almost all Kinetis parts with 10 IDEs, simulation and no porting efforts:&lt;BR /&gt;&lt;SPAN&gt;Web:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FuTasker%2FuTasker-Kinetis" rel="nofollow" target="_blank"&gt;https://github.com/uTasker/uTasker-Kinetis&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPS:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FuTasker%2FuTasker-Kinetis.git" rel="nofollow" target="_blank"&gt;https://github.com/uTasker/uTasker-Kinetis.git&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;SSH:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:git@github.com"&gt;git@github.com&lt;/A&gt;&lt;SPAN&gt;:uTasker/uTasker-Kinetis.git&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 10:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-FRDM-KL03Z-LPUART0-at-115200-baud/m-p/652597#M39750</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-05-01T10:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: using FRDM-KL03Z LPUART0 at 115200 baud</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-FRDM-KL03Z-LPUART0-at-115200-baud/m-p/652598#M39751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;thanks for the reply. I found that the Rx pin is also the vref and on this board is a 0.1 Uf cap on this line, I depopulated it and it's fine now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 10:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-FRDM-KL03Z-LPUART0-at-115200-baud/m-p/652598#M39751</guid>
      <dc:creator>rameshiyer</dc:creator>
      <dc:date>2017-05-01T10:55:09Z</dc:date>
    </item>
  </channel>
</rss>

