<?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>topic Re: CAN RX FIFO Filter in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1407396#M186523</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27831"&gt;@Raana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; according to "i.MX PDK Linux Reference Manual", section "Linux Menu Configuration Options",&lt;BR /&gt;it is possible to select&lt;/P&gt;
&lt;P&gt;Networking &amp;gt; CAN bus subsystem support &amp;gt; Raw CAN Protocol (raw access with CAN-ID&lt;BR /&gt;&amp;nbsp; filtering).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Customer can use CAN-ID filtering code as an example.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 05:59:10 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2022-02-01T05:59:10Z</dc:date>
    <item>
      <title>CAN RX FIFO Filter</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1398855#M185760</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I'm using i.mx25 base custom board. I'm using automotive product in the vehicle using this SOC.&lt;/P&gt;&lt;P&gt;When Reverse transmission is engaged, the rear camera of the device should turn ON within 1~2 seconds. But it is turning ON after 50~60 seconds. This delay is happening due to CAN message traffic.&lt;/P&gt;&lt;P&gt;Since the device is accepting and scanning all the CAN RX messages. Instead, I want to accept only the respective messages which we are actually processing. I have set of CAN RX messages and listed below:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* PGN request */
0x18EAFFF9,
0x18EAFFFA,
0x18EA4CF9,
0x18EA4CFA,

0x1CE34CF9, /* PITS diagnostic */
0x0CFF2800, /* RSA */
0x1CFFFE00, /* SWC */

/* DM 13 handling */
0x18DF4CF9,
0x18DF4CFA,
0x18DF4CFF,

0x18D54C4D, /* J1939 time/date */
0x18D04C00, /* CAN dimming */
0x18EF4C00, /* Audible alarm */
0x18F00500, /* ETC transmission */
0x18FEF100, /* Vehicle Speed */
0x18EEFF4C, /* address claim */

/* VP39 */
0x0CFF273A,
0x0CFF2717,

0x18FEE617, /* VOLVO time/date */
0x18FF2600, /* VP38 */
0x0CFF2F17, /* VP47 */
0x0CFF2537, /* VP37 */
0x1CEB4C00, /* TP data transfer */
0x1CEC4C00 /* TP handling */&lt;/LI-CODE&gt;&lt;P&gt;I have referred the patch done in i.MX6 which is attached with this post.&lt;BR /&gt;I have attached my i.Mx25 patch also. But I'm not seeing any changes and I'm getting below error in ESR and ECR&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0327: [AP]  ECR::0x7a
0328: [AP]  ESR::0x280&lt;/LI-CODE&gt;&lt;P&gt;and below are the register dump:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0322: [AP]  MCR::0x6087003f
0323: [AP]  CTRL::0xd37e0c2
0324: [AP]  RXGMASK::0x0
0325: [AP]  RX14MASK::0x0
0326: [AP]  RX15MASK::0x0
0327: [AP]  ECR::0x7a
0328: [AP]  ESR::0x280
0329: [AP]  IMASK2::0xffffffff
0330: [AP]  IMASK1::0xffffffff
0331: [AP]  IFLAG2::0x0
0332: [AP]  IFLAG1::0x0&lt;/LI-CODE&gt;&lt;P&gt;Please help me to make it work with respect to FIFO/ RX filters. And share me the patches if any related with this done on i.Mx25&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 11:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1398855#M185760</guid>
      <dc:creator>Raana</dc:creator>
      <dc:date>2022-01-13T11:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: CAN RX FIFO Filter</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1399132#M185790</link>
      <description>&lt;P&gt;Hi Raja&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;unfortunately i.MX25 processors are not supported in NXP BSPs as outdated,&lt;/P&gt;
&lt;P&gt;just for test one can try with L2.6.31 where it was supported&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_2.6.31_caf" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_2.6.31_caf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 23:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1399132#M185790</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2022-01-13T23:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: CAN RX FIFO Filter</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1400284#M185903</link>
      <description>&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;I have downloaded the source code which you shared. Both my code and the one you share is same.&lt;BR /&gt;And also there is no filter implementation available in the source code you shared. By default, it is accepting all the messages.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;        /* Set global mask to receive all messages */
        __raw_writel(0, flexcan-&amp;gt;io_base + CAN_HW_REG_RXGMASK);
        __raw_writel(0, flexcan-&amp;gt;io_base + CAN_HW_REG_RX14MASK);
        __raw_writel(0, flexcan-&amp;gt;io_base + CAN_HW_REG_RX15MASK);

        memset(flexcan-&amp;gt;hwmb, 0, sizeof(*hwmb) * FLEXCAN_MAX_MB);
        /* Set individual mask to receive all messages */
        memset(flexcan-&amp;gt;rx_mask, 0, sizeof(unsigned int) * FLEXCAN_MAX_MB);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I want to add filter implementation into the driver with the set of CAN messages which I posted above.&lt;BR /&gt;Please help me to share any of such implementation done in this SOC or Kernel.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J.P.RAJA&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 12:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1400284#M185903</guid>
      <dc:creator>Raana</dc:creator>
      <dc:date>2022-01-17T12:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: CAN RX FIFO Filter</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1407396#M186523</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27831"&gt;@Raana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; according to "i.MX PDK Linux Reference Manual", section "Linux Menu Configuration Options",&lt;BR /&gt;it is possible to select&lt;/P&gt;
&lt;P&gt;Networking &amp;gt; CAN bus subsystem support &amp;gt; Raw CAN Protocol (raw access with CAN-ID&lt;BR /&gt;&amp;nbsp; filtering).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Customer can use CAN-ID filtering code as an example.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 05:59:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-RX-FIFO-Filter/m-p/1407396#M186523</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2022-02-01T05:59:10Z</dc:date>
    </item>
  </channel>
</rss>

