<?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>S32 SDKのトピックRe: S32K144 LPUART IDLE Line Interrupt Configuration</title>
    <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260854#M2154</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IdleCallback.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142066iFEA5A8E6E7EFD32E/image-size/large?v=v2&amp;amp;px=999" role="button" title="IdleCallback.jpg" alt="IdleCallback.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 01:56:13 GMT</pubDate>
    <dc:creator>wjandsq</dc:creator>
    <dc:date>2021-04-13T01:56:13Z</dc:date>
    <item>
      <title>S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/922564#M1082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I try to add the LPUART&amp;nbsp;idle line interrupt -&amp;nbsp;LPUART_INT_IDLE_LINE based on&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;S32SDK_S32K1xx_RTM_3.0.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;STRONG&gt;Firstly, set the CTRL[ILT] and CTRL[IDLECFG] in LPUART_DRV_Init( ):&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86608i68EA5DF2C506EC4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;STRONG&gt;Secondly, enable the CTRL[IDLE] in the function LPUART_DRV_StartReceiveDataUsingInt() or LPUART_DRV_StartReceiveDataUsingDma():&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86655i132FE62469E7D41B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86701i0E6701A954B6A23B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;STRONG&gt;Lastly, add&amp;nbsp;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;&lt;/SPAN&gt;handler for the LPUART_INT_IDLE_LINE interruption to the&amp;nbsp;LPUART_DRV_IRQHandler():&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/86741iC1B39CD352959C00/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp;But it still can not trigger the&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;LPUART_INT_IDLE_LINE&amp;nbsp;&lt;/SPAN&gt;interruption after I send a string to the LPUART.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Is it configured correctly? Is there anything I haven't done?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Cyril&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 05:15:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/922564#M1082</guid>
      <dc:creator>dony</dc:creator>
      <dc:date>2019-07-30T05:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/922565#M1083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="border: 0px; background-color: #ffffff; color: #51626f; font-weight: inherit; "&gt;LPUART_IdleLineIrqHandler(instance)&amp;nbsp; &amp;nbsp;must&amp;nbsp; be&amp;nbsp; first&amp;nbsp; lines&amp;nbsp; in&amp;nbsp;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;LPUART_DRV_IRQHandler()&amp;nbsp; &amp;nbsp;!&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2019 05:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/922565#M1083</guid>
      <dc:creator>wjandsq</dc:creator>
      <dc:date>2019-10-30T05:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/922566#M1084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-indent: 21.0pt;"&gt;&lt;SPAN&gt;Hi there , I using LPUART with IDLE interrupt and DMA&lt;/SPAN&gt; recv&amp;amp;send recently ,&amp;nbsp; here is my solution .&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;&lt;SPAN&gt;If you using the SDK LPUART driver , when enter the &lt;/SPAN&gt;&lt;SPAN style="; color: #8000ff; background: white; text-decoration: underline; font-size: 10.0pt;"&gt;&lt;STRONG&gt;LPUART_DRV_IRQHandler()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; , all ERROR status are clear by &lt;/SPAN&gt;&lt;SPAN style="color: fuchsia; background: white; font-size: 10.0pt;"&gt;&lt;STRONG&gt;LPUART_DRV_ErrIrqHandler() &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94249iB88B73DF3D62CD1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-indent: 21.0pt;"&gt;&lt;SPAN&gt;In the &lt;/SPAN&gt;&lt;SPAN style="color: fuchsia; background: white; font-size: 10.0pt;"&gt;&lt;STRONG&gt;LPUART_DRV_ErrIrqHandler()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; , the IDLE status is also clear in the end . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94113i8E3BE62E7A2C5A80/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So modify the &lt;SPAN style="font-size: 10.0pt; color: #8000ff; background: white;"&gt;FEATURE_LPUART_STAT_REG_FLAGS_MASK&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt;"&gt; ( in file S32K144_features.h )&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN&gt;, from ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: green; background: yellow;"&gt;0xC01FC000U&lt;/SPAN&gt;&lt;SPAN&gt; ) to ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #8000ff; background: yellow;"&gt;0xC00FC000U&lt;/SPAN&gt;&lt;SPAN&gt; ) , to avoid the idle flag being clear in &lt;/SPAN&gt;&lt;SPAN style="color: fuchsia; background: white; font-size: 10.0pt;"&gt;&lt;STRONG&gt;LPUART_DRV_ErrIrqHandler()&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94224iCA6B51982D42998E/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2019 03:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/922566#M1084</guid>
      <dc:creator>NXF55009</dc:creator>
      <dc:date>2019-11-11T03:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1235615#M2093</link>
      <description>&lt;P&gt;Hi ,The s32K144&amp;nbsp;&lt;SPAN&gt;LPUART with IDLE interrupt and DMA&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;code demo,wherre can dowload?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 08:52:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1235615#M2093</guid>
      <dc:creator>leonchan</dc:creator>
      <dc:date>2021-02-24T08:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260019#M2150</link>
      <description>&lt;P&gt;S32K serial communication has the following two practical working modes:&lt;BR /&gt;1. Interrupt the receiving and sending mode, the library file is relatively complete and there is no problem.&lt;BR /&gt;2. In DMA receiving and idle interrupt receiving mode, you need to set the receiving error event and idle interrupt event,&lt;BR /&gt;and make changes to the SDK. DMA receiving mode is very useful for high baud rate above 921600 and dense data&lt;BR /&gt;communication. In the DMA receiving mode, the NXP SDK library did not do the corresponding processing,&lt;BR /&gt;but NXP does not admit that their SDK has problems in this mode.&lt;BR /&gt;That's because they have not done specific tests in this application scenario at all,&lt;BR /&gt;so there is no corresponding DEMO in this scenario.&lt;BR /&gt;NXP believes that serial port reception is a problem at the application layer.&lt;BR /&gt;There is no problem in sending and receiving AUTOSAR packets directly.&lt;BR /&gt;But this package can only be used for regular serial communication.&lt;BR /&gt;For the scene of high baud rate communication, it is very bad, and RTOS must be used.&lt;BR /&gt;So NXP wants to promote this AUTOSAR package, it is still very unrealistic,&lt;BR /&gt;especially the S32K144 with 64KB of memory.&lt;/P&gt;&lt;P&gt;S32K串口通讯，有以下两个比较实用的工作模式:&lt;BR /&gt;1. 中断接收和发送模式，库文件比较完善，没有问题。&lt;BR /&gt;2. DMA接收及空闲中断接收模式，需要设置接收错误事件，和空闲中断事件，对SDK进行改动。&lt;/P&gt;&lt;P&gt;DMA接收模式对于921600以上高波特率及密集数据通信时非常有用。&lt;/P&gt;&lt;P&gt;在DMA接收模式下，NXP SDK库并没有做好相应的处理，但NXP不承认他们的SDK在这个模式下有问题，&lt;BR /&gt;那是因为他们根本没有在这种应用场景做具体的测试，所以没有这这种场景下对应的DEMO。&lt;/P&gt;&lt;P&gt;NXP认为串口接收是应用层的问题，他们AUTOSAR包直接收发没有问题的,&lt;BR /&gt;但这个包只能做常规的串口通信，对于高波特率通信这种场景而言，非常烂，还必须得用FreeRTOS。&lt;BR /&gt;所以NXP想推销这个AUTOSAR包，还是非常不现实，尤其是使用较少64KB内存的S32K144，加上FreeRTOS内存很紧张。&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 01:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260019#M2150</guid>
      <dc:creator>wjandsq</dc:creator>
      <dc:date>2021-04-11T01:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260020#M2151</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UART_IDLE.jpg" style="width: 786px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142071i37BAB96EBFACD09D/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART_IDLE.jpg" alt="UART_IDLE.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 02:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260020#M2151</guid>
      <dc:creator>wjandsq</dc:creator>
      <dc:date>2021-04-13T02:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260854#M2154</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IdleCallback.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142066iFEA5A8E6E7EFD32E/image-size/large?v=v2&amp;amp;px=999" role="button" title="IdleCallback.jpg" alt="IdleCallback.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 01:56:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260854#M2154</guid>
      <dc:creator>wjandsq</dc:creator>
      <dc:date>2021-04-13T01:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260864#M2155</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IdleEvent.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142068i05CDFE39D2867C5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="IdleEvent.jpg" alt="IdleEvent.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 02:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1260864#M2155</guid>
      <dc:creator>wjandsq</dc:creator>
      <dc:date>2021-04-13T02:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 LPUART IDLE Line Interrupt Configuration</title>
      <link>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1399440#M2398</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It's no use&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 10:54:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/S32K144-LPUART-IDLE-Line-Interrupt-Configuration/m-p/1399440#M2398</guid>
      <dc:creator>xxw1</dc:creator>
      <dc:date>2022-01-14T10:54:45Z</dc:date>
    </item>
  </channel>
</rss>

