<?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 How to enable ClearRxBuf? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-enable-ClearRxBuf/m-p/621625#M37192</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´m developing a serial application. In my application my MK20DX256VLH7 microcontroller is waiting for a date that is sent from the PC by serial line. I've just managed to receive a date from PC to microcontroller, but the problem is that I want to clear the buffer once the microcontroller has read the data that has been received. The ClearRXBuf funtion that I hope to do this functionality, it's disabled, and I don't know how to enable this function, because when I click right in this method in "Components View" to select "Toggle Enable/Disable" this option is desabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I show you in the next image what I want to mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ClearRxBuf_disabled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17339i0368FBA74037FF1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ClearRxBuf_disabled.png" alt="ClearRxBuf_disabled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand in&amp;nbsp;Methods tab from Component Inspector&amp;nbsp;View, I'm&amp;nbsp;disabled to generate code for this function. I show you in the next image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ClearRxBuf_DontGenerate.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17382iF3A148320513C82D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ClearRxBuf_DontGenerate.png" alt="ClearRxBuf_DontGenerate.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to enable this function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to configurate some settings in Component Inspector View to generate this function?? Do I have to add a new plugging??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&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;Arturo Arteaga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 09:25:18 GMT</pubDate>
    <dc:creator>arturoarteaga</dc:creator>
    <dc:date>2017-03-27T09:25:18Z</dc:date>
    <item>
      <title>How to enable ClearRxBuf?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-enable-ClearRxBuf/m-p/621625#M37192</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´m developing a serial application. In my application my MK20DX256VLH7 microcontroller is waiting for a date that is sent from the PC by serial line. I've just managed to receive a date from PC to microcontroller, but the problem is that I want to clear the buffer once the microcontroller has read the data that has been received. The ClearRXBuf funtion that I hope to do this functionality, it's disabled, and I don't know how to enable this function, because when I click right in this method in "Components View" to select "Toggle Enable/Disable" this option is desabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I show you in the next image what I want to mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ClearRxBuf_disabled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17339i0368FBA74037FF1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ClearRxBuf_disabled.png" alt="ClearRxBuf_disabled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand in&amp;nbsp;Methods tab from Component Inspector&amp;nbsp;View, I'm&amp;nbsp;disabled to generate code for this function. I show you in the next image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ClearRxBuf_DontGenerate.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17382iF3A148320513C82D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ClearRxBuf_DontGenerate.png" alt="ClearRxBuf_DontGenerate.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to enable this function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to configurate some settings in Component Inspector View to generate this function?? Do I have to add a new plugging??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&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;Arturo Arteaga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 09:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-enable-ClearRxBuf/m-p/621625#M37192</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-27T09:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable ClearRxBuf?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-enable-ClearRxBuf/m-p/621626#M37193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;To enable this function there are two conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.- Receiver property enable.&lt;/P&gt;&lt;P&gt;2.- Input buffer size != 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To change the input buffer size:&lt;/P&gt;&lt;P&gt;Click on AS1:AsynchroSerial -&amp;gt;Interrupt service/event -&amp;gt; change the input buffer size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17791i30DFDD7556127DC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This enables the ClearRxBuf:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17840i1AF1966C6AA74583/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ivan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 23:07:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-enable-ClearRxBuf/m-p/621626#M37193</guid>
      <dc:creator>IvanRuiz</dc:creator>
      <dc:date>2017-04-03T23:07:08Z</dc:date>
    </item>
  </channel>
</rss>

