<?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 lpuart issue in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476006#M5293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am starting to use lpuart on freedom KL03Z board. I started with lpuart_non_blocking_example which works fine. However as soon as i start a new project with processor expert the lpuart doesn't work. I am suspecting that the issue lies within the initialisation code of PeX. I attached the project here.&lt;/P&gt;&lt;P&gt;Second question, I want to read incoming chars, one by one so i want to make something like this&lt;/P&gt;&lt;P&gt;While(rxbuffer is not empty)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPUART_DRV_ReceiveData(BOARD_DEBUG_UART_INSTANCE, &amp;amp;rxChar, 1);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find a way to test if the rxbuffer is empty or it has something in it. I have to test that because in my application i don't know how much bytes am going to receive either 2 or 3. I am looking for a similar function like the arduino Serial.available().&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339023"&gt;uart.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 10:36:12 GMT</pubDate>
    <dc:creator>gnichimohamed</dc:creator>
    <dc:date>2016-03-14T10:36:12Z</dc:date>
    <item>
      <title>lpuart issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476006#M5293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am starting to use lpuart on freedom KL03Z board. I started with lpuart_non_blocking_example which works fine. However as soon as i start a new project with processor expert the lpuart doesn't work. I am suspecting that the issue lies within the initialisation code of PeX. I attached the project here.&lt;/P&gt;&lt;P&gt;Second question, I want to read incoming chars, one by one so i want to make something like this&lt;/P&gt;&lt;P&gt;While(rxbuffer is not empty)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPUART_DRV_ReceiveData(BOARD_DEBUG_UART_INSTANCE, &amp;amp;rxChar, 1);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find a way to test if the rxbuffer is empty or it has something in it. I have to test that because in my application i don't know how much bytes am going to receive either 2 or 3. I am looking for a similar function like the arduino Serial.available().&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339023"&gt;uart.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:36:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476006#M5293</guid>
      <dc:creator>gnichimohamed</dc:creator>
      <dc:date>2016-03-14T10:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: lpuart issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476007#M5294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there at least a processor expert example using lpuart like the non blocking example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 21:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476007#M5294</guid>
      <dc:creator>gnichimohamed</dc:creator>
      <dc:date>2016-03-16T21:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: lpuart issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476008#M5295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gnichi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had some problems opening your project, bu please find attached a non blocking lpuart example using Processor Expert for the KL03Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 22:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476008#M5295</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-03-16T22:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: lpuart issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476009#M5296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The receiving case of this example is blocking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 01:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/lpuart-issue/m-p/476009#M5296</guid>
      <dc:creator>jacobjennings</dc:creator>
      <dc:date>2016-04-07T01:42:39Z</dc:date>
    </item>
  </channel>
</rss>

