<?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>how to blink led by using BSP function with gpio pin p0.2,p0.3,p0.4</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79822/how-to-blink-led-by-using-bsp-function-with-gpio-pin-p0-2-p0-3-p0-4</link><description>Hello sir, 
 I am using nrf52832 soc with customized board having gpio pin with P0.2,P0.3 and P0.4 used for led blinking for different purposes.The function used for led blinking is BSP function . 
 When i change the pins in PCA10040.h files from LED_1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Sep 2021 11:52:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79822/how-to-blink-led-by-using-bsp-function-with-gpio-pin-p0-2-p0-3-p0-4" /><item><title>RE: how to blink led by using BSP function with gpio pin p0.2,p0.3,p0.4</title><link>https://devzone.nordicsemi.com/thread/330476?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 11:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b121883-b581-415b-b13b-482073fe532e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;What debugging have you done? Does the code &amp;quot;hang&amp;quot; somewhere when executed on your custom board?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to blink led by using BSP function with gpio pin p0.2,p0.3,p0.4</title><link>https://devzone.nordicsemi.com/thread/330466?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 11:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7621b9df-9b17-4f2b-8820-7f5040d2fd01</guid><dc:creator>amey3</dc:creator><description>&lt;p&gt;hello sir ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Currently i am testing on the development kit board with redefining the pins as&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;strong&gt;#define LED_START 2&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #define LED_1 2&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #define LED_2 3&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#define LED_3 4&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#define LED_4 5&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#define LED_STOP 5&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; The other pins which are configured with same pins are changed which are spi and uart which are changed given the pin as&lt;strong&gt; p0.17&lt;/strong&gt; to &lt;strong&gt;p0. 20.&lt;/strong&gt;Still i am not getting the led blinking when it goes&amp;nbsp; in advertise mode.By mistake i have given the start pin as p0.3 but actually it start from p0.2 to p0.5. currently i am testing on the development kit board by using BSP function if it properly working then i tried into my customized board.But my query we can change the LED_pin in development kit board&amp;nbsp; from P0.17 to P0.20 as P0.2 to P0.5 .The second question is how i can redefine the PCA10040.h so that it is compatible for the led pins i mention in development kit board&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to blink led by using BSP function with gpio pin p0.2,p0.3,p0.4</title><link>https://devzone.nordicsemi.com/thread/330395?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 07:29:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61fb66ee-dd11-4bd7-b3ad-310b671052b3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can it be that some of these pins are configurd as UART or SPIM pins? See pca10040.h that you may need to redefine pins that already used for pins 3-6.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>