<?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>I use PWM only one channel is  effective.this is my code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41447/i-use-pwm-only-one-channel-is-effective-this-is-my-code</link><description>Hi.I use SDK12.2.I want to blink the RGB LED.so I use pwm.this is my code but it only bule color light on.does anyone know why? 
 
 #include &amp;lt;stdio.h&amp;gt; #include &amp;lt;string.h&amp;gt; #include &amp;quot;nrf_drv_pwm.h&amp;quot; #include &amp;quot;app_util_platform.h&amp;quot; #include &amp;quot;app_error.h&amp;quot; #include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Dec 2018 05:45:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41447/i-use-pwm-only-one-channel-is-effective-this-is-my-code" /><item><title>RE: I use PWM only one channel is  effective.this is my code</title><link>https://devzone.nordicsemi.com/thread/161797?ContentTypeID=1</link><pubDate>Fri, 14 Dec 2018 05:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28aa96a4-346c-4e5d-b1fb-36d53a0ae6eb</guid><dc:creator>Ryon_pan</dc:creator><description>&lt;p&gt;thank you very nuch.the reason it doesn&amp;#39;t work is that pins 09 and 10 are reserved for the NFC&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I use PWM only one channel is  effective.this is my code</title><link>https://devzone.nordicsemi.com/thread/161467?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 13:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78b37f32-d341-466b-ac94-2990d2d1a704</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tested your application by changing the pins to 17, 18 and 19, in order to see it on the LEDs on the DK. It worked fine there.&lt;/p&gt;
&lt;p&gt;The reason it doesn&amp;#39;t work (only the blue LED works) is that pins 09 and 10 are reserved for the NFC antenna.&lt;/p&gt;
&lt;p&gt;If you want to use the NFC pins as GPIOs, you must define&amp;nbsp;CONFIG_NFCT_PINS_AS_GPIOS in your preprocessor defines. Please note that you have to have this define, compile, flash, and then power cycle your nRF in order for it to take effect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In addition, if you use an nRF52 DK, the pins 09 and 10 are not connected to the pinout by default. In order to connect them, you must add a R0 on R28&amp;nbsp; and R27 (insert a 0 Ohm capacitor, or solder the pads on each of this resistor placeholders together).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you use a DK, it is probably easier to use different pins, if you have any available.&lt;/p&gt;
&lt;p&gt;The setup description on how to prepare these pins as normal GPIOs is described &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52_dev_kit%2Fhw_nfc.html&amp;amp;cp=2_1_4_5_10" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I use PWM only one channel is  effective.this is my code</title><link>https://devzone.nordicsemi.com/thread/161130?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 08:37:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c5df652-8fe1-4ea7-965d-b7a5cbde91da</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;How to properly post source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1641._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>