<?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>Problem with PWM in COAP simple client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49627/problem-with-pwm-in-coap-simple-client</link><description>Hello, I am trying to use PWM in the simple coap client example. Unfortunately the PWM is not working, I do not get any signal on the output pins. If I remove the line with thread_instance_init(); then the PWM works. I only added the following function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jul 2019 11:22:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49627/problem-with-pwm-in-coap-simple-client" /><item><title>RE: Problem with PWM in COAP simple client</title><link>https://devzone.nordicsemi.com/thread/197808?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 11:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99f71aee-1c5a-4ff1-8ef6-f1be83b4dc6f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I would strongly recommend you use the nrfx_pwm driver rather than the app_pwm module&amp;nbsp;for PWM.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The app_pwm module was originally written for the nRF51 series, which didn&amp;#39;t have dedicated PWM hardware. The nRF52 introduced dedicated blocks for PWM, which are much more efficient to use, and allow for more total channels than the app_pwm implementation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In other words I would suggest you switch to that first, and if you stil have problems we can take it from there &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>