<?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 S32K144EVB with Simulink has no CAN Output in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-with-Simulink-has-no-CAN-Output/m-p/1665317#M8267</link>
    <description>&lt;UL&gt;&lt;LI&gt;Windows 10&lt;/LI&gt;&lt;LI&gt;Simulink 2022b&lt;/LI&gt;&lt;LI&gt;MBDT for S32K1xx V4.3.0&lt;/LI&gt;&lt;LI&gt;S32K144EVB-Q100&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN&gt;We are using S32K144EVB with Simulink MBDT Toolbox. We built a basic CAN communication model based on this video:&amp;nbsp;&lt;A href="https://www.nxp.com/pages/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS" target="_blank" rel="noopener"&gt;https://www.nxp.com/pages/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;, but there is no output after we flash the program to the board(tested with an oscilloscope). On the other hand, the board has detectable CAN output when we use it with the example can_pal program on S32DS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Details: &lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;J107 Pin1 and Pin2 connected&lt;/LI&gt;&lt;LI&gt;J16 connected to external 12V supply&lt;/LI&gt;&lt;LI&gt;Tried simple GPIO control on Simulink e.g. lighting up the D11 LED. Used a Constant boolean to control the Digital Write Block, the LED only turned on for a very short period of time after the program is flashed(built and downloaded)&lt;/LI&gt;&lt;LI&gt;Also tried example CAN models provided by the MBDT Toolbox on Simulink but still doesn't work&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The related pictures are posted underneath, please feel free to ask me for more information or files, thank you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Connection Status" style="width: 562px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226660i07529FC7ED15F9C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Connection Status.jpg" alt="Connection Status" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Connection Status&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN Waveform Detectable when Using S32DS can_pal" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226662iA22FF0804DE4AB99/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32DS_CAN_Waveform.jpg" alt="CAN Waveform Detectable when Using S32DS can_pal" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;CAN Waveform Detectable when Using S32DS can_pal&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN Model Built Based on the Video" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226661i61D39A99159E724C/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_model.png" alt="CAN Model Built Based on the Video" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;CAN Model Built Based on the Video&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Board_Config1.png" style="width: 680px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226665i49B9C630B187D312/image-size/large?v=v2&amp;amp;px=999" role="button" title="Board_Config1.png" alt="Board_Config1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Board_Config2.png" style="width: 680px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226666i7B14FA1600F7788F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Board_Config2.png" alt="Board_Config2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Board_Config3.png" style="width: 632px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226670iC2179CDEBE8CA4A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Board_Config3.png" alt="Board_Config3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN_Config1.png" style="width: 972px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226669iFF04C7F949F8AF75/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_Config1.png" alt="CAN_Config1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN_Config2.png" style="width: 972px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226671iABE9A7EEC2ED1F03/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_Config2.png" alt="CAN_Config2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 15:45:43 GMT</pubDate>
    <dc:creator>WilliamWang0135</dc:creator>
    <dc:date>2023-06-07T15:45:43Z</dc:date>
    <item>
      <title>S32K144EVB with Simulink has no CAN Output</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-with-Simulink-has-no-CAN-Output/m-p/1665317#M8267</link>
      <description>&lt;UL&gt;&lt;LI&gt;Windows 10&lt;/LI&gt;&lt;LI&gt;Simulink 2022b&lt;/LI&gt;&lt;LI&gt;MBDT for S32K1xx V4.3.0&lt;/LI&gt;&lt;LI&gt;S32K144EVB-Q100&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN&gt;We are using S32K144EVB with Simulink MBDT Toolbox. We built a basic CAN communication model based on this video:&amp;nbsp;&lt;A href="https://www.nxp.com/pages/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS" target="_blank" rel="noopener"&gt;https://www.nxp.com/pages/introducing-the-can-communication-blocks-from-nxp-mbdt:TIP-INTRODUCING-THE-CAN-COMMUNICATION-BLOCKS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;, but there is no output after we flash the program to the board(tested with an oscilloscope). On the other hand, the board has detectable CAN output when we use it with the example can_pal program on S32DS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Details: &lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;J107 Pin1 and Pin2 connected&lt;/LI&gt;&lt;LI&gt;J16 connected to external 12V supply&lt;/LI&gt;&lt;LI&gt;Tried simple GPIO control on Simulink e.g. lighting up the D11 LED. Used a Constant boolean to control the Digital Write Block, the LED only turned on for a very short period of time after the program is flashed(built and downloaded)&lt;/LI&gt;&lt;LI&gt;Also tried example CAN models provided by the MBDT Toolbox on Simulink but still doesn't work&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The related pictures are posted underneath, please feel free to ask me for more information or files, thank you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Connection Status" style="width: 562px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226660i07529FC7ED15F9C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Connection Status.jpg" alt="Connection Status" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Connection Status&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN Waveform Detectable when Using S32DS can_pal" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226662iA22FF0804DE4AB99/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32DS_CAN_Waveform.jpg" alt="CAN Waveform Detectable when Using S32DS can_pal" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;CAN Waveform Detectable when Using S32DS can_pal&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN Model Built Based on the Video" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226661i61D39A99159E724C/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_model.png" alt="CAN Model Built Based on the Video" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;CAN Model Built Based on the Video&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Board_Config1.png" style="width: 680px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226665i49B9C630B187D312/image-size/large?v=v2&amp;amp;px=999" role="button" title="Board_Config1.png" alt="Board_Config1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Board_Config2.png" style="width: 680px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226666i7B14FA1600F7788F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Board_Config2.png" alt="Board_Config2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Board_Config3.png" style="width: 632px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226670iC2179CDEBE8CA4A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Board_Config3.png" alt="Board_Config3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN_Config1.png" style="width: 972px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226669iFF04C7F949F8AF75/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_Config1.png" alt="CAN_Config1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN_Config2.png" style="width: 972px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226671iABE9A7EEC2ED1F03/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_Config2.png" alt="CAN_Config2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 15:45:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144EVB-with-Simulink-has-no-CAN-Output/m-p/1665317#M8267</guid>
      <dc:creator>WilliamWang0135</dc:creator>
      <dc:date>2023-06-07T15:45:43Z</dc:date>
    </item>
  </channel>
</rss>

