<?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 do I insert an error interrupt handler when using the uart fileio driver in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-insert-an-error-interrupt-handler-when-using-the-uart/m-p/339876#M16319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm successfully installing a uart but need to trap exceptions (parity errors etc.). I'm having trouble installing a dedicated interrupt handler - is there a cleaner way to trap exceptions ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 03:02:08 GMT</pubDate>
    <dc:creator>tomdale</dc:creator>
    <dc:date>2014-11-14T03:02:08Z</dc:date>
    <item>
      <title>How do I insert an error interrupt handler when using the uart fileio driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-insert-an-error-interrupt-handler-when-using-the-uart/m-p/339876#M16319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm successfully installing a uart but need to trap exceptions (parity errors etc.). I'm having trouble installing a dedicated interrupt handler - is there a cleaner way to trap exceptions ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 03:02:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-insert-an-error-interrupt-handler-when-using-the-uart/m-p/339876#M16319</guid>
      <dc:creator>tomdale</dc:creator>
      <dc:date>2014-11-14T03:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert an error interrupt handler when using the uart fileio driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-insert-an-error-interrupt-handler-when-using-the-uart/m-p/339877#M16320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you let us know the Kinetis product part number? And which IDE software you are using?&lt;/P&gt;&lt;P&gt;Your project is baremetal or with RTOS?&lt;/P&gt;&lt;P&gt;And if you are using Kinetis SDK software?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Mon, 17 Nov 2014 05:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-insert-an-error-interrupt-handler-when-using-the-uart/m-p/339877#M16320</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-11-17T05:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert an error interrupt handler when using the uart fileio driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-insert-an-error-interrupt-handler-when-using-the-uart/m-p/339878#M16321</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MQX serial driver have error isr handler in serl_int_kuart.c and it will handle errors itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can check if an parity error occurs by calling ioctl with IO_IOCTL_SERIAL_GET_STATS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; An inefficient way is to check error counters in your application by calling ioctl with IO_IOCTL_SERIAL_GET_STATS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For customized exception handler routine, I'm afraid you have to modify MQX serial driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 08:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-insert-an-error-interrupt-handler-when-using-the-uart/m-p/339878#M16321</guid>
      <dc:creator>terry_lv</dc:creator>
      <dc:date>2014-11-27T08:01:34Z</dc:date>
    </item>
  </channel>
</rss>

