<?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 Re:  freeRTOS UART driver unreliable,  Framing Errors occur in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818136#M7870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel Chen,&lt;/P&gt;&lt;P&gt;as I mentioned&amp;nbsp; I'm aware of this. The problem is, it is not reliable even with&amp;nbsp; recv_buff size = 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your information, I'm working with a TWR-K64F120M.&lt;/P&gt;&lt;P&gt;What about the UART_FramingErrors ?&lt;/P&gt;&lt;P&gt;On my side I tested it with different hosts and serial tools:&lt;/P&gt;&lt;P&gt;* Linux + Minicom&lt;/P&gt;&lt;P&gt;* Windows + Hterm&lt;/P&gt;&lt;P&gt;It makes no different ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2018 08:34:18 GMT</pubDate>
    <dc:creator>jbrud</dc:creator>
    <dc:date>2018-11-14T08:34:18Z</dc:date>
    <item>
      <title>freeRTOS UART driver unreliable,  Framing Errors occur</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818133#M7867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;I started to work with the the freeRTOS UART example from the the SDK (sdk/boards/twrk64f120m/rtos_examples/freertos_uart). Unfortunately it does not really work. I use the settings as explained in the readme:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - 115200 baud rate&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - 8 data bits&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - No parity&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - One stop bit&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - No flow control&lt;/P&gt;&lt;P&gt;It works somehow in the case if you give exactly 4 characters. But if you send 4 characters step by step it doesn't work. It completely stops working at all. I read here in the forum that this is a known isssue/limitation. But even if I change the code to only wait for on character it does not work reliable.&lt;/P&gt;&lt;P&gt;Through debugging&amp;nbsp; I found out that the UART_RTOS_Callback()&amp;nbsp; of fsl_uart_freertos.c will be called with status = kStatus_UART_FramingError. You can reproduce it on your side easily by adding a : else if (status == kStatus_UART_FramingError).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 08:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818133#M7867</guid>
      <dc:creator>jbrud</dc:creator>
      <dc:date>2018-11-09T08:22:50Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS UART driver unreliable,  Framing Errors occur</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818134#M7868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Can anybody help me&lt;/SPAN&gt;&lt;/SPAN&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2018 10:58:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818134#M7868</guid>
      <dc:creator>jbrud</dc:creator>
      <dc:date>2018-11-12T10:58:57Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS UART driver unreliable,  Framing Errors occur</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818135#M7869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="324002" data-username="johannes.bruder@plating.de" href="https://community.nxp.com/people/johannes.bruder@plating.de"&gt;Johannes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;FreeRTOS UART driver is a blocking task, it blocks current task until whole required data are received.&lt;/P&gt;&lt;P&gt;In this demo, uint8_t recv_buffer[4]; so task will wait until 4 bytes received&lt;/P&gt;&lt;P&gt;If you need to send only one byte, you can change the recv_buff size to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 07:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818135#M7869</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-11-13T07:36:18Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS UART driver unreliable,  Framing Errors occur</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818136#M7870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel Chen,&lt;/P&gt;&lt;P&gt;as I mentioned&amp;nbsp; I'm aware of this. The problem is, it is not reliable even with&amp;nbsp; recv_buff size = 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your information, I'm working with a TWR-K64F120M.&lt;/P&gt;&lt;P&gt;What about the UART_FramingErrors ?&lt;/P&gt;&lt;P&gt;On my side I tested it with different hosts and serial tools:&lt;/P&gt;&lt;P&gt;* Linux + Minicom&lt;/P&gt;&lt;P&gt;* Windows + Hterm&lt;/P&gt;&lt;P&gt;It makes no different ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 08:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818136#M7870</guid>
      <dc:creator>jbrud</dc:creator>
      <dc:date>2018-11-14T08:34:18Z</dc:date>
    </item>
    <item>
      <title>Re:  freeRTOS UART driver unreliable,  Framing Errors occur</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818137#M7871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I can't reproduce your issue on my side now.&amp;nbsp;&amp;nbsp; what do you mean&amp;nbsp; when you say "send 4 characters step by step" ? set break point in your code ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2018 08:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/freeRTOS-UART-driver-unreliable-Framing-Errors-occur/m-p/818137#M7871</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-11-22T08:30:13Z</dc:date>
    </item>
  </channel>
</rss>

