<?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: How can I separate RX/TX of the UART interrupt? in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/How-can-I-separate-RX-TX-of-the-UART-interrupt/m-p/777918#M427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel. Chapter 48.4.6 of the RM is very helpful for me.&lt;/P&gt;&lt;P&gt;And I&amp;nbsp;found one sample (&lt;A href="https://community.nxp.com/thread/463166"&gt;S32K144   LPUART1_RxTx_IRQHandler&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BR, SHUm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2017 08:53:59 GMT</pubDate>
    <dc:creator>seunghyunum</dc:creator>
    <dc:date>2017-11-20T08:53:59Z</dc:date>
    <item>
      <title>How can I separate RX/TX of the UART interrupt?</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-can-I-separate-RX-TX-of-the-UART-interrupt/m-p/777916#M425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing the S32K144 chip in S32DS v2.0. There is one example, named lpuart_echo_s32k144. It&amp;nbsp;takes the RX data using polling method.&lt;/P&gt;&lt;P&gt;I want to change this to interrupt method.&lt;/P&gt;&lt;P&gt;lpuart_echo_s32k144 example uses the SDK. I&amp;nbsp;could add the api easily as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INT_SYS_InstallHandler(LPUART1_RxTx_IRQn, LPUART1_RxTx_IRQHandler, (isr_t *)0);&lt;BR /&gt;INT_SYS_EnableIRQ(LPUART1_RxTx_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I added ISR like below.&lt;/P&gt;&lt;P&gt;void LPUART1_RxTx_IRQHandler(void){&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this ISR calls both RX and TX cases. When I checked CTRL register, TIE and RIE are enabled.&lt;/P&gt;&lt;P&gt;Then, how can I seperate RX and TX? Is there any state register?&lt;/P&gt;&lt;P&gt;Please give me a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;BR, Seunghyun Um&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 11:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-can-I-separate-RX-TX-of-the-UART-interrupt/m-p/777916#M425</guid>
      <dc:creator>seunghyunum</dc:creator>
      <dc:date>2017-11-15T11:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate RX/TX of the UART interrupt?</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-can-I-separate-RX-TX-of-the-UART-interrupt/m-p/777917#M426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, there is one interrupt for both.&lt;/P&gt;&lt;P&gt;Unfortunately, I don't have such a sample code.&lt;/P&gt;&lt;P&gt;But it is explained in Chapter 48.4.6 of the RM.&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>Sun, 19 Nov 2017 22:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-can-I-separate-RX-TX-of-the-UART-interrupt/m-p/777917#M426</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-11-19T22:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate RX/TX of the UART interrupt?</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-can-I-separate-RX-TX-of-the-UART-interrupt/m-p/777918#M427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel. Chapter 48.4.6 of the RM is very helpful for me.&lt;/P&gt;&lt;P&gt;And I&amp;nbsp;found one sample (&lt;A href="https://community.nxp.com/thread/463166"&gt;S32K144   LPUART1_RxTx_IRQHandler&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BR, SHUm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 08:53:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-can-I-separate-RX-TX-of-the-UART-interrupt/m-p/777918#M427</guid>
      <dc:creator>seunghyunum</dc:creator>
      <dc:date>2017-11-20T08:53:59Z</dc:date>
    </item>
  </channel>
</rss>

