<?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>LPC Microcontrollersのトピックuart receiving problem?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/uart-receiving-problem/m-p/961868#M38121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; iam using lpc824&amp;nbsp; we are using two uarts when i try to read my uart1 in receiving end my code&amp;nbsp; stopped in one area&amp;nbsp;&lt;/P&gt;&lt;P&gt;i don't know why it was happening let me know the solution in below i attached my code where it was stopped&amp;nbsp;&lt;/P&gt;&lt;P&gt;please find my attachment&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2019 08:28:37 GMT</pubDate>
    <dc:creator>aravindpb5009</dc:creator>
    <dc:date>2019-07-24T08:28:37Z</dc:date>
    <item>
      <title>uart receiving problem?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/uart-receiving-problem/m-p/961868#M38121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; iam using lpc824&amp;nbsp; we are using two uarts when i try to read my uart1 in receiving end my code&amp;nbsp; stopped in one area&amp;nbsp;&lt;/P&gt;&lt;P&gt;i don't know why it was happening let me know the solution in below i attached my code where it was stopped&amp;nbsp;&lt;/P&gt;&lt;P&gt;please find my attachment&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 08:28:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/uart-receiving-problem/m-p/961868#M38121</guid>
      <dc:creator>aravindpb5009</dc:creator>
      <dc:date>2019-07-24T08:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: uart receiving problem?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/uart-receiving-problem/m-p/961869#M38122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Aravind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your issue that the LPC824 stopped at line:&lt;/P&gt;&lt;P&gt;while (!(base-&amp;gt;STAT &amp;amp; USART_STAT_RxRDY_MASK)) {}&lt;/P&gt;&lt;P&gt;The line always waits for the bit setting of USART_STAT_RxRDY_MASK in staus register, when the bit is NOT setting which means that the uart does not receive any data, the lpc824 will stick to the line and wait for bit setting.&lt;/P&gt;&lt;P&gt;so i do not suggest you use the USART_ReadBlocking1() function, which uses polling mode.&amp;nbsp; I suggest you use interrupt mode.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 05:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/uart-receiving-problem/m-p/961869#M38122</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-07-25T05:16:25Z</dc:date>
    </item>
  </channel>
</rss>

