<?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: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1866177#M35401</link>
    <description>&lt;P&gt;我也是配置了RX_FIFO,can可以接收，但是发不出去，楼主遇到这个问题么&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 09:47:22 GMT</pubDate>
    <dc:creator>hyj123456789</dc:creator>
    <dc:date>2024-05-15T09:47:22Z</dc:date>
    <item>
      <title>S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1741258#M27902</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to communicate with my PC CAN tools. I choose Legacy FIFO because I plan to use multi FlexCAN channels not only FlexCAN0.&lt;/P&gt;&lt;P&gt;1. After completed configuration, S32K344 can receive data package succesfully from PC CAN tools when I invoke FlexCAN_Ip_Receive, but not work if I invoked FlexCAN_Ip_RxFifo and no FLEXCAN_EVENT_RXFIFO_COMPLETE event triggered in callback function.&lt;/P&gt;&lt;P&gt;2. I want to send data package with MSG ID from 0x50 to 0x5F, but in fact almost All ID send&amp;nbsp;succesfully except 0x55 with&amp;nbsp;FlexCAN_Ip_Receive. Is there something wrong in my mask or filter config?&lt;/P&gt;&lt;P&gt;3. About the number of message buffer transfer in DMA. Is there a best practice value?&lt;/P&gt;&lt;DIV class=""&gt;Attachment is whole code.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;May I know what's wrong? Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 889px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245519i41DA930D45CBC4D7/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: 990px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245520i1B4D0A9600C5AC36/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245521i0CBEB03BCFD194BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.jpg" style="width: 996px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245522i2F3F77800355B812/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.jpg" alt="4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 11:04:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1741258#M27902</guid>
      <dc:creator>nhyjq2000</dc:creator>
      <dc:date>2023-10-17T11:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1742073#M27939</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;attached is modified project with working DMA RXFIFO reading.&lt;BR /&gt;In your setup std ID range 0x50-0x5F is received into MB9 except of std ID 0x55 which is received into RXFIFO.&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 11:35:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1742073#M27939</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-10-18T11:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1742490#M27954</link>
      <description>&lt;P&gt;Hello Petr,&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Running the modified project program, ID 0x55 is recevied in FLEXCAN_EVENT_DMA_COMPLETE event, but just only 0x55.&lt;/P&gt;&lt;P&gt;I expect that all of ID range 0x50-0x5F can send into RxFIFO, how should I set filter and mask? or any mistake in my code?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;const Flexcan_Ip_IdTableType CAN0_FIFO_IdFilterTable[8] = {{
.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,
}
};

FlexCAN_Ip_SetRxMaskType_Privileged(INST_FLEXCAN_0,FLEXCAN_RX_MASK_INDIVIDUAL);
FlexCAN_Ip_ConfigRxFifo_Privileged(INST_FLEXCAN_0,FLEXCAN_RX_FIFO_ID_FORMAT_A , &amp;amp;CAN0_FIFO_IdFilterTable[0]);

FlexCAN_Ip_SetRxIndividualMask(INST_FLEXCAN_0, RX_MB_IDX, 0x7F0&amp;lt;&amp;lt;18);

FlexCAN_Ip_SetStartMode(INST_FLEXCAN_0);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 02:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1742490#M27954</guid>
      <dc:creator>nhyjq2000</dc:creator>
      <dc:date>2023-10-19T02:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1742696#M27967</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;then you need to change configuration little bit. Also you should config all items in filter ID table, otherwise other IDs can be received as well, depending on item value and corresponding mask register.&lt;BR /&gt;Your new setting could be&lt;/P&gt;&lt;PRE&gt;const Flexcan_Ip_IdTableType CAN0_FIFO_IdFilterTable[8] = {&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {.id = 0x55u,.isRemoteFrame = false,.isExtendedFrame = false,}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; };&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; FlexCAN_Ip_SetRxMaskType_Privileged(INST_FLEXCAN_0,FLEXCAN_RX_MASK_INDIVIDUAL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; FlexCAN_Ip_ConfigRxFifo_Privileged(INST_FLEXCAN_0,FLEXCAN_RX_FIFO_ID_FORMAT_A , &amp;amp;CAN0_FIFO_IdFilterTable[0]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; FlexCAN_Ip_SetRxIndividualMask(INST_FLEXCAN_0, 0, 0x7F0&amp;lt;&amp;lt;19); // mask for first ID in Filter table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; FlexCAN_Ip_SetRxIndividualMask(INST_FLEXCAN_0, RX_MB_IDX, 0x7FF&amp;lt;&amp;lt;18); // mask for MB9 (RX_MB_IDX)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX, &amp;amp;rx_info, 0x50u);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;This way RXFIFO receives ID range 0x50 to 0x5F.&amp;nbsp;&lt;BR /&gt;No message will come into MB9 as it has same ID to be received as RXFIFO and RXFIFO is scanned first by default.&lt;/P&gt;&lt;P&gt;BR, Petr&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 07:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1742696#M27967</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-10-19T07:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1743306#M27995</link>
      <description>&lt;P&gt;Thank you Petr, It works as I expect, Thanks again.&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 02:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1743306#M27995</guid>
      <dc:creator>nhyjq2000</dc:creator>
      <dc:date>2023-10-20T02:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1866177#M35401</link>
      <description>&lt;P&gt;我也是配置了RX_FIFO,can可以接收，但是发不出去，楼主遇到这个问题么&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 09:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1866177#M35401</guid>
      <dc:creator>hyj123456789</dc:creator>
      <dc:date>2024-05-15T09:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1913078#M37909</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Why is the configuration of the mask here not &lt;STRONG&gt;0x7F0&amp;lt;&amp;lt;18&lt;/STRONG&gt;, but &lt;STRONG&gt;0x7F0&amp;lt;&amp;lt;19&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2024 03:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1913078#M37909</guid>
      <dc:creator>ee-fish</dc:creator>
      <dc:date>2024-07-21T03:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1913087#M37911</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In addition, I found that when the mask configuration is 0x7FF&amp;lt;&amp;lt;18 or 0x7FF&amp;lt;&amp;lt;19, or even 0x7FF&amp;lt;&amp;lt;20, both 0x455 and 0x55 can be received by rxFifo. Whycan 0x455 be received?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2024 04:31:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/1913087#M37911</guid>
      <dc:creator>ee-fish</dc:creator>
      <dc:date>2024-07-21T04:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 FlexCAN IP with Legacy RxFIFO and DMA</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/2047082#M46035</link>
      <description>&lt;P&gt;&lt;SPAN&gt;我也是一样&amp;nbsp; 没办法发送&amp;nbsp; 你解决了吗？&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 08:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-FlexCAN-IP-with-Legacy-RxFIFO-and-DMA/m-p/2047082#M46035</guid>
      <dc:creator>wxxwjw</dc:creator>
      <dc:date>2025-02-19T08:10:14Z</dc:date>
    </item>
  </channel>
</rss>

