<?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 CAN receive problem: RDK358BMU board in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-receive-problem-RDK358BMU-board/m-p/2305099#M10624</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello NXP Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are currently experiencing an issue receiving CAN messages on the RD‑K358BMU evaluation board. We attach all the files in the CAN.zip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Setup Overview&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are using a custom Simulink model (CAN_Model.slx) which we can successfully flash onto the board; as S32 configuration file, we use the .mex configuration file of the example k358bmu_read_s32ct.mdl for our board, where the CAN 0 channel should be set to both transmit and receive CAN signals. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moreover, we connected the board to a Vector CANcase and CANoe to monitor CAN traffic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We created a simple DBC file defining one message (LED) containing two boolean signals to control the red and green LEDs on the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Transmit Direction (Board → CANcase) — Working Correctly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this test, we comment the CAN_Read block in the Simulink model CAN_Model.slx and uncomment the CAN_Write block; then, we flash the code to the board; hence, no message is sent from the CANcase to the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We can send correctly the CAN message from the board to the CANcase.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;CAN messages are successfully transmitted from the board, as we can see clearly in the CANoe Trace window in the attached image.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatteoAcquarone_5-1770108667675.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375275i47E4CD8A355FFBE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatteoAcquarone_5-1770108667675.png" alt="MatteoAcquarone_5-1770108667675.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Receive Direction (CANcase → Board) — Not Working&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this test, we comment the CAN_Write block in the Simulink model CAN_Model.slx and uncomment the CAN_Read block; then, we flash the code to the board; hence, no message is sent from the board to the CANcase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In our CANoe configuration (attached project CANoe_Config.cfg):&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We added a CAN Interactive Generator that periodically sends the LED message toward the RD‑K358BMU.&lt;/LI&gt;&lt;LI&gt;In the CANoe Trace window, the transmitted messages appear correct and no CAN errors are reported.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatteoAcquarone_6-1770108687797.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375276i1B6823D14E104333/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatteoAcquarone_6-1770108687797.png" alt="MatteoAcquarone_6-1770108687797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unexpected result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the message does not seem to be correctly received by the board because the red and green LEDs do not turn on as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please tell us what is the issue here?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 09:06:27 GMT</pubDate>
    <dc:creator>MatteoAcquarone</dc:creator>
    <dc:date>2026-02-03T09:06:27Z</dc:date>
    <item>
      <title>CAN receive problem: RDK358BMU board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-receive-problem-RDK358BMU-board/m-p/2305099#M10624</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello NXP Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are currently experiencing an issue receiving CAN messages on the RD‑K358BMU evaluation board. We attach all the files in the CAN.zip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Setup Overview&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are using a custom Simulink model (CAN_Model.slx) which we can successfully flash onto the board; as S32 configuration file, we use the .mex configuration file of the example k358bmu_read_s32ct.mdl for our board, where the CAN 0 channel should be set to both transmit and receive CAN signals. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moreover, we connected the board to a Vector CANcase and CANoe to monitor CAN traffic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We created a simple DBC file defining one message (LED) containing two boolean signals to control the red and green LEDs on the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Transmit Direction (Board → CANcase) — Working Correctly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this test, we comment the CAN_Read block in the Simulink model CAN_Model.slx and uncomment the CAN_Write block; then, we flash the code to the board; hence, no message is sent from the CANcase to the board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We can send correctly the CAN message from the board to the CANcase.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;CAN messages are successfully transmitted from the board, as we can see clearly in the CANoe Trace window in the attached image.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatteoAcquarone_5-1770108667675.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375275i47E4CD8A355FFBE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatteoAcquarone_5-1770108667675.png" alt="MatteoAcquarone_5-1770108667675.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Receive Direction (CANcase → Board) — Not Working&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this test, we comment the CAN_Write block in the Simulink model CAN_Model.slx and uncomment the CAN_Read block; then, we flash the code to the board; hence, no message is sent from the board to the CANcase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In our CANoe configuration (attached project CANoe_Config.cfg):&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We added a CAN Interactive Generator that periodically sends the LED message toward the RD‑K358BMU.&lt;/LI&gt;&lt;LI&gt;In the CANoe Trace window, the transmitted messages appear correct and no CAN errors are reported.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatteoAcquarone_6-1770108687797.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375276i1B6823D14E104333/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatteoAcquarone_6-1770108687797.png" alt="MatteoAcquarone_6-1770108687797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unexpected result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, the message does not seem to be correctly received by the board because the red and green LEDs do not turn on as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please tell us what is the issue here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 09:06:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-receive-problem-RDK358BMU-board/m-p/2305099#M10624</guid>
      <dc:creator>MatteoAcquarone</dc:creator>
      <dc:date>2026-02-03T09:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: CAN receive problem: RDK358BMU board</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-receive-problem-RDK358BMU-board/m-p/2352339#M10723</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I've downloaded and checked your example. It seems to work as you described. The problem you encounter seems to be related to the &lt;STRONG&gt;can hardware filters&amp;nbsp;&lt;/STRONG&gt;for the CanHardwareObject used to receive the message.&lt;/P&gt;
&lt;P&gt;In the default configuration the following happens:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Messages with the ID in the range&amp;nbsp;&lt;STRONG&gt;3F0 - 3F7&amp;nbsp;&lt;/STRONG&gt;are processed by the&amp;nbsp;&lt;STRONG&gt;CAN_VCU_Rx_FIFO&amp;nbsp;&lt;/STRONG&gt;hardware object&amp;nbsp;only if the Message Type is &lt;STRONG&gt;STANDARD&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SorinIBancila_0-1776338394786.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382630iD323C3BC1A3D84C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="SorinIBancila_0-1776338394786.png" alt="SorinIBancila_0-1776338394786.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Other messages are processed by the&amp;nbsp;&lt;STRONG&gt;CAN_VCU_Rx_Ext_Interrupt&amp;nbsp;&lt;/STRONG&gt;hardware object&amp;nbsp;only if the message received is&amp;nbsp;&lt;STRONG&gt;EXTENDED&lt;/STRONG&gt;. Even though in the configuration the CAN ID Message Type is set to&amp;nbsp;&lt;STRONG&gt;MIXED&lt;/STRONG&gt;, the received message is going to be treated as &lt;STRONG&gt;EXTENDED.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SorinIBancila_1-1776338429227.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382631iDE81E8E8D2A79394/image-size/large?v=v2&amp;amp;px=999" role="button" title="SorinIBancila_1-1776338429227.png" alt="SorinIBancila_1-1776338429227.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To solve your problem there are multiple options:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Set the CAN Message Type to&amp;nbsp;&lt;STRONG&gt;STANDARD&amp;nbsp;&lt;/STRONG&gt;for the &lt;STRONG&gt;CAN_VCU_Rx_Ext_Interrupt&amp;nbsp;&lt;/STRONG&gt;hardware object to process all incoming standard message, if you are not interested in extended.&lt;/LI&gt;
&lt;LI&gt;Set all the messages in the CAN dbc as EXTENDED.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In your case, if I send an extended CAN message with ID &lt;STRONG&gt;0x1,&amp;nbsp;&lt;/STRONG&gt;the LEDs turn on. The same applies if I send a standard CAN message with ID&amp;nbsp;&lt;STRONG&gt;0x3F0.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Another important aspect is that you need to make sure the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Can Hw Filter Code&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Can Hw Filter Mask&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are properly set for each&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;CanHardwareObject&lt;/STRONG&gt;&lt;SPAN&gt;. A message is received if the following rule is true (bitwise operations), otherwise the CAN message is discarded.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;RECEIVED_ID &amp;amp; FILTER_MASK = FILTER_CODE &amp;amp; FILTER_MASK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SorinIBancila_2-1776338751226.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382632i263555CBFFA7D3DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="SorinIBancila_2-1776338751226.png" alt="SorinIBancila_2-1776338751226.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sorin Bancila&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 11:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-receive-problem-RDK358BMU-board/m-p/2352339#M10723</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2026-04-16T11:37:43Z</dc:date>
    </item>
  </channel>
</rss>

