<?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 s32k146 - External mode - Simulink 2022b in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k146-External-mode-Simulink-2022b/m-p/2011237#M9846</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working with a S32K146EVB-Q144 board, programmed from Simulink version 2022b.&lt;BR /&gt;&lt;BR /&gt;I'm capable of flashing it with very basic codes, but so far I haven't been able to run it in external mode, and I can't find documentation on how to do that.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1:&lt;/STRONG&gt; Is it possible to do it from my version of simulink?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2:&lt;/STRONG&gt; If it is possible, then what am I suppose to change in the code (I can't attache code to this message, so check following screenshots - its very basic)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_0-1733851487371.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315115i207417C43DC45247/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_0-1733851487371.png" alt="arpsa_0-1733851487371.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_1-1733851514471.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315116i78CC05B607C7A894/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_1-1733851514471.png" alt="arpsa_1-1733851514471.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="arpsa_2-1733851529178.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315117iA44301B0C2204B9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_2-1733851529178.png" alt="arpsa_2-1733851529178.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="arpsa_3-1733851542597.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315118i99293C74D565170C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_3-1733851542597.png" alt="arpsa_3-1733851542597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the following configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_4-1733851592272.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315119i8F1356217978BF38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_4-1733851592272.png" alt="arpsa_4-1733851592272.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_5-1733851613337.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315120i5A8D8C81CC4107E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_5-1733851613337.png" alt="arpsa_5-1733851613337.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="arpsa_6-1733851645331.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315121iE6CDAB11FF77D22D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_6-1733851645331.png" alt="arpsa_6-1733851645331.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note that on this last figure, if I check "External mode" then nothing works anymore. I can't even flash it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 3:&lt;/STRONG&gt; Once parametrised correctly, what is the procedure to enable the external mode? Use the SIL/PIL app, or the embedded coder app of simulink?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Objective&lt;/STRONG&gt;: Change the values in the constant blocks "a" or "b" and get their sum on the dispay block while seeing the LED turning on when this sum is &amp;lt;3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in dvance for your support&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 17:31:51 GMT</pubDate>
    <dc:creator>arpsa</dc:creator>
    <dc:date>2024-12-10T17:31:51Z</dc:date>
    <item>
      <title>s32k146 - External mode - Simulink 2022b</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k146-External-mode-Simulink-2022b/m-p/2011237#M9846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working with a S32K146EVB-Q144 board, programmed from Simulink version 2022b.&lt;BR /&gt;&lt;BR /&gt;I'm capable of flashing it with very basic codes, but so far I haven't been able to run it in external mode, and I can't find documentation on how to do that.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1:&lt;/STRONG&gt; Is it possible to do it from my version of simulink?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2:&lt;/STRONG&gt; If it is possible, then what am I suppose to change in the code (I can't attache code to this message, so check following screenshots - its very basic)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_0-1733851487371.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315115i207417C43DC45247/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_0-1733851487371.png" alt="arpsa_0-1733851487371.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_1-1733851514471.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315116i78CC05B607C7A894/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_1-1733851514471.png" alt="arpsa_1-1733851514471.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="arpsa_2-1733851529178.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315117iA44301B0C2204B9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_2-1733851529178.png" alt="arpsa_2-1733851529178.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="arpsa_3-1733851542597.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315118i99293C74D565170C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_3-1733851542597.png" alt="arpsa_3-1733851542597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the following configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_4-1733851592272.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315119i8F1356217978BF38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_4-1733851592272.png" alt="arpsa_4-1733851592272.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="arpsa_5-1733851613337.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315120i5A8D8C81CC4107E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_5-1733851613337.png" alt="arpsa_5-1733851613337.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="arpsa_6-1733851645331.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315121iE6CDAB11FF77D22D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="arpsa_6-1733851645331.png" alt="arpsa_6-1733851645331.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note that on this last figure, if I check "External mode" then nothing works anymore. I can't even flash it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 3:&lt;/STRONG&gt; Once parametrised correctly, what is the procedure to enable the external mode? Use the SIL/PIL app, or the embedded coder app of simulink?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Objective&lt;/STRONG&gt;: Change the values in the constant blocks "a" or "b" and get their sum on the dispay block while seeing the LED turning on when this sum is &amp;lt;3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in dvance for your support&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 17:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/s32k146-External-mode-Simulink-2022b/m-p/2011237#M9846</guid>
      <dc:creator>arpsa</dc:creator>
      <dc:date>2024-12-10T17:31:51Z</dc:date>
    </item>
  </channel>
</rss>

