<?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>GPIO Config Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65828/gpio-config-issue</link><description>Hi, 
 I am working on nRF52840 DK . C:\Nordic\SDK\nRF5SDK17009d13099\nRF5_SDK_17.0.0_9d13099\examples\peripheral\ uart I am sending data from Arduino and showing it on PuTTY. I am configuring the P0.0 pin as output but unable to turn On/Off . I am attaching</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Sep 2020 06:18:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65828/gpio-config-issue" /><item><title>RE: GPIO Config Issue</title><link>https://devzone.nordicsemi.com/thread/269757?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 06:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b752f4c-8a34-4a18-a824-dda3ed1e37f7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You can use the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fgroup__nrf__gpio__hal.html&amp;amp;anchor=ga0d66f2aaf7771ca4424237174032bf6a"&gt;NRF_GPIO_PIN_MAP&lt;/a&gt;&amp;nbsp;to set port and pin number.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Config Issue</title><link>https://devzone.nordicsemi.com/thread/269594?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 09:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cdea259-b10c-4be5-a594-1325f02b1da2</guid><dc:creator>Muqarrab</dc:creator><description>&lt;p&gt;Thanks I have used P0.31 and its working now.&lt;br /&gt;How can I use port 1 pins means how can I define them? (For example, how can I define P1.08?)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;#define LED1_PIN&amp;nbsp;??&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Config Issue</title><link>https://devzone.nordicsemi.com/thread/269560?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 08:15:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52202eae-e355-4121-90ac-768a6cd332a4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If you take a look at the back side of your nRF52840 DK, you can see that P0.05 is used for UART communication (RTS pin) by default. What is this pin supposed to do anyway? Is it just a LED or an output to the PuTTY terminal?&lt;/p&gt;
&lt;p&gt;You can try using one of the free GPIOs mentioned in the DK user guide (any pins on header P2 and P3).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Config Issue</title><link>https://devzone.nordicsemi.com/thread/269382?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 13:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79b5f501-8dc2-4696-846c-d3d9a6c3f628</guid><dc:creator>Muqarrab</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have changed the pin and try to use pin P0.05 but still not working.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;#define LED1_PIN 5&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Any suggestions, please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Config Issue</title><link>https://devzone.nordicsemi.com/thread/269275?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 06:07:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:668dfb3c-b262-450e-85c6-039fa130e067</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;P0.00 and P0.01 are, by default, used for the external LF CLOCK (32.768 kHz crystal) on the nRF52 series. When using a DK, you can&amp;#39;t use these pins as GPIOs unless you disconnect the external crystal. On the DK, this can be done by cutting solder bridges SB1 and SB2, and soldering SB3 and SB4. This should disconnect the external crystal, and connect them to the GPIO outputs on your DK.&lt;/p&gt;
&lt;p&gt;You will also have to configure your application to use the internal RC oscillator instead of the external LF clock if you want to use these GPIOs. This can be done by editing the following defines in your sdk_config.h file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM 

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;We strongly recommend using any other GPIOs if you have the opportunity, as it will save you a lot of work, and using the 32kHz crystal will give you much lower average current consumption than using the RC oscillator.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>