<?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>Unable To Generate PWM Signal</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11007/unable-to-generate-pwm-signal</link><description>Hello, 
 I am currently trying to generate a PWM signal on P0.00 and am not having success. If I drive P0.00 without PWM, everything works fine. Is there anything that would prevent me from using PWM on P0.00. I am currently on SDK 9 and SoftDevice S110</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Dec 2015 18:35:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11007/unable-to-generate-pwm-signal" /><item><title>RE: Unable To Generate PWM Signal</title><link>https://devzone.nordicsemi.com/thread/41152?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2015 18:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddc5c86d-4b8f-4f86-9eda-1388f0c80732</guid><dc:creator>Cory Mast</dc:creator><description>&lt;p&gt;Thank you for the response Petter. I thought about what you said and decided to run the PWM peripheral example. It worked beautifully and controlled my blue LED flawlessly. That eased my mind on any hardware concerns and proved that it must be something in my firmware. I went back to my firmware and copy-pasted the PWM peripheral example into my main.c file and made it the first and only thing that executed. Success! It worked again. I then opened my custom led.c file and updated the pwm_init function I had there with the one from the PWM peripheral example. I also added to function to change the PWM value of the LED to my led.c file to access it from main. When I ran the firmware again I had red and green LEDs but no blue LED once again. I then decided to copy the contents of my led.c file directly into main instead of accessing them from support files. Everything began to work perfectly.&lt;/p&gt;
&lt;p&gt;The interesting thing about this is that I know I had everything set-up properly because I was able to manipulate the red and green LEDs. Im not sure why moving everything into main fixed the issue or if there is a way around it so that my main.c file isn&amp;#39;t huge but I wanted to thank Petter for giving me the insight to solve my problem.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-Cory&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable To Generate PWM Signal</title><link>https://devzone.nordicsemi.com/thread/41151?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2015 11:21:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5289727-44d3-4284-9bcd-921ffcecdef7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;So you have run the exact same firmware on an earlier hardware revision and it worked fine? What hardware revision did it work on? And what revision does it not work on? Have you tested with more than one chip? Are you using any other modules, LPCOMP, ADC, that couldoverride the GPIO settings? Could you share a complete project that exibits this behavior?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>