<?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: S32K312 Receive Multiple CAN messages using single MailBox in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1868177#M35528</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am not able to understand about the MailBox, How to configure multiple messages to one mailbox?&lt;/P&gt;&lt;P&gt;FlexCAN_Ip_SetRxMaskType(INST_FLEXCAN_0,FLEXCAN_RX_MASK_INDIVIDUAL);&lt;BR /&gt;FlexCAN_Ip_SetRxIndividualMask_Privileged(INST_FLEXCAN_0,RX_MB_IDX_0,0xFFFFFFFF); //Mask&lt;BR /&gt;rx_info.is_polling = FALSE;&lt;BR /&gt;rx_info.msg_id_type = FLEXCAN_MSG_ID_STD;&lt;BR /&gt;FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX_0, &amp;amp;rx_info, 0x122); //0x122 is Message ID&lt;BR /&gt;FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX_0, &amp;amp;rx_info, 0x124);&lt;BR /&gt;FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX_0, &amp;amp;rx_info, 0x126);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here, how can I add the&lt;STRONG&gt;&amp;nbsp;SetRxIndividualMask_Privileged Mask&amp;nbsp;&lt;/STRONG&gt;value?&lt;/P&gt;&lt;P&gt;How can I configure &lt;STRONG&gt;FlexCAN_Ip_ConfigRxMb&amp;nbsp;&lt;/STRONG&gt;message ID?&lt;/P&gt;&lt;P&gt;can you please help me?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akhil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 16:11:42 GMT</pubDate>
    <dc:creator>Akhil1</dc:creator>
    <dc:date>2024-05-17T16:11:42Z</dc:date>
    <item>
      <title>S32K312 Receive Multiple CAN messages using single MailBox</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1863102#M35194</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to receive Multiple CAN messages using single MailBox, But I am not able to receive it, Can anyone please help me to understand about Mailbox, Masking and filters and solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akhil&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 06:17:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1863102#M35194</guid>
      <dc:creator>Akhil1</dc:creator>
      <dc:date>2024-05-10T06:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Receive Multiple CAN messages using single MailBox</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1863200#M35197</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can refer to&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753&lt;/A&gt;&lt;BR /&gt;It is for S32K1 using SDK, but principle is same. &lt;BR /&gt;You have ID defined in the MB ID word, which is going to be matched with the ID to be received. Then you have corresponding mask acceptance register which defines which bit of the ID is compared or not, there is bit to bit correspondence between MB ID mask and received ID. .&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 07:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1863200#M35197</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-05-10T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Receive Multiple CAN messages using single MailBox</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1868177#M35528</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am not able to understand about the MailBox, How to configure multiple messages to one mailbox?&lt;/P&gt;&lt;P&gt;FlexCAN_Ip_SetRxMaskType(INST_FLEXCAN_0,FLEXCAN_RX_MASK_INDIVIDUAL);&lt;BR /&gt;FlexCAN_Ip_SetRxIndividualMask_Privileged(INST_FLEXCAN_0,RX_MB_IDX_0,0xFFFFFFFF); //Mask&lt;BR /&gt;rx_info.is_polling = FALSE;&lt;BR /&gt;rx_info.msg_id_type = FLEXCAN_MSG_ID_STD;&lt;BR /&gt;FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX_0, &amp;amp;rx_info, 0x122); //0x122 is Message ID&lt;BR /&gt;FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX_0, &amp;amp;rx_info, 0x124);&lt;BR /&gt;FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX_0, &amp;amp;rx_info, 0x126);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here, how can I add the&lt;STRONG&gt;&amp;nbsp;SetRxIndividualMask_Privileged Mask&amp;nbsp;&lt;/STRONG&gt;value?&lt;/P&gt;&lt;P&gt;How can I configure &lt;STRONG&gt;FlexCAN_Ip_ConfigRxMb&amp;nbsp;&lt;/STRONG&gt;message ID?&lt;/P&gt;&lt;P&gt;can you please help me?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akhil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 16:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1868177#M35528</guid>
      <dc:creator>Akhil1</dc:creator>
      <dc:date>2024-05-17T16:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 Receive Multiple CAN messages using single MailBox</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1868674#M35558</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;MB ID is set using&amp;nbsp;&lt;SPAN&gt;FlexCAN_Ip_ConfigRxMb function. In your example using std. ID and individual masking scheme set std.ID=0x126 using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FlexCAN_Ip_ConfigRxMb(INST_FLEXCAN_0, RX_MB_IDX_0, &amp;amp;rx_info, 0x126); // set MB std ID = 0x126&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If all mask bits are set a message with exact matched ID is received, so only std.ID 0x126 FlexCAN_Ip_SetRxIndividualMask_Privileged(INST_FLEXCAN_0,RX_MB_IDX_0,0x7FF&amp;lt;&amp;lt;18); // Mask = 0x7FF&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If all mask bits are cleared all std.ID messages will be received into RX_MB_IDX_0 FlexCAN_Ip_SetRxIndividualMask_Privileged(INST_FLEXCAN_0,RX_MB_IDX_0,0x0&amp;lt;&amp;lt;18); // Mask = 0x0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can also create ID range to be received&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;FlexCAN_Ip_SetRxIndividualMask_Privileged(INST_FLEXCAN_0,RX_MB_IDX_0,0x7FC&amp;lt;&amp;lt;18); // Mask = 0x7FC&lt;BR /&gt;Here messages with ID range 0x124-0x127 are received, lower 2 bits are don't care.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 07:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Receive-Multiple-CAN-messages-using-single-MailBox/m-p/1868674#M35558</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-05-20T07:44:06Z</dc:date>
    </item>
  </channel>
</rss>

