<?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 Software Development KitのトピックRe: LPUART_DRV_ReceiveDataBlocking: strange behaviour</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328387#M73</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using the MKL03Z32FG4 device with the KSDK_1.0.0-KL03Z SDK.&lt;/P&gt;&lt;P&gt;I created the project with Kinetis Design Studio KDS_1.1.1&lt;/P&gt;&lt;P&gt;I used Processor Expert to initialize the component and to select the LPUART SDK high level driver.&lt;/P&gt;&lt;P&gt;TIA, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Dec 2014 14:20:09 GMT</pubDate>
    <dc:creator>rolandzitzke</dc:creator>
    <dc:date>2014-12-06T14:20:09Z</dc:date>
    <item>
      <title>LPUART_DRV_ReceiveDataBlocking: strange behaviour</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328385#M71</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a simple task of sending a byte to a remote device and waiting for a one byte answer.&lt;/P&gt;&lt;P&gt;So, for receiving data i use (code simplified to the bare minimum)&lt;/P&gt;&lt;P&gt;The rx line of my UART is totally disconnected so I should not receive anything but get timeouts.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint8_t dummyByte;&lt;/P&gt;&lt;P&gt;lpuart_status_t status;&lt;/P&gt;&lt;P&gt;status = LPUART_DRV_ReceiveDataBlocking(FSL_LPUARTCOM1,&amp;amp;dummyByte, 1, 20);&lt;/P&gt;&lt;P&gt;// Now status shows timeout as expected on a disconnected UART&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status = LPUART_DRV_AbortReceivingData(FSL_LPUARTCOM1);&lt;/P&gt;&lt;P&gt;// status is now 0 (success) as expected&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status = LPUART_DRV_ReceiveDataBlocking(FSL_LPUARTCOM1,&amp;amp;dummyByte, 1, 20);&lt;/P&gt;&lt;P&gt;// Status is now 0 - successful again, why???&lt;/P&gt;&lt;P&gt;By the way, transmitting data works just fine.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this code I would expect both receives to fail with a timeout.&lt;/P&gt;&lt;P&gt;If I omit the&lt;/P&gt;&lt;P&gt;status = LPUART_DRV_AbortReceivingData(FSL_LPUARTCOM1);&lt;/P&gt;&lt;P&gt;call then all subsequent invocations of the receive function return a BUSY status.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hints or solutions/&lt;/P&gt;&lt;P&gt;TIA, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 13:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328385#M71</guid>
      <dc:creator>rolandzitzke</dc:creator>
      <dc:date>2014-12-05T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_DRV_ReceiveDataBlocking: strange behaviour</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328386#M72</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;Can you please share which device and IDE you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 18:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328386#M72</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-12-05T18:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_DRV_ReceiveDataBlocking: strange behaviour</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328387#M73</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using the MKL03Z32FG4 device with the KSDK_1.0.0-KL03Z SDK.&lt;/P&gt;&lt;P&gt;I created the project with Kinetis Design Studio KDS_1.1.1&lt;/P&gt;&lt;P&gt;I used Processor Expert to initialize the component and to select the LPUART SDK high level driver.&lt;/P&gt;&lt;P&gt;TIA, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2014 14:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328387#M73</guid>
      <dc:creator>rolandzitzke</dc:creator>
      <dc:date>2014-12-06T14:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_DRV_ReceiveDataBlocking: strange behaviour</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328388#M74</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may find useful this threads:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/458344"&gt;Re: Re: Re: UART problem with FRDMKL03 (with KDSK + PE + FreeRTOS)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/458286"&gt;KL03: PE code generated for high level SDK LPUART component not working&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Adrian Sanchez Cano&lt;BR /&gt;Technical Support Engineer&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>Wed, 17 Dec 2014 01:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/LPUART-DRV-ReceiveDataBlocking-strange-behaviour/m-p/328388#M74</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-12-17T01:00:38Z</dc:date>
    </item>
  </channel>
</rss>

