<?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>Using PWM with Zephyr V2.6.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77373/using-pwm-with-zephyr-v2-6-0</link><description>Heija Guys, 
 I have a problem with my PWM. I started with the zephyr version 2.4.99 and switched, after we discovered a bug (Link to ticket: https://devzone.nordicsemi.com/f/nordic-q-a/77151/arbitrary-assert-with-extended-advertising ). In the newer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jul 2021 14:12:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77373/using-pwm-with-zephyr-v2-6-0" /><item><title>RE: Using PWM with Zephyr V2.6.0</title><link>https://devzone.nordicsemi.com/thread/319624?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 14:12:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717d8250-5107-44fe-8e7e-b89dc31de966</guid><dc:creator>MsaYpsomed</dc:creator><description>&lt;p&gt;My Co-Worker found a solution to this. The Problem is, that DT_PWMS_CTLR does not return a label, but a node identifier. This means in my example it &amp;quot;only returns&amp;quot; something like DT_N_S_sw_pwm and that is not defined. I need the value behind &amp;quot;DT_N_S_sw_pwm_P_label&amp;quot;, found in devicetree_unfixed.h. That value then is &amp;quot;SW_PWM&amp;quot;, the label I need.&lt;/p&gt;
&lt;p&gt;If I then modify DT_PWMS_CTLR(LED_NODE) to DT_LABEL(DT_PWMS_CTLR(LED_NODE)) the problem is fixed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>