<?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 External Mode incl. CAN Communication in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Mode-incl-CAN-Communication/m-p/1818584#M8884</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have trouble to integrate a CAN-Communication besides the external mode with my S32K144 Evalboard (&lt;LI-PRODUCT title="S32K1" id="S32K1"&gt;&lt;/LI-PRODUCT&gt;). I have taken the extmode_s32k1xx.slx example and extend it with the following the NXP CAN blocks:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_0-1709197920134.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265777i99EAEEDA47B8CDCE/image-dimensions/661x195?v=v2" width="661" height="195" role="button" title="Marcel17_0-1709197920134.png" alt="Marcel17_0-1709197920134.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="Marcel17_1-1709197934926.png" style="width: 659px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265778iF95262A26FB61863/image-dimensions/659x274?v=v2" width="659" height="274" role="button" title="Marcel17_1-1709197934926.png" alt="Marcel17_1-1709197934926.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="Marcel17_2-1709197944223.png" style="width: 656px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265779i12936030F8FB402E/image-dimensions/656x273?v=v2" width="656" height="273" role="button" title="Marcel17_2-1709197944223.png" alt="Marcel17_2-1709197944223.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="Marcel17_3-1709197968040.png" style="width: 649px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265780iD5A6010952F9FEB1/image-dimensions/649x245?v=v2" width="649" height="245" role="button" title="Marcel17_3-1709197968040.png" alt="Marcel17_3-1709197968040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, when I start “Build for Monitoring”, no errors occur. But I don’t receive any CAN-Massage from the Evalboard and the blue LED doesn’t blink. &amp;nbsp;When I klick “Connect”, I’ve got the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_4-1709198007475.png" style="width: 713px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265781i643F9A6A4ACD0694/image-dimensions/713x66?v=v2" width="713" height="66" role="button" title="Marcel17_4-1709198007475.png" alt="Marcel17_4-1709198007475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Of course, I’ve configured the interface to the right COM-Port and right speed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_6-1709198093250.png" style="width: 716px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265784i34E2673583DCB359/image-dimensions/716x102?v=v2" width="716" height="102" role="button" title="Marcel17_6-1709198093250.png" alt="Marcel17_6-1709198093250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I comment out die CAN-Blocks, everything works fine!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be important to now. If I take another configuration for the coder instead the original of the example, see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_7-1709198123568.png" style="width: 649px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265785iA8EB140EDB321A2C/image-dimensions/649x227?v=v2" width="649" height="227" role="button" title="Marcel17_7-1709198123568.png" alt="Marcel17_7-1709198123568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and if I use the “embedded coder” to build, the CAN-Communication works! But in this configuration, I can’t use the external mode. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work with MBDT Toolbox_S32K1xx v4.3.0, MATLAB 2023b Update 7 and Embedded Coder v23.2.&lt;/P&gt;&lt;P&gt;Please, find find my small Simulink model in the attachments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 12:44:00 GMT</pubDate>
    <dc:creator>Marcel17</dc:creator>
    <dc:date>2024-03-13T12:44:00Z</dc:date>
    <item>
      <title>External Mode incl. CAN Communication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Mode-incl-CAN-Communication/m-p/1818584#M8884</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have trouble to integrate a CAN-Communication besides the external mode with my S32K144 Evalboard (&lt;LI-PRODUCT title="S32K1" id="S32K1"&gt;&lt;/LI-PRODUCT&gt;). I have taken the extmode_s32k1xx.slx example and extend it with the following the NXP CAN blocks:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_0-1709197920134.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265777i99EAEEDA47B8CDCE/image-dimensions/661x195?v=v2" width="661" height="195" role="button" title="Marcel17_0-1709197920134.png" alt="Marcel17_0-1709197920134.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="Marcel17_1-1709197934926.png" style="width: 659px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265778iF95262A26FB61863/image-dimensions/659x274?v=v2" width="659" height="274" role="button" title="Marcel17_1-1709197934926.png" alt="Marcel17_1-1709197934926.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="Marcel17_2-1709197944223.png" style="width: 656px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265779i12936030F8FB402E/image-dimensions/656x273?v=v2" width="656" height="273" role="button" title="Marcel17_2-1709197944223.png" alt="Marcel17_2-1709197944223.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="Marcel17_3-1709197968040.png" style="width: 649px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265780iD5A6010952F9FEB1/image-dimensions/649x245?v=v2" width="649" height="245" role="button" title="Marcel17_3-1709197968040.png" alt="Marcel17_3-1709197968040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, when I start “Build for Monitoring”, no errors occur. But I don’t receive any CAN-Massage from the Evalboard and the blue LED doesn’t blink. &amp;nbsp;When I klick “Connect”, I’ve got the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_4-1709198007475.png" style="width: 713px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265781i643F9A6A4ACD0694/image-dimensions/713x66?v=v2" width="713" height="66" role="button" title="Marcel17_4-1709198007475.png" alt="Marcel17_4-1709198007475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Of course, I’ve configured the interface to the right COM-Port and right speed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_6-1709198093250.png" style="width: 716px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265784i34E2673583DCB359/image-dimensions/716x102?v=v2" width="716" height="102" role="button" title="Marcel17_6-1709198093250.png" alt="Marcel17_6-1709198093250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I comment out die CAN-Blocks, everything works fine!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be important to now. If I take another configuration for the coder instead the original of the example, see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marcel17_7-1709198123568.png" style="width: 649px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/265785iA8EB140EDB321A2C/image-dimensions/649x227?v=v2" width="649" height="227" role="button" title="Marcel17_7-1709198123568.png" alt="Marcel17_7-1709198123568.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and if I use the “embedded coder” to build, the CAN-Communication works! But in this configuration, I can’t use the external mode. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work with MBDT Toolbox_S32K1xx v4.3.0, MATLAB 2023b Update 7 and Embedded Coder v23.2.&lt;/P&gt;&lt;P&gt;Please, find find my small Simulink model in the attachments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 12:44:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/External-Mode-incl-CAN-Communication/m-p/1818584#M8884</guid>
      <dc:creator>Marcel17</dc:creator>
      <dc:date>2024-03-13T12:44:00Z</dc:date>
    </item>
  </channel>
</rss>

