<?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 LED code example does not work in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LED-code-example-does-not-work/m-p/2296212#M10596</link>
    <description>&lt;P&gt;I was following this example on my s32k116:&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/training/TIP-GET-TO-KNOW-THE-USER-FRIENDLY-MBDT-D0609" target="_blank"&gt;https://www.nxp.com/design/design-center/training/TIP-GET-TO-KNOW-THE-USER-FRIENDLY-MBDT-D0609&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I did exactly what was shown in the video to get the LED working. My code builds too. But the LED wont turn on when I turn the potentiometer. I have attached a picture of the board for reference.&lt;BR /&gt;Kindly guide me on where I might be going wrong&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhatsApp Image 2026-01-19 at 5.18.32 PM.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/373398i3A16192ECF307DF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2026-01-19 at 5.18.32 PM.jpeg" alt="WhatsApp Image 2026-01-19 at 5.18.32 PM.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jan 2026 01:21:01 GMT</pubDate>
    <dc:creator>deshmaneaakash</dc:creator>
    <dc:date>2026-01-20T01:21:01Z</dc:date>
    <item>
      <title>LED code example does not work</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LED-code-example-does-not-work/m-p/2296212#M10596</link>
      <description>&lt;P&gt;I was following this example on my s32k116:&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/training/TIP-GET-TO-KNOW-THE-USER-FRIENDLY-MBDT-D0609" target="_blank"&gt;https://www.nxp.com/design/design-center/training/TIP-GET-TO-KNOW-THE-USER-FRIENDLY-MBDT-D0609&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I did exactly what was shown in the video to get the LED working. My code builds too. But the LED wont turn on when I turn the potentiometer. I have attached a picture of the board for reference.&lt;BR /&gt;Kindly guide me on where I might be going wrong&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WhatsApp Image 2026-01-19 at 5.18.32 PM.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/373398i3A16192ECF307DF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2026-01-19 at 5.18.32 PM.jpeg" alt="WhatsApp Image 2026-01-19 at 5.18.32 PM.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 01:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LED-code-example-does-not-work/m-p/2296212#M10596</guid>
      <dc:creator>deshmaneaakash</dc:creator>
      <dc:date>2026-01-20T01:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: LED code example does not work</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LED-code-example-does-not-work/m-p/2298212#M10599</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please note that the video you mentioned uses another evaluation kit (S32K144EVB) and the pins might not be the same for S32K116. Did you check the schematic to see the pins used by the potentiometer and the LED?&lt;/P&gt;
&lt;P&gt;As a recommendation, try to use the FreeMASTER tool to visualize the data on the board. You have to add data store memory blocks to save the data from the ADC and the state of the LED. Please set them to&amp;nbsp;&lt;STRONG&gt;Volatile&lt;/STRONG&gt; (in order to see them in FreeMASTER).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another variant is to use the S32 Design Studio to directly debug the application, by placing breakpoints at specific lines and see the values read from the potentiometer.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sorin Bancila&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 10:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LED-code-example-does-not-work/m-p/2298212#M10599</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2026-01-22T10:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: LED code example does not work</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LED-code-example-does-not-work/m-p/2304270#M10615</link>
      <description>&lt;P&gt;I tried doing that but when I try to start a session on freemaster, it cannot detect the board information. And I set the block state ("pot_adc") as Volatile which is why is shows up as a symbol when I go to the symbol table preview . Here is the screenshot. I am not sure why the board is not responding&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deshmaneaakash_0-1769901117599.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375077iA91B78080454EBFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deshmaneaakash_0-1769901117599.png" alt="deshmaneaakash_0-1769901117599.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="deshmaneaakash_1-1769901333885.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375078iC584D890D8C89415/image-size/medium?v=v2&amp;amp;px=400" role="button" title="deshmaneaakash_1-1769901333885.png" alt="deshmaneaakash_1-1769901333885.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2026 23:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LED-code-example-does-not-work/m-p/2304270#M10615</guid>
      <dc:creator>deshmaneaakash</dc:creator>
      <dc:date>2026-01-31T23:16:24Z</dc:date>
    </item>
  </channel>
</rss>

