<?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のトピックRe: S32K396 Transmit and receive multiple CAN messages (polling)</title>
    <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1953411#M40892</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we transmit or receive multiple messages at same time, do not want to send or receive messages for that blocking period only?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2024 10:58:39 GMT</pubDate>
    <dc:creator>ashwinibalkwade</dc:creator>
    <dc:date>2024-09-12T10:58:39Z</dc:date>
    <item>
      <title>S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1948931#M40632</link>
      <description>&lt;P&gt;I am trying to send and process or perform another CANTx/Tx on received CAN message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, how can I do same with Interrupts?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 09:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1948931#M40632</guid>
      <dc:creator>ashwinibalkwade</dc:creator>
      <dc:date>2024-09-06T09:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1949267#M40649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can refer to below example which shows multiple MBs usage with interrupt/callbacks too.&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test-S32DS3-4/ta-p/1536225" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test-S32DS3-4/ta-p/1536225&lt;/A&gt;&lt;BR /&gt;It is for S32K344, but it is similar.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 19:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1949267#M40649</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-09-06T19:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1953411#M40892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we transmit or receive multiple messages at same time, do not want to send or receive messages for that blocking period only?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 10:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1953411#M40892</guid>
      <dc:creator>ashwinibalkwade</dc:creator>
      <dc:date>2024-09-12T10:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1954237#M40936</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;did not get a point much. &lt;BR /&gt;On the bus there is always just single message at the time, the one sent from a node which won bus arbitration. If node/MCU is receiving this message, it will be stored in MB/RXFIFO if MB/RXFIFO was configured to receive this message. Meanwhile a node can have prepared other MBs for message transmissions and those will be transmitted once selected by internal arbitration process and after first opportunity window on the bus.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:27:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1954237#M40936</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-09-13T11:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1957332#M41109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully transmitted multiple messages on CAN bus.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still stuck&amp;nbsp; in situation for receiving CAN messages. Please see the attached screenshots, Even if I am not sending any message still "RStatus" is "FLEXCAN_STATUS_SUCCESS", and when I am sending message from PCAN then also the "RStatus" is "FLEXCAN_STATUS_SUCCESS".&lt;/P&gt;&lt;P&gt;The msgID shows some garbage value.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 07:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1957332#M41109</guid>
      <dc:creator>ashwinibalkwade</dc:creator>
      <dc:date>2024-09-19T07:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1957669#M41141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if want to use polling mode then have below code for each reception. This would be&amp;nbsp;&lt;BR /&gt;- start receiving, i.e. call&amp;nbsp;FlexCAN_Ip_Receive&lt;BR /&gt;- check status using&amp;nbsp;FlexCAN_Ip_GetTransferStatus and call&amp;nbsp;FlexCAN_Ip_MainFunctionRead repeatedly to process received message in given MB.&lt;/P&gt;
&lt;P&gt;FlexCAN_Ip_Receive(INST_FLEXCAN_0, RX_MB_IDX, &amp;amp;rxData, TRUE);&lt;BR /&gt;while(FlexCAN_Ip_GetTransferStatus(INST_FLEXCAN_0, RX_MB_IDX) !=FLEXCAN_STATUS_SUCCESS)&lt;BR /&gt;{ FlexCAN_Ip_MainFunctionRead(INST_FLEXCAN_0, RX_MB_IDX); }&lt;BR /&gt;...process received data in user buffer here&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 11:54:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1957669#M41141</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-09-19T11:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1957699#M41144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this but&amp;nbsp;FlexCAN_Ip_GetTransferStatus(INST_VS_0_FLEXCAN_0, RX_MB_IDX) returns "FLEXCAN_STATUS_SUCCESS" every time.&lt;/P&gt;&lt;P&gt;When I debugged the code I found that the below base-&amp;gt;IFLAG1 is setting to 0 and hence causing the skipping of while loop.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashwinibalkwade_0-1726749506404.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300032i425923C6D26584F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashwinibalkwade_0-1726749506404.png" alt="ashwinibalkwade_0-1726749506404.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me to know from where is this getting set to 0, I tried debugging but didn't find the exact loophole?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 12:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1957699#M41144</guid>
      <dc:creator>ashwinibalkwade</dc:creator>
      <dc:date>2024-09-19T12:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Transmit and receive multiple CAN messages (polling)</title>
      <link>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1959749#M41240</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;share simplified project you are using now, to check how driver's function are used.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 09:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K396-Transmit-and-receive-multiple-CAN-messages-polling/m-p/1959749#M41240</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-09-23T09:30:07Z</dc:date>
    </item>
  </channel>
</rss>

