<?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: Real Time UART driver for FRDMk64f in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451532#M4552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it.&lt;/P&gt;&lt;P&gt;The examples can indeed demonstrate that a rx and rx of a single charecter can work.&lt;/P&gt;&lt;P&gt;But they had failed in delivering 100% of the bytes.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Doing so occupied about 40% CPU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;The UART EDMA blocking example discard the entire rx bytes on timeout. ( see UART_DRV_EdmaReceiveDataBlocking())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I need to deliver 3 UART interfaces at 115200 - and other APP tasks (using FreeRTOS for example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;The bytes are splitted into mesegaes at a not defined length and data. length of 6 to 200 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I speculate that for minimize CPU load, 100% of data delivery and mimum delay - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;The HW should store rx bytes and interrupt only of a reception of an idle charecter (and of bytes rx)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Is there a tested example for recieving&amp;nbsp; 6 to 200 (continuous) bytes - at a single task switch?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2015 15:21:45 GMT</pubDate>
    <dc:creator>tzahimanistersk</dc:creator>
    <dc:date>2015-08-27T15:21:45Z</dc:date>
    <item>
      <title>Real Time UART driver for FRDMk64f</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451530#M4550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the FRDMK64F.&lt;/P&gt;&lt;P&gt;My application requers a transport of UART bytes.&lt;/P&gt;&lt;P&gt;There is no assumptions of bytes values and timming.&lt;/P&gt;&lt;P&gt;Therere should be 100% dlivery with minimum latency.&lt;/P&gt;&lt;P&gt;I need an example of using the UART EDMA.&lt;/P&gt;&lt;P&gt;And with a proven performance.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 10:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451530#M4550</guid>
      <dc:creator>tzahimanistersk</dc:creator>
      <dc:date>2015-08-19T10:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time UART driver for FRDMk64f</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451531#M4551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tzahi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;uart_edma_non_blocking&lt;/STRONG&gt; example which is located in the path &lt;STRONG&gt;C:\Freescale\KSDK_1.2.0\examples\frdmk64f\driver_examples\uart\uart_edma_non_blocking&lt;/STRONG&gt; once you installed &lt;STRONG&gt;Kinetis SDK&lt;/STRONG&gt;, does what you need. Please take a look into it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The eDMA satisfies without any problem the UART latency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 13:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451531#M4551</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-08-21T13:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time UART driver for FRDMk64f</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451532#M4552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it.&lt;/P&gt;&lt;P&gt;The examples can indeed demonstrate that a rx and rx of a single charecter can work.&lt;/P&gt;&lt;P&gt;But they had failed in delivering 100% of the bytes.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Doing so occupied about 40% CPU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;The UART EDMA blocking example discard the entire rx bytes on timeout. ( see UART_DRV_EdmaReceiveDataBlocking())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I need to deliver 3 UART interfaces at 115200 - and other APP tasks (using FreeRTOS for example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;The bytes are splitted into mesegaes at a not defined length and data. length of 6 to 200 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I speculate that for minimize CPU load, 100% of data delivery and mimum delay - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;The HW should store rx bytes and interrupt only of a reception of an idle charecter (and of bytes rx)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Is there a tested example for recieving&amp;nbsp; 6 to 200 (continuous) bytes - at a single task switch?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 15:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451532#M4552</guid>
      <dc:creator>tzahimanistersk</dc:creator>
      <dc:date>2015-08-27T15:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time UART driver for FRDMk64f</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451533#M4553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tzahi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid there is not an example doing what you are asking for, it is part of your application. The UART Peripheral Driver in the Kinetis SDK support only a fixed amount of bytes reception with the eDMA. An interrupt only when an idle character is received is not supported even by the MCU (I suppose that "an idle character" means that the line is in idle for more than one bit time). My suggestion is that you receive a large amount of data where the messages are separated by special characters (i.e. the null character).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 22:42:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451533#M4553</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-09-01T22:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time UART driver for FRDMk64f</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451534#M4554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried use the basic UART driver for copy te recived bytes from the Driver's ISR callback - to a cyclic buffer.&lt;/P&gt;&lt;P&gt;So I've managed to get all the data from an application task but the interrupt rate (once per 0.1 msec) cased the RTSC IP stack mailfunction (even ping)&lt;/P&gt;&lt;P&gt;I've seen the edma example,&lt;/P&gt;&lt;P&gt;Is it possible to use the eDMA scatter/gather/loop modes for fill a cyclic buffer with no interrupt?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 08:40:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451534#M4554</guid>
      <dc:creator>tzahimanistersk</dc:creator>
      <dc:date>2015-09-16T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time UART driver for FRDMk64f</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451535#M4555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tzahi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure! You can use the eDMA to transfer the received data from the UART buffer to an array, however, you need to choose a fixed amount of data to receive. The examples that I mentioned in the above messages should work for you, don't they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any other questions arise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 17:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451535#M4555</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-09-16T17:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Real Time UART driver for FRDMk64f</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451536#M4556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;hello ,I have a&amp;nbsp; problem about UART ISR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;I used to compile environment is KDS3.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;Using a KSDK1.2 and MQX4.2,and my board is frdmk64f&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;I want to rec data form uart with ISR&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;but when I install the uart0 isr,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;the Interrupt handler is &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;constantly&lt;/SPAN&gt; triggered, whatever I have to send or receive data from UART0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;I don't know what's the problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;Is it because UART0 is the default input port？&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;In addition, I want to know why&amp;nbsp; the code “&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;printf("\ncounter = %d\n", g_isr_data.COUNTER);&lt;/SPAN&gt;”&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;could output data to uart0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="tgt" style="margin-bottom: 0.4em; font-family: arial, sans-serif; color: #2b2b2b; background-color: #fafafa;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;how can I change it output to uart1?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 08:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Real-Time-UART-driver-for-FRDMk64f/m-p/451536#M4556</guid>
      <dc:creator>wyflsxy</dc:creator>
      <dc:date>2015-09-17T08:12:54Z</dc:date>
    </item>
  </channel>
</rss>

