<?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: S32K344 Borad Issue with receiving and sending CAN messages in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1979596#M9694</link>
    <description>&lt;P&gt;Quick update, I have tried to assign PDU ID for each message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, for CAN0, I use 0 to 19 in a loop to be assigned to each message that was sent out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_0-1729644594917.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306222iA66614EF7B90835C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_0-1729644594917.png" alt="bruceyun_0-1729644594917.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, the results are the same. I did not see improvements on losing data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221383"&gt;@Adrian_Gherca&lt;/a&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219933" target="_blank" rel="noopener"&gt;@robertv&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 00:54:34 GMT</pubDate>
    <dc:creator>bruceyun</dc:creator>
    <dc:date>2024-10-23T00:54:34Z</dc:date>
    <item>
      <title>S32K344 Borad Issue with receiving and sending CAN messages</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1977355#M9669</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using S32K344 board for a CAN related project for a while. Recently, When I was doing stress tests, I found out that S32K344 had issue to receive/process/send CAN messages. Please point out anything wrong with my Program.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Project goal and structure&lt;/P&gt;&lt;P&gt;The project is basically to receive a CAN message from a CAN channel and send the same CAN message to another or multiple CAN channels, it's a "CAN forwarding gateway". Here's my program blocks:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_0-1729274647132.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305594i4A9E2F3FF8EF40E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_0-1729274647132.png" alt="bruceyun_0-1729274647132.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;CAN Rx -&amp;gt; process block&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_3-1729274790816.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305597i5FA67F7E33D2F2AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_3-1729274790816.png" alt="bruceyun_3-1729274790816.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Process block, inside it's some simple program to find out which CAN channel(s) should the CAN messages go to. After that, the program will call&amp;nbsp;Simulink functions for sending.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_1-1729274714799.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305595i141AEF63D0E299D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_1-1729274714799.png" alt="bruceyun_1-1729274714799.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Simulink functions for sending&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_2-1729274739450.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305596i97C8BBB8F41D00D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_2-1729274739450.png" alt="bruceyun_2-1729274739450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Inside of Simulink sending function, each channel has its own send function to call.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current issues:&lt;/P&gt;&lt;P&gt;1. I am not seeing right amount of CAN messages. In this case, CAN1-&amp;gt;CAN1, CAN2-&amp;gt;CAN2 etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_4-1729275208938.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305598i68A63E920FF2D770/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_4-1729275208938.png" alt="bruceyun_4-1729275208938.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Even at every low loading, a message per 5ms, I saw CAN 1 &amp;amp; 2 had less CAN data, while CAN 3 &amp;amp; 4 had more data.&lt;/P&gt;&lt;P&gt;2. The above issue happened to S32K344 especially when CAN messages are received from multiple CAN channels. I similar tests to CAN 1 only, it seems ok.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Are there potential issues where there is only one receive block to handle 6 CAN channels? Is there a way to separate them into each channel?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Since all CAN messages go to receive block, there is bigger risk of CAN message collision, where two CAN messages received at the same time. How to avoid this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Should a queue be added into process block? Any recommendations on what queue should I use?&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Any improvement suggestions on sending side for my project?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K344-WB" id="S32K344-WB"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219933" target="_blank"&gt;@robertv&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 18:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1977355#M9669</guid>
      <dc:creator>bruceyun</dc:creator>
      <dc:date>2024-10-18T18:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 Borad Issue with receiving and sending CAN messages</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1978063#M9672</link>
      <description>&lt;P&gt;Hello and thank for you interest in using MBDT,&lt;/P&gt;
&lt;P&gt;Having your Simulink model attached to this post would allow us to better understand the issue but still, there are a few general things to consider when using the CAN communication in projects.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;For the receiving part:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Make sure that you have multiple CanHardwareObjects configured in your configuration project. If available resources allow it, there could be one for each Can ID in the network, for better performance.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A CanHardwareObject can be configured to accept only certain Can IDs by setting the CanHwFilters in your configuration project (EB Tresos or S32 COnfiguration Tools)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_0-1729501392680.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305820iDB91E7895582C831/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_0-1729501392680.png" alt="Adrian_Gherca_0-1729501392680.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;For the sending part:&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quite often it happens that the same transmitting CanHardwareObject, with the same PDU ID (message buffer) is used for sending CAN messages multiple times in the same call of the step function, or in notifications that happen almost simultaneously.&lt;BR /&gt;For this scenario it is recommended apply one of these solutions:&lt;BR /&gt;1) Introduce different values for the Pdu ID input of the Can_Write blocks (e.g. 0, 1, 2) , as this will specify different CAN transmit message buffers for each place where the Can_Write block is used.&lt;BR /&gt;2) Use different CanHardwareObjects from the existing ones in the configuration project or create new ones as necessary. Then select different Hardware Object wherever the Can_Write block is used.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_0-1729006347465.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304828i4DD9363353E6C4DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_0-1729006347465.png" alt="Adrian_Gherca_0-1729006347465.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For more details and a comprehensive tutorial on MBDT using the CAN communication please check this article:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Communicating-over-the-CAN-Bus/ta-p/1758456" target="_self"&gt;Communicating over the CAN Bus&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 09:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1978063#M9672</guid>
      <dc:creator>Adrian_Gherca</dc:creator>
      <dc:date>2024-10-21T09:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 Borad Issue with receiving and sending CAN messages</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1978498#M9676</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221383"&gt;@Adrian_Gherca&lt;/a&gt;&amp;nbsp;Thank you for your reply. Here is my project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have simplified my project so all it does was like an echo. For each channel, I sent whatever I received.&amp;nbsp;&lt;/P&gt;&lt;P&gt;0. Back to my issue&lt;/P&gt;&lt;P&gt;If you see screen shots from PCAN View from first post, number of sending is not equal to number of receiving.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my project, especially, whenever I had CAN load above 10-20% for CAN channel 2 and 3 (channel index start with 0), I saw the sending side started sending less data than receive side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Regarding the hardware filter&lt;/P&gt;&lt;P&gt;My application does not allow me to filter because the customer will pick the CAN ID to forward to different can channel(s). Sometimes, they can pick over 100 CAN IDs, I don't think is very efficient to add hardware filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Sending part&lt;/P&gt;&lt;P&gt;a. I will try PDU ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;b. Adding another &lt;SPAN&gt;CanHardwareObjects&amp;nbsp;is possible, but I can see my program became harder to manage. Once I add more objects, I will have multiple write function to call for the same channel.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 19:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1978498#M9676</guid>
      <dc:creator>bruceyun</dc:creator>
      <dc:date>2024-10-21T19:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 Borad Issue with receiving and sending CAN messages</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1978644#M9680</link>
      <description>&lt;P&gt;Here is the project file with config.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 01:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1978644#M9680</guid>
      <dc:creator>bruceyun</dc:creator>
      <dc:date>2024-10-22T01:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 Borad Issue with receiving and sending CAN messages</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1979596#M9694</link>
      <description>&lt;P&gt;Quick update, I have tried to assign PDU ID for each message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, for CAN0, I use 0 to 19 in a loop to be assigned to each message that was sent out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_0-1729644594917.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306222iA66614EF7B90835C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_0-1729644594917.png" alt="bruceyun_0-1729644594917.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, the results are the same. I did not see improvements on losing data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221383"&gt;@Adrian_Gherca&lt;/a&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219933" target="_blank" rel="noopener"&gt;@robertv&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 00:54:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1979596#M9694</guid>
      <dc:creator>bruceyun</dc:creator>
      <dc:date>2024-10-23T00:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 Borad Issue with receiving and sending CAN messages</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1981817#M9710</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;It looks that in the model you provided, blocks from another toolbox, Vehicle Network Toolbox, are used for the receiving part of the CAN communication. I am referring here to CAN Receive and CAN Configuration blocks from your model:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_0-1729839943254.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306933iE22F9FBA5D574A7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_0-1729839943254.png" alt="Adrian_Gherca_0-1729839943254.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Not sure exactly how these work,&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;NXP_MBDToolbox_S32K3xx&lt;/STRONG&gt;&lt;/EM&gt; also provides means for receiving CAN messages with you MRCANHUBK344 board (please check the &lt;EM&gt;s32k3xx_can_receive_s32ct&lt;/EM&gt; example). Here are a few things to consider if you want a faster transfer of CAN messages:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; &lt;U&gt;With some exceptions&lt;/U&gt;, everything that is placed on the Simulink canvas is executed at the time intervals of the Step function, which in your case is 100 ms:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_1-1729840146288.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306934iB3E2CCD8D67A9140/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_1-1729840146288.png" alt="Adrian_Gherca_1-1729840146288.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This might be a problem since the cycle time of the Transmit messages in the PCAN-View tool is 5 ms. &lt;BR /&gt;This remark's relevance depends on how the CAN Receive block from the Vehicle Network Toolbox works, which you have to figure out.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; If you just want to send CAN messages faster, the &lt;EM&gt;Hardware Interrupt Callback&lt;/EM&gt; set for the &lt;EM&gt;CanIf_TxConfirmation&lt;/EM&gt; can be used. When A transmission finished notification callback is executed, another transmission can be immediately triggered.&lt;BR /&gt;Because &lt;EM&gt;Hardware Interrupt Callback&lt;/EM&gt; is one of the exceptions from point 1), the transmission pace will not be the Step interval but the actual time it takes to send a message on CAN.&lt;BR /&gt;Here's how you could implement this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_2-1729841058925.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306941i973B2763AC1E3AF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_2-1729841058925.png" alt="Adrian_Gherca_2-1729841058925.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_3-1729841138061.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306942i485F0C9291FAF24E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_3-1729841138061.png" alt="Adrian_Gherca_3-1729841138061.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) If you want an even snappier response on CAN to various messages, the &lt;EM&gt;Hardware Interrupt Callback&lt;/EM&gt; set for the &lt;EM&gt;CanIf_RxIndication&lt;/EM&gt; can be used. Whenever a CAN message is received, the notification callback will be instantly executed (not waiting for the step timer). &lt;BR /&gt;Inside this callback, another transmission can be immediately triggered.&lt;BR /&gt;Please check the &lt;EM&gt;s32k344_can_echo_interrupt_ebt&lt;/EM&gt; example from the &lt;EM&gt;&lt;STRONG&gt;NXP_MBDToolbox_S32K3xx&lt;/STRONG&gt;&lt;/EM&gt; toolbox for more details.&lt;/P&gt;
&lt;P&gt;You can also combine points 1), 2) and 3) to achieve the goals of your application.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 07:41:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1981817#M9710</guid>
      <dc:creator>Adrian_Gherca</dc:creator>
      <dc:date>2024-10-25T07:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 Borad Issue with receiving and sending CAN messages</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1982299#M9711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221383"&gt;@Adrian_Gherca&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. It's variant subsystem, I included it but did not use it for this project. I modified my project to avoid same kind of confusion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bruceyun_0-1729886154638.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307094iBD74EDB8DED7FCDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bruceyun_0-1729886154638.png" alt="bruceyun_0-1729886154638.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. We had similar thoughts, however, after we did more tests, we found that receive side is the root cause. Currently, we are more focused on how to fix receive side. I did some tests, and they showed that controllerID and hardwareID did not match for some receive messages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;CAN0 CAN1 seems to run ok alone.&lt;/P&gt;&lt;P&gt;whenever CAN2, CAN3, CAN4 or CAN5 joined in, the whole CAN system became unstable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My colleague had similar results:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Inconsistent-Controller-ID-and-Hardware-Object-ID/m-p/1980494#M42444" target="_blank"&gt;Inconsistent Controller ID and Hardware Object ID - NXP Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. We already used Rx interruption to trigger subsystem. It's related to the first point, my apologies to cause confusion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219933" target="_blank"&gt;@robertv&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 20:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-Borad-Issue-with-receiving-and-sending-CAN-messages/m-p/1982299#M9711</guid>
      <dc:creator>bruceyun</dc:creator>
      <dc:date>2024-10-25T20:12:09Z</dc:date>
    </item>
  </channel>
</rss>

