<?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 Software Development KitのトピックRe: baud rate 19200 achieved with settings at 16500</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/baud-rate-19200-achieved-with-settings-at-16500/m-p/382468#M1014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a binary for the FRDM-KE04Z as reference which has output on the UART (virtual COM UART 0) at 19200Baud. You can check it as comparison and look at registers with the debugger if needed. I don't use PE or KDS but the settings were made as for any other processor part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check are:&lt;/P&gt;&lt;P&gt;1. The PLL runs at 40MHz and the bus clock at 20MHz&lt;/P&gt;&lt;P&gt;2. UART0 is derived from the bus clock and so needs a divide value of 65 (0x41), resulting in a Baud rate of 19'230 (16x oversampling clock)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the values that you have from the generated settings to see whether there is an error or whether you maybe set a clock up differently to expected.&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 href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jan 2015 08:04:35 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2015-01-01T08:04:35Z</dc:date>
    <item>
      <title>baud rate 19200 achieved with settings at 16500</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/baud-rate-19200-achieved-with-settings-at-16500/m-p/382467#M1013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KDS V2.0.0,&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&amp;nbsp; KSDK 1.1.0 Eclipse Update&lt;/TD&gt;&lt;TD style=""&gt;1.0.0.b141204&lt;/TD&gt;&lt;TD style=""&gt;com.freescale.processorexpert.ksdk-1.1.0.sp.feature.group&lt;/TD&gt;&lt;TD style=""&gt;Freescale Semiconductor&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;&amp;nbsp; Processor Expert for KDS&lt;/TD&gt;&lt;TD style=""&gt;2.0.0.RT6_b1444-1070&lt;/TD&gt;&lt;TD style=""&gt;com.freescale.processorexpert.feature.kds.feature.group&lt;/TD&gt;&lt;TD style=""&gt;Freescale Semiconductor&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some effort I was able to get an ASyncroSerial component to work on my FRDM-KE04Z board by adjusting the component baud rate to 16500 and leaving hyperterminal set at 19200.&amp;nbsp; Living with it for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 00:39:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/baud-rate-19200-achieved-with-settings-at-16500/m-p/382467#M1013</guid>
      <dc:creator>andrewmeyerbti</dc:creator>
      <dc:date>2015-01-01T00:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: baud rate 19200 achieved with settings at 16500</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/baud-rate-19200-achieved-with-settings-at-16500/m-p/382468#M1014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a binary for the FRDM-KE04Z as reference which has output on the UART (virtual COM UART 0) at 19200Baud. You can check it as comparison and look at registers with the debugger if needed. I don't use PE or KDS but the settings were made as for any other processor part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check are:&lt;/P&gt;&lt;P&gt;1. The PLL runs at 40MHz and the bus clock at 20MHz&lt;/P&gt;&lt;P&gt;2. UART0 is derived from the bus clock and so needs a divide value of 65 (0x41), resulting in a Baud rate of 19'230 (16x oversampling clock)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the values that you have from the generated settings to see whether there is an error or whether you maybe set a clock up differently to expected.&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 href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 08:04:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/baud-rate-19200-achieved-with-settings-at-16500/m-p/382468#M1014</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-01-01T08:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: baud rate 19200 achieved with settings at 16500</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/baud-rate-19200-achieved-with-settings-at-16500/m-p/382469#M1015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrew:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to help provided by Mark, keep an eye to the internal oscillator frequency. There seems to be a bug not fixed in Processor Expert, which lists by default an Internal Oscillator clock of 32.768 kHz:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KE_clock.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48878iA0BDA19812C8F6E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="KE_clock.png" alt="KE_clock.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct trimmed value out of the factory should be 37.5 kHz as stated in the datasheet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KE_factory_trim.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48879iFDC80E0619D3573A/image-size/large?v=v2&amp;amp;px=999" role="button" title="KE_factory_trim.png" alt="KE_factory_trim.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&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>Tue, 06 Jan 2015 01:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/baud-rate-19200-achieved-with-settings-at-16500/m-p/382469#M1015</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-01-06T01:59:49Z</dc:date>
    </item>
  </channel>
</rss>

