<?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: UART Buffer size problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749550#M45643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use KSDK 1.3 so don't know the details. If you need to use KSDK 1.3 it may be best to ask at its forum: &lt;A href="https://community.nxp.com/community/mcuxpresso/kinetis-software-development-kit"&gt;https://community.nxp.com/community/mcuxpresso/kinetis-software-development-kit&lt;/A&gt;&amp;nbsp;&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>Mon, 06 Nov 2017 05:28:25 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2017-11-06T05:28:25Z</dc:date>
    <item>
      <title>UART Buffer size problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749547#M45640</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;I am using KSDK 1.3 with KDS 3.2 and I am struggling to receive a variable size array of bytes. I only receive one byte and I cannot get the rest of the array.&lt;BR /&gt;I used the function&amp;nbsp;static inline uint8_t UART_HAL_GetRxFifoSize(UART_Type * base) and it returned 0x0 which means only one word in the buffer.&lt;/P&gt;&lt;P&gt;I did not find a way to change it and use UART_DRV_ReceiveData or UART_DRV_ReceiveDataBlocking for a greater number of bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Nov 2017 23:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749547#M45640</guid>
      <dc:creator>PedroCastro</dc:creator>
      <dc:date>2017-11-05T23:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: UART Buffer size problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749548#M45641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART_HAL_GetRxFifoSize() returns the physical size of the FIFO in the UART (by reading UARTx_PFIFO). A zero means that the particular device that you are using doesn't have a FIFO.&lt;/P&gt;&lt;P&gt;However, I don't expect this to be an issue since you need to use a software buffer to store reception to and then there is no dependency on the HW used.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;UART: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerUART.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerUART.PDF&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 02:18:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749548#M45641</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-11-06T02:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: UART Buffer size problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749549#M45642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So why do I get just one byte from the functions below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART_DRV_ReceiveDataBlocking(UART_INSTANCE, message, count, UART_TIMEOUT);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;UART_DRV_&lt;/SPAN&gt;&lt;SPAN&gt;Receive&lt;/SPAN&gt;&lt;SPAN&gt;Data(UART_INSTANCE, message, count);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have already validated the channel through a analyzer and the information is reaching the RX pin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 02:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749549#M45642</guid>
      <dc:creator>PedroCastro</dc:creator>
      <dc:date>2017-11-06T02:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: UART Buffer size problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749550#M45643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pedro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use KSDK 1.3 so don't know the details. If you need to use KSDK 1.3 it may be best to ask at its forum: &lt;A href="https://community.nxp.com/community/mcuxpresso/kinetis-software-development-kit"&gt;https://community.nxp.com/community/mcuxpresso/kinetis-software-development-kit&lt;/A&gt;&amp;nbsp;&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>Mon, 06 Nov 2017 05:28:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-Buffer-size-problem/m-p/749550#M45643</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-11-06T05:28:25Z</dc:date>
    </item>
  </channel>
</rss>

