<?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: K70 UART using interrupt ISR in MQX in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971578#M18346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vibhu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to below thread. I hope it helps&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/1158581"&gt;https://community.nxp.com/message/1158581&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2019 06:21:50 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2019-09-11T06:21:50Z</dc:date>
    <item>
      <title>K70 UART using interrupt ISR in MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971577#M18345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to freescale controller and MQX. I downloaded and installed MQX v4.1. I am using keil uvision IDE. I was able to program the twr-k7f120m&amp;nbsp;board with the hello world and gpio programs and it is working fine. I also tried a normal uart; communication using _io_write and _io_read and it is also working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to implement UART using interrupt method. I suppose the above method which I tested was polling method.&lt;/P&gt;&lt;P&gt;Can anyone help me if there is any example for using interrupts and &lt;A href="https://community.nxp.com/t5/tag/isr;/tg-p"&gt;#isr;&lt;/A&gt; in the controller ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks :smileyhappy:&lt;/P&gt;&lt;P&gt;Vibhu.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 09:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971577#M18345</guid>
      <dc:creator>vibhu</dc:creator>
      <dc:date>2019-09-10T09:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: K70 UART using interrupt ISR in MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971578#M18346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vibhu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to below thread. I hope it helps&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/1158581"&gt;https://community.nxp.com/message/1158581&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 06:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971578#M18346</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-09-11T06:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: K70 UART using interrupt ISR in MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971579#M18347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I referred the thread that you mentioned. I can use the default interrupt method itself. It is not a requirement for me to write a custom interrupt code. So do you have example for using the default interrupt method or how to use it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in that thread by&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/m4l490n"&gt;m4l490n&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use fopen to open the port and fread and fwrite then wont it be polling ? How can I assure it uses interrupt method ? I am a little bit confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give me a bit clarity on this one please !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks :smileyhappy:&lt;/P&gt;&lt;P&gt;Vibhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 06:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971579#M18347</guid>
      <dc:creator>vibhu</dc:creator>
      <dc:date>2019-09-11T06:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: K70 UART using interrupt ISR in MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971580#M18348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can Any one please help on the interrupt part ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 10:06:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971580#M18348</guid>
      <dc:creator>vibhu</dc:creator>
      <dc:date>2019-09-18T10:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: K70 UART using interrupt ISR in MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971581#M18349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vibhu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two types of uart drivers in MQX, the interrupt mode and polled mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to use interrupt mode, please enable relative uart in user_config.h.&amp;nbsp; Let's take uart a for example.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;#define BSPCFG_ENABLE_TTYA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; //poll mode&lt;BR /&gt;#define BSPCFG_ENABLE_ITTYA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; // interrupt mode. &lt;BR /&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then fopen the uart channel. and receive and send data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an example in MQX package,&amp;nbsp; the rs485 demo demonstrates how to transmit and receive data through rs485 data's channel (ittyd:).&lt;/P&gt;&lt;P&gt;Please refer to the demo for more details.&lt;/P&gt;&lt;P&gt;Freescale_MQX_4_2\mqx\examples\rs485&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 01:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K70-UART-using-interrupt-ISR-in-MQX/m-p/971581#M18349</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-09-19T01:59:44Z</dc:date>
    </item>
  </channel>
</rss>

