<?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>Kinetis Microcontrollers中的主题 Re: MKE1xF512VLH16 lpuart RX interrupt</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1444488#M62902</link>
    <description>&lt;P&gt;Sorry for the delay!&lt;BR /&gt;Have you test the&amp;nbsp;&lt;STRONG&gt;twrke18f_lpuart_edma_rb_transfer&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="twrke18f_lpuart_edma_rb_transfer.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177038iDDEE6CCFDD38E1E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="twrke18f_lpuart_edma_rb_transfer.png" alt="twrke18f_lpuart_edma_rb_transfer.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 08:45:14 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-04-15T08:45:14Z</dc:date>
    <item>
      <title>MKE1xF512VLH16 lpuart RX interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1435004#M62778</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have to implement a callback function for RX. I have a variable command which will be sent from terminal. For eg , in this data block can be 1 byte or 200 bytes and rest are fixed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;STX , Address, SEQ Number, DataBlock(n), ETX, CRC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Ring buffer method.&lt;/P&gt;&lt;P&gt;For now i am using the sample example of&amp;nbsp;twrke18f_lpuart_interrupt_rb_transfer. The buffer is fixed to 8 , so it receives only 8 bytes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sendXfer.data = g_txBuffer;&lt;BR /&gt;sendXfer.dataSize = ECHO_BUFFER_SIZE;&lt;BR /&gt;receiveXfer.data = g_rxBuffer;&lt;BR /&gt;receiveXfer.dataSize = ECHO_BUFFER_SIZE;&lt;/P&gt;&lt;P&gt;I do get a complete data&amp;nbsp;&lt;/P&gt;&lt;P&gt;02 0x31 0x31 Z 0x03 0xCRC&lt;/P&gt;&lt;P&gt;I can not get variable frame ,For my example how do i trigger call back when ETX is received without depending on the size as above.&lt;/P&gt;&lt;P&gt;Attaching code files.&lt;/P&gt;&lt;P&gt;Please help with expert guidance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 20:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1435004#M62778</guid>
      <dc:creator>shar2021</dc:creator>
      <dc:date>2022-03-28T20:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: MKE1xF512VLH16 lpuart RX interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1435191#M62780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;shar2021,&lt;/P&gt;
&lt;P&gt;Check the&amp;nbsp;&lt;STRONG&gt;IDLE&lt;/STRONG&gt; of "48.3.1.7 LPUART Status (STAT)".&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="48.3.1.7 LPUART Status (STAT) IDLE.png" style="width: 918px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/175094i0B88D0216BD3C114/image-size/large?v=v2&amp;amp;px=999" role="button" title="48.3.1.7 LPUART Status (STAT) IDLE.png" alt="48.3.1.7 LPUART Status (STAT) IDLE.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can enable the Idle Line Interrupt by&amp;nbsp;&lt;STRONG&gt;ILIE&lt;/STRONG&gt;&amp;nbsp;of&amp;nbsp;48.3.1.8 LPUART Control (CTRL).&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 04:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1435191#M62780</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-03-29T04:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: MKE1xF512VLH16 lpuart RX interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1435201#M62781</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for response. I have question, Can ring buffer concept be used for variable length packet? I tried the interrupt mode too instead of ring buffer, I was unable to receive variable length packets.&lt;/P&gt;&lt;P&gt;Do you have any example for variable length frame?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 05:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1435201#M62781</guid>
      <dc:creator>shar2021</dc:creator>
      <dc:date>2022-03-29T05:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: MKE1xF512VLH16 lpuart RX interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1444488#M62902</link>
      <description>&lt;P&gt;Sorry for the delay!&lt;BR /&gt;Have you test the&amp;nbsp;&lt;STRONG&gt;twrke18f_lpuart_edma_rb_transfer&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="twrke18f_lpuart_edma_rb_transfer.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177038iDDEE6CCFDD38E1E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="twrke18f_lpuart_edma_rb_transfer.png" alt="twrke18f_lpuart_edma_rb_transfer.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 08:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKE1xF512VLH16-lpuart-RX-interrupt/m-p/1444488#M62902</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-04-15T08:45:14Z</dc:date>
    </item>
  </channel>
</rss>

