<?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: S32K3 FLEXCAN LEGACY RX FIFO</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1878965#M36095</link>
    <description>Thank you very much, you mentioned in your reply, written in a way that calls FlexCAN_Ip_RxFifo first, once there is at least 1 message in RXFIFO, the call breaks.&lt;BR /&gt;CAN I understand that I first call this function once during initialization, so if I have a message I will enter the interrupt, and if there are more than two messages, I will immediately enter the CAN interrupt again after reading the message for the first time and exiting the interrupt?</description>
    <pubDate>Fri, 31 May 2024 12:10:22 GMT</pubDate>
    <dc:creator>Neo1096</dc:creator>
    <dc:date>2024-05-31T12:10:22Z</dc:date>
    <item>
      <title>S32K3 FLEXCAN LEGACY RX FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1878769#M36072</link>
      <description>&lt;P&gt;In LEGACY RX FIFO mode using FLEXCAN, is there no storage depth for the hardware?&lt;BR /&gt;If you have a storage depth, such as the 16 Rx FIFO Filters I use here, which take up 10 mailboxes, you can add 16 filters. But I only have FlexCAN_Ip_RxFifo(INST_FLEXCAN_0,&amp;amp;Rxbuf) in the interrupt; This function can read FIFO values under CAN0. If my CAN interrupt priority is low, how can I read other frames stored in the FIFO? In addition, why do these 10 mailboxes also need to set masks?&lt;BR /&gt;I want to implement CAN frames CAN be saved in the mailbox, at a low CAN priority, or use a query to read CAN frames, and ensure that no frames are lost.&lt;BR /&gt;I see in the routine what seems to be a software-implemented FIFO, which is not what I want.&lt;BR /&gt;Or I might as well use the standard mail function and set up a few more mailboxes that match the ID that receives the most frequently.&lt;BR /&gt;Or do you use FIFO and open DMA?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neo1096_0-1717141722967.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/281909iB8C9D08B550CB3C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neo1096_0-1717141722967.png" alt="Neo1096_0-1717141722967.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neo1096_1-1717141756907.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/281910i9094AC12E853CA50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neo1096_1-1717141756907.png" alt="Neo1096_1-1717141756907.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neo1096_3-1717141932798.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/281912i0E6D5DD475A270E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neo1096_3-1717141932798.png" alt="Neo1096_3-1717141932798.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Neo1096_2-1717141805934.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/281911i05BB4E13A6DAD719/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Neo1096_2-1717141805934.png" alt="Neo1096_2-1717141805934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 07:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1878769#M36072</guid>
      <dc:creator>Neo1096</dc:creator>
      <dc:date>2024-05-31T07:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 FLEXCAN LEGACY RX FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1878948#M36093</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;legacy RXFIFO can hold up to 6 messages without CPU intervention, if more messages comes it can be lost if RXFIFO is not read out in time. RTD driver is written in a way you need to call &lt;SPAN&gt;FlexCAN_Ip_RxFifo first,&amp;nbsp;&lt;/SPAN&gt;an interrupt is called once there is at least 1 message in the RXFIFO, driver reads single message from RXFIFO and user have to call&amp;nbsp;&lt;SPAN&gt;FlexCAN_Ip_RxFifo again to enable interrupt again. Similar operation is done if DMA mode is selected, still&amp;nbsp;FlexCAN_Ip_RxFifo must be called to get a data.&lt;BR /&gt;If 16 filter elements are selected, first 10 elements use first 10 individual mask acceptance registers to provide acceptance mask (assuming individual masking scheme is selected).&lt;BR /&gt;Beside RXFIFO you can use rest of available MBs for TX or RX functionality.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to below example ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-CAN-Transmit-amp-Receive-Using-MB-amp-FIFO-DMA/ta-p/1789196" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-CAN-Transmit-amp-Receive-Using-MB-amp-FIFO-DMA/ta-p/1789196&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 11:33:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1878948#M36093</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-05-31T11:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 FLEXCAN LEGACY RX FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1878965#M36095</link>
      <description>Thank you very much, you mentioned in your reply, written in a way that calls FlexCAN_Ip_RxFifo first, once there is at least 1 message in RXFIFO, the call breaks.&lt;BR /&gt;CAN I understand that I first call this function once during initialization, so if I have a message I will enter the interrupt, and if there are more than two messages, I will immediately enter the CAN interrupt again after reading the message for the first time and exiting the interrupt?</description>
      <pubDate>Fri, 31 May 2024 12:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1878965#M36095</guid>
      <dc:creator>Neo1096</dc:creator>
      <dc:date>2024-05-31T12:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 FLEXCAN LEGACY RX FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1879577#M36136</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;for more messages, if you call&amp;nbsp;&lt;SPAN&gt;FlexCAN_Ip_RxFifo again after entering interrupt, it will be called again, as RXFIFO contains message to be read.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, P&lt;/SPAN&gt;&lt;SPAN&gt;etr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 07:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1879577#M36136</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-06-03T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 FLEXCAN LEGACY RX FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1880381#M36188</link>
      <description>If I receive a message through a FIFO mode interrupt, how do I know what filter value I set for the message? Can you search through the register? It's still just the software that walks through the filter values that I set.</description>
      <pubDate>Tue, 04 Jun 2024 07:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1880381#M36188</guid>
      <dc:creator>Neo1096</dc:creator>
      <dc:date>2024-06-04T07:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 FLEXCAN LEGACY RX FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1880888#M36212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can use CAN2_FIFO_Received_MB[x].id_hit, which is Identifier Acceptance Filter Hit Indicator.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 19:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-FLEXCAN-LEGACY-RX-FIFO/m-p/1880888#M36212</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-06-04T19:26:19Z</dc:date>
    </item>
  </channel>
</rss>

