<?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: How to use the K64 uart fifo? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649185#M39481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi zhai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the method in the attached "UART FIFO watermark test.c" file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Thu, 16 Mar 2017 05:49:59 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2017-03-16T05:49:59Z</dc:date>
    <item>
      <title>How to use the K64 uart fifo?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649184#M39480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; I want to use k64 uart fifo&amp;nbsp;implement the function like 51mcu:&lt;/P&gt;&lt;P&gt;void Rcv_ISR () interrupt 4 using 1&lt;BR /&gt;{ &lt;BR /&gt; INT8 data inchar;&lt;BR /&gt; &lt;BR /&gt; if(RI)&lt;BR /&gt; {&lt;BR /&gt; inchar = SBUF;&lt;BR /&gt; if(inchar == '*')&lt;BR /&gt; {&lt;BR /&gt; RX_Index1 = 0;&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; if(RX_Index1 &amp;lt;= (RX_MAXBUF-1) )&lt;BR /&gt; {&lt;BR /&gt; RX_BUF1[RX_Index1] = inchar;&lt;BR /&gt; if(RX_BUF1[RX_Index1] == '$')&lt;BR /&gt; { &lt;BR /&gt; if(RX_BUF1[0] == '*')&lt;BR /&gt; { &lt;BR /&gt; if(RX_BUF1[2] == '2')&lt;BR /&gt; {&lt;BR /&gt; ACKflag = 1;&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; if(RX_FULL == 0)&lt;BR /&gt; {&lt;BR /&gt; RX_FULL = 1;&lt;BR /&gt; RX_Index2 = RX_Index1;&lt;BR /&gt; memcpy(RX_BUF2,RX_BUF1,RX_Index2+1); &lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; //&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; RX_BUF1[0] = 0;&lt;BR /&gt; RX_BUF1[2] = 0;&lt;BR /&gt; RX_Index1 =0;&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; RX_Index1++;&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; RX_Index1 =0;&lt;BR /&gt; }&lt;BR /&gt; RI = 0;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;if(TI)&lt;BR /&gt; {&lt;BR /&gt; if(TX_EN == 1)&lt;BR /&gt; {&lt;BR /&gt; if(TX_Tail == TX_Head)&lt;BR /&gt; {&lt;BR /&gt; if(TX_Full == 1)&lt;BR /&gt; {&lt;BR /&gt; SBUF = TX_BUF[TX_Tail];&lt;BR /&gt; TX_Tail = (TX_Tail+1)%TX_MAXBUF;&lt;BR /&gt; TX_Full = 0;&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; TX_Empty = 1;&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; SBUF = TX_BUF[TX_Tail];&lt;BR /&gt; TX_Tail = (TX_Tail+1)%TX_MAXBUF;&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; TX_Empty = 1;&lt;BR /&gt; TX_Full = 0;&lt;BR /&gt; }&lt;BR /&gt; TI = 0;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;I can't find fifo uart demo in sdk;How to config it ?&lt;/P&gt;&lt;P&gt;Thanks and best regards.&lt;/P&gt;&lt;P&gt;zhai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 07:54:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649184#M39480</guid>
      <dc:creator>zhailing</dc:creator>
      <dc:date>2017-03-14T07:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the K64 uart fifo?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649185#M39481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi zhai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the method in the attached "UART FIFO watermark test.c" file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Thu, 16 Mar 2017 05:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649185#M39481</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-03-16T05:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the K64 uart fifo?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649186#M39482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin_Shen&lt;/P&gt;&lt;P&gt;I don't have&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;"UART FIFO watermark test.c".can you send it to me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;zhai&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 07:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649186#M39482</guid>
      <dc:creator>zhailing</dc:creator>
      <dc:date>2017-03-16T07:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the K64 uart fifo?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649187#M39483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached file in last reply.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="file.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17495iF7FE6411998F0444/image-size/large?v=v2&amp;amp;px=999" role="button" title="file.png" alt="file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 08:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649187#M39483</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-03-16T08:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the K64 uart fifo?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649188#M39484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robin_Shen&lt;/P&gt;&lt;P&gt;&amp;nbsp;My Hardware demo board is FRDM-k64. Software tool is IAR. Do you have the uart fifo demo for it.&lt;/P&gt;&lt;P&gt;Thangs and best Rregards&lt;/P&gt;&lt;P&gt;zhai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 09:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649188#M39484</guid>
      <dc:creator>zhailing</dc:creator>
      <dc:date>2017-03-16T09:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the K64 uart fifo?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649189#M39485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry, I don't have the uart fifo demo for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 07:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-K64-uart-fifo/m-p/649189#M39485</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-03-17T07:46:51Z</dc:date>
    </item>
  </channel>
</rss>

