<?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 Rx Tx UART interrupt in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152500#M522</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;Does MQX gives us a way to know whether the interrupt is for Rx or Tx if i have common ISR for recieving / transmitting for UART, if it has a way then how to know it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2012 15:33:18 GMT</pubDate>
    <dc:creator>mpc8377e</dc:creator>
    <dc:date>2012-04-09T15:33:18Z</dc:date>
    <item>
      <title>Rx Tx UART interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152500#M522</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;Does MQX gives us a way to know whether the interrupt is for Rx or Tx if i have common ISR for recieving / transmitting for UART, if it has a way then how to know it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 15:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152500#M522</guid>
      <dc:creator>mpc8377e</dc:creator>
      <dc:date>2012-04-09T15:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rx Tx UART interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152501#M523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am testing the UART interrupt on k40 tower module board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 15:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152501#M523</guid>
      <dc:creator>mpc8377e</dc:creator>
      <dc:date>2012-04-09T15:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rx Tx UART interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152502#M524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mpc8377e,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your application shares one interrupt for RX and also TX. Simply read the flag which causes the interrupt to be invoked. Are you using kuart int init, because there's _kuart_int_rx_tx_isr function. You can find the source code in source/io/serial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 16:30:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152502#M524</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2012-04-11T16:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rx Tx UART interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152503#M525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kojito,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one more question on ISR:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed my own isr like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_int_install_isr(INT_UART3_RX_TX, uart_rx_tx_isr, NULL);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; _cortex_int_init(INT_UART3_RX_TX, 2, TRUE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; _cortex_int_enable(INT_UART3_RX_TX);&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ISR:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void&lt;BR /&gt;uart_rx_tx_isr( pointer user_isr_ptr )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;volatile int_32 value;&lt;/P&gt;&lt;P&gt;if (sci_ptr-&amp;gt;S1 &amp;amp; UART_S1_RDRF_MASK)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value = sci_ptr-&amp;gt;D;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By doing this i am unable to get the exact data in varilabe "value". Is there any way to read the exact data from UART? I am testing this on tower module k40.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 21:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152503#M525</guid>
      <dc:creator>mpc8377e</dc:creator>
      <dc:date>2012-04-12T21:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rx Tx UART interrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152504#M526</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;I could able to read the character by adding code like this in ISR:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uart_rx_tx_isr( pointer user_isr_ptr )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;volatile int_32 data;&lt;/P&gt;&lt;P&gt;if ((UART_S1_REG(UART3_BASE_PTR) &amp;amp; UART_S1_RDRF_MASK))&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;data = UART_D_REG(UART3_BASE_PTR);&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the problem here is that the ISR will trigger only once eventhough the packet has more than 1 byte (ex. 10 bytes), it reads only first byte. The ISR should be triggered 10 times i believe to get the complete packet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using kinetis k40 board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2012 20:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Rx-Tx-UART-interrupt/m-p/152504#M526</guid>
      <dc:creator>mpc8377e</dc:creator>
      <dc:date>2012-04-16T20:56:48Z</dc:date>
    </item>
  </channel>
</rss>

