<?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>S32KのトピックS32K144 SDKRTM3.0 FlexCAN Rx using FIFO callback and lpuart tx</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1160502#M8325</link>
    <description>&lt;P&gt;Dear， I am using S32K144 SDK RTM3.0，with FlexCAN and LPUART module，when I recieve can Msg, then tx using lpuart1, my problem:&lt;/P&gt;&lt;P&gt;1) I cant tx data twice using lpuart&lt;/P&gt;&lt;P&gt;2) I cant using the global varible in the while(1) loop&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 600px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126419iC69DAF8556051684/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.JPG" style="width: 705px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126420i8B2723634EEC2852/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;attachment is my project,thank you first&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 07:46:54 GMT</pubDate>
    <dc:creator>wdong</dc:creator>
    <dc:date>2020-09-29T07:46:54Z</dc:date>
    <item>
      <title>S32K144 SDKRTM3.0 FlexCAN Rx using FIFO callback and lpuart tx</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1160502#M8325</link>
      <description>&lt;P&gt;Dear， I am using S32K144 SDK RTM3.0，with FlexCAN and LPUART module，when I recieve can Msg, then tx using lpuart1, my problem:&lt;/P&gt;&lt;P&gt;1) I cant tx data twice using lpuart&lt;/P&gt;&lt;P&gt;2) I cant using the global varible in the while(1) loop&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 600px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126419iC69DAF8556051684/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.JPG" style="width: 705px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126420i8B2723634EEC2852/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;attachment is my project,thank you first&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1160502#M8325</guid>
      <dc:creator>wdong</dc:creator>
      <dc:date>2020-09-29T07:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 SDKRTM3.0 FlexCAN Rx using FIFO callback and lpuart tx</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1161506#M8357</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-I lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178513" target="_self"&gt;&lt;SPAN class=""&gt;wdong&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The function LPUART_DRV_SendData()&amp;nbsp; is a non-blocking function, this means that the when you execute another function the transmission will be still on course. To avoid this you may check if the bus is busy before calling the second TX or use the function LPUART_DRV_SendDataBlocking().&lt;/P&gt;
&lt;P&gt;The LPUART_DRV_SendDataBlocking() does not return until the transmit is complete.&lt;/P&gt;
&lt;P&gt;Could you explain in detail the point 2? ("I cant using the global variable in the while(1) loop")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Omar&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 20:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1161506#M8357</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-09-30T20:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 SDKRTM3.0 FlexCAN Rx using FIFO callback and lpuart tx</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1165450#M8438</link>
      <description>&lt;P&gt;Thank you, your solution is helpful. As for the second problem, I already know how to do. One must use&amp;nbsp;&lt;SPAN&gt;volatile&lt;/SPAN&gt; before the global value, so it can be used in the while(1) loop. &amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 10 Oct 2020 01:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1165450#M8438</guid>
      <dc:creator>wdong</dc:creator>
      <dc:date>2020-10-10T01:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 SDKRTM3.0 FlexCAN Rx using FIFO callback and lpuart tx</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1165453#M8439</link>
      <description>&lt;P&gt;&lt;FONT&gt;sorry, it is "volatile"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 01:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-SDKRTM3-0-FlexCAN-Rx-using-FIFO-callback-and-lpuart-tx/m-p/1165453#M8439</guid>
      <dc:creator>wdong</dc:creator>
      <dc:date>2020-10-10T01:57:52Z</dc:date>
    </item>
  </channel>
</rss>

