<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PWM doesn&amp;#39;t set 100% duty cycle properly with PM_DEVICE_RUNTIME enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127963/pwm-doesn-t-set-100-duty-cycle-properly-with-pm_device_runtime-enabled</link><description>Context: I am making sample apps on the nRF54LM20DK ver 0.3.4 on ncs 3.2.1. I noticed that when trying to use the built in PWM shell that 100% duty cycle is not being set correctly when CONFIG_PM_DEVICE_RUNTIME is enabled. 
 DTS snippet: 
 
 
 Commands</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Apr 2026 06:55:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127963/pwm-doesn-t-set-100-duty-cycle-properly-with-pm_device_runtime-enabled" /><item><title>RE: PWM doesn't set 100% duty cycle properly with PM_DEVICE_RUNTIME enabled</title><link>https://devzone.nordicsemi.com/thread/565712?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2026 06:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b950e338-78ed-4053-ad80-b43e01955351</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Timothy,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s good that you have found a way.&lt;/p&gt;
&lt;p&gt;Could you please share me your project file so I can reproduce the issue form my side and also can investigate a bit more before reporting to the team?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM doesn't set 100% duty cycle properly with PM_DEVICE_RUNTIME enabled</title><link>https://devzone.nordicsemi.com/thread/565703?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2026 17:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb013262-562c-4272-956b-91253372d60f</guid><dc:creator>timl2415</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve fixed the issue temporarily by making the pwm20_sleep and pwm20_default configurations the same.&amp;nbsp;It should be addressed in the NCS samples since they all set low-power-enable on pwm_sleep pinctrl, or perhaps fixed in the driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM doesn't set 100% duty cycle properly with PM_DEVICE_RUNTIME enabled</title><link>https://devzone.nordicsemi.com/thread/565670?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2026 10:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b47d442-b3ad-4eab-9d5f-8acfe55764c0</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You have low power enable in the sleep mode. Can you try to bias-pull-up instead?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;pwm20_sleep: pwm20_sleep {
        group1 {
            psels = &amp;lt;NRF_PSEL(PWM_OUT0, 1, 17)&amp;gt;,
                &amp;lt;NRF_PSEL(PWM_OUT1, 1, 18)&amp;gt;;
            bias-pull-up;
        };&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>