<?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: Problem with K60 MCU UART interrupt mode Typical Usage code in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314727#M13733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the utasker link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The global interrupts of FreeRTOS are disabled before receiving the character and enabled after the reception so that the ISR is given control. (Similarly for sending a character). It is taken care by ENTER_CRITICAL() and EXIT_CRITICAL() tasks.&lt;/P&gt;&lt;P&gt;UART interrupts are enabled in the initialization code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jul 2014 18:07:54 GMT</pubDate>
    <dc:creator>dkarthik</dc:creator>
    <dc:date>2014-07-02T18:07:54Z</dc:date>
    <item>
      <title>Problem with K60 MCU UART interrupt mode Typical Usage code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314723#M13729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to learn K60 MCU UART using Typical usage of Processor expert component. I added Serial_LDD component and set to UART5 for communication to PC via debugger in TWRK60D100M kit. I used the exact code as in Typical usage. UART for polling mode works but Interrupt mode doesn't work. (I enabled interrupt in Serial Component)&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;Is there any other interrupts in the processor that should be enabled or Should I be including something in the code to enable additional interrupts. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 19:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314723#M13729</guid>
      <dc:creator>dkarthik</dc:creator>
      <dc:date>2014-07-01T19:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with K60 MCU UART interrupt mode Typical Usage code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314724#M13730</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;BR /&gt;You can get UART code for all 6 UARTs in parallel in interrupt driven or DMA driven mode: &lt;A href="http://www.utasker.com/forum/index.php?topic=1721.0" title="http://www.utasker.com/forum/index.php?topic=1721.0"&gt;http://www.utasker.com/forum/index.php?topic=1721.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to use PE you may need to enable global interrupts for it to work (?) [eg. with &lt;STRONG&gt;asm("cpsie&amp;nbsp;&amp;nbsp; i")&lt;/STRONG&gt;]&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;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 21:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314724#M13730</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-07-01T21:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with K60 MCU UART interrupt mode Typical Usage code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314725#M13731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend that you use the AsynchroSerial component instead: it uses the Serial_LDD internally, but is much easier to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 14:17:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314725#M13731</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-07-02T14:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with K60 MCU UART interrupt mode Typical Usage code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314726#M13732</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;Problem Solved. It is because of OS. I don't know how to use interrupts when OS is included in the project. Without any OS the interrupt mode works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 17:57:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314726#M13732</guid>
      <dc:creator>dkarthik</dc:creator>
      <dc:date>2014-07-02T17:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with K60 MCU UART interrupt mode Typical Usage code</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314727#M13733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the utasker link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The global interrupts of FreeRTOS are disabled before receiving the character and enabled after the reception so that the ISR is given control. (Similarly for sending a character). It is taken care by ENTER_CRITICAL() and EXIT_CRITICAL() tasks.&lt;/P&gt;&lt;P&gt;UART interrupts are enabled in the initialization code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 18:07:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K60-MCU-UART-interrupt-mode-Typical-Usage-code/m-p/314727#M13733</guid>
      <dc:creator>dkarthik</dc:creator>
      <dc:date>2014-07-02T18:07:54Z</dc:date>
    </item>
  </channel>
</rss>

