<?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のトピックCAN in IMXRT1176</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1527890#M195596</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using SDK example given in /drivers/flexCAN. Its running perfectly with ID modifications.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Present scenario is that a message is getting transferred and received from two specific IDs (one for Tx and one for Rx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is to recieve data from 4 different ID's. Can anyone help with this issue?&lt;/P&gt;&lt;P&gt;1) I have modified RXMGMASK bit to 0x00, I am able to receive data from all ID's.&lt;/P&gt;&lt;P&gt;2) If modified the same&amp;nbsp;bit to 0x1FFFFFFF,I am able to receive data from single specific id data.But I want only specific 4 IDs.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2022 06:45:43 GMT</pubDate>
    <dc:creator>smartpavan333</dc:creator>
    <dc:date>2022-09-26T06:45:43Z</dc:date>
    <item>
      <title>CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1527890#M195596</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using SDK example given in /drivers/flexCAN. Its running perfectly with ID modifications.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Present scenario is that a message is getting transferred and received from two specific IDs (one for Tx and one for Rx).&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is to recieve data from 4 different ID's. Can anyone help with this issue?&lt;/P&gt;&lt;P&gt;1) I have modified RXMGMASK bit to 0x00, I am able to receive data from all ID's.&lt;/P&gt;&lt;P&gt;2) If modified the same&amp;nbsp;bit to 0x1FFFFFFF,I am able to receive data from single specific id data.But I want only specific 4 IDs.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 06:45:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1527890#M195596</guid>
      <dc:creator>smartpavan333</dc:creator>
      <dc:date>2022-09-26T06:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1529149#M195713</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First of all, sorry for the later reply.&lt;/P&gt;
&lt;P&gt;The ID filter based on CAN Frame type, the standard frame with 11bit ID field, the extend Frame with 29bit ID field.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hui_Ma_0-1664332547591.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/195088i1E87DB078A6FD742/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hui_Ma_0-1664332547591.png" alt="Hui_Ma_0-1664332547591.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If customer is using Stand frame, the RXMGMASK register should set [28:18] bits for ID filter.&lt;/P&gt;
&lt;P&gt;For example, if customer want to receive CAN frame from ID[0x64(100),0x65,0x66,0x67(103)], customer can set&amp;nbsp;RXMGMASK&amp;nbsp; value to 0x1FF3FFFF.&lt;/P&gt;
&lt;P&gt;If those four ID is not continuty, there could exist gap just only allow four ID passed, the other ID all be filtered. The continuty ID could be possible.&lt;/P&gt;
&lt;P&gt;Wish it helps.&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 02:49:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1529149#M195713</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-09-28T02:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1538099#M196385</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was busy with some other task, So I wasn't able to test yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you have suggested to change RXMGMASK to 0x1FF3FFFF for 4 CAN ID's that are continuous&amp;nbsp;ex- 0x64(100),0x65,0x66,0x67(103), I have my query on-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) Setting RXMGMASK= 0x1FF3FFFF, Does it work for &lt;STRONG&gt;any&lt;/STRONG&gt; 4 continuous&amp;nbsp;CAN ID's? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) What is the calculation like if there is 3 continuous&amp;nbsp;IDs then setting 0x1FFF3FFF, will it work?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 11:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1538099#M196385</guid>
      <dc:creator>smartpavan333</dc:creator>
      <dc:date>2022-10-15T11:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1538326#M196419</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1) Setting RXMGMASK= 0x1FF3FFFF, Does it work for&amp;nbsp;&lt;STRONG&gt;any&lt;/STRONG&gt;&amp;nbsp;4 continuous&amp;nbsp;CAN ID's?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TS: It only works for strandard frame (ID standard) with low 2 bits difference. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Such as&amp;nbsp;0x64(100),0x65,0x66,0x67(103); Or 0x68(104),0x69,0x6A,0x6B(107); and etc..&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2) What is the calculation like if there is 3 continuous&amp;nbsp;IDs then setting 0x1FFF3FFF, will it work?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TS: No, It need to check which bits are different with those 3 continous IDs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the attention.&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 06:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1538326#M196419</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-10-17T06:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1541613#M196657</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/14969"&gt;@Hui_Ma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) I have configured mailboxes with 3 ID's (0x7E0, 0x7E8 &amp;amp; 0x123) with message buffer number (MB8, MB4, MB11) respectively, where 0x7E0 is Tx ID and rest both are Rx ID's.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;RxMGMASK&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;register (in&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;RxGlobalMask()&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;) is set to 0x1FFFFFFF. Here transmission is working good but while receiving only the last ID masked in&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;RxMbConfig()&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;function is getting taken while logging data from CAN bus&amp;nbsp; i.e. I am getting data from 0x123 only.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Can you help in figuring where the issue is or where I am getting wrong?&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) In the above, even if I try to modify RXMGMASK to 0x1FF3FFFF, I am receiving data from 0x123,0x124,0x125,0x126, which are not configured in mailbox.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) If there are 6 random ID's i.e. not continuous, what will the value of&amp;nbsp;RxMGMASK&amp;nbsp;register value or can you tell in how to calculate the value given in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;RxMGMASK&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;register for different number of IDs?&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 04:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1541613#M196657</guid>
      <dc:creator>smartpavan333</dc:creator>
      <dc:date>2022-10-21T04:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1542468#M196752</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1&amp;gt; It needs to check the FlexCANx_MCR register [IRMQ] bit, if that bit was set, which means using the individual Rx masking.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And do you have CAN analyzer tool, that could captuer all CAN frame at bus. Could you check if related CAN frame (ID = 0x7E0) was sent.&lt;/P&gt;&lt;P&gt;The ID 0x7E0 &amp;amp; 0x7E8 is different at bit 21, below code should change to :&lt;/P&gt;&lt;P&gt;/* RxGlobalMask() */&lt;BR /&gt;base-&amp;gt;RXMGMASK = 0x1F&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/FONT&gt;FFFFF;&lt;/P&gt;&lt;P&gt;2&amp;gt; That's right. The standard ID low 2 bit are unmasked (don't care);&lt;/P&gt;&lt;P&gt;3&amp;gt; You can list those&amp;nbsp;&lt;SPAN&gt;6 random ID here, then we need to compare the ID each bit difference to find a suitable setting to Global Mask Register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 06:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1542468#M196752</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-10-24T06:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1543265#M196811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/14969"&gt;@Hui_Ma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks. I understood how to configure the value in RXMGMASK register.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The value configured in &lt;STRONG&gt;RXMGMASK&lt;/STRONG&gt; is the&amp;nbsp;bit&amp;nbsp;difference between those ID's. Its working good. But this thing is not given in the reference manual, so can you look at it or add it.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My query is:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) If my receiving ID's are 0x123, 0x147, 0x7E8. The difference between all three ID's and the calculated values in the &lt;STRONG&gt;RXMGMASK&lt;/STRONG&gt; is 0x0443FFFF. But I use CAN analyzer, I am receiving all ID's between 0x123 and 0x7E8. I want to getting data from those specific IDs.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) I have tried with&amp;nbsp;&lt;STRONG&gt;MCR[IRMQ]=1&lt;/STRONG&gt;, and I have used &lt;STRONG&gt;RXIMR&lt;/STRONG&gt; register (&lt;STRONG&gt;Rx&lt;/STRONG&gt;&lt;STRONG&gt;IndependentMask()&lt;/STRONG&gt;). Still this is not working. Can you help with getting specific data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 08:48:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1543265#M196811</guid>
      <dc:creator>smartpavan333</dc:creator>
      <dc:date>2022-10-25T08:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1544578#M196898</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Due to you are using the CAN standard ID, which from bit [18:28], total 11 bits.&lt;/P&gt;
&lt;P&gt;So you need to set&amp;nbsp;FLEXCANx_RXMGMASK register bit [18:28] for related filter bit setting.&lt;/P&gt;
&lt;P&gt;Please refer below picture for the detailed info:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hui_Ma_0-1666836322778.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/198281i598BEA670BEEE644/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hui_Ma_0-1666836322778.png" alt="Hui_Ma_0-1666836322778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 02:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1544578#M196898</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-10-27T02:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1544675#M196904</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I understood how to configure the value in RXMGMASK. But the above said register is able to receive continuous ID's like&lt;BR /&gt;&lt;BR /&gt;0x124 &amp;amp; 0x125 --- Here only one bit is getting changed i.e. 18th bit should be '0' in RXMGMASK.&lt;BR /&gt;&lt;BR /&gt;0x60,0x61,0x62,0x63 ---- Here only two bits are getting changed i.e. 18th &amp;amp; 19th bit should be '0' in RXMGMASK.&lt;BR /&gt;&lt;BR /&gt;The above scenario works fine.&lt;BR /&gt;&lt;BR /&gt;But my issue is -&lt;BR /&gt;1) If I need specific ID's (discontinuous random ID's), what should be the value for RXMGMASK?&lt;BR /&gt;I have taken 0x123 and 0x128 to be receiving ID, but here 3 bits are getting changed i.e. 18th,19th and 21st bit are don't care in RXMGMASK. In this scenario, I am receiving all ID's between 0x123 and 0x128.&lt;BR /&gt;&lt;BR /&gt;2) I have also tried with MCR[IRMQ]=1, and used RXIMR register (RxIndependentMask()) with 0x123 at MB6 and 0x128 at MB7. Still this is not working. Can you help with getting specific data?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 27 Oct 2022 04:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1544675#M196904</guid>
      <dc:creator>smartpavan333</dc:creator>
      <dc:date>2022-10-27T04:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: CAN in IMXRT1176</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1545374#M196953</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1) If I need specific ID's (discontinuous random ID's), what should be the value for RXMGMASK?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have taken 0x123 and 0x128 to be receiving ID, but here 3 bits are getting changed i.e. 18th,19th and 21st bit are don't care in RXMGMASK. In this scenario, I am receiving all ID's between 0x123 and 0x128.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;TS: The RXMGMASK (Global mask register) is suitbale for countinue ID address. For a few ID filter scenario, would be better to use indicidual Rx Masking.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I have also tried with MCR[IRMQ]=1, and used RXIMR register (RxIndependentMask()) with 0x123 at MB6 and 0x128 at MB7. Still this is not working. Can you help with getting specific data?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TS: Besides of setting RXIMR6 and RXIMR7 with value 0x1FFFFFFF, you also need to config MB6 as Rx message buffer (with ID 0x123 ) and ready for receive data; the similar config with MB7 as Rx MB(ID = 0x128).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Wish it helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 02:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN-in-IMXRT1176/m-p/1545374#M196953</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-10-28T02:23:15Z</dc:date>
    </item>
  </channel>
</rss>

