<?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: K60 UART ISR not stopping in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-UART-ISR-not-stopping/m-p/189826#M2155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you disabling the xmit interrupt when you don't have anything else to xmit? Otherwise, tx irq will be signaling about available space in UART buffer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also looking at MQX uart driver might help you to get an idea about this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 22:20:29 GMT</pubDate>
    <dc:creator>PaoloRenzo</dc:creator>
    <dc:date>2012-08-16T22:20:29Z</dc:date>
    <item>
      <title>K60 UART ISR not stopping</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-UART-ISR-not-stopping/m-p/189825#M2154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everyone, I'm having trouble with my K60 UART ISR. I want to set a flag in the ISR when UART transfer has been completed or when data has been received. I've set UART3_C2=0x5c (TCIE, ILIE, TE, RE) and the ISR is getting called after I've sent a byte but then it's getting called again and again without stopping (and without me sending/receiving data). I disable the IRQ in the beginning of my ISR and enable it in the end but it doesn't work out. I've tried reading all kinds of status flags or UART3_D and I even tried writing to latter but still my ISR won't stop being called.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe i gotta say that I didn't know how to register my ISR so I just entered the function name in the vector table. Don't know if the system behaves differently this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I make it work properly? BTW: I'm using FreeRTOS (if that matters)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 14:22:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-UART-ISR-not-stopping/m-p/189825#M2154</guid>
      <dc:creator>barric</dc:creator>
      <dc:date>2012-08-16T14:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: K60 UART ISR not stopping</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-UART-ISR-not-stopping/m-p/189826#M2155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you disabling the xmit interrupt when you don't have anything else to xmit? Otherwise, tx irq will be signaling about available space in UART buffer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also looking at MQX uart driver might help you to get an idea about this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 22:20:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-UART-ISR-not-stopping/m-p/189826#M2155</guid>
      <dc:creator>PaoloRenzo</dc:creator>
      <dc:date>2012-08-16T22:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: K60 UART ISR not stopping</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-UART-ISR-not-stopping/m-p/189827#M2156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Paolo, that was exactly the problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 22:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60-UART-ISR-not-stopping/m-p/189827#M2156</guid>
      <dc:creator>barric</dc:creator>
      <dc:date>2012-08-17T22:47:51Z</dc:date>
    </item>
  </channel>
</rss>

