<?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: configure CAN to send different IDs in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/configure-CAN-to-send-different-IDs/m-p/2031277#M9937</link>
    <description>&lt;P&gt;Thanks a lot. Both solutions work perfectly.&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 08:37:51 GMT</pubDate>
    <dc:creator>MaMM</dc:creator>
    <dc:date>2025-01-21T08:37:51Z</dc:date>
    <item>
      <title>configure CAN to send different IDs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/configure-CAN-to-send-different-IDs/m-p/2030647#M9933</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm trying to send different IDs thorugh the same CAN PORT in simulink (s32k39 board), and I cannot find how to assign different buffers to each ID. If I use the same configuration for different IDs thorugh CAN, I can read the messages but at double rate of the frequency I have selected.&lt;/P&gt;&lt;P&gt;For example, if I configure 100ms as base task time, and I add two simulink blocks to send CAN Messages, I can see on the USB to CAN tool both message but at 200 ms. If I use only one sending block, I can see 1 message at 100ms, so I suppose that another can_buffer must be used, but I cannot find where to change it.&lt;/P&gt;&lt;P&gt;An example of a .mdl with several ID configured thorugh the same port will be appreciatted.&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 11:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/configure-CAN-to-send-different-IDs/m-p/2030647#M9933</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-01-20T11:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: configure CAN to send different IDs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/configure-CAN-to-send-different-IDs/m-p/2030787#M9935</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Here are two methods to send out CAN messages with multiple IDs using the MBDT blocks:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;First method:&lt;/STRONG&gt;&lt;BR /&gt;1) In your configuration project (S32 Configuration Tool or EB tresos), under Can_43_FLEXCAN\CanConfigSet\CanHardwareObject, increase the value of Can Hw Object Count to the desired number of Tx messages:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_2-1737387835414.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320403i5EABC2DD4301253E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_2-1737387835414.png" alt="Adrian_Gherca_2-1737387835414.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2) In the Simulink model add the same number of Can_Write blocks, each block with a different value for the Pdu ID input:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_3-1737388017462.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320405iE9B8A24E73F91371/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_3-1737388017462.png" alt="Adrian_Gherca_3-1737388017462.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Second method:&lt;/STRONG&gt;&lt;BR /&gt;1) Make sure that multiple TRANSMIT objects exist in the configuration project under Can_43_FLEXCAN\CanConfigSet\CanHardwareObject. If necessary, press the "+" symbol and create more at the end of the list:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_6-1737388568483.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320409i7C19BD4D735F7CDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_6-1737388568483.png" alt="Adrian_Gherca_6-1737388568483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2) Select a different Hardware Object for each one of the Can_Write blocks:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_7-1737390660109.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320412iD9BC626CFEBA3E36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_7-1737390660109.png" alt="Adrian_Gherca_7-1737390660109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;IMG border="0" alt="" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorAdrian_Gherca_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorAdrian_Gherca_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 16:33:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/configure-CAN-to-send-different-IDs/m-p/2030787#M9935</guid>
      <dc:creator>Adrian_Gherca</dc:creator>
      <dc:date>2025-01-20T16:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: configure CAN to send different IDs</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/configure-CAN-to-send-different-IDs/m-p/2031277#M9937</link>
      <description>&lt;P&gt;Thanks a lot. Both solutions work perfectly.&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 08:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/configure-CAN-to-send-different-IDs/m-p/2031277#M9937</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-01-21T08:37:51Z</dc:date>
    </item>
  </channel>
</rss>

