<?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: I am having trouble using the Frmd KW36 board, I hope everyone can help me. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973523#M55286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answering my question again.&lt;BR /&gt;My understanding is that the data sent from another MCU is sent at once, and overflow has occurred when I have not had time to receive the data. This is what I saw through the debug mode. So I just want to achieve the ultimate goal by modifying the size of the buffer.&lt;BR /&gt;In addition, if I need to implement the function, can I only use the ring buffer to achieve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2019 01:02:00 GMT</pubDate>
    <dc:creator>tangchaozheng</dc:creator>
    <dc:date>2019-07-03T01:02:00Z</dc:date>
    <item>
      <title>I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973517#M55280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am having trouble using the KW36 board. The problem is: the data receiving buffer area of the serial port is not big enough. However, I have not found any place to modify it. Can you know how to modify it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 07:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973517#M55280</guid>
      <dc:creator>tangchaozheng</dc:creator>
      <dc:date>2019-06-26T07:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973518#M55281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi Tang, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to confirm, which communication protocol are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the case of UART, you could take a look at the driver example for LPUART included in the SDK of the KW36. In that example, they use a ring buffer that can be configured in different to have a different size, maybe it will be useful to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please take a look and tell me if that works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 17:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973518#M55281</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-06-27T17:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973519#M55282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, thank you very much for answering my question. I am using uart, can I only modify the ring buffer in the modified buffer? Is there a way to directly modify the buffer? What function should I use to receive data after modifying the ring buffer? Is the LPUART_ReadBlocking function ok? Still need to use the LPUART_TransferReceiveNonBlocking function to receive data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 00:48:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973519#M55282</guid>
      <dc:creator>tangchaozheng</dc:creator>
      <dc:date>2019-06-28T00:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973520#M55283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi Tang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example shows a way to use an additional second buffer for UART data reception, this second buffer's size can be changed. This is done for optimization purposes so that you can use set the buffer to be the size you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, that one example receives data in a blocking way, but one of the other examples in the same directory shows how to do it using interrupts so it's a non-blocking implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please share more details about your final application or why do you need a bigger buffer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 19:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973520#M55283</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-06-28T19:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973521#M55284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thank you for your help.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am a graduated college student. In the process of internship, my goal is to realize uart communication between two development boards. After I send a string of data, another development board will return at least 40 at a time. The data of the bytes, when I use the normal LPUART_WriteBlocking function, the data reception overflow occurs, so that all the data cannot be received. So I want to solve this problem by modifying the size of the data receive buffer.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thank you again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 01:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973521#M55284</guid>
      <dc:creator>tangchaozheng</dc:creator>
      <dc:date>2019-07-01T01:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973522#M55285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please make sure you're clearing the Rx FIFO after receiving data? Because that could be the reason why you're getting a data overflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, there is a field in the LPUART FIFO Register called RXFIFOSIZE, however, it's a read-only field which will tell you the current size of the Buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 16:02:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973522#M55285</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-07-01T16:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973523#M55286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answering my question again.&lt;BR /&gt;My understanding is that the data sent from another MCU is sent at once, and overflow has occurred when I have not had time to receive the data. This is what I saw through the debug mode. So I just want to achieve the ultimate goal by modifying the size of the buffer.&lt;BR /&gt;In addition, if I need to implement the function, can I only use the ring buffer to achieve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 01:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973523#M55286</guid>
      <dc:creator>tangchaozheng</dc:creator>
      <dc:date>2019-07-03T01:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973524#M55287</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;If you are getting Rx overruns it is because you are not responding fast enough to clear the Rx registers in the LPUART.&lt;/P&gt;&lt;P&gt;Increasing the SW buffer size will not help since this will not stop HW overruns.&lt;/P&gt;&lt;P&gt;You should use &lt;SPAN style="text-decoration: underline;"&gt;DMA reception at the UART Rx&lt;/SPAN&gt; to ensure that no overrun can occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 10:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973524#M55287</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-07-03T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: I am having trouble using the Frmd KW36 board, I hope everyone can help me.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973525#M55288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you very much, I will try to see if it is useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 00:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-having-trouble-using-the-Frmd-KW36-board-I-hope-everyone/m-p/973525#M55288</guid>
      <dc:creator>tangchaozheng</dc:creator>
      <dc:date>2019-07-04T00:54:58Z</dc:date>
    </item>
  </channel>
</rss>

