<?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: KL03 UART - Garbage Data for all different baud rates (Custom Hardware)</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618084#M36876</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 am using a CP210x USB to UART Bridge board to get LPUART0 transmit data.&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/3543iB78FC81D6CBE169B/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;I still could get the correct data at serial terminal.&lt;/P&gt;&lt;P&gt;Below is my test environment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3594i6403B58A6412D93B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to check the serial to USB converter tool, if there with another one could try with it.&lt;/P&gt;&lt;P&gt;And also could try to slow down the baud rate to 9600 to check if there with the correct data output at serial terminal.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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, 11 Oct 2016 01:41:03 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2016-10-11T01:41:03Z</dc:date>
    <item>
      <title>KL03 UART - Garbage Data for all different baud rates (Custom Hardware)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618081#M36873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We've been working on a POC that uses LPUART0 lines on the KL03 device. When we transmit data to a bluetooth module (HC-05), we see data as expected, however when we connect the same Rx/ Tx through a USB-Serial adaptor&amp;nbsp;to a computer we see garbage. We are using the fsl_debug_console component. As normal, we tried checking ground connections and different baud rate settings but that didn't help. Did any of you come across something like this? Can anyone help?&lt;/P&gt;&lt;P&gt;Additional information: I notice that when you select a baud rate with Clock source = "Auto Select", the assigned baud rate is little off the required value. e.g. when we select 19200 baud, the actual configured baud seems to be 19230.769 baud.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I select PCLK as the clock source the selected and configured bauds seem to be fine.&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;Either ways the result is still the same, I see garbage on my terminal window.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 02:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618081#M36873</guid>
      <dc:creator>armaram</dc:creator>
      <dc:date>2016-10-09T02:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 UART - Garbage Data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618082#M36874</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 also create an example based on FRDM-KL03Z with LPUART0 output "hello world" to on board OpenSDA virtual serial port. There doesn't appear garbage data, please check below picture for my test result:&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/3884iB554177668852C5C/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;I attached my test project for your reference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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>Sun, 09 Oct 2016 08:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618082#M36874</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-10-09T08:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 UART - Garbage Data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618083#M36875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response Hui Ma. We are using custom hardware that does not has a OpenSDA interface. We are directly connecting the UART0 RX, TX lines to a PC through a Serial to USB converter. By the way, we see data as expected while using a HC05 bluetooth module directly connected to the RX, TX lines of the KL03. I think it is got to do something with the clock configurations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 03:44:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618083#M36875</guid>
      <dc:creator>armaram</dc:creator>
      <dc:date>2016-10-10T03:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 UART - Garbage Data for all different baud rates (Custom Hardware)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618084#M36876</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 am using a CP210x USB to UART Bridge board to get LPUART0 transmit data.&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/3543iB78FC81D6CBE169B/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;I still could get the correct data at serial terminal.&lt;/P&gt;&lt;P&gt;Below is my test environment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3594i6403B58A6412D93B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to check the serial to USB converter tool, if there with another one could try with it.&lt;/P&gt;&lt;P&gt;And also could try to slow down the baud rate to 9600 to check if there with the correct data output at serial terminal.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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, 11 Oct 2016 01:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618084#M36876</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-10-11T01:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 UART - Garbage Data for all different baud rates (Custom Hardware)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618085#M36877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with two different USB to serial converters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the screen shot for the program you shared. I think it is got to do something with the clk settings, but unable to nail down the exact parameters to tune.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="screenDump.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4444iC642471FE4F285A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenDump.JPG" alt="screenDump.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 03:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618085#M36877</guid>
      <dc:creator>armaram</dc:creator>
      <dc:date>2016-10-12T03:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 UART - Garbage Data for all different baud rates (Custom Hardware)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618086#M36878</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;For the KL03 IRC is factory trimmed with ±3% accuracy, which clock accuracy matches with UART spec requirement.&lt;/P&gt;&lt;P&gt;Have you checked the LPUART TX signal quality with scope? Is that signal robust?&lt;/P&gt;&lt;P&gt;And it also need to check serial terminal software. Could you try another PC serial terminal software?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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>Thu, 13 Oct 2016 01:48:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-UART-Garbage-Data-for-all-different-baud-rates-Custom/m-p/618086#M36878</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-10-13T01:48:59Z</dc:date>
    </item>
  </channel>
</rss>

