<?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 ID filter table  of FlexCAN in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078561#M9116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I use Rx FIFO of rt1052's FlexCAN , I don't understand how to set ID filter table. There is a table which describe the relationship between ID filter table and global mask or individual mask in the last row, and I don't understand that rx fifo ID table is affected by mask.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100138i4832895C6A6217D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are global mask register.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100239i5F951583C73AD53C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally,&amp;nbsp; how&amp;nbsp;do&amp;nbsp;&amp;nbsp;ID filter table select CAN ID? What is the process ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2020 01:29:51 GMT</pubDate>
    <dc:creator>1668834026</dc:creator>
    <dc:date>2020-04-27T01:29:51Z</dc:date>
    <item>
      <title>ID filter table  of FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078561#M9116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I use Rx FIFO of rt1052's FlexCAN , I don't understand how to set ID filter table. There is a table which describe the relationship between ID filter table and global mask or individual mask in the last row, and I don't understand that rx fifo ID table is affected by mask.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100138i4832895C6A6217D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are global mask register.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100239i5F951583C73AD53C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally,&amp;nbsp; how&amp;nbsp;do&amp;nbsp;&amp;nbsp;ID filter table select CAN ID? What is the process ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 01:29:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078561#M9116</guid>
      <dc:creator>1668834026</dc:creator>
      <dc:date>2020-04-27T01:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: ID filter table  of FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078562#M9117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="349669" data-username="1668834026@qq.com" href="https://community.nxp.com/people/1668834026@qq.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;植渲 周&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 建议你看看RT1050 RM的， 这些章节：&lt;/P&gt;&lt;P&gt;44.7.5 Matching Process&lt;/P&gt;&lt;P&gt;44.6 Rx FIFO Structure&lt;/P&gt;&lt;P&gt;你的问题应该还是上次的问题，怎么接受去滤波为你设定的接受ID的，是这个问题吗？&lt;/P&gt;&lt;P&gt;其实如果官方的代码，你现在用的是MB的mask。&lt;/P&gt;&lt;P&gt;比如你设定了接受rxIdentifier = 0x123;&lt;/P&gt;&lt;P&gt;你如果debug去看你的CAN2寄存器：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103011iCE0585FBE40E7FF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103055i354D26525C330CA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103106i5DFA711B9D6881AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;而SDK 的CAN例程用的是0X123 RX ID，标准帧，对比这个MB的结构，你会发现32位，如果每位都去做filter，正好是0X048C0000，所以这个就决定了你RX ID设定了什么，你就只能接收什么。&lt;/P&gt;&lt;P&gt;当然，如果你想接收其他的，也可以把filter做宽，比如某些位0，不检查，或者多加些滤波的ID。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;希望能帮到你。&lt;/P&gt;&lt;DIV class="" style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px; margin: 0px 0px 20px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;If you still have questions about it, please kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 10:50:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078562#M9117</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-04-27T10:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: ID filter table  of FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078563#M9118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;我想问的并不是过滤器怎么过滤MB，也就是不是同一个问题。我想用FIFO模式接收报文信息，但是SDK中并没有这个例程。现在我看FIFO的结构感觉很疑惑，其中有下面这个表，最后两列说掩码寄存器会影响到FIFO中ID过滤表的元素。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105247i7A39E9CF608860CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ID过滤表元素有A/B/C三种格式，下图是全局掩码寄存器对ID过滤表元素的匹配位。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105303iA117687D9F8A11E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;我不是很明白全局掩码寄存器或者私有掩码寄存器是怎么匹配ID过滤表中的元素的，这个过程是怎样子？&lt;/P&gt;&lt;P&gt;还有就是ID过滤表中的元素是怎么筛选报文，这个过程又是什么，能否举个示例，我对文档中的匹配过程看的不是很懂？&lt;/P&gt;&lt;P&gt;我是不是可以可以只用ID过滤表来筛选报文，而不需要用掩码寄存器对ID过滤表中的元素进行筛选？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;这才是我实际想问的。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;我现在的理解是这样的：&lt;/P&gt;&lt;P&gt;假设我设置RFFN = 1, FIFO使能，标准帧。0x123(&lt;SPAN&gt;0b0001_0010_0011&lt;/SPAN&gt;)，0x321(0b0011_0010_0001)&lt;/P&gt;&lt;P&gt;我想接收的ID是0x123，设置的过滤表中元素的格式为A格式，全局掩码寄存器为0x123（0b0001_0010_0011），A格式（这个是不是可以不需要？如果不用掩码寄存器会有什么影响）；&lt;/P&gt;&lt;P&gt;现在就往ID筛选表里面填写元素｛0x123，0x321｝，A格式；&lt;/P&gt;&lt;P&gt;然后全局掩码寄存器将会匹配ID过滤表的元素，查看寄存器说明是0不检测相应位，1检测；所以是不是这样，全局掩码寄存器只会检测ID过滤表中元素的第0，1，5，8位，只要接收到的报文这几位和ID过滤表的元素对应，就认为是可接收报文）&lt;/P&gt;&lt;P&gt;如果上面没有理解错误，有一个ID为0x323（0b0011_0010_0011）的报文过来，报文也会被接收；&lt;/P&gt;&lt;P&gt;当ID为0x320(&lt;SPAN&gt;0b0011_0010_0000&lt;/SPAN&gt;)的报文过来，报文会被丢弃，因为第0位不是1。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;不知道我的理解有没错，望解答。谢谢。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 01:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078563#M9118</guid>
      <dc:creator>1668834026</dc:creator>
      <dc:date>2020-04-28T01:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: ID filter table  of FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078564#M9119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;楼主你好！&lt;/P&gt;&lt;P&gt;你的理解是正确的，这里要注意的是，如果你ID全局掩码你配置的不是每位检测，那么要注意那些为0的对应ID的位，其实是0，1都被检测，所以，如果你要只接收你设定ID， 可以全部位检测。&lt;/P&gt;&lt;P&gt;我建议你直接用代码去跑下，这样会更加直观。&lt;/P&gt;&lt;P&gt;如果跑代码遇到任何和理解有出入的地方，欢迎继续讨论。&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;If you still have questions about it, please kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 09:27:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ID-filter-table-of-FlexCAN/m-p/1078564#M9119</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-04-28T09:27:07Z</dc:date>
    </item>
  </channel>
</rss>

