<?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 PWM Duty Cycle Doesn't Change When Rotating the Potentiometer on EVB in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Duty-Cycle-Doesn-t-Change-When-Rotating-the-Potentiometer-on/m-p/1967939#M9623</link>
    <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I'm trying to learn PWM on S32K358EVB-Q289.&lt;/P&gt;&lt;P&gt;I'm folllowing this guide&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM/ta-p/1747898" target="_self"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I reconfigured all the pins in order to match my hardware.&lt;/P&gt;&lt;P&gt;When i flash the model on the board the RGBLED RED turns on but when i move the potentiometer the brightness doesn't change.&lt;/P&gt;&lt;P&gt;As i'm using MBDT i configured Freemaster over uart, setting an oscilloscope and i could see that the values of the adc chage over time when i rotate the potentiometer.&lt;/P&gt;&lt;P&gt;How could i fix this? I repeatedly checked the steps of the guide and i'm pretty sure i've correctly implemented.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2024 14:37:30 GMT</pubDate>
    <dc:creator>simon98</dc:creator>
    <dc:date>2024-10-07T14:37:30Z</dc:date>
    <item>
      <title>PWM Duty Cycle Doesn't Change When Rotating the Potentiometer on EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Duty-Cycle-Doesn-t-Change-When-Rotating-the-Potentiometer-on/m-p/1967939#M9623</link>
      <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I'm trying to learn PWM on S32K358EVB-Q289.&lt;/P&gt;&lt;P&gt;I'm folllowing this guide&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM/ta-p/1747898" target="_self"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I reconfigured all the pins in order to match my hardware.&lt;/P&gt;&lt;P&gt;When i flash the model on the board the RGBLED RED turns on but when i move the potentiometer the brightness doesn't change.&lt;/P&gt;&lt;P&gt;As i'm using MBDT i configured Freemaster over uart, setting an oscilloscope and i could see that the values of the adc chage over time when i rotate the potentiometer.&lt;/P&gt;&lt;P&gt;How could i fix this? I repeatedly checked the steps of the guide and i'm pretty sure i've correctly implemented.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 14:37:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Duty-Cycle-Doesn-t-Change-When-Rotating-the-Potentiometer-on/m-p/1967939#M9623</guid>
      <dc:creator>simon98</dc:creator>
      <dc:date>2024-10-07T14:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: PWM Duty Cycle Doesn't Change When Rotating the Potentiometer on EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Duty-Cycle-Doesn-t-Change-When-Rotating-the-Potentiometer-on/m-p/1968183#M9625</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240160"&gt;@simon98&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in Model-Based Design Toolbox for S32K3!&lt;/P&gt;
&lt;P&gt;I analyzed the attached project and I can say that most of the ADC configuration options are performed correctly, the only exception being the Last Mile Regulator which is still enabled (please re-visit Step 2.4 from the linked article). However, when looking in the schematics of the S32K358-Q289 EVB, it can be observed than neither of the RGB LEDs can be routed as eMIOS channels:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FlorinCiuca_0-1728337666038.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/303158i5990A074643DC0EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FlorinCiuca_0-1728337666038.png" alt="FlorinCiuca_0-1728337666038.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately, this means that the dimming effect desired cannot be achieved and the configurations performed for eMIOS in the attached project have no effect.&lt;/P&gt;
&lt;P&gt;If you want to further explore the ADC and PWM capabilities of the board, I suggest using different pins that fully support them.&lt;/P&gt;
&lt;P&gt;I hope this explanation clarifies the current issues you have, and, if further issues occur please don't hesitate to contact us again.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Florin!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 21:57:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Duty-Cycle-Doesn-t-Change-When-Rotating-the-Potentiometer-on/m-p/1968183#M9625</guid>
      <dc:creator>FlorinCiuca</dc:creator>
      <dc:date>2024-10-07T21:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: PWM Duty Cycle Doesn't Change When Rotating the Potentiometer on EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Duty-Cycle-Doesn-t-Change-When-Rotating-the-Potentiometer-on/m-p/1968839#M9634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221333"&gt;@FlorinCiuca&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see in the project i was not using the REDLED0 but the REDLED1 that is routed to emios2_ch21_y as you can see in the attached screen.&lt;/P&gt;&lt;P&gt;The problem i found was teh frequency too high that couldn't ever have shown me the blinking of the led.... So i modified the Dafault Period of the EMIOS bus and then worked fine&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 10:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Duty-Cycle-Doesn-t-Change-When-Rotating-the-Potentiometer-on/m-p/1968839#M9634</guid>
      <dc:creator>simon98</dc:creator>
      <dc:date>2024-10-08T10:34:14Z</dc:date>
    </item>
  </channel>
</rss>

