<?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>BUG: Cannot enable pwm1, pwm2 or pwm3 on nrf52840 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87203/bug-cannot-enable-pwm1-pwm2-or-pwm3-on-nrf52840-dk</link><description>The nrf52840 defines 4 pwms. Attempting to enable pwm1, pwm2 or pwm3 using pinctrl through a device overlay results in build errors suggesting there is something wrong with the macros. Attempting to enable these without pinctrl results in other errors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jul 2024 17:07:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87203/bug-cannot-enable-pwm1-pwm2-or-pwm3-on-nrf52840-dk" /><item><title>RE: BUG: Cannot enable pwm1, pwm2 or pwm3 on nrf52840 DK</title><link>https://devzone.nordicsemi.com/thread/496283?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 17:07:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4543a27-c3d6-4a19-9b88-0939a7e9f92e</guid><dc:creator>abozanich</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m still seeing this in nrf-sdk v2.6.1, nrf-zephyr v3.5.99-ncs1-1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrf-pinctrl.h exists.&amp;nbsp; I tried replacing it with the one you posted but it didn&amp;#39;t help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;edit: I have made a quickfix pull request for this &lt;a href="https://github.com/nrfconnect/sdk-zephyr/pull/1922"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG: Cannot enable pwm1, pwm2 or pwm3 on nrf52840 DK</title><link>https://devzone.nordicsemi.com/thread/370824?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 08:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c439c3d-7aac-43cb-89e2-a3aaa653022b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It looks like the new tag SDKv2.0.0 has included the PWM in pinctrl file in zephyr\include\dt-bindings\pinctrl\nrf-pinctrl.h&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2541.nrf_2D00_pinctrl.h"&gt;devzone.nordicsemi.com/.../2541.nrf_2D00_pinctrl.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The definitions of PWM were missing in Nordic Connect SDKv1.9.1&lt;/p&gt;
&lt;p&gt;Hopefully this will fix the issue.&lt;/p&gt;
&lt;p&gt;Note that the Toolchian Manager is not yet ready for the SDKv2.0.0, so I checked this by manually installing the SDK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG: Cannot enable pwm1, pwm2 or pwm3 on nrf52840 DK</title><link>https://devzone.nordicsemi.com/thread/364770?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 15:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a245e0d-b347-491e-b5df-b119eb0c91bc</guid><dc:creator>spekary</dc:creator><description>&lt;p&gt;There are two workarounds for now:&lt;/p&gt;
&lt;p&gt;- Force pinctrl to be off in the prj.conf file, and then use the legacy *-pin settings, or&lt;/p&gt;
&lt;p&gt;- Use the nrfx pwm driver&lt;/p&gt;
&lt;p&gt;But lets get the macros fixed so we can use the new stuff and avoid these errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUG: Cannot enable pwm1, pwm2 or pwm3 on nrf52840 DK</title><link>https://devzone.nordicsemi.com/thread/364576?ContentTypeID=1</link><pubDate>Sun, 24 Apr 2022 19:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72e14c4c-6d07-4c7f-a65d-542dc5c1df6f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Seems like a bug in the macro definitions, i need to try it out tomorrow and see if there is any clean workaround for this.&lt;br /&gt;Thanks for lettings us know, ill come back to you when I have some more info on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>