<?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: S32K146 CAN receive problem in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009262#M5823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/people/347996379@qq.com" rel="noopener noreferrer" target="_blank"&gt;&lt;SPAN style="font-size: 9.0pt; background: white;"&gt;张 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; background: white;"&gt;舜毅&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The MB works the following way:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;FLEXCAN_DRV_ConfigRxMb, this function configure the mailbox and the receiving ID, so only the messages send to this ID will be received.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;FLEXCAN_DRV_SetRxIndividualMask, this function sets the RX mask, this mask corresponds to the following description:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/97178iE5134055BBCB2630/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;So, only the bits sets are checked, for example, if you set this to 0 all the messages will be received, and depending of the bits set, the corresponding bits will be ignored of the ID.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;An example, if you set the configuration like this:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;    can_buff_config_t buffCfg &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;  &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enableFD &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; true&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enableBRS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; true&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fdPadding &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0U&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;idType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; CAN_MSG_ID_EXT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;isRemote &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; false

    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 

&lt;SPAN class="token function"&gt;CAN_ConfigRxBuff&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;can_pal1_instance&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RX_MAILBOX&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;buffCfg&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;CAN_SetRxFilter&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;can_pal1_instance&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; CAN_MSG_ID_EXT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RX_MAILBOX&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xFFFFFFFE&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The mailbox will receive the ID 0x2 and 0x3.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Also, the TX Mailbox and RX should be different.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;If you want to check an example of how to do this check the .c attached. If you replace it in the can_pal example found in the SDK 3.0 should be enough to test it.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Let me know if this helps you&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Best Regards,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2020 14:33:46 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2020-11-02T14:33:46Z</dc:date>
    <item>
      <title>S32K146 CAN receive problem</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009261#M5822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL style="color: #2e3033; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;LI style="margin: 0px 0px 10px;"&gt;&lt;P class="" data-group="1-1" style="color: #666666; font-size: 14px;"&gt;&lt;STRONG&gt;My CAN initializes:&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CAN_Init(&amp;amp;can3_pal_instance, &amp;amp;can3_pal_Config);&lt;BR /&gt; CanSetRate(canNum, rate);&lt;BR /&gt; /* Configure Rx message buffer with index 1 to receive frames with ID 2 */&lt;BR /&gt; CAN_ConfigRxBuff(&amp;amp;can3_pal_instance, eCAN2_RX_BOX, &amp;amp;RcvInfo, RX_MSG_ID);//eCAN2_RX_BOX =5,&lt;SPAN&gt;RX_MSG_ID =2&lt;/SPAN&gt;&lt;BR /&gt; //FLEXCAN_DRV_SetRxMaskType(2, FLEXCAN_RX_MASK_INDIVIDUAL);&lt;BR /&gt; FLEXCAN_DRV_SetRxIndividualMask(2, FLEXCAN_MSG_ID_EXT, eCAN2_RX_BOX, 1);&lt;BR /&gt; //CAN_Receive(&amp;amp;can3_pal_instance, eCAN2_RX_BOX, &amp;amp;canRxInfo);&lt;BR /&gt; /*初始化CAN3接收回调函数*/&lt;BR /&gt; CAN_InstallEventCallback(&amp;amp;can3_pal_instance, (can_callback_t)Can2_RxCallBack, NULL);&lt;/P&gt;&lt;P&gt;CAN_Receive(&amp;amp;can3_pal_instance, eCAN2_RX_BOX, &amp;amp;canRxInfo);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Can2_RxCallBack(uint8_t instance, can_event_t eventType, uint32_t buffIdx, void *driverState)&lt;BR /&gt;{&lt;BR /&gt; switch(eventType)&lt;BR /&gt; {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;case CAN_EVENT_RX_COMPLETE://&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;The program didn't go in here&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;case CAN_EVENT_TX_COMPLETE:&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;default:&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="color: #2e3033; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;LI style="margin: 0px 0px 10px;"&gt;&lt;P class="" data-group="1-1" style="color: #666666; font-size: 14px;"&gt;&lt;STRONG&gt;The function is called in one period(2ms)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CAN_Receive(&amp;amp;can3_pal_instance, eCAN2_RX_BOX, &amp;amp;canRxMsg);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="color: #2e3033; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;LI style="margin: 0px 0px 10px;"&gt;&lt;P class="" data-group="1-1" style="color: #666666; font-size: 14px;"&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;SPAN class="" data-group="0-0" style="background-color: #f7f8fa; font-weight: normal;"&gt;I want to configure my CAN to be an ID that CAN receive any extended frame data, but my CAN receive function has not received any data. Is there any problem with the initialization of CAN?&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" style="background-color: #f7f8fa; font-weight: normal;"&gt;How to improve it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI style="margin: 0px 0px 10px;"&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;SPAN class="" data-group="0-0" style="background-color: #f7f8fa; font-weight: normal;"&gt;I have used all three CAN of S32K146, but until now I still don't know how to configure the MB of S32K146, could you explain it to me?&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" style="background-color: #f7f8fa; font-weight: normal;"&gt;Maybe my question has something to do with it.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-2" style="background-color: #f7f8fa; font-weight: normal;"&gt;CAN receive and send mailboxes must be separate or CAN use the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 12:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009261#M5822</guid>
      <dc:creator>347996379</dc:creator>
      <dc:date>2020-01-14T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 CAN receive problem</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009262#M5823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/people/347996379@qq.com" rel="noopener noreferrer" target="_blank"&gt;&lt;SPAN style="font-size: 9.0pt; background: white;"&gt;张 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; background: white;"&gt;舜毅&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The MB works the following way:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;FLEXCAN_DRV_ConfigRxMb, this function configure the mailbox and the receiving ID, so only the messages send to this ID will be received.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;FLEXCAN_DRV_SetRxIndividualMask, this function sets the RX mask, this mask corresponds to the following description:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/97178iE5134055BBCB2630/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;So, only the bits sets are checked, for example, if you set this to 0 all the messages will be received, and depending of the bits set, the corresponding bits will be ignored of the ID.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;An example, if you set the configuration like this:&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;    can_buff_config_t buffCfg &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;  &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enableFD &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; true&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enableBRS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; true&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fdPadding &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0U&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;idType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; CAN_MSG_ID_EXT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;

        &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;isRemote &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; false

    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 

&lt;SPAN class="token function"&gt;CAN_ConfigRxBuff&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;can_pal1_instance&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RX_MAILBOX&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;buffCfg&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="token function"&gt;CAN_SetRxFilter&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;can_pal1_instance&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; CAN_MSG_ID_EXT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; RX_MAILBOX&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xFFFFFFFE&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The mailbox will receive the ID 0x2 and 0x3.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Also, the TX Mailbox and RX should be different.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;If you want to check an example of how to do this check the .c attached. If you replace it in the can_pal example found in the SDK 3.0 should be enough to test it.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Let me know if this helps you&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Best Regards,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:33:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009262#M5823</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-11-02T14:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 CAN receive problem</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009263#M5824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-0" style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;I'm sorry!&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;I haven't replied to your message for such a long time, because we have a Spring Festival holiday, I have referred to your example, but the problem still hasn't been solved.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-2" style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;When I send data to the CAN buffer in a cycle, I call the function "CAN_Receive(&amp;amp;can3_pal_instance, eCAN2_RX_BOX, &amp;amp;canRxMsg)".&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-3" style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;The program always goes into a default interrupt, I don't know why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-3" style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="color: #2e3033; font-weight: normal;"&gt;&lt;LI style="margin: 0px 0px 10px;"&gt;&lt;P class="" data-group="1-1" style="color: #666666;"&gt;Exception information under debugging:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-3" style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&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/102163i0F1837D8231D50B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-3" style="color: #333333; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #666666; font-weight: normal; font-size: 14px; "&gt;I sent the message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #666666; font-weight: normal; font-size: 14px; "&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/102217i9C54909B19BEAB39/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f7f8fa; color: #333333; font-weight: normal; font-size: 14px; "&gt;I don't think I have a problem emulating the message I sent, but somehow the compiler says "received an exception message", causing the program to enter an emulating state&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 03:21:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009263#M5824</guid>
      <dc:creator>347996379</dc:creator>
      <dc:date>2020-02-07T03:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 CAN receive problem</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009264#M5825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;张 舜毅,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw in the previous message that the breakpoint was at the WDOG_EMW_IRQHandler(), if you check the&amp;nbsp;RCM_SSRS.SWDOG at the start of your program you could check the latest reset source was the WDOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually in the ResetIRQ the WDOG is disabled due to is enable by default but maybe in your code this is not happening and that's the reason the IRQ is being called..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your findings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:04:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009264#M5825</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-02-07T15:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 CAN receive problem</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009265#M5826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,AA&lt;/P&gt;&lt;UL style="color: #2e3033; background-color: #f7f8fa; font-weight: normal; font-size: 14px;"&gt;&lt;LI style="margin: 0px 0px 10px;"&gt;&lt;P class="" data-group="1-1" style="color: #666666; font-size: 14px;"&gt;My question has been solved. Thank you for your answer!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 05:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K146-CAN-receive-problem/m-p/1009265#M5826</guid>
      <dc:creator>347996379</dc:creator>
      <dc:date>2020-02-25T05:39:32Z</dc:date>
    </item>
  </channel>
</rss>

