<?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>i.MX ProcessorsのトピックiMX8MP FlexCAN DMA Example</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-FlexCAN-DMA-Example/m-p/1715584#M211849</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there an example of using DMA with FlexCAN on the CortexM7 in the iMX8MP. I have found a post about how to setup RX FIFO but the FIFO appears to be fixed at 6 messages whereas I am receiving 8 CAN messages every 15ms and am seeing sporadic FIFO buffer overruns.&lt;/P&gt;&lt;P&gt;Relevant links:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://mcuxpresso.nxp.com/api_doc/dev/2312/group__flexcan__edma__driver.html" target="_self"&gt;mcuxpresso: FlexCAN eDMA Driver&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://mcuxpresso.nxp.com/api_doc/dev/2312/group__flexcan__driver.html" target="_self"&gt;mcuxpresso: Receive FIFO Operation&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/IMXRT1062-Flexcan-FD-FIFO-Example/m-p/898644#M2914" target="_self"&gt;Forum: Flexcan-FD FIFO Example&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32K/FlexCAN-Is-it-possible-to-have-an-RX-FIFO-larger-than-6-message/m-p/937380#M5016" target="_self"&gt;Forum: Is it possible to have an RX FIFO larger than 6 message depth&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;but unfortunately none of the above posts has enabled me to piece together working FlexCAN DMA code. An example would be really helpful.&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 06:54:15 GMT</pubDate>
    <dc:creator>nickager</dc:creator>
    <dc:date>2023-09-01T06:54:15Z</dc:date>
    <item>
      <title>iMX8MP FlexCAN DMA Example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-FlexCAN-DMA-Example/m-p/1715584#M211849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there an example of using DMA with FlexCAN on the CortexM7 in the iMX8MP. I have found a post about how to setup RX FIFO but the FIFO appears to be fixed at 6 messages whereas I am receiving 8 CAN messages every 15ms and am seeing sporadic FIFO buffer overruns.&lt;/P&gt;&lt;P&gt;Relevant links:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://mcuxpresso.nxp.com/api_doc/dev/2312/group__flexcan__edma__driver.html" target="_self"&gt;mcuxpresso: FlexCAN eDMA Driver&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://mcuxpresso.nxp.com/api_doc/dev/2312/group__flexcan__driver.html" target="_self"&gt;mcuxpresso: Receive FIFO Operation&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/IMXRT1062-Flexcan-FD-FIFO-Example/m-p/898644#M2914" target="_self"&gt;Forum: Flexcan-FD FIFO Example&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32K/FlexCAN-Is-it-possible-to-have-an-RX-FIFO-larger-than-6-message/m-p/937380#M5016" target="_self"&gt;Forum: Is it possible to have an RX FIFO larger than 6 message depth&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;but unfortunately none of the above posts has enabled me to piece together working FlexCAN DMA code. An example would be really helpful.&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 06:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-FlexCAN-DMA-Example/m-p/1715584#M211849</guid>
      <dc:creator>nickager</dc:creator>
      <dc:date>2023-09-01T06:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP FlexCAN DMA Example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-FlexCAN-DMA-Example/m-p/1716474#M211963</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222418"&gt;@nickager&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Is there an example of using DMA with FlexCAN on the CortexM7 in the iMX8MP&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;=&amp;gt; Please refer to the&amp;nbsp;&lt;U&gt;drivers/fsl_flexcan.c&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file from the SDK of&amp;nbsp;IMX8M Plus.&lt;/DIV&gt;
&lt;DIV&gt;The&amp;nbsp;&lt;STRONG&gt;void FLEXCAN_EnableRxFifoDMA()&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function Enables or disables the FlexCAN Legacy/Enhanced Rx FIFO DMA request.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please refer to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://mcuxpresso.nxp.com/en/welcome" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://mcuxpresso.nxp.com/en/welcome&amp;amp;source=gmail&amp;amp;ust=1693910145171000&amp;amp;usg=AOvVaw0aJ48zX_hbN00qQW4FVD68"&gt;MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;to download the latest version of the SDK.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Sep 2023 11:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-FlexCAN-DMA-Example/m-p/1716474#M211963</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-09-04T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP FlexCAN DMA Example</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-FlexCAN-DMA-Example/m-p/2023103#M232715</link>
      <description>&lt;P&gt;How can I enable DMA capabilities for the CAN driver on the IMX8MPlus EVK board (Cortex-A53) running Linux? Could you please provide suggestions?&lt;/P&gt;&lt;P&gt;I am based on&amp;nbsp;i.MX8QMPlus(i.MX8MPlus)- Target - EVK - based on Linux with CAN driver Enabled ( I am compiling the same with yocto build environment).&lt;/P&gt;&lt;P&gt;Now, i have to enable the DMA capabilities for CAN driver.&lt;/P&gt;&lt;P&gt;Could you please provide suggestions and what modifications are needed?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are based on kernel 6.6.54 and we are using the file:&amp;nbsp;&lt;A href="https://elixir.bootlin.com/linux/v6.6.54/source/drivers/net/can/flexcan/flexcan-core.c" target="_blank"&gt;https://elixir.bootlin.com/linux/v6.6.54/source/drivers/net/can/flexcan/flexcan-core.c&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://elixir.bootlin.com/linux/v6.6.54/source/drivers/net/can/flexcan/flexcan.h" target="_blank"&gt;https://elixir.bootlin.com/linux/v6.6.54/source/drivers/net/can/flexcan/flexcan.h&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 08:27:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-FlexCAN-DMA-Example/m-p/2023103#M232715</guid>
      <dc:creator>radhak4x</dc:creator>
      <dc:date>2025-01-07T08:27:26Z</dc:date>
    </item>
  </channel>
</rss>

